Subject: Re: virtualization and a SCO openserver on NetBSD? vmware3?
To: John Nemeth <jnemeth@victoria.tc.ca>
From: Carl Brewer <carl@bl.echidna.id.au>
List: netbsd-users
Date: 10/04/2007 12:45:47
John Nemeth wrote:
> On Feb 24,  5:28am, Carl Brewer wrote:
> } 
> } I've got a client with an old SCO Openserver5 box running a 
> } mission-critical app (it's an airport and it runs their operations, 
> } scary ... anyway ...)
> 
>      Yeah, that is rather scary.
> 
> } I want to move it onto new hardware and have some sort of reliable back 
> } end and easy backup system.  I thought it might be good to run the SCO 
> } system in a VM of some sort - I don't think xen will work, as the guest 
> } OS needs to be aware of it, and old SCO boxes are highly unlikely to be.
> 
>      That's not entirely true any more.  If you have one of the newer
> processors with support for VMs then Xen can handle guests that don't
> know about it.

The 'new' box is an oldish (4 years?) Compaq ML350 G3, with a Xeon in it 
from that era, pre-VM aware CPU I think.

dmesg says :

NetBSD 3.1 (GENERIC) #0: Tue Oct 31 04:27:07 UTC 2006
 
builds@b0.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/i386/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/ar
ch/i386/compile/GENERIC
total memory = 2559 MB
avail memory = 2494 MB
BIOS32 rev. 0 found at 0xf0000
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Xeon (686-class), 2193.03 MHz, id 0xf24
cpu0: features 3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 3febf9ff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features 3febf9ff<FXSR,SSE,SSE2,SS,HTT,TM>
cpu0: "Intel(R) XEON(TM) CPU 2.20GHz"
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64B/line 4-way
cpu0: L2 cache 512 KB 64B/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: using thermal monitor 1
cpu0: 16 page colors

> 
> } But, I've read some reports of VMware hosting SCO Openserver 5 with 
> } success, and noted in pkgsrc that there's an emulators/vmware3 package.
> } 
> } Attempting to make this work on a NetBSD 3.1 box with a current grab of 
> } pkgsrc gives me this error at 'make install' time :
> 
>      I believe there is some kind of issue with it on NetBSD 3.x.  You
> need to use a version of -current.  However, due to changes in the
> kernel, it must be prior to 20060514 (May 14th, 2006).

Messy.

> 
> } install: /usr/pkg/etc/rc.d/linuxrtc: open: No such file or directory
> } install: /usr/pkg/etc/rc.d/vmmon: open: No such file or directory
> } install: /usr/pkg/etc/rc.d/vmnet: open: No such file or directory
> } install: /usr/pkg/etc/rc.d/vmnetif: open: No such file or directory
> } *** Error code 1
> 
>      Kind of hard to tell what's wrong here.

Yeah, it didn't tell me much more than that.  Maybe I just go with 
CentOS or some other OS that VMware works with, unless there's a better
way?

This is the make install error in its entirity :

ylil-host: {94} make install
=> Bootstrap dependency digest>=20010302: digest-20070803 found
===> Installing for vmware-module-3.2.1.8
/usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/lkm
/usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/etc/rc.conf.d
/usr/bin/install -c -o root -g wheel -m 444 
/usr/pkgsrc/emulators/vmware-module3/work/vmware-netbsd-3.2.1.8/rc.conf.d/linuxrtc 
/usr/pkg/etc/rc.conf.d
/usr/bin/install -c -o root -g wheel -m 444 
/usr/pkgsrc/emulators/vmware-module3/work/vmware-netbsd-3.2.1.8/rc.conf.d/vmmon 
/usr/pkg/etc/rc.conf.d
/usr/bin/install -c -o root -g wheel -m 444 
/usr/pkgsrc/emulators/vmware-module3/work/vmware-netbsd-3.2.1.8/rc.conf.d/vmnet 
/usr/pkg/etc/rc.conf.d
/usr/bin/install -c -o root -g wheel -m 444 
/usr/pkgsrc/emulators/vmware-module3/work/vmware-netbsd-3.2.1.8/rc.conf.d/vmnetif 
/usr/pkg/etc/rc.conf.d
/usr/bin/install -c -o root -g wheel -m 444 
/usr/pkgsrc/emulators/vmware-module3/work/vmware-netbsd-3.2.1.8/source/linuxrtc/linuxrtc.o 
/usr/pkg/lkm
/usr/bin/install -c -o root -g wheel -m 444 
/usr/pkgsrc/emulators/vmware-module3/work/vmware-netbsd-3.2.1.8/source/vmmon/vmmon.o 
/usr/pkg/lkm
/usr/bin/install -c -o root -g wheel -m 444 
/usr/pkgsrc/emulators/vmware-module3/work/vmware-netbsd-3.2.1.8/source/vmnet/vmnet.o 
/usr/pkg/lkm
/usr/bin/install -c -o root -g wheel -m 555 
/usr/pkgsrc/emulators/vmware-module3/work/vmware-netbsd-3.2.1.8/share/lkm/vmnet_post.sh 
/usr/pkg/lkm
/usr/bin/install -c -o root -g wheel -m 555 
/usr/pkgsrc/emulators/vmware-module3/work/vmware-netbsd-3.2.1.8/share/lkm/linuxrtc_post.sh 
/usr/pkg/lkm
/usr/bin/install -c -o root -g wheel -m 555 
/usr/pkgsrc/emulators/vmware-module3/work/vmware-netbsd-3.2.1.8/share/lkm/vmmon_post.sh 
/usr/pkg/lkm
install: /usr/pkg/etc/rc.d/linuxrtc: open: No such file or directory
install: /usr/pkg/etc/rc.d/vmmon: open: No such file or directory
install: /usr/pkg/etc/rc.d/vmnet: open: No such file or directory
install: /usr/pkg/etc/rc.d/vmnetif: open: No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/emulators/vmware-module3
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/emulators/vmware-module3
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/emulators/vmware-module3