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

Odd NIC jupe


I've been having a problem with OpenBSD and my server
for a long time now. Transferring large amounts of data
triggers it and `sh /etc/netstart em0` will fix it temporarily.
I've been using scp mostly but the problem isn't protocol
dependant since samba transfer triggered it also. I get
"Destination Host Unreachable" when the NIC isn't working
and when I try to ping it from another computer. There
were "em0: watchdog timeout -- resetting" messages on the
console last night when I rebooted GENERIC from the -current
and launched scp right after that. It works pretty reliably
with just iperf 2.0.2 since I haven't been able to make it
jupe with that even though I've transferred about 100-200GB
at once. It did jam however when I did iperf + local dd
if=bigfile of=/dev/null.

These are the things I've tested / changed:

OpenBSD 3.7-release, 3.7-stable and -current (3.8-beta).
I don't remember anymore but if I recall correctly the
problem persisted with 3.6 also.

Changing the hardware. Everything else but SATA HDD
have been replaced to a known to be working parts.
I don't have a spare for the disc so I cannot test that.
SATA controller has been changed however.

Last night I ran memtest86+ through without any errors.

I've tried the integrated vr0 adapter, it juped the NIC

Switch is Zyxel GS-108, I also tried my previous 100Mbps
switch but same problem occurs.

The end point I'm testing it with is 2.6.9 Linux with the
exact same Intel nic (different revision though).

Using GENERIC doesn't fix it. My kernel has only minor
changes like removing support for i386 CPUs and such.


OpenBSD 3.8-beta (CUSTOM) #0: Wed Aug 10 19:41:19 EEST 2005
cpu0: AMD Athlon(tm) XP 2200+ ("AuthenticAMD" 686-class, 256KB L2 cache) 1.90 GHz
cpu0: AMD Powernow: FID
real mem = 536379392 (523808K)
avail mem = 482258944 (470956K)
using 4278 buffers containing 26923008 bytes (26292K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(9d) BIOS, date 01/08/04, BIOS32 rev. 0 @ 0xfbab0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf64
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/192 (10 entries)
pcibios0: PCI Exclusive IRQs: 5 7 11
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xcc000/0x4400!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x80
ppb0 at pci0 dev 1 function 0 "VIA VT8377 PCI-PCI" rev 0x00
pci1 at ppb0 bus 1
em0 at pci0 dev 11 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: irq 7, address: 00:0e:0c:06:24:89
vga1 at pci0 dev 12 function 0 "ATI Mach64 GT" rev 0x41
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pciide0 at pci0 dev 15 function 0 "VIA VT8237 SATA" rev 0x80: DMA
pciide0: using irq 11 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST3200822AS>
wd0: 16-sector PIO, LBA48, 190782MB, 390721968 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <PLEXTOR, DVDR PX-708A, 1.08> SCSI0 5/cdrom removable
cd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide1: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 11
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x78: irq 5 address 00:04:61:72:ab:76
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x004063, model 0x0032, rev. 10
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lm0 at isa0 port 0x290/8: W83697HF
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ff65 netmask ffe5 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302


interrupt                       total     rate
irq7/em0                       232595       17
irq11/pciide0                  324165       24
irq14/pciide1                       0        0
irq5/uhci0                          0        0
irq5/uhci1                          0        0
irq11/uhci2                         0        0
irq11/uhci3                         0        0
irq11/ehci0                         0        0
irq5/vr0                       549009       41
irq1/pckbc0                       150        0
irq4/pccom0                     16599        1
irq3/pccom1                         0        0
irq6/fdc0                           0        0
irq0/clock                    1328738      100
irq8/rtc                      1700640      128
Total                         4151896      312

To me this seems a bug in the software rather than

 Antti Harri

Visit your host, monkey.org