Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sky2 still broken
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, ... 14, 15, 16  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
funkmankey
Guru
Guru


Joined: 06 Mar 2003
Posts: 304
Location: CH

PostPosted: Wed Oct 04, 2006 7:01 pm    Post subject: Reply with quote

seemed to be ok for a while with gentoo-sources 2.6.18 even without the ethtool workaround; but last night a heavily loaded ktorrent killed it again. I did just switch from UP kernel to SMP, dnno if that made a difference.

applied the duplex/autoneg fix again, so far it's behaving again. grr.
_________________
I've got the brain, I'm insane, you can't stop the power
Back to top
View user's profile Send private message
warer
n00b
n00b


Joined: 26 Oct 2002
Posts: 38

PostPosted: Thu Oct 05, 2006 6:04 am    Post subject: Reply with quote

After using kernel 1.6.18-mm2 it seems to be working ok, got much better speed then usual and have been up for 3 days now.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5345
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Oct 05, 2006 7:18 am    Post subject: Reply with quote

warer, which chipset does your Motherboard use?
I think I have 8053 & if I use 2.6.18-mm2 I get the following error:

pci express error

can anyone reproduce this on his board ?

Update:
the patch provided at bugzilla.kernel.org at least suppresses the error messages & it works fine for me
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D


Last edited by kernelOfTruth on Sun Oct 08, 2006 9:16 am; edited 1 time in total
Back to top
View user's profile Send private message
Bloodsurfer
Guru
Guru


Joined: 07 Dec 2005
Posts: 359
Location: Germany (Saarland)

PostPosted: Thu Oct 05, 2006 11:30 am    Post subject: Reply with quote

I'm using a "Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller"

Up to 2.6.16 I had to use the external Marvell Driver to get online with that card, it didn't work with kernel-internal drivers at all.

Since 2.6.17 sky2 does work like a charm without a single problem. And I do download lots of data...
_________________
SiberianSniper: my girlfriend's name ends with .c
Clete2: Uber geek! W00t! I'd rather have it end in .cpp... <insert name>.cpp
Dralnu: ...why not <name>.o? Then she's ready for linking...
SiberianSniper: or <name>.ko, so she's ready for insertion?
Back to top
View user's profile Send private message
funkmankey
Guru
Guru


Joined: 06 Mar 2003
Posts: 304
Location: CH

PostPosted: Thu Oct 05, 2006 8:56 pm    Post subject: Reply with quote

hm now it is misbehaving again even with the ethtool workaround

Code:
sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
sky2 eth0: Link is up at 100 Mbps, half duplex, flow control none
.
.
.
NETDEV WATCHDOG: eth0: transmit timed out
sky2 eth0: tx timeout
sky2 eth0: transmit ring 427 .. 386 report=427 done=427
sky2 hardware hung? flushing
NETDEV WATCHDOG: eth0: transmit timed out
sky2 eth0: tx timeout
sky2 eth0: transmit ring 386 .. 345 report=427 done=427
sky2 status report lost?
NETDEV WATCHDOG: eth0: transmit timed out
sky2 eth0: tx timeout
sky2 eth0: transmit ring 427 .. 386 report=427 done=427
sky2 hardware hung? flushing


this time it did not die completely but eth0 was in a severely slow state and I had to remove and insert the module anyway.
_________________
I've got the brain, I'm insane, you can't stop the power
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5345
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sun Oct 08, 2006 9:18 am    Post subject: Reply with quote

sky2 now is really broken on 2.6.18-mm3!

bug on bugzilla.kernel.org

Andrew Morton wrote, that this is now in mainline (2.6.19-rc*) & I ask everyone who uses this drivers to help / give feedback, otherwise it will stop to function beginning from the next kernel-release :roll:

Thanks in advance ...
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
HeXiLeD
l33t
l33t


Joined: 20 Aug 2005
Posts: 892
Location: online

PostPosted: Thu Oct 12, 2006 8:22 am    Post subject: Reply with quote

Quote:
I am experiencing a problem with my Marvell 88E8036 GbE card. During heavy load, the internet cuts off, and the only way I've found to fix it is to rmmod the sky2 module and then modprobe it again. I have read that this was supposed to be fixed with the 2.6.16 kernel, but I am using gentoo-sources-2.6.17-r4 and no luck.


It's broken from 2.6.16* up to 2.6.19.-rc1
In fact in 2.6.19 its even worse.

I just add to add an extra ethernet card because everyting that i tried failed.
It doesnt matter if you compile it as (m) or (*) ir change and re-do all your network settings.

It will break down and the network will need to be restarted always.

Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 15)

We have to wait for a fix
_________________
443640
My UNSOLVED TOPICS
How to ask questions
Configs & Hardware SPECIFICATIONS
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5345
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Oct 12, 2006 8:57 am    Post subject: Reply with quote

fix is already committed & works beginning from 2.6.19-rc1-git8 :D (tested)

The latest errors were related to Bios Bugs: "Not using MMConfig" :?

Thanks to the kernel-hackers :wink:
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Mon Oct 23, 2006 11:26 pm    Post subject: Reply with quote

this patch should solve the hanging issues:
http://marc.theaimsgroup.com/?l=linux-netdev&m=116138920228073&q=raw
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5345
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Nov 02, 2006 11:05 pm    Post subject: Reply with quote

@dsd:

is that patch complete ?

I get the following when patching:

Code:
patch unexpectedly ends in middle of line


btw. thanks for that patch :)
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 130
Location: France, Nice

PostPosted: Fri Nov 03, 2006 4:05 am    Post subject: Reply with quote

Hi,

Working fine to apply the patch :

Quote:
cd /usr/src/linux/


Code:
--- sky2.orig/drivers/net/sky2.c   2006-10-20 16:37:56.000000000 -0700
+++ sky2/drivers/net/sky2.c   2006-10-20 16:38:16.000000000 -0700
@@ -699,16 +699,10 @@
 
 }
 
-/* Assign Ram Buffer allocation.
- * start and end are in units of 4k bytes
- * ram registers are in units of 64bit words
- */
-static void sky2_ramset(struct sky2_hw *hw, u16 q, u8 startk, u8 endk)
+/* Assign Ram Buffer allocation in units of 64bit (8 bytes) */
+static void sky2_ramset(struct sky2_hw *hw, u16 q, u32 start, u32 end)
 {
-   u32 start, end;
-
-   start = startk * 4096/8;
-   end = (endk * 4096/8) - 1;
+   pr_debug(PFX "q %d %#x %#x\n", q, start, end);
 
    sky2_write8(hw, RB_ADDR(q, RB_CTRL), RB_RST_CLR);
    sky2_write32(hw, RB_ADDR(q, RB_START), start);
@@ -717,7 +711,7 @@
    sky2_write32(hw, RB_ADDR(q, RB_RP), start);
 
    if (q == Q_R1 || q == Q_R2) {
-      u32 space = (endk - startk) * 4096/8;
+      u32 space = end - start + 1;
       u32 tp = space - space/4;
 
       /* On receive queue's set the thresholds
@@ -1199,19 +1193,16 @@
 
    sky2_mac_init(hw, port);
 
-   /* Determine available ram buffer space (in 4K blocks).
-    * Note: not sure about the FE setting below yet
-    */
-   if (hw->chip_id == CHIP_ID_YUKON_FE)
-      ramsize = 4;
-   else
-      ramsize = sky2_read8(hw, B2_E_0);
+   /* Determine available ram buffer space in qwords.  */
+   ramsize = sky2_read8(hw, B2_E_0) * 4096/8;
 
-   /* Give transmitter one third (rounded up) */
-   rxspace = ramsize - (ramsize + 2) / 3;
+   if (ramsize > 6*1024/8)
+      rxspace = ramsize - (ramsize + 2) / 3;
+   else
+      rxspace = ramsize / 2;
 
-   sky2_ramset(hw, rxqaddr[port], 0, rxspace);
-   sky2_ramset(hw, txqaddr[port], rxspace, ramsize);
+   sky2_ramset(hw, rxqaddr[port], 0, rxspace-1);
+   sky2_ramset(hw, txqaddr[port], rxspace, ramsize-1);
 
    /* Make sure SyncQ is disabled */
    sky2_write8(hw, RB_ADDR(port == 0 ? Q_XS1 : Q_XS2, RB_CTRL),
-


Or :
Quote:
wget ftp://hephaistos.ath.cx/sky2.patch


Then :

Quote:
patch -p1 < sky2.patch


Now just have to see if it's really working

Anyway thx dsd :D
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 130
Location: France, Nice

PostPosted: Fri Nov 03, 2006 5:38 am    Post subject: Reply with quote

Hi,

Don't really know if the patch is not good or me who didn't apply right but sky2 still broken :(
Back to top
View user's profile Send private message
egon2003
n00b
n00b


Joined: 02 Nov 2004
Posts: 33
Location: Karlstad, Sweden

PostPosted: Sat Nov 04, 2006 4:00 pm    Post subject: Reply with quote

I am using 2.6.19-rc4 and my computer hangs when running bittorrent. I works for about 10-20 minutes then I lose network connection and 20 seconds later the computer hangs :(

nothing in the logs.
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 130
Location: France, Nice

PostPosted: Thu Nov 09, 2006 3:48 pm    Post subject: Reply with quote

Hi,

I'm testing right now 2.6.19-rc5 and all the problem i've got before are gone (the sky2 was doing an complety hang of the system ... couldn't do anything else so hard reset :( )
So for thoose guys who still having an problem with the sky2 driver try out the 2.6.19-rc5 kernel it's working fine for me (asus p5w dh deluxe)

See you and good luck :wink:
Back to top
View user's profile Send private message
egon2003
n00b
n00b


Joined: 02 Nov 2004
Posts: 33
Location: Karlstad, Sweden

PostPosted: Thu Nov 09, 2006 8:28 pm    Post subject: Reply with quote

I still have problems with computer hang running 2.6.19-rc5 when running bittorrent :(
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 130
Location: France, Nice

PostPosted: Fri Nov 10, 2006 11:08 pm    Post subject: Reply with quote

Hi,

I haven't try already Bittorent or some p2p programs but with a big transfer in lan (~50go) at full speed : it's okay
I'll try as soon as possible some bittorent to see if your problem happen to me
Any Way, what is your mother board, chipset and did you compil the driver as the module ?

Here is mine :
- Asus P5W DH deluxe
- Ethernet controller: Marvell Technology Group Ltd. 88E8053 Gigabit Ethernet Controller (rev 20)
- sky2 compiled in module
Back to top
View user's profile Send private message
egon2003
n00b
n00b


Joined: 02 Nov 2004
Posts: 33
Location: Karlstad, Sweden

PostPosted: Sat Nov 11, 2006 12:11 am    Post subject: Reply with quote

Hi

My motherboard is Asus P5LD2
Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 19)
And the driver is compiled as a module.

My outgoing transfer speed is 10 MB. When running bittorrent I average around 1000 kb/s outgoing, perhaps that makes the error appear more often?
Back to top
View user's profile Send private message
fxtl
n00b
n00b


Joined: 03 Oct 2006
Posts: 21

PostPosted: Sat Nov 18, 2006 3:59 pm    Post subject: Reply with quote

Motherboard: Gigabyte GA-965P-DQ6
Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
Kernel: 2.6.18-gentoo-r2, sky2 compiled as a module
Code:

sky2 v1.5 addr 0xf8000000 irq 16 Yukon-EC (0xb6) rev 2
sky2 eth0: addr 00:16:e6:5d:81:d3
sky2 eth0: enabling interface
sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both

Code:

ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Current message level: 0x000000ff (255)
        Link detected: yes

I still get occassional hangs (computer freezes completely), always while downloading a torrent. Sky2 fixes committed in gentoo-2.6.18-r2 didn't seem to fix much :roll: Just now I removed Netfilter and QoS completely from the kernel, seems like I traded hanging for serious slowdown, this is progress :lol: Modprobing sky2 recovers from the slowdown/hang state succesfully, previously I had to reset the whole machine. I hope this NIC won't be permanently broken hardware in Linux, that would be just my luck :P
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5345
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Nov 18, 2006 4:24 pm    Post subject: Reply with quote

it should be fixes in higher kernels (e.g. 2.6.19-rc5, like Jjeje007 wrote)
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
fxtl
n00b
n00b


Joined: 03 Oct 2006
Posts: 21

PostPosted: Sat Nov 18, 2006 7:08 pm    Post subject: Reply with quote

kernelOfTruth wrote:
it should be fixes in higher kernels (e.g. 2.6.19-rc5, like Jjeje007 wrote)

Fixes yes, but does it still work.. seems like the driver is so experimental it needs a lot of fixing.. I think I'll wait for the stable kernel release, and use an external PCI nic meanwhile.
Back to top
View user's profile Send private message
pegu
n00b
n00b


Joined: 19 Sep 2003
Posts: 46

PostPosted: Mon Nov 20, 2006 7:04 am    Post subject: Reply with quote

Any advancement on the Sky2 driver? I'm using 2.6.17-gentoo-r8 w. sky2 version 1.6.1 and I keep getting:

Nov 16 20:34:54 roadrunner sky2 v1.6.1 addr 0xfdcfc000 irq 5 Yukon-EC (0xb6) rev 1
Nov 16 20:34:54 roadrunner sky2 eth0: addr 00:01:80:60:c1:23
Nov 16 20:34:55 roadrunner sky2 eth0: enabling interface
Nov 16 20:34:56 roadrunner sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
Nov 20 08:43:26 roadrunner sky2 eth0: tx timeout
Nov 20 08:43:26 roadrunner sky2 eth0: transmit ring 32 .. 503 report=32 done=32
Nov 20 08:43:26 roadrunner sky2 hardware hung? flushing

This is not a very heavy load, only a single user with some X11 and NFS stuff. What's the best version to use so far?
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 130
Location: France, Nice

PostPosted: Thu Nov 23, 2006 2:30 am    Post subject: Reply with quote

Hi,

I have [s]no more bug / frezee / whatever[/s] with the kernel 2.6.19-rc5
I tried already bitorrent (download ~1.5 - 2 Mo/s), Newgroups ( same download speed as bitorrent), lan (cifs) in Gigabit (~45 Mo/s 0_o) and it's [s]OK[/s] NOT OK

I tweak nothing with ethtool :

Code:
sky2 v1.10 addr 0xfa9fc000 irq 18 Yukon-EC (0xb6) rev 2


Code:
sky2 eth0: enabling interface
sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both


Last edited by Jjeje007 on Sun Nov 26, 2006 11:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 130
Location: France, Nice

PostPosted: Sun Nov 26, 2006 11:52 pm    Post subject: Reply with quote

Hi,

Ok guys .. after some use i can say : sky2 driver still broken ... :cry:
From now i'm running 2.6.19-rc6

Should be great if the users of the sky2 drivers take some times and give some more information at the bugzilla ---> http://bugzilla.kernel.org/buglist.cgi?regetlastlist=1

It will help Stephen Hemminger (the maintener) to fix the problem and also help us :lol:
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 130
Location: France, Nice

PostPosted: Tue Nov 28, 2006 4:26 am    Post subject: Reply with quote

Up !!! :D :D
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5345
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Nov 28, 2006 2:30 pm    Post subject: Reply with quote

Quote:
sky2 driver still broken ... :cry:


yeah, it still freaks out after some time of use

then when I have to upload big files (e.g. a livecd) with it, it for example just hangs there on 70% and dies, strangely restarting my router "fixes" this for some time 8O (until when the next "hang" occurs :cry: )
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, ... 14, 15, 16  Next
Page 2 of 16

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum