NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Misterious problems with nfe0 and fxp0 cards



Hi. I have very strange problems with network cards
on my machine running 5.1.2/amd64.

1) First, I tried to configure on-board Marvell 88E1116 network card.
   It didn't work.

 ifconfig output:

    nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:17:31:6f:ba:88
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 172.17.11.91 netmask 0xffff0000 broadcast 172.17.255.255
        inet6 fe80::217:31ff:fe6f:ba88%nfe0 prefixlen 64 scopeid 0x2

 netstat -di -I nfe0

    Name  Mtu   Network       Address              Ipkts Ierrs    Opkts Oerrs 
Colls Drops
    nfe0  1500  <Link>        00:17:31:6f:ba:88     5076     0        6     0   
  0     0
    nfe0  1500  fe80::/64     fe80::217:31ff:fe     5076     0        6     0   
  0     0
    nfe0  1500  172.17/16     172.17.10.100         5076     0        6     0   
  0     0

 Cable was fine. PXE booted normally and Linux
 worked fine with this network card too.

2) Then, I inserted Intel card i82555 to pci slot and tried it. The same
   results. Network in NetBSD didn't work with this card too.

    fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:90:27:a2:f2:9e
        media: Ethernet autoselect (100baseTX 
full-duplex,flowcontrol,rxpause,txpause)
        status: active
        inet 172.17.11.91 netmask 0xffff0000 broadcast 172.17.255.255
        inet6 fe80::290:27ff:fea2:f29e%fxp0 prefixlen 64 scopeid 0x2

  netstat -id -I fxp0

    Name  Mtu   Network       Address              Ipkts Ierrs    Opkts Oerrs 
Colls Drops
    fxp0  1500  <Link>        00:90:27:a2:f2:9e        0     0       56     0   
  0     0
    fxp0  1500  172.17/16     172.17.11.91             0     0       56     0   
  0     0
    fxp0  1500  fe80::/64     fe80::290:27ff:fe        0     0       56     0   
  0     0

  icmp,udp,tcp -- neither of them work. ipf was disabled both in 1) and 2).
  Linux worked perfectly with this card. Several years ago
  exactly this card worked for me on different hardware (also NetBSD-5.1.2).

3) Finally, I tried very old 3c905 card (ex0 driver)
  and it works with 5.1.2/amd64 just perfectly!

Any idea what's happening?

Full dmesg is below
============================================

NetBSD 5.1.2 (GENERIC) #0: Thu Feb  2 12:12:28 UTC 2012
        
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-2-RELEASE/amd64/201202021012Z-obj/home/builds/ab/netbsd-5-1-2-RELEASE/src/sys/arch/amd64/compile/GENERIC
total memory = 4062 MB
avail memory = 3922 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.4 @ 0xf0000 (70 entries)
System manufacturer System Product Name (System Version)
mainbus0 (root)
cpu0 at mainbus0 apid 0: AMD 686-class, 2405MHz, id 0x40fb2
cpu1 at mainbus0 apid 1: AMD 686-class, 2405MHz, id 0x40fb2
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 11, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <Nvidia,ASUSACPI,42302e31>, AslId <AWRD,00000000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43
hpet0 at acpi0 (HPET, PNP0103): mem 0xfefff000-0xfefff3ff irq 0,8
timecounter: Timecounter "hpet0" frequency 25000000 Hz quality 2000
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
FDC0 (PNP0700) at acpi0 not configured
UAR1 (PNP0501) at acpi0 not configured
UAR2 (PNP0501) at acpi0 not configured
LPT1 (PNP0400) at acpi0 not configured
pckbc1 at acpi0 (PS2M, PNP0F13) (aux port): irq 12
pckbc2 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
aiboost0 at acpi0 (ASOC, ATK0110-16843024)
aiboost0: ASUS AI Boost Hardware monitor
FAN (PNP0C0B) at acpi0 not configured
acpitz0 at acpi0 (THRM): active cooling level 0: 73.0C critical 75.0C passive 
40.0C
attimer1: attached to pcppi1
pckbd0 at pckbc2 (kbd slot)
pckbc2: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
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
vendor 0x10de product 0x02f0 (RAM memory, revision 0xa2) at pci0 dev 0 function 
0 not configured
vendor 0x10de product 0x02fa (RAM memory, revision 0xa2) at pci0 dev 0 function 
1 not configured
vendor 0x10de product 0x02fe (RAM memory, revision 0xa2) at pci0 dev 0 function 
2 not configured
vendor 0x10de product 0x02f8 (RAM memory, revision 0xa2) at pci0 dev 0 function 
3 not configured
vendor 0x10de product 0x02f9 (RAM memory, revision 0xa2) at pci0 dev 0 function 
4 not configured
vendor 0x10de product 0x02ff (RAM memory, revision 0xa2) at pci0 dev 0 function 
5 not configured
Skipping broken PCI header on 0:0:5
vendor 0x10de product 0x027f (RAM memory, revision 0xa2) at pci0 dev 0 function 
6 not configured
vendor 0x10de product 0x027e (RAM memory, revision 0xa2) at pci0 dev 0 function 
7 not configured
ppb0 at pci0 dev 2 function 0: vendor 0x10de product 0x02fc (rev. 0xa1)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ppb1 at pci0 dev 3 function 0: vendor 0x10de product 0x02fd (rev. 0xa1)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 4 function 0: vendor 0x10de product 0x02fb (rev. 0xa1)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci0 dev 5 function 0: vendor 0x10de product 0x0240 (rev. 0xa2)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
vendor 0x10de product 0x0270 (RAM memory, revision 0xa2) at pci0 dev 9 function 
0 not configured
pcib0 at pci0 dev 10 function 0
pcib0: vendor 0x10de product 0x0260 (rev. 0xa3)
nfsmbc0 at pci0 dev 10 function 1: vendor 0x10de product 0x0264 (rev. 0xa3)
nfsmb0 at nfsmbc0 SMBus 1
iic0 at nfsmb0: I2C bus
nfsmb1 at nfsmbc0 SMBus 2
iic1 at nfsmb1: I2C bus
vendor 0x10de product 0x0272 (RAM memory, revision 0xa3) at pci0 dev 10 
function 2 not configured
ohci0 at pci0 dev 11 function 0: vendor 0x10de product 0x026d (rev. 0xa3)
APCF: Picked IRQ 20 with weight 0
ohci0: interrupting at ioapic0 pin 20
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ehci0 at pci0 dev 11 function 1: vendor 0x10de product 0x026e (rev. 0xa3)
APCL: Picked IRQ 21 with weight 0
ehci0: interrupting at ioapic0 pin 21
ehci0: EHCI version 1.0
ehci0: companion controller, 8 ports each: ohci0
usb1 at ehci0: USB revision 2.0
viaide0 at pci0 dev 13 function 0
viaide0: NVIDIA nForce430 IDE Controller (rev. 0xa1)
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at ioapic0 pin 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at viaide0 channel 1
viaide1 at pci0 dev 14 function 0
viaide1: NVIDIA nForce430 Serial ATA Controller (rev. 0xa1)
viaide1: bus-master DMA support present
viaide1: primary channel wired to native-PCI mode
APSI: Picked IRQ 22 with weight 0
viaide1: using ioapic0 pin 22 for native-PCI interrupt
atabus2 at viaide1 channel 0
viaide1: secondary channel wired to native-PCI mode
atabus3 at viaide1 channel 1
viaide2 at pci0 dev 15 function 0
viaide2: NVIDIA nForce430 Serial ATA Controller (rev. 0xa1)
viaide2: bus-master DMA support present
viaide2: primary channel wired to native-PCI mode
APSJ: Picked IRQ 23 with weight 0
viaide2: using ioapic0 pin 23 for native-PCI interrupt
atabus4 at viaide2 channel 0
viaide2: secondary channel wired to native-PCI mode
atabus5 at viaide2 channel 1
ppb3 at pci0 dev 16 function 0: vendor 0x10de product 0x026f (rev. 0xa2)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
fwohci0 at pci4 dev 5 function 0: vendor 0x104c product 0x8023 (rev. 0x00)
APC4: Picked IRQ 19 with weight 0
fwohci0: interrupting at ioapic0 pin 19
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:11:d8:00:00:e5:61:53
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
fxp0 at pci4 dev 8 function 0: i82559 Ethernet, rev 8
APC1: Picked IRQ 16 with weight 0
fxp0: interrupting at ioapic0 pin 16
fxp0: Ethernet address 00:90:27:a2:f2:9e
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
azalia0 at pci0 dev 16 function 1: Generic High Definition Audio Controller
AAZA: Picked IRQ 20 with weight 1
azalia0: interrupting at ioapic0 pin 20
azalia0: host: 0x10de/0x026c (rev. 162), HDA rev. 1.0
nfe0 at pci0 dev 20 function 0: vendor 0x10de product 0x0269 (rev. 0xa3)
APCH: Picked IRQ 21 with weight 1
nfe0: interrupting at ioapic0 pin 21
nfe0: Ethernet address 00:17:31:6f:ba:88
makphy0 at nfe0 phy 1: Marvell 88E1116 Gigabit PHY, rev. 1
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
pchb0 at pci0 dev 24 function 0
pchb0: vendor 0x1022 product 0x1100 (rev. 0x00)
pchb1 at pci0 dev 24 function 1
pchb1: vendor 0x1022 product 0x1101 (rev. 0x00)
pchb2 at pci0 dev 24 function 2
pchb2: vendor 0x1022 product 0x1102 (rev. 0x00)
amdtemp0 at pci0 dev 24 function 3
amdtemp0: AMD CPU Temperature Sensors (K8: core rev BH-F2, socket AM2)
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
azalia0: codec[0]: Analog Devices AD1986A (rev. 5.0), HDA rev. 1.0
audio0 at azalia0: full duplex, playback, capture, independent
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
uhub0 at usb0: vendor 0x10de OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
uhub1 at usb1: vendor 0x10de EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
viaide1 port 0: device present, speed: 3.0Gb/s
wd0 at atabus2 drive 0: <SAMSUNG SP2004C>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 186 GB, 387618 cyl, 16 head, 63 sec, 512 bytes/sect x 390719855 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 7
wd0(viaide1:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)


Home | Main Index | Thread Index | Old Index