Subject: port-i386/18790: 1.6 GENERIC doesn't work well on ASUS P3W
To: None <gnats-bugs@gnats.netbsd.org>
From: Herb Peyerl <hpeyerl@chimay.beer.org>
List: netbsd-bugs
Date: 10/24/2002 01:33:17
>Number:         18790
>Category:       port-i386
>Synopsis:       PCI slots on ASUS P3W are on pci1 at ppb0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 24 06:47:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Herb Peyerl
>Release:        NetBSD 1.6
>Organization:

>Environment:
ASUS P3W motherboard.
System: NetBSD chimay 1.6 NetBSD 1.6 (GENERIC_LAPTOP) #0: Sun Sep 8 19:55:58 UTC 2002 autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC_LAPTOP i386
Architecture: i386
Machine: i386
>Description:
Ethernet (and probably other) adapters don't appear correctly on GENERIC kernel
but do on GENERIC_LAPTOP kernel.  

dmesg output from GENERIC kernel:

ppb0 at pci0 dev 30 function 0: Intel 82801AA Hub-to-PCI Bridge (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
fxp0 at pci1 dev 9 function 0: unable to map device registers

The same happens with de, vr cards. 

If I boot off GENERIC_LAPTOP, then ethernet cards work fine. Here's the 
relevant dmesg from GENERIC_LAPTOP kernel:

ppb0 at pci0 dev 30 function 0: Intel 82801AA Hub-to-PCI Bridge (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
fxp0 at pci1 dev 9 function 0: i82558 Ethernet, rev 5
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:08:c7:e9:5f:1e
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto


>How-To-Repeat:
need one of these motherboards to repeat.
>Fix:
I presume the fix will be obvious to someone smart. If needed, I will build kernels 
and experiment. 
>Release-Note:
>Audit-Trail:
>Unformatted: