2007-01-07 13:39:55

by Anders Karlsson

[permalink] [raw]
Subject: D-Link DFE-580TX adapter problems


Hi there,

I am having problems getting a network adapter going. I should see
eth1-eth4 from this adapter, but they do not show up with 'ifconfig -a'.
'alta-diag' and 'lspci' show the four NICs, which is what confuses me. I
even added some printk's in sundance.c to find out what happens, and as
far as I can see, the NICs get enabled - so why don't they show up for
ifconfig? I've tried both 2.6.19.1 (SMP) and 2.6.20-rc3 (both UP and
SMP) in addition to the 2.6.15-27 kernel of Ubuntu 6.06.

I have attached outputs from 'alta-diag', 'dmidecode' and 'lspci -vvv'
in the hope that someone might be able to give me a hint at what is
going wrong. I have searched the LKML archive and Googled and not found
anything related. :-/

Any hints or help appreciated.


--
Anders Karlsson <[email protected]>


Attachments:
alta-diag-a.txt (1.14 kB)
alta-diag-e.txt (1.90 kB)
alta-diag-m.txt (6.64 kB)
dmidecode.txt (14.50 kB)
lspci-vvv.txt (16.91 kB)
ver_linux.txt (2.12 kB)
smime.p7s (3.75 kB)
Download all attachments

2007-01-08 20:15:29

by Francois Romieu

[permalink] [raw]
Subject: Re: D-Link DFE-580TX adapter problems

Anders Karlsson <[email protected]> :
[...]

No message from the sundance driver in dmesg ?

--
Ueimor

2007-01-08 23:01:18

by Anders Karlsson

[permalink] [raw]
Subject: Re: D-Link DFE-580TX adapter problems

On Mon, 2007-01-08 at 21:12 +0100, Francois Romieu wrote:
> Anders Karlsson <[email protected]> :
> [...]
>
> No message from the sundance driver in dmesg ?

# rmmod sundance mii
# modprobe sundance
# dmesg | tail
[138689.114754] sundance.c:v1.2 11-Sep-2006 Written by Donald Becker
[138689.114757] http://www.scyld.com/network/sundance.html
#

That is all that turns up (I stripped out the iptables messages that was
not relevant to the driver) at the end of the dmesg output. I have
checked the driver against the lspci output, the driver has the correct
PCI ID's in there, so this driver *should* work. In the past, it *has*
worked, but that was on a older kernel (2.6.8 or thereabouts).

If there are patches or tweaks to the driver, I am willing and able to
test them.

--
Anders Karlsson <[email protected]>


Attachments:
smime.p7s (3.75 kB)

2007-01-09 23:11:31

by Francois Romieu

[permalink] [raw]
Subject: Re: D-Link DFE-580TX adapter problems

Anders Karlsson <[email protected]> :
[...]
> PCI ID's in there, so this driver *should* work. In the past, it *has*
> worked, but that was on a older kernel (2.6.8 or thereabouts).

No datapoint beyond 2.6.12 ? It would make thinks easier (for you :o} ).

> If there are patches or tweaks to the driver, I am willing and able to
> test them.

Compressed patch attached. Apply with patch -R and see if it behaves
differently. No warranty.

--
Ueimor


Attachments:
(No filename) (452.00 B)
sundance.patch.gz (1.56 kB)
Download all attachments

2007-01-10 22:46:08

by Anders Karlsson

[permalink] [raw]
Subject: Re: D-Link DFE-580TX adapter problems

On Wed, 2007-01-10 at 00:09 +0100, Francois Romieu wrote:
> Anders Karlsson <[email protected]> :
> [...]
> > PCI ID's in there, so this driver *should* work. In the past, it *has*
> > worked, but that was on a older kernel (2.6.8 or thereabouts).
>
> No datapoint beyond 2.6.12 ? It would make thinks easier (for you :o} ).

Unfortunately the adapter has been sitting idle in an antistat bag for
some time, and last time I used it was with a Debian Sarge install. I
can try some older Ubuntu LiveCD's (will take some time to download
though) and try and get a point in time where it works.

> > If there are patches or tweaks to the driver, I am willing and able to
> > test them.
>
> Compressed patch attached. Apply with patch -R and see if it behaves
> differently. No warranty.

Many thanks for the patch. Applied to 2.6.20-rc4, built as K7-SMP, but
unfortunately it behaves no different compared to stock 2.6.20-rc4. If
you have any other ideas, I am game for some testing. Meanwhile, I'll
grab some LiveCD's to get data-points.

Cheers!

--
Anders Karlsson <[email protected]>


Attachments:
smime.p7s (3.75 kB)