Subject: kern/29632: uvm_fault during autoconfiguration of cbb
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Denis Lagno <dlagno@mail.ru>
List: netbsd-bugs
Date: 03/08/2005 18:56:00
>Number:         29632
>Category:       kern
>Synopsis:       autoconfiguration of cbb ends up in uvm_fault
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 08 18:56:00 +0000 2005
>Originator:     Denis Lagno
>Release:        NetBSD 2.99.16
>Organization:
>Environment:
It is my old kernel:
System: NetBSD chup.gado 2.99.15 NetBSD 2.99.15 (FLAM) #0: Wed Feb 9 22:08:38 MSK 2005 dina@chup.gado:/flam/volatile/worksrc/netbsd-current/src/sys/arch/i386/compile/CHUP i386
Architecture: i386
Machine: i386

Machine is ASUS S200N
new kernel does not boot

I guess it happened after adding into kernel config:
options PCIBIOS
options PCIBIOS_BUS_FIXUP
options PCIBIOS_INTR_FIXUP
options PCIBIOSVERBOSE
options PCIBIOS_INTR_GUESS
options PCIBIOS_ADDR_FIXUP

>Description:
when I boot newly build kernel, I get:

cbb0 at pci1 dev 3 function 0: Ricoh 5C475 PCI-CardBus bridge (rev.0xb8)
uvm_fault (0xc06445ed,0,0,1) -> 0xe
stopped in pid 0.1 (swapper) at netbsd:rbus_new_root_share+0x15: cmpl 0xc(%edi),%ebx

backtrace:

rbus_new_root_share
rbus_pccbb_parent_io
pccbbattach
config_attach_loc
pci_probe_device
pci_enumerate_bus
pcirescan
config_attach_loc
ppbattach
config_attach_loc
pci_probe_device
pci_enumerate_bus
pcirescan
config_attach_loc
mainbus_attach
config_attach_loc
config_rootfound
cpuconfigure
configure
main

>How-To-Repeat:
build current kernel with PCIBIOS* options
and try to boot it on ASUS S200N 
>Fix:
N/A