Alphavm_free and BSDs

Unfortunately Alphavm_free  from Emuvm does not boot the stock BSD Alpha ISOs (NetBSD/OpenBSD/FreeBSD).

I have tried the following versions

https://ftp.eu.openbsd.org/pub/OpenBSD/5.9/alpha/floppyB59.fs
https://ftp.eu.openbsd.org/pub/OpenBSD/6.1/alpha/install61.iso
https://ftp.netbsd.org/pub/NetBSD/iso/7.1/NetBSD-7.1-alpha.iso
http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/alpha/ISO-IMAGES/6.4/6.4-RELEASE-alpha-disc1.iso

Here are the boot console screens  from the Alphavm_free emulator booting various BSDs

OpenBSD  5.9 Alpha floppyB

https://ftp.eu.openbsd.org/pub/OpenBSD/5.9/alpha/INSTALL.alpha

user@X201:/DISK/VMs/BSD > ./connect.console.sh 
 Welcome to EmuVM hardware emulator.
 � Copyright 2010 - 2012, Artem Alimarin. All rights reserved.
 Please visit http://emuvm.com for more information.
sho dev
pka SCSI Controller
dka0 SCSI 0 14 0 0 0 0 0
dka200 SCSI 0 14 0 0 200 0 0
dka400 SCSI 0 14 0 0 400 0 0
pkb SCSI Controller
ewa MOP 0 9 0 0 0 3 0 (08:00:2b:00:00:01)
ewb MOP 0 11 0 0 0 3 0 (08:00:2b:00:00:02)
>>> boot dka200
loaded boot image pa=200000 size=0x1e00

OpenBSD/Alpha Primary Boot
OpenBSD/alpha boot 1.10
VMS PAL rev: 0x10538
OSF PAL rev: 0x10002013e
Switch to OSF PAL code succeeded.
cannot open /etc/random.seed: No such file or directory
Loading bsd...
4444720+495696=0x4b65d0

Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org

OpenBSD 5.9 (RAMDISKB) #307: Fri Feb 26 06:06:23 MST 2016
 deraadt@alpha.openbsd.org:/usr/src/sys/arch/alpha/compile/RAMDISKB
AlphaServer DS10 616 MHz
8192 byte page size, 1 processor.
real mem = 1073741824 (1024MB)
rsvd mem = 2097152 (2MB)
avail mem = 1048576000 (1000MB)
mainbus0 at root
cpu0 at mainbus0: ID 0 (primary), 21264A-1 (pass 1)
tsc0 at mainbus0: 21272 Chipset, Cchip rev 0
tsc0: 2 Dchips, 1 memory bus of 16 bytes
tsc0: arrays present: 0MB, 0MB, 0MB, 0MB, Dchip 0 rev 15
tsp0 at tsc0 hose 0
pci0 at tsp0 bus 0
sio0 at pci0 dev 7 function 0 vendor 0x8086 product 0x0484 rev 0x03
de0 at pci0 dev 9 function 0 vendor 0x1011 product 0x0002 rev 0x20, DEC 21040 pass 2.0: dec 6600 irq 29, address 08:00:2b:00:00:01
de1 at pci0 dev 11 function 0 vendor 0x1011 product 0x0002 rev 0x20, DEC 21040 pass 2.0: dec 6600 irq 30, address 08:00:2b:00:00:02
qlw0 at pci0 dev 14 function 0 vendor 0x1077 product 0x1020 rev 0x04: dec 6600 irq 35
qlw0: nvram corrupt
qlw0: firmware rev 7.63.0, attrs 0x0

Alphavm_free console

5050.547: alphavm: system started
5050.547: alphavm.system: primary CPU firmware loop; cpu=0
5060.532: alphavm.system: trying boot device dka200
5060.532: alphavm.system.srm_dka2.unit0: read capacity num_blocks=2880 block_size=512
5060.576: alphavm.system: loaded boot image pa=200000 size=1e00 data=27bb0001c3600000
5060.576: alphavm.system: setup_mapping alloc_pa=4000000 hwrpb_pa=2000 boot_pa=200000 stack_pa=240000
5060.576: alphavm.system.cpu0: entering CPU loop
5066.249: alphavm.system.qla0.fun0: soft_reset
./run.sh: line 1: 5704 Floating point exception./alphavm_free config.emu

OpenBSD 6.1 alpha iso

user@X201:/DISK/VMs/BSD > ./connect.console.sh 
 Welcome to EmuVM hardware emulator.
 � Copyright 2010 - 2012, Artem Alimarin. All rights reserved.
 Please visit http://emuvm.com for more information.
sho dev
pka SCSI Controller
dka0 SCSI 0 14 0 0 0 0 0
dka200 SCSI 0 14 0 0 200 0 0
dka400 SCSI 0 14 0 0 400 0 0
pkb SCSI Controller
ewa MOP 0 9 0 0 0 3 0 (08:00:2b:00:00:01)
ewb MOP 0 11 0 0 0 3 0 (08:00:2b:00:00:02)
>>> boot dka400
loaded boot image pa=200000 size=0x1e00

OpenBSD/Alpha Primary Boot
OpenBSD/alpha boot 1.10
VMS PAL rev: 0x10538
OSF PAL rev: 0x10002013e
Switch to OSF PAL code succeeded.
cannot open /etc/random.seed: No such file or directory
Loading bsd...
7248864+551488=0x770970

Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved. https://www.OpenBSD.org

OpenBSD 6.1 (RAMDISKBIG) #3: Sun Apr 2 15:06:13 MDT 2017
 deraadt@alpha.openbsd.org:/usr/src/sys/arch/alpha/compile/RAMDISKBIG
AlphaServer DS10 616 MHz
8192 byte page size, 1 processor.
real mem = 1073741824 (1024MB)
rsvd mem = 2097152 (2MB)
avail mem = 1045757952 (997MB)
mainbus0 at root
cpu0 at mainbus0: ID 0 (primary), 21264A-1 (pass 1)
tsc0 at mainbus0: 21272 Chipset, Cchip rev 0
tsc0: 2 Dchips, 1 memory bus of 16 bytes
tsc0: arrays present: 0MB, 0MB, 0MB, 0MB, Dchip 0 rev 15
tsp0 at tsc0 hose 0
pci0 at tsp0 bus 0
sio0 at pci0 dev 7 function 0 "Intel 82378IB ISA" rev 0x03
de0 at pci0 dev 9 function 0 "DEC 21040" rev 0x20, DEC 21040 pass 2.0: dec 6600 irq 29, address 08:00:2b:00:00:01
de1 at pci0 dev 11 function 0 "DEC 21040" rev 0x20, DEC 21040 pass 2.0: dec 6600 irq 30, address 08:00:2b:00:00:02
qlw0 at pci0 dev 14 function 0 "QLogic ISP1020" rev 0x04: dec 6600 irq 35
qlw0: nvram corrupt
qlw0: firmware rev 7.63.0, attrs 0x0

Alphavm_free console

5833.145: alphavm.system.srm_iso.unit0: read capacity num_blocks=410576 block_size=512
5833.189: alphavm.system: loaded boot image pa=200000 size=1e00 data=27bb0001c3600000
5833.190: alphavm.system: setup_mapping alloc_pa=4000000 hwrpb_pa=2000 boot_pa=200000 stack_pa=240000
5833.190: alphavm.system.cpu0: entering CPU loop
5842.823: alphavm.system.qla0.fun0: soft_reset
./run.sh: line 1: 5859 Floating point exception./alphavm_free config.emu

FreeBSD 6.4 ISO

user@X201:/DISK/VMs/BSD > ./connect.console.sh 
 Welcome to EmuVM hardware emulator.
 � Copyright 2010 - 2012, Artem Alimarin. All rights reserved.
 Please visit http://emuvm.com for more information.
sho dev
pka SCSI Controller
dka0 SCSI 0 14 0 0 0 0 0
dka200 SCSI 0 14 0 0 200 0 0
dka400 SCSI 0 14 0 0 400 0 0
pkb SCSI Controller
ewa MOP 0 9 0 0 0 3 0 (08:00:2b:00:00:01)
ewb MOP 0 11 0 0 0 3 0 (08:00:2b:00:00:02)

>>> boot dka400
loaded boot image pa=200000 size=0x33600
Consoles: SRM firmware console
VMS PAL rev: 0x10538
OSF PAL rev: 0x10002013e
Switch to OSF PAL code succeeded.

FreeBSD/alpha SRM CD9660 boot, Revision 1.2
(root@ds10.wbnet, Sat Nov 29 19:18:39 UTC 2008)
Memory: 1048576 k
Loading /boot/defaults/loader.conf
/boot/kernel/kernel data=0x783f00+0x3a550 syms=[0x8+0x7aee0+0x8+0x666bf]
|
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Entering /boot/kernel/kernel at 0xfffffc0000356020...
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.4-RELEASE #0: Sun Nov 30 07:00:37 UTC 2008
root@ds10.wbnet:/usr/obj/usr/src/sys/GENERIC
ST6600
AlphaServer DS10 616 MHz, 616MHz
8192 byte page size, 1 processor.
CPU: EV67 (21264A) major=11 minor=1 extensions=0x0
OSF PAL rev: 0x10002013e
real memory = 1071644672 (1022 MB)
avail memory = 1035411456 (987 MB)
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOPS_FUNC)
tsunami0: <21271 Core Logic chipset>
pcib0: <21271 PCI host bus adapter> on tsunami0
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> irq 0 at device 7.0 on pci0
isa0: <ISA bus> on isab0
de0: <Digital 21040 Ethernet> port 0x10000-0x100ff mem 0x100000-0x100fff irq 29 at device 9.0 on pci0
de0: DEC 21040 [10Mb/s] pass 2.0
de0: Ethernet address: 08:00:2b:00:00:01
de0: interrupting at TSUNAMI irq 29
de1: <Digital 21040 Ethernet> port 0x20000-0x200ff mem 0x200000-0x200fff irq 30 at device 11.0 on pci0
de1: DEC 21040 [10Mb/s] pass 2.0
de1: Ethernet address: 08:00:2b:00:00:02
de1: interrupting at TSUNAMI irq 30
isp0: <Qlogic ISP 1020/1040 PCI SCSI Adapter> port 0x30000-0x300ff mem 0x300000-0x300fff irq 35 at device 14.0 on pci0
isp0: interrupting at TSUNAMI irq 35
isp0: [GIANT-LOCKED]
isp0: Board Type 1040A, Chip Revision 0x4, loaded F/W Revision 7.63.0

Alphavm_free console

6083.153: alphavm: system started
6083.153: alphavm.system: primary CPU firmware loop; cpu=0
6091.666: alphavm.system: trying boot device dka400
6091.666: alphavm.system.srm_iso.unit0: read capacity num_blocks=1210308 block_size=512
6091.711: alphavm.system: loaded boot image pa=200000 size=33600 data=27bb0004c3600000
6091.712: alphavm.system: setup_mapping alloc_pa=4000000 hwrpb_pa=2000 boot_pa=200000 stack_pa=240000
6091.712: alphavm.system.cpu0: entering CPU loop
6113.937: alphavm.system.qla0.fun0: soft_reset
./run.sh: line 1: 6305 Floating point exception./alphavm_free config.em

NetBSD 7.1 alpha ISO

user@X201:/DISK/VMs/BSD > ./connect.console.sh 
 Welcome to EmuVM hardware emulator.
 � Copyright 2010 - 2012, Artem Alimarin. All rights reserved.
 Please visit http://emuvm.com for more information.
boot dka400
loaded boot image pa=200000 size=0x1a00

NetBSD/alpha 7.1 ISO 9660 Primary Bootstrap
Jumping to entry point...

NetBSD/alpha 7.1 Secondary Bootstrap, Revision 1.13

VMS PAL rev: 0x10538
OSF PAL rev: 0x10002013e
Switch to OSF PAL code succeeded.

Boot flags: 
10699504+205648=0xa66c88

Entering netbsd at 0xfffffc0000431220...
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
 The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California. All rights reserved.

NetBSD 7.1 (INSTALL.201703111743Z)
AlphaServer DS10 616 MHz, s/n EmuVM-00-0
8192 byte page size, 1 processor.
total memory = 1024 MB
(2048 KB reserved for PROM, 1022 MB used by NetBSD)
avail memory = 997 MB
kern.module.path=/stand/alpha/7.1/modules
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21264A-1
tsc0 at mainbus0: 21272 Core Logic Chipset, Cchip rev 0
tsc0: 2 Dchips, 1 memory bus of 16 bytes
tsc0: arrays present: 0MB, 0MB, 0MB, 0MB, Dchip 0 rev 15
tsp0 at tsc0
tsp0: window 0: 0/base 0/mask 0 reinitialized
pci0 at tsp0 bus 0
sio0 at pci0 dev 7 function 0: vendor 0x8086 product 0x0484 (rev. 0x03)
tlp0 at pci0 dev 9 function 0: DECchip 21040 Ethernet, pass 2.0
tlp0: interrupting at dec 6600 irq 29
tlp0: Ethernet address 08:00:2b:00:00:01
tlp0: 10baseT, 10baseT-FDX, 10base5, manual
tlp1 at pci0 dev 11 function 0: DECchip 21040 Ethernet, pass 2.0
tlp1: interrupting at dec 6600 irq 30
tlp1: Ethernet address 08:00:2b:00:00:02
tlp1: 10baseT, 10baseT-FDX, 10base5, manual
isp0 at pci0 dev 14 function 0: QLogic 1020 Fast Wide SCSI HBA
isp0: interrupting at dec 6600 irq 35

Alphavm_free console

7428.511: alphavm: system started
7428.511: alphavm.system: primary CPU firmware loop; cpu=0
7434.953: alphavm.system: trying boot device dka400
7434.953: alphavm.system.srm_iso.unit0: read capacity num_blocks=554360 block_size=512
7434.998: alphavm.system: loaded boot image pa=200000 size=1a00 data=27bb0001c3600000
7434.998: alphavm.system: setup_mapping alloc_pa=4000000 hwrpb_pa=2000 boot_pa=200000 stack_pa=240000
7434.998: alphavm.system.cpu0: entering CPU loop
7437.365: alphavm.system.qla0.fun0: soft_reset
./run.sh: line 1: 6934 Floating point exception./alphavm_free config.emu

So from all the above I deduce that the BSD kernels  don’t like the Alphavm_free  qla0

scsi_controller qla0 {
 scsi_id = 7;
}

 

Advertisements
Gallery | This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s