Subject: kern/36500: -current kernel panics while initializing ADAPTEC 2400A
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <taya@ba2.so-net.ne.jp>
List: netbsd-bugs
Date: 06/16/2007 04:55:00
>Number:         36500
>Category:       kern
>Synopsis:       -current kernel panics while initializing ADAPTEC 2400A
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 16 04:55:00 +0000 2007
>Originator:     Shin'ichiro TAYA
>Release:        NetBSD 4.99.20
>Organization:

--
Shin'ichiro TAYA <taya@ba2.so-net.ne.jp>
>Environment:
	
	
System: NetBSD 4.99.20 (MMGSERV) #1: Sat Jun 16 12:09:03 JST 2007 taya@mmgserv.m2g.org:/export/NetBSD/NetBSD-current/src/sys/arch/i386/compile/MMGSERV
Architecture: i386
Machine: i386
>Description:
	-current kernel panics while initializing ADAPTEC 2400A raid controller.
	As far as I know, kernel after 4.99.12 have this problem.
	Attached is a traceback of my kernel, but GENERIC also panics.

BIOS CFG: Model-SubM-Rev: fc-01-00, 0x74<EBDA,KBDINT,RTC,IC2>
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    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 4.99.20 (MMGSERV) #1: Sat Jun 16 12:09:03 JST 2007
	taya@mmgserv.m2g.org:/export/NetBSD/NetBSD-current/src/sys/arch/i386/compile/MMGSERV
total memory = 510 MB
rbus: rbus_min_start set to 0x40000000
avail memory = 491 MB
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (686-class), 996.83 MHz, id 0x686
acpi0 at mainbus0: Advanced Configuration and Power Interface
ACPI-Fast 24-bit timer
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpibut0 at acpi0 (PNP0C0E): ACPI Sleep Button
PNP0A03 [PCI/PCI-X Host Bridge] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
attimer1 at acpi0 (PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
pcppi1 at acpi0 (PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
npx1 at acpi0 (PNP0C04)
npx1: io 0xf0-0xff irq 13
pckbc1 at acpi0 (PNP0F03): aux port
pckbc1: irq 12
pckbc2 at acpi0 (PNP0303): kbd port
pckbc2: io 0x60,0x64 irq 1
PNP0700 [PC standard floppy disk controller] at acpi0 not configured
com3 at acpi0 (PNP0501-1)
com3: io 0x3f8-0x3ff irq 4
com: ns16550a, working fifo
com3: console
com4 at acpi0 (PNP0501-2)
com4: io 0x2f8-0x2ff irq 3
com4: ns16550a, working fifo
lpt3 at acpi0 (PNP0400)
lpt3: io 0x378-0x37f irq 7
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
INT0800 [Intel FWH Random Number Generator] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
apm0 at acpi0: Power Management spec V1.2
pcppi1: attached to attimer1
pckbd0 at pckbc2 (kbd slot)
pckbc2: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
pms0 at pckbc2 (aux slot)
pckbc2: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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
pchb0: Intel 82815 Hub (rev. 0x02)
agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
vga1 at pci0 dev 2 function 0: Intel 82815 Graphics (rev. 0x02)
wsdisplay0 at vga1 kbdmux 1
direct rendering for vga1 unsupported
ppb0 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
fxp0 at pci1 dev 8 function 0: Intel i82562 Ethernet, rev 1
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:03:47:9f:e1:01
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ppb1 at pci1 dev 9 function 0: Distributed Processing Technology PCI-PCI Bridge (rev. 0x02)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
iop0 at pci1 dev 9 function 1: I2O adapteruvm_fault(0xc09becc0, 0, 1) -> 0xe
kernel: supervisor trap page fault, code=0
Stopped in pid 0.1 (system) at  netbsd:_bus_dmamap_sync+0x21:   movl    0x18(%ea
x),%esi
db> t
_bus_dmamap_sync(c0934300,0,0,0,1) at netbsd:_bus_dmamap_sync+0x21
iop_post(c149fa00,c0aa5654,0,4,1) at netbsd:iop_post+0x172
iop_init(c149fa00,c09ac380,6,c04a9250,c149fa00) at netbsd:iop_init+0x23c
iop_pci_attach(c1348800,c149fa00,c0aa573c,c0aa5778,c0aa573c) at netbsd:iop_pci_attach+0x1b5
config_attach_loc(c1348800,c0924d88,c0aa5778,c0aa573c,c04b0770) at netbsd:config_attach_loc+0x156
pci_probe_device(c1348800,80014900,0,0,1) at netbsd:pci_probe_device+0x22d
pci_enumerate_bus(c1348800,c0717bec,0,0,c0894484) at netbsd:pci_enumerate_bus+0x187
pcirescan(c1348800,c0894484,c0717bec,0,c0aa5970) at netbsd:pcirescan+0x24
config_attach_loc(c149d080,c0924e18,0,c0aa5970,c04b35d0) at netbsd:config_attach_loc+0x156
config_found_ia(c149d080,c089467c,c0aa5970,c04b35d0,100) at netbsd:config_found_ia+0x32
ppbattach(c1346000,c149d080,c0aa5a0c,c0aa5a48,c0aa5a0c) at netbsd:ppbattach+0x114
config_attach_loc(c1346000,c09250e8,c0aa5a48,c0aa5a0c,c04b0770) at netbsd:config_attach_loc+0x156
pci_probe_device(c1346000,8000f000,0,0,0) at netbsd:pci_probe_device+0x22d
pci_enumerate_bus(c1346000,c0717bec,0,0,c0894484) at netbsd:pci_enumerate_bus+0x187
pcirescan(c1346000,c0894484,c0717bec,0,c0aa5b3c) at netbsd:pcirescan+0x24
config_attach_loc(c1478fc0,c0924de8,0,c0aa5b3c,c04b35d0) at netbsd:config_attach_loc+0x156
config_found_ia(c1478fc0,c089467c,c0aa5b3c,c04b35d0,c1478fe3) at netbsd:config_found_ia+0x32
mainbus_attach(0,c1478fc0,0,c03eb08e,c0893c26) at netbsd:mainbus_attach+0x334
config_attach_loc(0,c0924dd0,0,0,0) at netbsd:config_attach_loc+0x156
config_attach(0,c0924dd0,0,0,c0aa2010) at netbsd:config_attach+0x2c
config_rootfound(c0893c26,0,c0aa5c28,c03ec41f,c0931c20) at netbsd:config_rootfou
nd+0x44
cpu_configure(c0931c20,a,0,0,c09c1210) at netbsd:cpu_configure+0x22
configure(c09515c0,1,0,0,ffff) at netbsd:configure+0x2f
main(fbff,c01002d2,0,0,0) at netbsd:main+0x115
db> r

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

rebooting...

Script done on Sat Jun 16 13:39:29 2007

>How-To-Repeat:
	
>Fix:
	

>Unformatted: