I have installed debian (stable) on Sun Netra T1 (sparc64)
It has 2 built-in ethernet adapter which supports by sungem module, eth0 and eth1.
All works fine until I try to install into it an 4-port ethernet card D-Link DFE-580TX.
The kernel recognize it as sundance, written to dmesg:
=
sundance.c:v1.1 27-Jun-2006 Written by Donald Becker
http://www.scyld.com/network/sundance.html
=
after boot I see sundance module loaded, but no interface eth2 etc...
# lsmod
Module Size Used by
ipv6 279896 12
dm_snapshot 18488 0
dm_mirror 22440 0
dm_mod 60880 2 dm_snapshot,dm_mirror
ext3 151824 2
jbd 59664 1 ext3
generic 6532 0 [permanent]
sd_mod 22808 4
alim15x3 13400 0 [permanent]
ohci_hcd 19780 0
sungem 32708 0
sungem_phy 9984 1 sungem
sundance 24392 0
mii 7104 1 sundance
sym53c8xx 81000 3
scsi_transport_spi 28480 1 sym53c8xx
scsi_mod 155584 3 sd_mod,sym53c8xx,scsi_transport_spi
#
on command ifconfig reply errors:
# ifconfig eth2 192.168.1.1
SIOCSIFADDR: No such device
eth2: ERROR while getting interface flags: No such device
=
I have written the file /etc/modprobe.conf as
#
alias eth0 sungem
alias eth1 sungem
alias eth2 sundance
alias eth3 sundance
alias eth4 sundance
alias eth5 sundance
#
with no effect.
PCI list command display this adapter :
# lspci
00:00.0 Host bridge: Sun Microsystems Computer Corp. Ultra IIe
00:01.0 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge (rev 13)
00:01.1 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge (rev 13)
01:03.0 Non-VGA unclassified device: ALi Corporation M7101 Power Management Controller [PMU]
01:05.1 Ethernet controller: Sun Microsystems Computer Corp. RIO GEM (rev 01)
01:05.3 USB Controller: Sun Microsystems Computer Corp. RIO USB (rev 01)
01:07.0 ISA bridge: ALi Corporation M1533/M1535 PCI to ISA Bridge [Aladdin IV/V/V+]
01:0c.0 Bridge: Sun Microsystems Computer Corp. RIO EBUS (rev 01)
01:0c.1 Ethernet controller: Sun Microsystems Computer Corp. RIO GEM (rev 01)
01:0c.3 USB Controller: Sun Microsystems Computer Corp. RIO USB (rev 01)
01:0d.0 IDE interface: ALi Corporation M5229 IDE (rev c3)
02:05.0 PCI bridge: Intel Corporation 21152 PCI-to-PCI Bridge
02:08.0 SCSI storage controller: LSI Logic / Symbios Logic 53C896/897 (rev 07)
02:08.1 SCSI storage controller: LSI Logic / Symbios Logic 53C896/897 (rev 07)
03:04.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 14)
03:05.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 14)
03:06.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 14)
03:07.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 14)
#
verbose lspci of one sundance interface:
#
03:04.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 14)
Subsystem: D-Link System Inc DFE-580TX
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR-
Bookmark/Search this post with:
Re: Ethernet adapter D-Link DFE-580TX strange problem
Mine works fine (although on an AMD64, not SPARC).
Check dmesg for clues:
dmesg|less
Also check /var/log/messages
You should be seeing messages like this:
eth2: D-Link DFE-580TX 4 port Server Adapter at 0000000000019800, 00:05:5d:9f:ce:e2, IRQ 18.
The interaction with udev is also important - on my system for example:
Mar 14 08:25:48 fido kernel: udev: renamed network interface eth3 to eth4
I wouldn't recommend using 'modprobe.conf'; look in /etc/modprobe.d instead. Debian tends to use modprobe.d/ rather than modifying modprobe.conf.
To see how udev is instructed to behave:
cd /etc/udev
fgrep -r eth * | less
For example, on my system I have lines like:
rules.d/z25_persistent-net.rules:SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:e0:81:2f:09:cb", NAME="eth0"
That rule is actually generated by a script invoked via another rule:
rules.d/z45_persistent-net-generator.rules:KERNEL=="eth*|ath*|wlan*|ra*|sta*|ctc*|lcs*|hsi*", DRIVERS=="?*",\
Have fun sorting out what goes on. :)
If your sysfs virtual filesystem is mounted, you can also explore in there:
cd /sys/class/net
Odds are your interface is being given a strange name rather than the familiar eth*. Your driver is loaded (and it's using the MII driver) so I can't really think of any other problem aside from weird naming.
Re: Ethernet adapter D-Link DFE-580TX strange problem
There is NO any messages about ethernet other than eth0 and eth1.
And in /etc/udev/rules.d/z25_persistent-net.rules also only exist lines for eth0 and eth1
Re: Ethernet adapter D-Link DFE-580TX strange problem
Is there anything in the /sys directory? If you remove and reload the sundance driver, does anything else happen?
Re: Ethernet adapter D-Link DFE-580TX strange problem
#ls /sys/class/net
eth0/ eth1/ lo/ sit0/
#
that's all....
#rmmod sundance
#modprobe sundance
only effect - written the same string in syslog (dmesg):
=
sundance.c:v1.1 27-Jun-2006 Written by Donald Becker
http://www.scyld.com/network/sundance.html
=
Re: Ethernet adapter D-Link DFE-580TX strange problem
Also I see now some strange strings in dmesg:
#
Init PCI
I/O fail to allocate
Memory(64) fail to allocate.
Memory(32) fail to allocate.
Memory(64) fail to allocate.
Memory(32) fail to allocate.
I/O fail to allocate
Memory(64) fail to allocate.
Memory(32) fail to allocate.
Memory(64) fail to allocate.
Memory(32) fail to allocate.
#
when I boot system without DFE-580 card, this strings not appeared.
So, I think there is some kind of I/O or Mem address conflict, and I need info howto change it on Sun Netra T1.
Re: Ethernet adapter D-Link DFE-580TX strange problem
Perhaps Google can help you dig up discussions on the DFE-580TX, SPARC, and these problems. If the only messages you get are "Memory(64) fail to allocate." without identifying the module attempting to allocate etc, it's virtually impossible to figure out what's going on. It is not necessarily a software bug either; it can be a problem with the hardware configuration. Sometimes the electrical bus is faulty or there is a buggy PCI card plugged in; in either case, trying different PCI slots may give you a better result.
Re: Ethernet adapter D-Link DFE-580TX strange problem
Ok, I already live in google :-)
About another PCI slot - unfortunately there is only one slot on Netra T1