(forw) [chris@black-sun.co.uk: Re: [eepro100] (no subject)]

Chris Jones chris@black-sun.co.uk
Wed, 1 Aug 2001 17:43:59 +0100


--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi

To follow up to myself, I ran the eepro100-diag with the 2.4.5 driver
loaded and I get these results:

(I dropped the interface before running these)

-(root@tenshu)-(/opt/home/cmsj/tmp)- ./eepro100-diag -a
eepro100-diag.c:v2.05 6/13/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Intel i82557/8/9 EtherExpressPro100 adapter at 0xdc00.
i82557 chip registers at 0xdc00:
  00000000 00000000 00000000 00080002 182540a1 00000600
  No interrupt sources are pending.
   The transmit unit state is 'Idle'.
   The receive unit state is 'Idle'.
  This status is unusual for an activated interface.
-(root@tenshu)-(/opt/home/cmsj/tmp)- ./eepro100-diag -m
eepro100-diag.c:v2.05 6/13/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Intel i82557/8/9 EtherExpressPro100 adapter at 0xdc00.
 MII PHY #1 transceiver registers:
  3000 782d 02a8 0154 05e1 40a1 0001 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0a02 0000 0001 0000 0000 0000 0000 0000
  0000 0000 0b20 0000 0000 0000 0000 0000.
-(root@tenshu)-(/opt/home/cmsj/tmp)- ./eepro100-diag -e
eepro100-diag.c:v2.05 6/13/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Intel i82557/8/9 EtherExpressPro100 adapter at 0xdc00.
Intel EtherExpress Pro 10/100 EEPROM contents:
  Station address 00:90:27:94:21:CA.
  Board assembly 721383-006, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
   Sleep mode is enabled.  This is not recommended.
   Under high load the card may not respond to
    PCI requests, and thus cause a master abort.

Is this last message relevent?

-- 
Chris "Ng" Jones
  chris@black-sun.co.uk
  www.linuxdude.co.uk


--OgqxwSJOaUobr8KG
Content-Type: message/rfc822
Content-Disposition: inline

Return-path: <eepro100-admin@scyld.com>
Envelope-to: cmsj@tenshu.black-sun.co.uk
Delivery-date: Wed, 01 Aug 2001 16:29:10 +0100
Received: from zanshin ([192.168.0.5])
	by tenshu.black-sun.co.uk with esmtp (Exim 3.22 #1 (Red Hat))
	id 15Rxvq-00016e-00
	for <cmsj@tenshu.black-sun.co.uk>; Wed, 01 Aug 2001 16:29:10 +0100
Received: from blueraja.scyld.com ([216.254.93.179])
	by zanshin with esmtp (Exim (version/platform details suppressed))
	id 15Rxvp-0001FR-00
	for <chris@black-sun.co.uk>; Wed, 01 Aug 2001 16:29:09 +0100
Received: from blueraja.scyld.com (localhost [127.0.0.1])
	by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id HAA06127;
	Wed, 1 Aug 2001 07:26:22 -0400
Received: from tenshu.black-sun.co.uk (daimyo.gotadsl.co.uk [195.149.46.61])
	by blueraja.scyld.com (8.9.3/8.9.3) with ESMTP id HAA06054;
	Wed, 1 Aug 2001 07:26:08 -0400
Received: from cmsj by tenshu.black-sun.co.uk with local (Exim 3.22 #1 (Red Hat))
	id 15Rxoz-00015Q-00; Wed, 01 Aug 2001 16:22:05 +0100
Date: Wed, 1 Aug 2001 16:22:05 +0100
From: Chris Jones <chris@black-sun.co.uk>
To: Donald Becker <becker@scyld.com>
Cc: eepro100@scyld.com
Subject: Re: [eepro100] (no subject)
Message-ID: <20010801162205.A3921@tenshu.black-sun.co.uk>
Mail-Followup-To: Donald Becker <becker@scyld.com>, eepro100@scyld.com
References: <20010801103704.A1640@tenshu.black-sun.co.uk> <Pine.LNX.4.10.10108010956040.4508-100000@vaio.greennet>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <Pine.LNX.4.10.10108010956040.4508-100000@vaio.greennet>; from becker@scyld.com on Wed, Aug 01, 2001 at 10:00:27 -0400
X-Uptime: 4:02pm  up  7:21,  6 users,  load average: 3.07, 3.54, 3.57
Sender: eepro100-admin@scyld.com
Errors-To: eepro100-admin@scyld.com
X-Mailman-Version: 1.1
Precedence: bulk
List-Id: Linux driver development for the Intel PCI/CardBus EEPro 100 <eepro100.scyld.com>
X-BeenThere: eepro100@scyld.com

Hi

* Donald Becker (becker@scyld.com) wrote:
>   http://www.scyld.com/network/updates.html
 
Ugh, I thought I'd sorted out my kernel includes.

> You likely need to add  -I/usr/src/linux/include  (with the correct
> path

I fixed the problem by symlinking /usr/include/linux and 
/usr/include/asm to the respective directories in /usr/src/linux/include

> What kernel and distribution are you using?
 
It's Red Hat 7.1, but with a kernel.org 2.4.5 kernel.

> What is the error message?

The most errors come from nfs, which reports things like this:

kernel: nfs: server jade not responding, still trying
kernel: nfs: task 57 can't get a request slot

these errors are spat out every few seconds until I drop the network 
interface.

There is an initial burst of data transmitted correctly, but then the 
errors start appearing and the traffic drops to almost nil. I snooped it
with tcpdump and it seemed that my box would send an nfs read request
that was replied immediately with about 5-6 packets at which point the
wire goes silent for about 2 minutes followed by another read request
and 5-6 packet reply. The remote box seems to be querying arp for my IP
after each of these events too (I guess this could be because my box 
appears to have fallen off the network?). Just to make sure the data 
wasn't disappearing down a hole somewhere I checked the activity lights
on the hub (100Mb NetGear hub) and that confirms that the wire is
silent.

> What does  eepro100-diag  report about the eepro100 state?

Will that report correctly with the stock kernel 2.4.5 driver? Or with
the interface active?

I did get the pci-scan.o and eepro100.o to compile by sorting out the
includes as mentioned above, but I still get dependancy errors when I
try to load the modules:

-(root@tenshu)-(/opt/home/cmsj/tmp)- uname -a
Linux tenshu 2.4.5 #1 Wed Jul 18 18:50:25 BST 2001 i686 unknown
-(root@tenshu)-(/opt/home/cmsj/tmp)- gcc -DMODULE -D__KERNEL__ -O6 -c
pci-scan.c 
-(root@tenshu)-(/opt/home/cmsj/tmp)- gcc -DMODULE -D__KERNEL__ -O6 -c
eepro100.c
-(root@tenshu)-(/opt/home/cmsj/tmp)- insmod ./pci-scan.o
./pci-scan.o: unresolved symbol pci_write_config_byte
./pci-scan.o: unresolved symbol kmalloc
./pci-scan.o: unresolved symbol pci_find_class
./pci-scan.o: unresolved symbol __check_region
./pci-scan.o: unresolved symbol pci_read_config_byte
./pci-scan.o: unresolved symbol pci_read_config_dword
./pci-scan.o: unresolved symbol __ioremap
./pci-scan.o: unresolved symbol pci_read_config_word
./pci-scan.o: unresolved symbol kfree
./pci-scan.o: unresolved symbol pci_set_master
./pci-scan.o: unresolved symbol pci_write_config_dword
./pci-scan.o: unresolved symbol pci_write_config_word
./pci-scan.o: unresolved symbol printk
./pci-scan.o: unresolved symbol ioport_resource

(the .c files are from scyld.com as of last night)

I'm quite confused about the symbol errors because as far as I can see
all of those symbols are listed in the System.map for my running kernel.

I also tried compiling those two modules with -DMODVERSIONS, but that
didn't seem to help either.

Thanks for your time,
-- 
Chris "Ng" Jones
  chris@black-sun.co.uk
  www.linuxdude.co.uk


_______________________________________________
eepro100 mailing list
eepro100@scyld.com
http://www.scyld.com/mailman/listinfo/eepro100

--OgqxwSJOaUobr8KG--