NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-prep/52144: prep qemu issues in current.
>Number: 52144
>Category: port-prep
>Synopsis: prep qemu issues in current
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-prep-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 07 21:05:00 +0000 2017
>Originator: Christos Zoulas
>Release: NetBSD 7.99.67
>Organization:
Maximal Entropy LP.
>Environment:
System: NetBSD rebar.astron.com 7.99.59 NetBSD 7.99.59 (GENERIC)
Architecture: powerpc
Machine: prep
>Description:
Booting NetBSD/prep with the experimental siop support on v 1.9 leads to
suboptimal results; one has to wait for all devs and luns to timeout before
boot proceeds:
$ dd if=/dev/zero of=disk seek=2000000
$ qemu-system-ppc -nographic -M prep -hda disk -kernel sysinst_small_com0.fs
WARNING: Image format was not specified for 'disk' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
register PCI host 'pci-bridge' 'pci' '<null>' 'PREP Host PCI Bridge - Motorola Raven'
register 'pci-bridge' 'pci' '<null>' 'PREP Host PCI Bridge - Motorola Raven' 0x80000000 in 'device-tree' 0xffffffff
Done 582b000 582b880
PCI device '<null>' 0 11 0 has no reg properties:
PCI device '<null>' 0 11 0 has no assigned addresses properties:
register pci device 'Qemu VGA' 0000000d 'display' 'VGA' 'Qemu VGA'
register 'Qemu VGA' 'display' 'VGA' 'Qemu VGA' 0x0000000d in 'pci-bridge' 0x80000000
Done 582b880 582b980
PCI device 'Qemu VGA' 0 13 0 reg properties:
addr: 82006810 00000000 f0000000 size: 00000000 01000000
addr: 82006818 00000000 f1000000 size: 00000000 00010000
PCI device 'Qemu VGA' 0 13 0 assigned addresses properties:
addr: 82006810 00000000 f0000000 size: 00000000 01000000
addr: 82006818 00000000 f1000000 size: 00000000 00010000
PPC Open Hack'Ware BIOS for qemu version 0.4.1
Build 2014-07-04 15:23:25
Copyright 2003-2005 Jocelyn Mayer
Memory size: 128 MB.
Booting from device m
ide0: drive 0: Hard Disk
ERROR: OF_property_copy cannot get property 'hd' for aliases
ERROR: WIN_READ_NATIVE_MAX : status 50 != 0x40
ide0: drive 1: none
ide1: drive 0: CD-ROM
ERROR: OF_property_copy cannot get property 'cd' for aliases
ERROR: ATAPI TEST_UNIT_READY : status 58 != 0x08
ERROR: ATAPI TEST_UNIT_READY : status 41 != 0x40
ide1: drive 1: none
Probe partitions for device m
ERROR: No MSDOS signature (38 0 0 0)
Use bloc device as raw partition
Boot partition: 0 9401fff8 9401fff8 0
ERROR: OF_property_copy cannot get property 'alias' for <null>
boot device: 5832080 image 1000000 size 1945221
ERROR: PREP boot image greater than boot partition: 1dae85 167c00
Probe filesystem on unknown PREP partition 'PREP boot' (bootable) 5832100
Fix bootfile
Partition is bootable (0)
bd_set_boot_part: part 5832100 (0) 0
Boot partition: 5832100 582e480 582e480 0
boot device: 5832080
ERROR: Found boot partition : 5832100 582e480
ERROR: Not a MACH-O file
ERROR: Not an Apple CHRP boot file !
dest 100000 entry 00000200 => 100200
Load raw file into memory at 100000 1945221 (001dae85) 0 (00000000)
Boot: 00040000 85ae1d00 00000000 00000000
Bootinfos at : 300000
Now boot it... (0)
stack: 5bfff70 malloc_base: 0 0x05800000 0x06000000
PREP boot... 100200 100000
>> NetBSD/prep BOOT, Revision 1.9
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
siop_scsi_request: timeout
no mode free slot
siop_scsi_request: timeout
no mode free slot
siop_scsi_request: timeout
no mode free slot
siop_scsi_request: timeout
no mode free slot
siop_scsi_request: timeout
no mode free slot
siop_scsi_request: timeout
no mode free slot
siop_scsi_request: timeout
no mode free slot
siop_scsi_request: timeout
no mode free slot
siop_scsi_request: timeout
no mode free slot
siop_scsi_request: timeout
no mode free slot
siop_scsi_request: timeout
no mode free slot
siop_scsi_request: timeout
no mode free slot
siop_scsi_request: timeout
no mode free slot
siop_scsi_request: timeout
no mode free slot
siop_scsi_request: timeout
Boot:
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
Boot:
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
Boot:
Loading in()
No such device - Configured devices are:
sd
in memory kernel
4162196+115868=0x414a54
start=0x100000
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.99.67 (INSTALL_SMALL)
Model: Qemu
total memory = 128 MB
avail memory = 119 MB
panic: call to null-ptr from 0x0
The operating system has halted.
Please press any key to reboot.
>How-To-Repeat:
Also the kernel does not work, it needs -cpu 604 to not null-ptr.
>Fix:
1. fix the siop probe to be more graceful.
2. deal with the null ptr trap.
Boot message:
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.99.67 (INSTALL_SMALL)
Model: Qemu
total memory = 128 MB
avail memory = 119 MB
mainbus0 (root)
cpu0 at mainbus0: 604 (Revision 1.3), ID 0 (primary)
cpu0: HID0 0xc084<ICE,DCE,SGE,BHT>, powersave: 1
cpu0: 0.00 MHz
Couldn't find PNP data for bus 0 devfunc 0x0
pnpbus0 at mainbus0
pci0 at mainbus0 bus 0: indirect configuration space access
pchb0 at pci0 dev 0 function 0
pchb0: vendor 1057 product 4801 (rev. 0x00)
pcib0 at pci0 dev 1 function 0: vendor 8086 product 0484 (rev. 0x03)
vendor 1234 product 1111 (VGA display, revision 0x02) at pci0 dev 2 function 0 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux ignored)
vmmask 10000000 schedmask 10000000 highmask 70000000
WARNING: 1 error while detecting hardware; check system log.
boot device: mainbus0
root on md0a dumps on md0b
root file system type: ffs
kern.module.path=/stand/prep/7.99.67/modules
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
erase ^H, werase ^W, kill ^U, intr ^C, status ^T
Terminal type? [vt100]
Home |
Main Index |
Thread Index |
Old Index