Re: PRO/100 VE on thinkpad R40 is missing PHY - no MII?
Koukopoulos Konstantinos <[email protected]> Tue, 15 Apr 2003 09:34:37 +0300
| Newsgroups | gmane.linux.drivers.eepro100.devel |
|---|---|
| Message-ID | <[email protected]> |
On 04/14/03 Donald Becker <[email protected]> wrote: > On Mon, 14 Apr 2003, Koukopoulos Konstantinos wrote: > > > I just bought a thinkpad R40, and after updating the default > > eepro100 driver in debian woody to a newer version that supports the > > Intel PRO/100 VE card it seems that it's working OK. Except, it seems > > that either there is no MII transceiver on this card or the driver can't > > find it properly. This is a problem because I wish to use a program > > (laptop-net) which must monitor the link status through MII. > > What version of the driver are you using? $ strings /lib/modules/2.4.20/kernel/drivers/net/eepro100.o | grep eepro100.c eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savonchkin <[email protected]> and others ahem, yes not a very recent driver.. it's the one that comes in the debian kernel package for kernel ver. 2.4.20. I'll try compiling a newer driver and tell you how it went. > > eth0: Intel Corp. 82801BD PRO/100 VE (MOB) Ethernet Controller, > > 00:06:1B:C0:8A:95, IRQ 11. > > Board assembly a43917-002, Physical connectors present: > > Primary interface chip None PHY #0. > > This is flawed: there should be both a transceiver and connector type > programmed into the configuration EEPROM. > > > root@panic:~# eepro100-diag > > eepro100-diag.c:v2.09 7/15/2002 Donald Becker ([email protected]) > > http://www.scyld.com/diag/index.html > > Unable to find a recognized card in /proc/pci. > > What is the output of > lspci -n 00:00.0 Class 0600: 8086:1a30 (rev 04) 00:01.0 Class 0604: 8086:1a31 (rev 04) 00:1d.0 Class 0c03: 8086:24c2 (rev 03) 00:1d.1 Class 0c03: 8086:24c4 (rev 03) 00:1d.2 Class 0c03: 8086:24c7 (rev 03) 00:1d.7 Class 0c03: 8086:24cd (rev 03) 00:1e.0 Class 0604: 8086:2448 (rev 83) 00:1f.0 Class 0601: 8086:24cc (rev 03) 00:1f.1 Class 0101: 8086:24ca (rev 03) 00:1f.3 Class 0c05: 8086:24c3 (rev 03) 00:1f.5 Class 0401: 8086:24c5 (rev 03) 00:1f.6 Class 0703: 8086:24c6 (rev 03) 01:00.0 Class 0300: 1002:4c59 02:00.0 Class 0607: 104c:ac56 02:07.0 Class 0c00: 104c:8026 02:08.0 Class 0200: 8086:103d (rev 83) > > > root@panic:~# eepro100-diag -p 0x8000 -f -aaeemm > > eepro100-diag.c:v2.09 7/15/2002 Donald Becker ([email protected]) > > http://www.scyld.com/diag/index.html > > Assuming a Intel i82557/8/9 EtherExpressPro100 adapter at 0x8000. > > i82557 chip registers at 0x8000: > > 0c000050 0f516000 00000000 00080002 1801ffff 00000600 > ... > > EEPROM contents, size 64x16: > > 00: 0600 c01b 958a 0000 0000 0000 0000 0000 > > Hmmm, it appears that this EEPROM was not fully programmed. The > transceiver type and connector type should be at offset 5, 6 and 7. But > these are all left as zero. It appears the laptop manufacturer used the > Intel example programming and ignored the "insert correct value here" > part. ! if that is the case, can I do something about it myself or should I just take it back and ask them to reprogram it? > > 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. > > To clear sleep mode use the '-G 0 -w -w -f' options. > > There is a chance that this chip might recent enough that it has fixed > the sleep mode bug. But I suspect not. > > It also appears that you are not using a recent version of my driver > release, or the warning would have appeared when you loaded the driver. > I've just added a new warning message to 'eepro100.c:v1.27b 4/14/2003' > to catch this flaw. thanks, I'll get back to the list when I've tried a newer version. -- ___.o._________ ,,_ ____________________________ =..'`. ,","_ '> `) ) ,"," _ '> , )// _ '> ,' // _ '>",' http://www.di.uoa.gr/~stud1242 ( (/ _'> ' ____`. `-"' ,'swan'_________________________ ``````````