Hi
Summary
-------
I get transmission-errors on the Ethernet and system lockups
when using this 4-Port Adaptec NIC.
Question
--------
-what's wrong?
-is it a hw or sw problem? (linux or bios?)
-how can i fix it (preferably without buying new equipement :)
Symptoms
--------
-IRQs reported by /proc/pci (9,10,11,5) and tulip (9,9,9,9)
do not match (see attached outputs)
-ping shows checksum-errors (see log below)
-nfs-mounts take a long time or even hang the computer (only
reset works)
-nfs-transfers of small files sometimes work, big files crash
the machine for shure.
-enabling "PCI Master 0 WS Write" in Award Bios hangs machine
on the first ping or any other network activity. thought
detection and configuration of the nic works without error.
Any other bios-setting didn't change the behavior of the nic.
-/var/log/messages shows sometimes garbled messages such as:
[date..] kernel: ng interrupt, csr5=0xfc660000.
[date..] kernel: interrupt, csr5=0xfc660000.
[date..] kernel: rupt, csr5=0xfc660000.
[date..] kernel: pt, csr5=0xfc660000.
[date..] kernel: r5=0xfc660000.
(sorry, this is copy&paste by eye, brain, finger as using a
floppydisk to transfer things gets old real quick... :)
-same nic worked in another computer under NT and on another
computer running RH5.1 (or maybe 5.2, but not newer).
-a single port nic (Lantronix LF PTA something, 21140-AE chip)
works fine with in this computer using the same kernel and
tulip-driver.
-I changed pci-slots
-I flashed a new award-bios (from 1.11 to 1.13)
-I changed network-cables
-I tried against a Lantronix Switch and now on a 3com-switch.
-same thing on port 0 and port 3 of this nic (didn't test
port 1 and 2 yet).
HW-Config
---------
AMD-K6/200
FIC PA-2012, Award BIOS 1.13JB16 (mid 1998, newest)
Matrox Mystique PCI
Adaptec ANA-6944A/TX Quartet NIC (4xDEC 21140 + 1xDEC 21152)
IDE Quantum on Onboard IDE-Interface
(see also /proc/pci and /var/log/messages below)
SW-Config
---------
RH6.1
kernel 2.2.13+tulip0.91g
(I first tried kernel-2.2.12-20 as provided by RH with
tulip0.89H)
Bye
dworz
PS: please don't quote the whole msg when replying, but i'm
thankfull for any hints :)
<- Start of ping ----------------------------------------->
# ping -n a.b.c.d
PING a.b.c.d (a.b.c.d) from a.b.c.e : 56(84) bytes of data.
64 bytes from a.b.c.d: icmp_seq=0 ttl=255 time=3.1 ms (BAD CHECKSUM!)
wrong data byte #14 should be 0xe but was 0x2
1a 32 27 38 bc e4 2 0 8 9 a b c d 2 0 0 1 2 3 4 5 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
64 bytes from a.b.c.d: icmp_seq=1 ttl=255 time=1.4 ms
64 bytes from a.b.c.d: icmp_seq=2 ttl=255 time=1.4 ms
64 bytes from a.b.c.d: icmp_seq=3 ttl=255 time=1.4 ms (BAD CHECKSUM!)
wrong data byte #14 should be 0xe but was 0x2
1d 32 27 38 5c d5 2 0 8 9 a b c d 2 0 0 1 2 3 4 5 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
64 bytes from a.b.c.d: icmp_seq=4 ttl=255 time=1.4 ms
64 bytes from a.b.c.d: icmp_seq=5 ttl=255 time=1.4 ms (BAD CHECKSUM!)
wrong data byte #14 should be 0xe but was 0x2
1f 32 27 38 70 d5 2 0 8 9 a b c d 2 0 0 1 2 3 4 5 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
--- a.b.c.d ping statistics ---
6 packets transmitted, 3 packets received, +3 corrupted, 50% packet loss
round-trip min/avg/max = 1.4/1.4/1.4 ms
<- End of ping ------------------------------------------->
<- Start of /proc/pci ------------------------------------>
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: VIA Technologies VT 82C597 Apollo VP3 (rev 1).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=32.
Prefetchable 32 bit memory at 0xe0000000 [0xe0000008].
Bus 0, device 1, function 0:
PCI bridge: VIA Technologies VT 82C597 Apollo VP3 AGP (rev 0).
Medium devsel. Master Capable. No bursts. Min Gnt=4.
Bus 0, device 7, function 0:
ISA bridge: VIA Technologies VT 82C586 Apollo ISA (rev 65).
Medium devsel. Master Capable. No bursts.
Bus 0, device 7, function 1:
IDE interface: VIA Technologies VT 82C586 Apollo IDE (rev 6).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=64.
I/O at 0x6400 [0x6401].
Bus 0, device 7, function 3:
Bridge: VIA Technologies VT 82C586B Apollo ACPI (rev 16).
Medium devsel. Fast back-to-back capable.
Bus 0, device 8, function 0:
PCI bridge: DEC DC21152 (rev 3).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=64. Min
Gnt=7.
Bus 0, device 9, function 0:
VGA compatible controller: Matrox Mystique (rev 3).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=64.
Prefetchable 32 bit memory at 0xe4000000 [0xe4000008].
Non-prefetchable 32 bit memory at 0xe5000000 [0xe5000000].
Non-prefetchable 32 bit memory at 0xe6000000 [0xe6000000].
Bus 1, device 4, function 0:
Ethernet controller: DEC DC21140 (rev 34).
Medium devsel. Fast back-to-back capable. IRQ 9. Master Capable. Latency=64.
Min Gnt=20.Max Lat=40.
I/O at 0xe000 [0xe001].
Non-prefetchable 32 bit memory at 0xd8000000 [0xd8000000].
Bus 1, device 5, function 0:
Ethernet controller: DEC DC21140 (rev 34).
Medium devsel. Fast back-to-back capable. IRQ 10. Master Capable.
Latency=64. Min Gnt=20.Max Lat=40.
I/O at 0xe400 [0xe401].
Non-prefetchable 32 bit memory at 0xd8001000 [0xd8001000].
Bus 1, device 6, function 0:
Ethernet controller: DEC DC21140 (rev 34).
Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable.
Latency=64. Min Gnt=20.Max Lat=40.
I/O at 0xe800 [0xe801].
Non-prefetchable 32 bit memory at 0xd8002000 [0xd8002000].
Bus 1, device 7, function 0:
Ethernet controller: DEC DC21140 (rev 34).
Medium devsel. Fast back-to-back capable. IRQ 5. Master Capable. Latency=64.
Min Gnt=20.Max Lat=40.
I/O at 0xec00 [0xec01].
Non-prefetchable 32 bit memory at 0xd8003000 [0xd8003000].
<- End of /proc/pci -------------------------------------->
<- Start of /var/log/messages ---------------------------->
Nov 8 18:56:11 figate syslogd 1.3-3: restart.
Nov 8 18:56:12 figate syslog: syslogd startup succeeded
Nov 8 18:56:12 figate syslog: klogd startup succeeded
Nov 8 18:56:12 figate kernel: klogd 1.3-3, log source = /proc/kmsg started.
Nov 8 18:56:12 figate kernel: Inspecting /boot/System.map
Nov 8 18:56:12 figate kernel: Loaded 6567 symbols from /boot/System.map.
Nov 8 18:56:12 figate kernel: Symbols match kernel version 2.2.13.
Nov 8 18:56:12 figate kernel: No module symbols loaded.
Nov 8 18:56:12 figate kernel: Linux version 2.2.13 ([EMAIL PROTECTED]) (gcc
version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #4 Sun Nov 7 15:08:59 CET
1999
Nov 8 18:56:12 figate kernel: Detected 200459117 Hz processor.
Nov 8 18:56:12 figate kernel: Console: colour VGA+ 80x25
Nov 8 18:56:12 figate kernel: Calibrating delay loop... 399.77 BogoMIPS
Nov 8 18:56:12 figate kernel: Memory: 63256k/65536k available (880k kernel code, 408k
reserved, 932k data, 60k init)
Nov 8 18:56:12 figate kernel: CPU: AMD AMD-K6tm w/ multimedia extensions stepping 02
Nov 8 18:56:12 figate kernel: Checking 386/387 coupling... OK, FPU using exception 16
error reporting.
Nov 8 18:56:12 figate kernel: Checking 'hlt' instruction... OK.
Nov 8 18:56:12 figate kernel: POSIX conformance testing by UNIFIX
Nov 8 18:56:12 figate kernel: PCI: PCI BIOS revision 2.10 entry at 0xfb5a0
Nov 8 18:56:12 figate kernel: PCI: Using configuration type 1
Nov 8 18:56:12 figate kernel: PCI: Probing PCI hardware
Nov 8 18:56:12 figate kernel: PCI: 00:38 [1106/0586]: Work around ISA DMA hangs (00)
Nov 8 18:56:12 figate kernel: Activating ISA DMA hang workarounds.
Nov 8 18:56:12 figate kernel: Linux NET4.0 for Linux 2.2
Nov 8 18:56:12 figate kernel: Based upon Swansea University Computer Society NET3.039
Nov 8 18:56:12 figate kernel: NET4: Unix domain sockets 1.0 for Linux NET4.0.
Nov 8 18:56:12 figate kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Nov 8 18:56:12 figate kernel: IP Protocols: ICMP, UDP, TCP
Nov 8 18:56:12 figate kernel: Initializing RT netlink socket
Nov 8 18:56:12 figate kernel: Starting kswapd v 1.5
Nov 8 18:56:12 figate kernel: parport0: PC-style at 0x378 [SPP]
Nov 8 18:56:12 figate kernel: matroxfb: Matrox Mystique 220 (PCI) detected
Nov 8 18:56:12 figate kernel: matroxfb: MTRR's turned on
Nov 8 18:56:12 figate kernel: matroxfb: 1024x768x24bpp (virtual: 1024x1364)
Nov 8 18:56:12 figate kernel: matroxfb: framebuffer at 0xE4000000, mapped to
0xc4805000, size 4194304
Nov 8 18:56:12 figate kernel: Console: switching to colour frame buffer device 128x48
Nov 8 18:56:12 figate kernel: fb0: MATROX VGA frame buffer device
Nov 8 18:56:12 figate kernel: Serial driver version 4.27 with no serial options
enabled
Nov 8 18:56:13 figate kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Nov 8 18:56:13 figate kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
Nov 8 18:56:13 figate kernel: pty: 256 Unix98 ptys configured
Nov 8 18:56:13 figate kernel: VP_IDE: IDE controller on PCI bus 00 dev 39
Nov 8 18:56:13 figate kernel: VP_IDE: not 100% native mode: will probe irqs later
Nov 8 18:56:13 figate kernel: ide0: BM-DMA at 0x6400-0x6407, BIOS settings:
hda:DMA, hdb:DMA
Nov 8 18:56:13 figate kernel: ide0: VIA Bus-Master (U)DMA Timing Config Success
Nov 8 18:56:13 figate kernel: hda: QUANTUM BIGFOOT_CY2160A, ATA DISK drive
Nov 8 18:56:13 figate kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Nov 8 18:56:13 figate kernel: hda: QUANTUM BIGFOOT_CY2160A, 2014MB w/67kB Cache,
CHS=1023/64/63, DMA
Nov 8 18:56:13 figate kernel: Floppy drive(s): fd0 is 1.44M
Nov 8 18:56:13 figate kernel: FDC 0 is a post-1991 82077
Nov 8 18:56:13 figate kernel: Partition check:
Nov 8 18:56:13 figate kernel: hda: hda1 hda2 hda3
Nov 8 18:56:13 figate kernel: VFS: Mounted root (ext2 filesystem) readonly.
Nov 8 18:56:13 figate kernel: Freeing unused kernel memory: 60k freed
Nov 8 18:56:13 figate kernel: Adding Swap: 133016k swap-space (priority -1)
Nov 8 18:56:14 figate atd: atd startup succeeded
Nov 8 18:56:15 figate crond: crond startup succeeded
Nov 8 18:56:16 figate rc: Starting pcmcia succeeded
Nov 8 18:56:17 figate inet: inetd startup succeeded
Nov 8 18:56:18 figate keytable: Loading keymap:
Nov 8 18:56:18 figate keytable: Loading
/usr/lib/kbd/keymaps/i386/qwertz/sg-latin1.kmap.gz
Nov 8 18:56:18 figate keytable: Loading system font:
Nov 8 18:56:18 figate rc: Starting keytable succeeded
Nov 8 18:56:20 figate gpm: gpm startup succeeded
Nov 8 18:56:21 figate linuxconf: Linuxconf final setup
Nov 8 18:56:22 figate rc: Starting linuxconf succeeded
Nov 8 18:57:59 figate PAM_pwdb[256]: (login) session opened for user root by
LOGIN(uid=0)
Nov 8 19:02:28 figate PAM_pwdb[257]: (login) session opened for user root by
LOGIN(uid=0)
Nov 8 19:02:45 figate kernel: mc uses obsolete /proc/pci interface
Nov 8 19:23:57 figate PAM_pwdb[258]: (login) session opened for user root by
LOGIN(uid=0)
Nov 8 19:24:09 figate kernel: Found Digital DS21140 Tulip at PCI I/O address 0xe000.
Nov 8 19:24:09 figate kernel: tulip.c:v0.91g 7/16/99 [EMAIL PROTECTED]
Nov 8 19:24:09 figate kernel: eth0: Digital DS21140 Tulip rev 34 at 0xe000,
00:00:D1:1B:86:AF, IRQ 9.
Nov 8 19:24:09 figate kernel: eth0: EEPROM default media type Autosense.
Nov 8 19:24:09 figate kernel: eth0: MII interface PHY 0, setup/reset sequences 1/1
long, capabilities 78 00.
Nov 8 19:24:09 figate kernel: eth0: Index #0 - Media MII (#11) described by a 21140
MII PHY (1) block.
Nov 8 19:24:09 figate kernel: eth0: MII transceiver #1 config 3100 status 7849
advertising 0101.
Nov 8 19:24:09 figate kernel: Found Digital DS21140 Tulip at PCI I/O address 0xe400.
Nov 8 19:24:09 figate kernel: eth1: Digital DS21140 Tulip rev 34 at 0xe400, EEPROM
not present, 00:00:D1:1B:86:B0, IRQ 9.
Nov 8 19:24:09 figate kernel: eth1: Controller 1 of multiport board.
Nov 8 19:24:09 figate kernel: eth1: EEPROM default media type Autosense.
Nov 8 19:24:09 figate kernel: eth1: MII interface PHY 0, setup/reset sequences 1/1
long, capabilities 78 00.
Nov 8 19:24:09 figate kernel: eth1: Index #0 - Media MII (#11) described by a 21140
MII PHY (1) block.
Nov 8 19:24:09 figate kernel: eth1: MII transceiver #1 config 3100 status 7849
advertising 0101.
Nov 8 19:24:09 figate kernel: Found Digital DS21140 Tulip at PCI I/O address 0xe800.
Nov 8 19:24:09 figate kernel: eth2: Digital DS21140 Tulip rev 34 at 0xe800, EEPROM
not present, 00:00:D1:1B:86:B1, IRQ 9.
Nov 8 19:24:09 figate kernel: eth2: Controller 2 of multiport board.
Nov 8 19:24:09 figate kernel: eth2: EEPROM default media type Autosense.
Nov 8 19:24:09 figate kernel: eth2: MII interface PHY 0, setup/reset sequences 1/1
long, capabilities 78 00.
Nov 8 19:24:09 figate kernel: eth2: Index #0 - Media MII (#11) described by a 21140
MII PHY (1) block.
Nov 8 19:24:09 figate kernel: eth2: MII transceiver #1 config 3100 status 7849
advertising 0101.
Nov 8 19:24:09 figate kernel: Found Digital DS21140 Tulip at PCI I/O address 0xec00.
Nov 8 19:24:09 figate kernel: eth3: Digital DS21140 Tulip rev 34 at 0xec00, EEPROM
not present, 00:00:D1:1B:86:B2, IRQ 9.
Nov 8 19:24:09 figate kernel: eth3: Controller 3 of multiport board.
Nov 8 19:24:09 figate kernel: eth3: EEPROM default media type Autosense.
Nov 8 19:24:09 figate kernel: eth3: MII interface PHY 0, setup/reset sequences 1/1
long, capabilities 78 00.
Nov 8 19:24:09 figate kernel: eth3: Index #0 - Media MII (#11) described by a 21140
MII PHY (1) block.
Nov 8 19:24:09 figate kernel: eth3: MII transceiver #1 config 3100 status 7849
advertising 0101.
Nov 8 19:24:12 figate kernel: eth0: MII status 786b, Link partner report 45e1.
Nov 8 19:24:12 figate kernel: eth0: The transmitter stopped. CSR5 is fc068002, CSR6
320e0202, new CSR6 20e0200.
Nov 8 19:24:12 figate kernel: eth0: Setting full-duplex based on MII#1 link partner
capability of 45e1.
Nov 8 19:25:12 figate kernel: eth0: MII status 786f, Link partner report 45e1.
Nov 8 19:26:12 figate kernel: eth0: MII status 786f, Link partner report 45e1.
Nov 8 19:27:04 figate kernel: eth3: MII status 786b, Link partner report 41e1.
Nov 8 19:27:04 figate kernel: eth3: The transmitter stopped. CSR5 is fc068002, CSR6
320e0202, new CSR6 20e0200.
Nov 8 19:27:04 figate kernel: eth3: Setting full-duplex based on MII#1 link partner
capability of 41e1.
Nov 8 19:27:12 figate kernel: eth0: MII status 786f, Link partner report 45e1.
Nov 8 19:28:04 figate kernel: eth3: MII status 786f, Link partner report 41e1.
Nov 8 19:28:12 figate kernel: eth0: MII status 786f, Link partner report 45e1.
<- End of /var/log/messages ------------------------------>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]