NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-sparc64/57290
Sorry for any mime encoding that shows up, trying to make sure I send in
plain text. So yes, the NetBSD 10.99.12 ISO does boot up on sparc64 with
virtio disk, and I am able to install a minimal system, though there are still
times when the ide driver will timeout and never recover. It's spurious though
so I was able to try a few times and get through the minimal install.
But on the hard disk boot, it does hang trying to determine root.
These commands are taken from
https://wiki.qemu.org/Documentation/Platforms/SPARC
Here's a bootup log from the ISO with the virtio disk installed:
~/qemu qemu-system-sparc64 -drive
file=./netbsd_sparc64.qcow2,if=none,id=hd -drive file=./NetBSD-10.99.12-
sparc64.iso,format=raw,if=ide,bus=1,unit=0,media=cdrom,readonly=on -
device virtio-blk-pci,bus=pciB,drive=hd -nographic -boot d
OpenBIOS for Sparc64
Configuration device id QEMU version 1 machine id 0
kernel cmdline
CPUs: 1 x SUNW,UltraSPARC-IIi
UUID: 00000000-0000-0000-0000-000000000000
Welcome to OpenBIOS v1.1 built on Mar 7 2023 22:22
Type 'help' for detailed information
Trying cdrom:f...
Not a bootable ELF image
Not a bootable a.out image
Loading FCode image...
Loaded 7547 bytes
entry point is 0x4000
Evaluating FCode...
NetBSD IEEE 1275 Multi-FS Bootblock
Version $NetBSD: bootblk.fth,v 1.17 2022/11/17 06:40:39 chs Exp $
>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.20 (Thu Sep 26 21:31:09
UTC 2024)
=0xcb0a20
Loading netbsd: 13306336+513296+325640 [754104+493864]=0xefe170
Unimplemented service set-symbol-lookup ([2] -- [0])
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003,
[ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
2013,
[ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022,
2023,
[ 1.0000000] 2024
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All
rights reserved.
[ 1.0000000] NetBSD 10.99.12 (GENERIC) #0: Thu Sep 26 21:31:09 UTC
2024
[ 1.0000000]
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc64/compile/GENERIC
[ 1.0000000] total memory = 128 MB
[ 1.0000000] avail memory = 103 MB
[ 1.0000000] mainbus0 (root): OpenBiosTeam,OpenBIOS: hostid 80123456
[ 1.0000000] cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 100 MHz, CPU id 0
[ 1.0000000] cpu0: manuf 17, impl 12, mask 91
[ 1.0000000] cpu0: 256K instruction (64 b/l), 16K data (32 b/l), 256K
external (64 b/l)
[ 1.0000000] psycho0 at mainbus0
[ 1.0000000] psycho0: SUNW,sabre: impl 0, version 0: ign 7c0 bus range
0 to 2; PCI bus 0
[ 1.0000000] pci0 at psycho0
[ 1.0000000] ppb0 at pci0 dev 1 function 1: Sun Microsystems Simba PCI
Bridge (rev. 0x11)
[ 1.0000000] pci1 at ppb0 bus 1
[ 1.0000000] ebus0 at pci1 dev 1 function 0: Sun Microsystems PCIO
Ebus2, revision 0x01
[ 1.0000000] clock0 at ebus0 addr 2000-3fff: mk48t59
[ 1.0000000] power at ebus0 addr 7240-7243 ipl 1 not configured
[ 1.0000000] fdthree at ebus0 addr 0-ffffffff not configured
[ 1.0000000] com0 at ebus0 addr 3f8-3ff ipl 2b: ns16550a, 16-byte FIFO
[ 1.0000000] com0: console
[ 1.0000000] pckbc0 at ebus0 addr 60-67 ipl 29: no intr 1: selftest ok
[ 1.0000000] pckbd0 at pckbc0 (kbd slot)
[ 1.0000000] wskbd1 at pckbd0 mux 1
[ 1.0000000] pms0 at pckbc0 (aux slot)
[ 1.0000000] wsmouse0 at pms0 mux 0
[ 1.0000000] hme0 at pci1 dev 1 function 1: Sun Happy Meal Ethernet,
rev. 0
[ 1.0000000] hme0: interrupting at ivec 3021
[ 1.0000000] hme0: Ethernet address 52:54:00:12:34:56
[ 1.0000000] nsphy0 at hme0 phy 1: DP83840 10/100 media interface,
rev. 1
[ 1.0000000] nsphy0: 100baseTX-FDX, auto
[ 1.0000000] genfb0 at pci1 dev 2 function 0: vendor 1234 product 1111
(rev. 0x02)
[ 1.0000000] cmdide0 at pci1 dev 3 function 0: CMD Technology PCI0646
(rev. 0x07)
[ 1.0000000] cmdide0: primary channel configured to native-PCI mode,
channel non-independent
[ 1.0000000] cmdide0: using ivec 2820 for native-PCI interrupt
[ 1.0000000] atabus0 at cmdide0 channel 0
[ 1.0000000] cmdide0: secondary channel configured to native-PCI mode,
channel non-independent
[ 1.0000000] atabus1 at cmdide0 channel 1
[ 1.0000000] ppb1 at pci0 dev 1 function 0: Sun Microsystems Simba PCI
Bridge (rev. 0x11)
[ 1.0000000] pci2 at ppb1 bus 2
[ 1.0000000] virtio0 at pci2 dev 0 function 0
[ 1.0000000] virtio0: block device (id 2, rev. 0x01)
[ 1.0000000] ld0 at virtio0: features:
0x310000a54<ACCESS_PLATFORM,V1,INDIRECT_DESC,CONFIG_WCE,FLUSH,BLK_SIZE,G
EOMETRY,SEG_MAX>
[ 1.0000000] ld0: max 254 segs of max 65536 bytes
[ 1.0000000] virtio0: interrupting at ivec 2810
[ 1.0000000] ld0: 40960 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect
x 83886080 sectors
[ 1.0000000] pcons at mainbus0 not configured
[ 1.0000000] WARNING: system needs entropy for security; see
entropy(7)
[ 1.0000030] No counter-timer -- using %tick at 100MHz as system
clock.
[ 4.2878597] atapibus0 at atabus1: 2 targets
[ 4.3178227] cd0 at atapibus0 drive 0: <QEMU DVD-ROM, QM00003, 2.5+>
cdrom removable
[ 4.3778449] swwdog0: software watchdog initialized
[ 4.3977831] WARNING: 1 error while detecting hardware; check system
log.
[ 4.4795237] root on cd0a dumps on cd0b
[ 4.5178957] root file system type: cd9660
[ 4.5277871] kern.module.path=/stand/sparc64/10.99.12/modules
[ 4.9079700] entropy: best effort
Created tmpfs /dev (835584 byte, 1600 inodes)
init: kernel security level changed from 0 to 1
You are using a serial console, we do not know your terminal emulation.
Please select one, typical values are:
vt100
ansi
xterm
Terminal type (just hit ENTER for 'vt220'):
Here's a bootup log from the disk, left it for several hours before killing:
~/qemu qemu-system-sparc64 -drive
file=./netbsd_sparc64.qcow2,if=none,id=hd -drive file=./NetBSD-10.99.12-
sparc64.iso,format=raw,if=ide,bus=1,unit=0,media=cdrom,readonly=on -
device virtio-blk-pci,bus=pciB,drive=hd,bootindex=0 -nographic
OpenBIOS for Sparc64
Configuration device id QEMU version 1 machine id 0
kernel cmdline
CPUs: 1 x SUNW,UltraSPARC-IIi
UUID: 00000000-0000-0000-0000-000000000000
Welcome to OpenBIOS v1.1 built on Mar 7 2023 22:22
Type 'help' for detailed information
Trying /pci@1fe,0/pci@1/scsi@0/disk:f...
Trying /pci@1fe,0/pci@1/scsi@0/disk:a...
Not a bootable ELF image
Not a bootable a.out image
Loading FCode image...
Loaded 7547 bytes
entry point is 0x4000
Evaluating FCode...
NetBSD IEEE 1275 Multi-FS Bootblock
Version $NetBSD: bootblk.fth,v 1.17 2022/11/17 06:40:39 chs Exp $
>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.20 (Thu Sep 26 21:31:09
UTC 2024)
=0xcb0a20
Loading netbsd: 13306336+513296+325640 [754104+493864]=0xefe170
Unimplemented service set-symbol-lookup ([2] -- [0])
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003,
[ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
2013,
[ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022,
2023,
[ 1.0000000] 2024
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All
rights reserved.
[ 1.0000000] NetBSD 10.99.12 (GENERIC) #0: Thu Sep 26 21:31:09 UTC
2024
[ 1.0000000]
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc64/compile/GENERIC
[ 1.0000000] total memory = 128 MB
[ 1.0000000] avail memory = 103 MB
[ 1.0000000] mainbus0 (root): OpenBiosTeam,OpenBIOS: hostid 80123456
[ 1.0000000] cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 100 MHz, CPU id 0
[ 1.0000000] cpu0: manuf 17, impl 12, mask 91
[ 1.0000000] cpu0: 256K instruction (64 b/l), 16K data (32 b/l), 256K
external (64 b/l)
[ 1.0000000] psycho0 at mainbus0
[ 1.0000000] psycho0: SUNW,sabre: impl 0, version 0: ign 7c0 bus range
0 to 2; PCI bus 0
[ 1.0000000] pci0 at psycho0
[ 1.0000000] ppb0 at pci0 dev 1 function 1: Sun Microsystems Simba PCI
Bridge (rev. 0x11)
[ 1.0000000] pci1 at ppb0 bus 1
[ 1.0000000] ebus0 at pci1 dev 1 function 0: Sun Microsystems PCIO
Ebus2, revision 0x01
[ 1.0000000] clock0 at ebus0 addr 2000-3fff: mk48t59
[ 1.0000000] power at ebus0 addr 7240-7243 ipl 1 not configured
[ 1.0000000] fdthree at ebus0 addr 0-ffffffff not configured
[ 1.0000000] com0 at ebus0 addr 3f8-3ff ipl 2b: ns16550a, 16-byte FIFO
[ 1.0000000] com0: console
[ 1.0000000] pckbc0 at ebus0 addr 60-67 ipl 29: no intr 1: selftest ok
[ 1.0000000] pckbd0 at pckbc0 (kbd slot)
[ 1.0000000] wskbd1 at pckbd0 mux 1
[ 1.0000000] pms0 at pckbc0 (aux slot)
[ 1.0000000] wsmouse0 at pms0 mux 0
[ 1.0000000] hme0 at pci1 dev 1 function 1: Sun Happy Meal Ethernet,
rev. 0
[ 1.0000000] hme0: interrupting at ivec 3021
[ 1.0000000] hme0: Ethernet address 52:54:00:12:34:56
[ 1.0000000] nsphy0 at hme0 phy 1: DP83840 10/100 media interface,
rev. 1
[ 1.0000000] nsphy0: 100baseTX-FDX, auto
[ 1.0000000] genfb0 at pci1 dev 2 function 0: vendor 1234 product 1111
(rev. 0x02)
[ 1.0000000] cmdide0 at pci1 dev 3 function 0: CMD Technology PCI0646
(rev. 0x07)
[ 1.0000000] cmdide0: primary channel configured to native-PCI mode,
channel non-independent
[ 1.0000000] cmdide0: using ivec 2820 for native-PCI interrupt
[ 1.0000000] atabus0 at cmdide0 channel 0
[ 1.0000000] cmdide0: secondary channel configured to native-PCI mode,
channel non-independent
[ 1.0000000] atabus1 at cmdide0 channel 1
[ 1.0000000] ppb1 at pci0 dev 1 function 0: Sun Microsystems Simba PCI
Bridge (rev. 0x11)
[ 1.0000000] pci2 at ppb1 bus 2
[ 1.0000000] virtio0 at pci2 dev 0 function 0
[ 1.0000000] virtio0: block device (id 2, rev. 0x01)
[ 1.0000000] ld0 at virtio0: features:
0x310000a54<ACCESS_PLATFORM,V1,INDIRECT_DESC,CONFIG_WCE,FLUSH,BLK_SIZE,G
EOMETRY,SEG_MAX>
[ 1.0000000] ld0: max 254 segs of max 65536 bytes
[ 1.0000000] virtio0: interrupting at ivec 2810
[ 1.0000000] ld0: 40960 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect
x 83886080 sectors
[ 1.0000000] pcons at mainbus0 not configured
[ 1.0000000] WARNING: system needs entropy for security; see
entropy(7)
[ 1.0000030] No counter-timer -- using %tick at 100MHz as system
clock.
[ 4.1419639] atapibus0 at atabus1: 2 targets
[ 4.1620152] cd0 at atapibus0 drive 0: <QEMU DVD-ROM, QM00003, 2.5+>
cdrom removable
[ 4.2121033] swwdog0: software watchdog initialized
[ 4.2227071] WARNING: 1 error while detecting hardware; check system
log.
[ 4.2227071] FATAL: boot device not found, check your firmware
settings!
[ 4.2227071] root device: qemu-system-sparc64: terminating on signal
15 from pid 2240583 (kill)
~/qemu
--
Michael Russo | Systems Engineer | PaperSolve, Inc.
office (718) 477 8906 | direct (332) 228 1817
Your random quote for today:
We can found no scientific discipline, nor a healthy profession on the
technical mistakes of the Department of Defense and IBM.
-- Edsger Dijkstra
Home |
Main Index |
Thread Index |
Old Index