NetBSD-Bugs archive

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

port-i386/54746: NetBSD/i386 9.0_RC1 boot failure on Microsoft VirtualPC



>Number:         54746
>Category:       port-i386
>Synopsis:       NetBSD/i386 9.0_RC1 boot failure on Microsoft VirtualPC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 07 17:05:00 +0000 2019
>Originator:     Izumi Tsutsui
>Release:        NetBSD 9.0_RC1
>Organization:
>Environment:
System: NetBSD 9.0_RC1 (GENERIC) #0: Wed Nov 27 16:14:52 UTC 2019
 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC
Architecture: i386
Machine: i386
>Description:
NetBSD/i386 9.0_RC1 get panic right after mountroot because
no PCI devices are probed and no screen (VGA) console found
(typed from screen captures):
---
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, 2019 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 9.0_RC1 (GENERIC) #0: Wed Nov 27 16:14:52 UTC 2019
 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC
total memory = 511 MB
avail memory = 482 MB
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
running cgd selftest aes-xts-256 aes-xts-512 done
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Microsoft Corporation Virtual Machine (VS2005R2)
mainbus0 (root)
ACPI: RSDP 0x00000000000F52C0 000014 (v00 ACPIAM)
ACPI: RSDT 0x000000001FFF0000 00002C (v01 A M I  OEMRSDT  08000914 MSFT 00000097)
ACPI: FACP 0x000000001FFF0200 000081 (v02 A M I  OEMFACP  08000914 MSFT 00000097)
ACPI: DSDT 0x000000001FFF0300 002108 (v01 AMIBI  AMIBI002 00000002 INTL 02002026)
ACPI: FACS 0x000000001FFFF000 000040
ACPI: OEMB 0x000000001FFFF040 000053 (v01 A M I  OEMBIOS  08000914 MSFT 00000097)
ACPI: 1 ACPI AML tables successfully acquired and loaded
cpu0 at mainbus0
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz, id 0xf29
cpu0: package 0, core 0, smt 0
acpi0 at mainbus0: Intel ACPICA 20190405
acpi0: X/RSDT: OemId <A M I ,OEMRSDT ,08000914>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, PNP0F03) (aux port): irq 12
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
COPR (PNP0C04) at acpi0 not configured
UAR1 (PNP0501) at acpi0 not configured
UAR2 (PNP0501) at acpi0 not configured
FDC (PNP0700) at acpi0 not configured
LPTE (PNP0400) at acpi0 not configured
SYSR (PNP0C02) at acpi0 not configured
OSYS (PNP0C02) at acpi0 not configured
VMBS (VPCBUS) at acpi0 not configured
SYSM (PNP0C01) at acpi0 not configured
apm0 at acpi0: Power Management spec V1.2
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer1: attached to pcppi1
pci0 at mainbus0 bus 0: configuration mode 2
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
isa0 at mainbus0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atabus0 at wdc0 channel 0
wdc1 at isa0 port 0x170-0x177 irq 15
atabus1 at wdc1 channel 0
sb0 at isa0 port 0x220-0x237 irq 5 drq 1,5: dsp v4.13
audio0 at sb0: playback, capture, half duplex, independent
audio0: slinear_le:16 2ch 48000Hz, blk 40ms for playback
audio0: slinear_le:16 2ch 48000Hz, blk 40ms for recording
midi1 at sb0: SB MIDI UART
opl0 at sb0: model OPL3
midi2 at opl0: SB Yamaha OPL3
isapnp0 at isa0 port 0x279
fdc0 at isa port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: read port 0x203
isapnp0: <Sound Blaster 16, PNPB003, PNPB003, > ignored; resource conflict
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
IPsec: Initialized Security Association Processing.
wd0 at atabus drive 0
wd0: <Virtual HD>
wd0: drive supports 128-sector PIO transfers, LBA addressing
wd0: 5120 MB, 10403 cyl, 16 head, 63 sec, 512 bytes/sect x 10486224 sectors
wd0: drive supports PIO mode 4, DMA mode 2
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <Virtual CD, , > cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
kern.module.path=/stand/i386/9.0/modules
WARNING: clock gained 5 days
panic: cnopen: no console device
cpu0: Begin traceback...
vpanic(c0fb31f1,d9181cd8,d9181cec,c011d455,c0fb31f1,3,c2096be0,0,0,c2096be0) at netbsd:vpanic+0x12d
snprintf(c0fb31f1,3,c2096be0,0,0,c2096be0,d9181d20,c08bcadb,0,0) at netbsd:snprintf
cnopen(0,0,3,2000,c2096be0,c0ccbf60,2000,3,0,0) at netbsd:cnopen+0xfa
cdev_open(0,0,3,2000,c2096be0,c207e3f4,c207e3f4,c20a14b8,0,f9) at netbsd:cdev_oepn+0xdb
spec_open(d9181da8,d9181e9c,d9181ec4,c0f28d54,c207e3f4,3,c1e09040,d9181e9c,d9181e78,c091c904) at netbsd:spec_open+0x188
VOP_OPEN(c207e3f4,3,c1e09040,3,c207e3f4,c1e09040,0,c2138000,c1e7c5b0,9153ea) at netbsd:VOP_OPEN+0x37
vn_open(d9181e9c,3,0,ab558,0,c2141040,0,0,c1df3dc0,c2138800) at netbsd:vn_open+0xc4
do_open(c2096be0,0,c1df3dc0,2,ae000,d9181f34,0,0,c1df3dc0,c2096be0) at netbsd:do_open+0xc4
do_sys_openat(2,ae000,d9181f34,c12774d8,d9181f9c,c0153cd7,c2096be0,d9181f68,d9181f60,d9180080) at netbsd:do_sys_openat+0x91
sys_open(c2096be0,d9181f68,d9181f60,d9180080,d9181f6c,d9181f60,5,d9181f68,0,0) at netbsd:sys_open+0x2c
syscall(): at netbsd:syscall+0x127
--- syscall (number 5) ---
b9264b9:
cpu0: End traceback...
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip 0xc0115b04 cs 0x8 eflags 0x202 cr2 0xb921d134 ilevel 0 esp 0xd9181cbc
curlwp 0xc2096be0 pid 2 lid 1 lowest kstack 0xd91802c0
---

NetBSD/i386 7.1.2 works fine (boots upto multiuser):
---
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 7.1.2 (GENERIC.201803151611Z)
total memory = 511 MB
avail memory = 486 MB
kern.module.path=/stand/i386/7.1/modules
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Microsoft Corporation Virtual Machine (VS2005R2)
mainbus0 (root)
ACPI: RSDP 0xf52c0 000014 (v00 ACPIAM)
ACPI: RSDT 0x1fff0000 00002C (v01 A M I  OEMRSDT  08000914 MSFT 00000097)
ACPI: FACP 0x1fff0200 000081 (v02 A M I  OEMFACP  08000914 MSFT 00000097)
ACPI: DSDT 0x1fff0300 002108 (v01  AMIBI AMIBI002 00000002 INTL 02002026)
ACPI: FACS 0x1ffff000 000040
ACPI: OEMB 0x1ffff040 000053 (v01 A M I  OEMBIOS  08000914 MSFT 00000097)
ACPI: All ACPI Tables successfully acquired
cpu0 at mainbus0: Intel(R) Pentium(R) 4 CPU 2.80GHz, id 0xf29
acpi0 at mainbus0: Intel ACPICA 20131218
acpi0: X/RSDT: OemId <A M I ,OEMRSDT ,08000914>, AslId <MSFT,00000097>
LNKA: ACPI: Found matching pin for 0.10.INTA at func 0: 9
LNKC: ACPI: Found matching pin for 0.12.INTC at func 0: 11
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, PNP0F03) (aux port): irq 12
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
COPR (PNP0C04) at acpi0 not configured
UAR1 (PNP0501) at acpi0 not configured
UAR2 (PNP0501) at acpi0 not configured
FDC (PNP0700) at acpi0 not configured
LPTE (PNP0400) at acpi0 not configured
SYSR (PNP0C02) at acpi0 not configured
OSYS (PNP0C02) at acpi0 not configured
VMBS (VPCBUS) at acpi0 not configured
SYSM (PNP0C01) at acpi0 not configured
apm0 at acpi0: Power Management spec V1.2
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20131218/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131218/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_] (20131218/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S4_] (20131218/hwxface-646)
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer1: attached to pcppi1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x7192 (rev. 0x03)
pcib0 at pci0 dev 7 function 0: vendor 0x8086 product 0x7110 (rev. 0x01)
piixide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
piixpm0 at pci0 dev 7 function 3: vendor 0x8086 product 0x7113 (rev. 0x02)
timecounter: Timecounter "piixpm0" frequency 3579545 Hz quality 900
piixpm0: 24-bit timer
piixpm0: pci_intr_map: no mapping for pin A (line=00)
polling
iic0 at piixpm0: I2C bus
vga0 at pci0 dev 8 function 0: vendor 0x5333 product 0x8811 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
tlp0 at pci0 dev 10 function 0: DECchip 21140A Ethernet, pass 2.0
tlp0: interrupting at irq 9
tlp0: ^B0, Ethernet address 00:03:ff:af:11:b3
tlp0: 100baseTX, 100baseTX-FDX
vendor 0x1414 product 0x0007 (audio multimedia) at pci0 dev 12 function 0 not configured
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
sb0 at isa0 port 0x220-0x237 irq 5 drq 1,5: dsp v4.13
audio0 at sb0: full duplex, playback, capture, mmap, independent
midi1 at sb0: SB MIDI UART
opl0 at sb0: model OPL3
midi2 at opl0: SB Yamaha OPL3
isapnp0 at isa0 port 0x279
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: read port 0x203
isapnp0: <Sound Blaster 16, PNPB003, PNPB003, > ignored; resource conflict
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
IPsec: Initialized Security Association Processing.
wd0 at atabus0 drive 0
wd0: <Virtual HD>
wd0: drive supports 128-sector PIO transfers, LBA addressing
wd0: 3820 MB, 7762 cyl, 16 head, 63 sec, 512 bytes/sect x 7824096 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2
wd0(piixide0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <Virtual CD, , > cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(piixide0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
Kernelized RAIDframe activated
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
---

>How-To-Repeat:
Boot NetBSD/i386 9.0_RC1 on Microsoft Virtual PC on Windows 7.

>Fix:

NetBSD 7.1.2 says:
> pci0 at mainbus0 bus 0: configuration mode 1
but NetBSD 9.0_RC1 says:
> pci0 at mainbus0 bus 0: configuration mode 2

Something were changed in pci(4) probe and attach functions?



Home | Main Index | Thread Index | Old Index