[vox-tech] Another Round of eth0 Problemas

Karalius, Joseph Joseph.Karalius at seminis.com
Tue Mar 1 11:46:42 PST 2005


Back in August '04 we ran this thread
<http://ns1.livepenguin.com/pipermail/vox-tech/2004-August/009158.html> into
the ground.
Now I have another problem with an OptiplexGX270 with an identical (AFAICT)
H/W setup as the GX270 that you met in the previous thread.
Your help is appreciated.

Context:
Optiplex GX270
P4 3.0 GHz/1GB DDR RAM
Intel 82540EM
e1000 driver
Debian Sarge

jkaralius at mmagdb:~$ uname -a
Linux mmagdb 2.4.24-1-386 #1 Wed Feb 18 19:44:56 EST 2004 i686 GNU/Linux
jkaralius at mmagdb:~$


I've done the cable swapping, ping, google, /etc/init.d/networking
stop|start|restart, ping, google, check route/ifconfig, ping, google, insmod
e1000/lsmod, google, and head-banging routine to no avail. Then I googled
some more...

@possibilities = ('swap cables',
			'/etc/networking stop|start|restart',
			'check route -n, ifconfig -a',
			'insmod e1000, lsmod',
			);

foreach $thing_to_check(@possibilities){
	do($thing_to_check);
	ping($server);
	check($webpage);
	google(@errors);
	bang_head($self);
	}

This time the box is running as a desktop server for a Zope/Plone intranet
portal and we are experiencing intermittent connectivity to that machine.
Plone serves up just fine when physically logged in and sitting at the
server, but other WinXP clients cannot access the site reliably.  I
routinely log into the server using PuTTY from my WinXP box and get kicked
off when the connection goes down.  I can ssh into the server from another
Linux machine a little more reliably, but I've been disconnected from that
machine as well.

jkaralius at mmagnet:~> ssh mmagdb
6147: ssh: connect to address 207.247.90.26 port 22: Connection refused

The lights from the onboard gigE port seem to be on all the time, no
flickering that I've seen.  I can't seem to recreate the problem or identify
a pattern of occurrence.


The possibilites?:

Bad switch port - I tried swapping ports on the switch

faulty cable - I swapped cables, no difference (CAT6, BTW)
noisy kbd cable - see dmesg output below

faulty NIC - I do not have an extra NIC to try out - (has been ordered -
Note to self: keep a few of these lying around JIC)

kernel - Have not and do not know what to look for.

memory issues?  - 
mmagdb:/home/jkaralius# free
             total       used       free     shared    buffers     cached
Mem:        905420     894180      11240          0     273164     291004
-/+ buffers/cache:     330012     575408
Swap:      8779472      20528    8758944

high network traffic -  How does you define 'high'?  IMO, this is not
likely, since we only have like 6 regular users and rarely are more than 2-3
logged into the site at the same time.  We had the same problem over this
weekend with only one user.

wrong|corrupted|not installed driver - the latest debian package
(e1000-common) is installed
mmagdb:/home/jkaralius# insmod e1000
Using /lib/modules/2.4.24-1-386/kernel/drivers/net/e1000/e1000.o
insmod: a module named e1000 already exists
mmagdb:/home/jkaralius#

I can't see any runaway processes in 'top'.

Here's some output from relevant utilities

Output from dmesg:
.
.
.
hdd: attached ide-cdrom driver.
hdd: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Intel(R) PRO/1000 Network Driver - version 5.2.20-k1
Copyright (c) 1999-2003 Intel Corporation.
eth0: Intel(R) PRO/1000 Network Connection
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
.
.
.
e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex
.
.
.
[drm] AGP 0.99 Aperture @ 0xe8000000 128MB
[drm] Initialized i830 1.3.2 20021108 on minor 0
e1000: eth0 NIC Link is Down
e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex
device eth0 entered promiscuous mode
device eth0 left promiscuous mode
keyboard: Too many NACKs -- noisy kbd cable?        <--- Is this at all
related?
device eth0 entered promiscuous mode
device eth0 left promiscuous mode
device eth0 entered promiscuous mode
device eth0 left promiscuous mode
smb_get_length: recv error = 104
smb_trans2_request: result=-104, setting invalid
smb_retry: successful, new pid=991, generation=2
smb_trans2_request: result=-104, setting invalid
smb_retry: successful, new pid=998, generation=2
smb_trans2_request: result=-104, setting invalid
smb_retry: successful, new pid=1001, generation=2
smb_get_length: recv error = 104
smb_trans2_request: result=-104, setting invalid
smb_retry: successful, new pid=991, generation=3
smb_get_length: recv error = 104
smb_trans2_request: result=-104, setting invalid
smb_retry: successful, new pid=991, generation=4
smb_trans2_request: result=-104, setting invalid
smb_retry: successful, new pid=998, generation=3
smb_trans2_request: result=-104, setting invalid
smb_retry: successful, new pid=1001, generation=3
jkaralius at mmagdb:~$


mmagdb:/var/log# mii-tool
eth0: negotiated 100baseTx-FD, link ok
mmagdb:/var/log#

jkaralius at mmagdb:~$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0D:56:85:D9:52
          inet addr:207.247.90.26  Bcast:207.247.90.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11637 errors:13 dropped:13 overruns:13 frame:0
          TX packets:3720 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5664209 (5.4 MiB)  TX bytes:1459124 (1.3 MiB)
          Interrupt:18 Base address:0xdf40 Memory:feae0000-feb00000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:38965 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38965 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12901289 (12.3 MiB)  TX bytes:12901289 (12.3 MiB)


mmagdb:/home/jkaralius# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
207.247.90.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         207.247.90.2    0.0.0.0         UG    0      0        0 eth0
mmagdb:/home/jkaralius#


mmagdb:/var/log# cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
    lo:59066297  246646    0    0    0     0          0         0 59066297
246646    0    0    0     0       0          0
  eth0:570346896  607121   13   13   13     0          0       832 51630993
305411    0    0    0     0       0          0
mmagdb:/var/log#


/var/log/syslog:
.
.
.
<SNIP>
Mar  1 09:24:35 mmagdb kernel: smb_get_length: recv error = 104
Mar  1 09:24:35 mmagdb kernel: smb_trans2_request: result=-104, setting
invalid
Mar  1 09:24:35 mmagdb gconfd (jkaralius-23468): Resolved address
"xml:readwrite:/home/jkaralius/.gconf" to a writable configuration source at
position 0
Mar  1 09:24:46 mmagdb kernel: smb_retry: successful, new pid=991,
generation=4
Mar  1 09:24:46 mmagdb kernel: smb_trans2_request: result=-104, setting
invalid
Mar  1 09:24:46 mmagdb kernel: smb_retry: successful, new pid=998,
generation=3
Mar  1 09:24:46 mmagdb kernel: smb_trans2_request: result=-104, setting
invalid
Mar  1 09:24:52 mmagdb kernel: smb_retry: successful, new pid=1001,
generation=3
Mar  1 09:52:18 mmagdb -- MARK --


mmagdb:/var/log# ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: umbg
        Wake-on: g
        Link detected: yes
mmagdb:/var/log#



mmagdb:/var/log# cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
0376-0376 : ide1
03c0-03df : vga+
03f8-03ff : serial(set)
0cf8-0cff : PCI conf1
df40-df7f : Intel Corp. 82540EM Gigabit Ethernet Controller
  df40-df7f : e1000
ed98-ed9f : Intel Corp. 82865G Integrated Graphics Device
eda0-edbf : Intel Corp. 82801EB SMBus Controller
edc0-edff : Intel Corp. 82801EB AC'97 Audio Controller
  edc0-edff : Intel ICH5
ee00-eeff : Intel Corp. 82801EB AC'97 Audio Controller
  ee00-eeff : Intel ICH5
fe00-fe07 : Intel Corp. 82801EB Ultra ATA Storage Controller
  fe00-fe07 : ide0
fe10-fe13 : Intel Corp. 82801EB Ultra ATA Storage Controller
  fe12-fe12 : ide0
fe20-fe27 : Intel Corp. 82801EB Ultra ATA Storage Controller
  fe20-fe27 : ide2
fe30-fe33 : Intel Corp. 82801EB Ultra ATA Storage Controller
  fe32-fe32 : ide2
fea0-feaf : Intel Corp. 82801EB Ultra ATA Storage Controller
  fea0-fea7 : ide0
  fea8-feaf : ide2
ff20-ff3f : Intel Corp. 82801EB USB
  ff20-ff3f : usb-uhci
ff40-ff5f : Intel Corp. 82801EB USB
  ff40-ff5f : usb-uhci
ff60-ff7f : Intel Corp. 82801EB USB
  ff60-ff7f : usb-uhci
ff80-ff9f : Intel Corp. 82801EB USB
  ff80-ff9f : usb-uhci
ffa0-ffaf : Intel Corp. 82801EB Ultra ATA Storage Controller
  ffa8-ffaf : ide1
mmagdb:/var/log#

mmagdb:/var/log# lsmod
Module                  Size  Used by    Not tainted
af_packet              11624   0  (autoclean)
i830                   54524   1
agpgart                39460  11  (autoclean)
i810_audio             21436   1  (autoclean)
ac97_codec             11444   0  (autoclean) [i810_audio]
soundcore               3268   2  (autoclean) [i810_audio]
iptable_filter          1612   0  (autoclean) (unused)
ip_tables              10720   1  [iptable_filter]
nfsd                   60240   8  (autoclean)
binfmt_misc             5220   1
apm                     8492   2  (autoclean)
nfs                    62460   7  (autoclean)
lockd                  42640   1  (autoclean) [nfsd nfs]
sunrpc                 58720   1  (autoclean) [nfsd nfs lockd]
smbfs                  31632   3  (autoclean)
ehci-hcd               14156   0  (unused)
hw_random               2456   0  (unused)
i810_rng                2368   0  (unused)
isofs                  22932   0  (autoclean)
mousedev                3732   1
hid                    18820   0  (unused)
input                   3040   0  [mousedev hid]
md                     55552   0  (autoclean)
loop                    8248   0  (autoclean)
lvm-mod                53856   0
dm-mod                 22664   0  (unused)
usb-uhci               19696   0  (unused)
usbcore                52908   1  [ehci-hcd hid usb-uhci]
e1000                  57988   1
ide-cd                 27968   0
cdrom                  25088   0  [ide-cd]
rtc                     6280   0  (autoclean)
ide-disk               12512  10  (autoclean)
ext3                   53220   8  (autoclean)
jbd                    34852   8  (autoclean) [ext3]
ide-detect               288   0  (autoclean) (unused)
piix                    7528   2  (autoclean)
ide-core               94332  10  (autoclean) [ide-cd ide-disk ide-detect
piix]
unix                   13260 215  (autoclean)
mmagdb:/var/log#


Thanks in advance for all help.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joseph Karalius
Research Associate - Bioinformatics
Molecular Markers and Applied Genomics
Seminis Vegetable Seeds, Inc
37437 State Highway 16
Woodland, CA 95695-9353
530-669-6131
joseph.karalius (a) seminis dot com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the vox-tech mailing list