Subject: Re: kern/33047: fxp NICs are not useable on IBM Netfinity 4000R (no
To: None <gnats-bugs@netbsd.org>
From: Timo Schoeler <timo.schoeler@riscworks.net>
List: netbsd-bugs
Date: 03/10/2006 16:56:59
Christos Zoulas schrieb:
> The following reply was made to PR kern/33047; it has been noted by GNATS.
> 
> From: christos@zoulas.com (Christos Zoulas)
> To: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
> 	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
> Cc: 
> Subject: Re: kern/33047: fxp NICs are not useable on IBM Netfinity 4000R (no link)
> Date: Fri, 10 Mar 2006 10:48:23 -0500
> 
>  On Mar 10,  8:45am, timo.schoeler@riscworks.net (timo.schoeler@riscworks.net) wrote:
>  -- Subject: kern/33047: fxp NICs are not useable on IBM Netfinity 4000R (no l
>  
>  | e100: Intel(R) PRO/100 Network Driver, 3.3.6-k2-NAPI
>  | e100: Copyright(c) 1999-2004 Intel Corporation
>  | e100: eth0: e100_probe: addr 0xfebff000, irq 9, MAC addr 00:06:29:DE:7C:29
>  | e100: eth1: e100_probe: addr 0xfebfe000, irq 10, MAC addr 00:06:29:DE:7C:28
>  | 
>  | ---
>  | 
>  | NetBSD specific information (gathered via serial console, no typos! :)
>  | 
>  | *** ifconfig -a output ***
>  | 
>  | netbsd# ifconfig -a
>  | fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>  |         address: 00:06:29:de:87:39
>  |         media: Ethernet autoselect (none flowcontrol,rxpause,txpause)
>                                        ^^^^
>  |         status: no carrier
>  |         inet6 fe80::206:29ff:fede:8739%fxp0 prefixlen 64 scopeid 0x1
>  | 
>  | fxp0 at pci0 dev 17 function 0: i82559 Ethernet, rev 8
>  | fxp0: interrupting at ioapic0 pin 18 (irq 10)
>  | fxp0: Ethernet address 00:06:29:de:87:39
>  | inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
>  | inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>  | fxp1 at pci0 dev 18 function 0: i82559 Ethernet, rev 8
>  | fxp1: interrupting at ioapic0 pin 17 (irq 11)
>  | fxp1: Ethernet address 00:06:29:de:87:38
>  | inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
>  | inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>  
>  Is your ifconfig program old?

it's a NetBSD3-STABLE with patch for the Promise SATA300 HBA. ifconfig 
is not older than the build. (i made an iso for this one.)

> What happens if you try to set the
>  media manually?

i tried on both sides, on the switch and on the machine itself: same result.

today i put another fxp interface into the machine (into one of the two 
PCI slots; the is populated by the SATA card) and turned off the second 
serial port, thus freeing IRQ3. i pointed both onboard NICs to IRQ3 (as 
they do when set to autoconfigure, which i also tried) and tried to use 
the now as fxp2 known (pci) card.

interestingly, the handshake works and it has a link (Cisco 1924, 10MBit).

but it doesn't work: ping 192.9.50.99 (the machines' IP) goes into 
nowhere, pinging the default gateway dito.

i then tried setting the same IP (192.9.50.99) on another machine in the 
same subnet, which got recognized on the console!

regards,

timo