NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-sparc64/57290: qemu-system-sparc64 virtio-blk-pci device doesn't work on NetBSD 10.0 - booting halts
>Number: 57290
>Category: port-sparc64
>Synopsis: qemu-system-sparc64 virtio-blk-pci device doesn't work on NetBSD 10.0 - booting halts
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-sparc64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 24 19:20:00 +0000 2023
>Originator: Mike Russo
>Release: 10.0_BETA
>Organization:
>Environment:
NetBSD 10.0_BETA NetBSD 10.0_BETA (GENERIC) #0: Mon Mar 20 17:25:14 UTC 2023 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
>Description:
I am attempting to use the virtio-blk-pci device with qemu-system-sparc64 and NetBSD 10.0, using the same command line as can be found on the qemu project's documentation page https://wiki.qemu.org/Documentation/Platforms/SPARC . The command is
qemu-system-sparc64 -drive file=./netbsd_sparc64.qcow2,if=none,id=hd -drive file=./NetBSD-10.0_BETA-sparc64.iso,format=raw,if=ide,bus=1,unit=0,media=cdrom,readonly=on -device virtio-blk-pci,bus=pciB,drive=hd -boot d -nographic
using latest qemu from git I compiled a couple of days ago. NetBSD 10.0 ISO was downloaded today.
It is detected, however it locks up the boot:
[ 1.0000000] virtio0 at pci2 dev 0 function 0
[ 1.0000000] virtio0: block device (id 2, rev. 0x00)
[ 1.0000000] ld0 at virtio0: features: 0x10000a54<INDIRECT_DESC,CONFIG_WCE,FLUSH,BLK_SIZE,GEOMETRY,SEG_MAX>
[ 1.0000000] virtio0: interrupting at ivec 1810
[ 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.2026685] atapibus0 at atabus1: 2 targets
[ 4.2227265] cd0 at atapibus0 drive 0: <QEMU DVD-ROM, QM00003, 2.5+> cdrom removable
//locks up here
It seems some discussion was had recently on the qemu and netbsd mailing list about it, see here
http://mail-index.netbsd.org/port-sparc64/2023/01/25/msg003184.html
and here
https://lists.nongnu.org/archive/html/qemu-devel/2021-10/msg01031.html
However I don't think anyone opened a bug report, so I'm doing so now.
>How-To-Repeat:
start qemu-system-sparc64 with the command line specified above (any HD file will do, just create a blank one in qemu-img)
>Fix:
see discussion in mailing list threads for information that was already found
Home |
Main Index |
Thread Index |
Old Index