| View previous topic :: View next topic |
| Author |
Message |
funkmankey Guru


Joined: 06 Mar 2003 Posts: 304 Location: CH
|
Posted: Wed Oct 04, 2006 7:01 pm Post subject: |
|
|
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 |
|
 |
warer n00b

Joined: 26 Oct 2002 Posts: 38
|
Posted: Thu Oct 05, 2006 6:04 am Post subject: |
|
|
| 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 |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
Bloodsurfer Guru


Joined: 07 Dec 2005 Posts: 359 Location: Germany (Saarland)
|
Posted: Thu Oct 05, 2006 11:30 am Post subject: |
|
|
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 |
|
 |
funkmankey Guru


Joined: 06 Mar 2003 Posts: 304 Location: CH
|
Posted: Thu Oct 05, 2006 8:56 pm Post subject: |
|
|
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 |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
HeXiLeD l33t


Joined: 20 Aug 2005 Posts: 892 Location: online
|
Posted: Thu Oct 12, 2006 8:22 am Post subject: |
|
|
| 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 |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
dsd Developer

Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
Jjeje007 Tux's lil' helper

Joined: 29 Sep 2006 Posts: 130 Location: France, Nice
|
Posted: Fri Nov 03, 2006 4:05 am Post subject: |
|
|
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 :
Then :
| Quote: | | patch -p1 < sky2.patch |
Now just have to see if it's really working
Anyway thx dsd  |
|
| Back to top |
|
 |
Jjeje007 Tux's lil' helper

Joined: 29 Sep 2006 Posts: 130 Location: France, Nice
|
Posted: Fri Nov 03, 2006 5:38 am Post subject: |
|
|
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 |
|
 |
egon2003 n00b

Joined: 02 Nov 2004 Posts: 33 Location: Karlstad, Sweden
|
Posted: Sat Nov 04, 2006 4:00 pm Post subject: |
|
|
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 |
|
 |
Jjeje007 Tux's lil' helper

Joined: 29 Sep 2006 Posts: 130 Location: France, Nice
|
Posted: Thu Nov 09, 2006 3:48 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
egon2003 n00b

Joined: 02 Nov 2004 Posts: 33 Location: Karlstad, Sweden
|
Posted: Thu Nov 09, 2006 8:28 pm Post subject: |
|
|
I still have problems with computer hang running 2.6.19-rc5 when running bittorrent  |
|
| Back to top |
|
 |
Jjeje007 Tux's lil' helper

Joined: 29 Sep 2006 Posts: 130 Location: France, Nice
|
Posted: Fri Nov 10, 2006 11:08 pm Post subject: |
|
|
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 |
|
 |
egon2003 n00b

Joined: 02 Nov 2004 Posts: 33 Location: Karlstad, Sweden
|
Posted: Sat Nov 11, 2006 12:11 am Post subject: |
|
|
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 |
|
 |
fxtl n00b

Joined: 03 Oct 2006 Posts: 21
|
Posted: Sat Nov 18, 2006 3:59 pm Post subject: |
|
|
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 Just now I removed Netfilter and QoS completely from the kernel, seems like I traded hanging for serious slowdown, this is progress 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  |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
fxtl n00b

Joined: 03 Oct 2006 Posts: 21
|
Posted: Sat Nov 18, 2006 7:08 pm Post subject: |
|
|
| 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 |
|
 |
pegu n00b

Joined: 19 Sep 2003 Posts: 46
|
Posted: Mon Nov 20, 2006 7:04 am Post subject: |
|
|
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 |
|
 |
Jjeje007 Tux's lil' helper

Joined: 29 Sep 2006 Posts: 130 Location: France, Nice
|
Posted: Thu Nov 23, 2006 2:30 am Post subject: |
|
|
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 |
|
 |
Jjeje007 Tux's lil' helper

Joined: 29 Sep 2006 Posts: 130 Location: France, Nice
|
Posted: Sun Nov 26, 2006 11:52 pm Post subject: |
|
|
Hi,
Ok guys .. after some use i can say : sky2 driver still broken ...
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  |
|
| Back to top |
|
 |
Jjeje007 Tux's lil' helper

Joined: 29 Sep 2006 Posts: 130 Location: France, Nice
|
Posted: Tue Nov 28, 2006 4:26 am Post subject: |
|
|
Up !!!  |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
|
|
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
|
|