Port-prep archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Follow up: 40p boot failure with QEMU

Hi all,

As one of the OpenBIOS maintainers I've been working on improving PReP
support with the aim of replacing OpenHackWare in the next QEMU release,
however I'm currently stuck with the same issue reported by Artyom last
year here: http://mail-index.netbsd.org/port-prep/2017/04/02/msg000109.html.

The short version: if I set the residual data machine name to "IBM PPS
Model 6015" in order to fix interrupt routing issues with other OSs then
NetBSD 8.0 panics upon boot.

Is there any chance of getting this fixed at all? It would be a shame to
lose the ability to boot NetBSD/prep once the deprecated -M prep machine
is removed and the -M 40p machine is switched over to use OpenBIOS.

Note that since Artyom posted the original bug report, the outstanding
QEMU patches have now been applied to QEMU in time for the 3.0 release
which makes the reproducer really easy:

1) Download and build the latest QEMU 3.0 release: you can get away with
"./configure --target-list=ppc-softmmu" to just build the 32-bit PPC parts.

2) Grab my test 40p OpenBIOS build from

3) Launch QEMU 3.0 like this:

./qemu-system-ppc -cdrom NetBSD-8.0-prep.iso -boot d -M 40p -bios
openbios-ppc-40p -nographic

You'll see the panic on the console like this:

>> NetBSD/prep BOOT, Revision 1.9 (Tue Jul 17 14:59:51 UTC 2018)

siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout

(lots of repeated messages cut)

Loading sd(0,0,0)netbsd
sd(0,0,0): No such file or directory
open sd(0,0,0)netbsd: No such file or directory

Loading sd(0,0,0)onetbsd
sd(0,0,0): No such file or directory
open sd(0,0,0)onetbsd: No such file or directory

Loading in()
No such device - Configured devices are:
in memory kernel

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
    2018 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 8.0 (INSTALL) #0: Tue Jul 17 14:59:51 UTC 2018
Model: IBM PPS Model 6015
total memory = 128 MB
avail memory = 119 MB
trap: kernel read DSI trap @ 0x481106d2 by 0x2bb6e8 (DSISR 0x40000000,
err=14), lr 0x101e94
panic: trap

The operating system has halted.
Please press any key to reboot.

BTW did anyone verify that the suggested fix posted by Artyom at
actually works on real 40p hardware?



Home | Main Index | Thread Index | Old Index