LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-08-2011, 04:54 AM   #1
Abou Ilys
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Rep: Reputation: Disabled
[Debian Squeeze] Lan Connection Ethernet fail very quick.


Hello All !



I've a problem with LAN-Ethernet connection.

Connection work few minutes, sometime few seconds

I'm connect via NetWorkManager, with DHCP, with Freebox (router of the french ISP Free)


This PC was installed with NetInst method without problems.

With this same PC, with Windows XP, I've no problem with the connection.


I tried to ping google.fr and I saw when the connection failed this message

"sky2 PCI express error"


Here some infos, maybee that can help you... and me


Code:
Debian Squeeze, stable.
Code:
    lspci
    02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8038 PCI-E Fast Ethernet Controller (rev 14)
Code:
    /etc/network/interfaces
    auto lo
    iface lo inet loopback
Code:
    uname -a
    Linux medion 2.6.32-5-686 #1 SMP Mon Jun 13 04:13:06 UTC 2011 i686 GNU/Linux


Thanks you... Sorry for my english
 
Old 07-09-2011, 05:02 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello Abou Ilys, welcome to LQ,

at first sight I suspected a hardware-problem with your computer. But because you wrote that everything works fine with Windows, I think we'll have to look at the drivers.

Could you please post the output of
Code:
lspci -k | grep -iA5 ethernet
and
Code:
lsmod | sort
Markus
 
Old 07-11-2011, 04:40 PM   #3
Abou Ilys
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by markush View Post
Hello Abou Ilys, welcome to LQ,

at first sight I suspected a hardware-problem with your computer. But because you wrote that everything works fine with Windows, I think we'll have to look at the drivers.

Could you please post the output of
Code:
lspci -k | grep -iA5 ethernet
and
Code:
lsmod | sort
Markus

Danke for your aswer Markush

Code:
lspci -k | grep -iA5 ethernet
Code:
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8038 PCI-E Fast Ethernet Controller (rev 14)
	Subsystem: Rioworks Device 2054
	Kernel driver in use: sky2

Code:
lsmod | sort
Code:
ac                      1640  0 
arc4                     974  2 
ata_generic             2067  0 
battery                 3782  0 
binfmt_misc             4907  1 
bluetooth              36319  6 sco,bnep,rfcomm,l2cap
bnep                    7444  2 
bridge                 33019  0 
button                  3598  0 
cdrom                  26487  1 sr_mod
cfg80211               87661  2 rtl8180,mac80211
cpufreq_conservative     4018  0 
cpufreq_powersave        602  0 
cpufreq_stats           1940  0 
cpufreq_userspace       1480  0 
crc16                   1027  1 l2cap
crc_t10dif              1012  1 sd_mod
drm                   112088  4 radeon,ttm,drm_kms_helper
drm_kms_helper         18309  1 radeon
ecb                     1405  2 
eeprom_93cx6             963  1 rtl8180
ehci_hcd               27851  0 
evdev                   5609  15 
ext3                   94212  2 
fuse                   44033  3 
i2c_algo_bit            3497  1 radeon
i2c_core               12696  5 radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_piix4
i2c_piix4               7076  0 
iptable_filter          1790  1 
ip_tables               7690  1 iptable_filter
jbd                    32169  1 ext3
joydev                  6739  0 
l2cap                  21705  6 bnep,rfcomm
libata                115753  2 ata_generic,pata_atiixp
loop                    9765  0 
lp                      5570  0 
mac80211              123574  1 rtl8180
mbcache                 3762  1 ext3
Module                  Size  Used by
nls_base                4541  1 usbcore
ohci_hcd               16880  0 
output                  1204  1 video
parport                22554  3 parport_pc,ppdev,lp
parport_pc             15799  0 
pata_atiixp             2541  3 
pci_hotplug            18065  1 shpchp
pcspkr                  1207  0 
ppdev                   4058  0 
processor              26327  1 
psmouse                44657  0 
radeon                511184  2 
rfcomm                 25171  0 
rfkill                 10264  4 bluetooth,cfg80211
rtl8180                22887  0 
sco                     5857  2 
scsi_mod              101429  4 sg,sr_mod,sd_mod,libata
sd_mod                 25977  4 
serio_raw               2916  0 
sg                     15968  0 
shpchp                 21220  0 
sky2                   34040  0 
snd                    34375  11 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
snd_hda_codec          46002  2 snd_hda_codec_idt,snd_hda_intel
snd_hda_codec_idt      35293  1 
snd_hda_intel          16811  1 
snd_hwdep               4054  1 snd_hda_codec
snd_page_alloc          5045  2 snd_hda_intel,snd_pcm
snd_pcm                47226  2 snd_hda_intel,snd_hda_codec
snd_seq                35463  1 
snd_seq_device          3673  1 snd_seq
snd_timer              12258  2 snd_pcm,snd_seq
soundcore               3450  1 snd
sr_mod                 10770  0 
stp                      996  1 bridge
thermal                 9206  0 
thermal_sys             9378  3 processor,video,thermal
ttm                    33386  1 radeon
uinput                  4796  1 
usbcore                98453  3 ohci_hcd,ehci_hcd
video                  14605  0 
x_tables                8327  2 xt_multiport,ip_tables
xt_multiport            1775  1


And the syslog...


Code:
Jul 11 21:46:43 medion kernel: [  294.065838] sky2 0000:02:00.0: error interrupt status=0xc0000000
Jul 11 21:46:43 medion kernel: [  294.065847] sky2 0000:02:00.0: PCI Express error (0x14000)
Jul 11 21:46:45 medion NetworkManager[1088]: <info> (eth0): carrier now OFF (device state 8, deferring action for 4 seconds)
Jul 11 21:46:45 medion kernel: [  295.816145] sky2 eth0: hung mac 123:48 fifo 194 (91:85)
Jul 11 21:46:45 medion kernel: [  295.816149] sky2 eth0: receiver hang detected
Jul 11 21:46:47 medion NetworkManager[1088]: <info> (eth0): carrier now ON (device state 8)
Jul 11 21:46:47 medion kernel: [  297.492050] sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
Jul 11 21:46:48 medion NetworkManager[1088]: <info> (eth0): carrier now OFF (device state 8, deferring action for 4 seconds)
Jul 11 21:46:48 medion kernel: [  298.816149] sky2 eth0: hung mac 0:64 fifo 192 (0:192)
Jul 11 21:46:48 medion kernel: [  298.816153] sky2 eth0: receiver hang detected
Jul 11 21:46:50 medion NetworkManager[1088]: <info> (eth0): carrier now ON (device state 8)
Jul 11 21:46:50 medion kernel: [  300.521220] sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
Jul 11 21:46:51 medion NetworkManager[1088]: <info> (eth0): carrier now OFF (device state 8, deferring action for 4 seconds)
Jul 11 21:46:51 medion kernel: [  302.000139] sky2 eth0: hung mac 0:64 fifo 192 (0:192)
Jul 11 21:46:51 medion kernel: [  302.000144] sky2 eth0: receiver hang detected
Jul 11 21:46:53 medion NetworkManager[1088]: <info> (eth0): carrier now ON (device state 8)
Jul 11 21:46:53 medion kernel: [  303.723133] sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
Jul 11 21:46:54 medion NetworkManager[1088]: <info> (eth0): carrier now OFF (device state 8, deferring action for 4 seconds)
Jul 11 21:46:54 medion kernel: [  305.000047] sky2 eth0: hung mac 0:31 fifo 31 (0:31)
Jul 11 21:46:54 medion kernel: [  305.000051] sky2 eth0: receiver hang detected
Jul 11 21:46:56 medion kernel: [  306.815825] sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
Jul 11 21:46:56 medion NetworkManager[1088]: <info> (eth0): carrier now ON (device state 8)
Jul 11 21:46:57 medion kernel: [  308.000148] sky2 eth0: hung mac 0:20 fifo 20 (0:20)
Jul 11 21:46:57 medion kernel: [  308.000152] sky2 eth0: receiver hang detected
Jul 11 21:46:57 medion NetworkManager[1088]: <info> (eth0): carrier now OFF (device state 8, deferring action for 4 seconds)
Jul 11 21:46:59 medion NetworkManager[1088]: <info> (eth0): carrier now ON (device state 8)
Jul 11 21:46:59 medion kernel: [  309.725404] sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
Jul 11 21:47:00 medion NetworkManager[1088]: <info> (eth0): carrier now OFF (device state 8, deferring action for 4 seconds)
Jul 11 21:47:00 medion kernel: [  311.000137] sky2 eth0: hung mac 0:10 fifo 10 (0:10)
Jul 11 21:47:00 medion kernel: [  311.000141] sky2 eth0: receiver hang detected
Jul 11 21:47:02 medion NetworkManager[1088]: <info> (eth0): carrier now ON (device state 8)
Jul 11 21:47:02 medion kernel: [  312.966775] sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
Jul 11 21:47:03 medion NetworkManager[1088]: <info> (eth0): carrier now OFF (device state 8, deferring action for 4 seconds)
Jul 11 21:47:03 medion kernel: [  314.000052] sky2 eth0: hung mac 0:20 fifo 20 (0:20)
 
Old 07-12-2011, 01:07 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
I had once a similar issue. But I did not find a solution.

You could try to boot with a Live-CD and check if the connection works. If you find a live-CD which works you can compare the settings (check all you've posted above), maybe you'll find a different module or any other program which has to be updated.

Good luck

Markus
 
Old 07-12-2011, 01:51 AM   #5
Abou Ilys
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by markush View Post
I had once a similar issue. But I did not find a solution.




Quote:
You could try to boot with a Live-CD and check if the connection works. If you find a live-CD which works you can compare the settings (check all you've posted above), maybe you'll find a different module or any other program which has to be updated.

I tried with System Rescue Cd and it's the same problem.


Quote:
Good luck

I'll need luck
 
Old 07-12-2011, 01:54 AM   #6
Abou Ilys
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
A newbie question :

Code:
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8038 PCI-E Fast Ethernet Controller (rev 14)
	Subsystem: Rioworks Device 2054
	Kernel driver in use: sky2

Does it exist another driver (other than sky2 ?) to use this Ethernet card ?
 
Old 07-12-2011, 02:18 AM   #7
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, that's a good idea, you can find driverpackages here http://www.marvell.com/drivers/drive...360W!-38482813

Maybe they work better than the modules which come with the kernel.

Markus
 
Old 07-12-2011, 04:55 AM   #8
Abou Ilys
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Ok, I'll try...

It's my very very first time about install a driver... So I'll surely do mistake So I'll come back.


If I really understand and I install the new drivers correctly, the next time I'll do

Code:
lspci -k | grep -iA5 ethernet
Its should give me something like that ?


Code:
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8038 PCI-E Fast Ethernet Controller (rev 14)
	Subsystem: Rioworks Device 2054
	Kernel driver in use: sk98lin


Right ?


Something to do to prevent sky2 driver to be loaded ?
 
Old 07-12-2011, 05:42 AM   #9
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, you can blacklist it, there is probably a directory /etc/modprobe.d/ on your system. I've no experience with Debian.

I'd recommend to search in the Debian-documentation for "blacklist"

Markus
 
Old 07-18-2011, 09:08 AM   #10
Abou Ilys
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Ok , so I tried but I'm not sure to do it well.

I'll open a new tread about the installation of the driver
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wired ethernet conection deminished on Debian Squeeze Elixer Linux - Networking 5 01-28-2011 10:53 PM
3G modem on debian try to share connection with lan ericson007 Linux - Networking 1 04-02-2010 11:25 PM
[SOLVED] network-manager, vpn: no/slow connection, options not saved (debian squeeze) mike11 Linux - Networking 2 01-23-2010 10:43 PM
Network: Debian and Realtek ethernet connection problem ferentix Linux - Newbie 2 10-05-2007 01:17 PM
Setting up an ethernet modem with an ADSL connection on debian. shodekiagari Linux - Networking 1 01-06-2005 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration