Subject: Re: Intel on-board ethernet controller not detected
To: Rajappa Iyer <rsi@panix.com>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 05/21/2001 19:38:39
On Mon, May 21, 2001 at 10:25:23PM -0400, Rajappa Iyer wrote:

 > I hope that someone can help me out with this.  I'm trying to bring up
 > NetBSD 1.5 on an Intel server with an ethernet controller on the
 > motherboard (Intel 810) as well as an additional ethernet card in a
 > PCI slot.  The card is detected correctly (fxp), but the on-board
 > controller is not.  Both Linux and FreeBSD detect this card without
 > any problems.  Here's my dmesg output: I am not sure why the 82801BA
 > claims that the ethernet function (apart from other functions) is not
 > configured.  Is it because NetBSD does not configure it?  If so, how
 > can I make NetBSD configure it?

The stock 1.5 driver does not have the ICH's Ethernet product ID
in its list of "this is hardware you understand".

Making it recognize that is pretty simple -- but then there is a chip
bug work-around that you'll need.  1.5.1_BETA should recognize the chip,
and I'm going to try and get the chip bug work-around into the netbsd-1-5
branch before 1.5.1 is finalized.

 > 
 > Thanks,
 > Rajappa
 > 
 > NetBSD 1.5 (GENERIC) #1: Sun Nov 19 21:42:11 MET 2000
 >     fvdl@sushi:/work/trees/netbsd-1-5/sys/arch/i386/compile/GENERIC
 > cpu0: Intel Pentium III (E) (686-class)
 > total memory = 510 MB
 > avail memory = 467 MB
 > using 6558 buffers containing 26232 KB of memory
 > BIOS32 rev. 0 found at 0xfda74
 > mainbus0 (root)
 > pci0 at mainbus0 bus 0: configuration mode 1
 > pci0: i/o space, memory space enabled
 > pchb0 at pci0 dev 0 function 0
 > pchb0: Intel product 0x1130 (rev. 0x02)
 > vga1 at pci0 dev 2 function 0: Intel product 0x1132 (rev. 0x02)
 > wsdisplay0 at vga1: console (80x25, vt100 emulation)
 > ppb0 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge
 >     (rev. 0x01)
 > pci1 at ppb0 bus 1
 > pci1: i/o space, memory space enabled
 > Intel 82801BA LAN Controller (ethernet network, revision 0x01) at pci1 \
 >     dev 8 function 0 not configured
 > fxp0 at pci1 dev 10 function 0: Intel i82557 Ethernet, rev 8
 > fxp0: interrupting at irq 11
 > fxp0: Ethernet address 00:02:b3:1d:ab:c0, 10/100 Mb/s
 > inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 > pcib0 at pci0 dev 31 function 0
 > pcib0: Intel 82801BA LPC Interface Bridge (rev. 0x01)
 > pciide0 at pci0 dev 31 function 1: Intel 82801BA IDE Controller (rev. 0x01)
 > pciide0: bus-master DMA support present, but unused (no driver support)
 > pciide0: primary channel wired to compatibility mode
 > pciide0: primary channel interrupting at irq 14
 > wd0 at pciide0 channel 0 drive 0: <WDC WD200EB-00BHF0>
 > wd0: drive supports 16-sector pio transfers, lba addressing
 > wd0: 19092 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 39102336 sectors
 > wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
 > pciide0: secondary channel wired to compatibility mode
 > pciide0: secondary channel interrupting at irq 15
 > atapibus0 at pciide0 channel 1
 > cd0 at atapibus0 drive 0: <TOSHIBA CD-ROM XM-6702B, , 1007> type 5 \
 >     cdrom removable
 > cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
 > uhci0 at pci0 dev 31 function 2: Intel 82801BA USB Controller (rev. 0x01)
 > uhci0: interrupting at irq 11
 > usb0 at uhci0: USB revision 1.0
 > uhub0 at usb0
 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 > uhub0: 2 ports with 2 removable, self powered
 > Intel 82801BA SMBus Controller (SMBus serial bus, revision 0x01) at \
 >     pci0 dev 31 function 3 not configured
 > uhci1 at pci0 dev 31 function 4: Intel 82801BA USB Controller (rev. 0x01)
 > uhci1: interrupting at irq 10
 > usb1 at uhci1: USB revision 1.0
 > uhub1 at usb1
 > uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 > uhub1: 2 ports with 2 removable, self powered
 > Intel 82801BA AC-97 Audio Controller (audio multimedia, revision 0x01) \
 >     at pci0 dev 31 function 5 not configured
 > isa0 at pcib0
 > com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 > 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: console keyboard, using wsdisplay0
 > pms0 at pckbc0 (aux slot)
 > pckbc0: using irq 12 for aux slot
 > wsmouse0 at pms0 mux 0
 > lpt0 at isa0 port 0x378-0x37b irq 7
 > pcppi0 at isa0 port 0x61
 > midi0 at pcppi0: PC speaker
 > sysbeep0 at pcppi0
 > isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
 > npx0 at isa0 port 0xf0-0xff: using exception 16
 > fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
 > fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
 > isapnp0: no ISA Plug 'n Play devices found
 > biomask ef65 netmask ef65 ttymask ffe7
 > boot device: wd0
 > root on wd0a dumps on wd0b
 > root file system type: ffs
 > 
 > -- 
 > <rsi@panix.com> a.k.a. Rajappa Iyer.
 > 	They also surf who stand in the waves.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>