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, 4 ... 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: Tue Nov 28, 2006 11:38 pm    Post subject: Reply with quote

ugh I'd thought this was done and gone. have been hammering on bt for weeks now with no problems whatsoever. guess I was hammering harder today, 'cos I just got home and sky2'd died again. good lord.

same's before
Code:
Linux ah1 2.6.18-gentoo-r3 #2 SMP Tue Nov 21 14:15:58 EST 2006 x86_64 Dual Core AMD Opteron(tm) Processor 165 AuthenticAMD GNU/Linux


when will the madness stop??!?

back to ethtool I guess...
_________________
I've got the brain, I'm insane, you can't stop the power
Back to top
View user's profile Send private message
gregf
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2003
Posts: 102
Location: USA, Maine

PostPosted: Wed Nov 29, 2006 1:47 am    Post subject: Reply with quote

Mine was fine a few weeks back using linux-2.6.18-ck1-r1, i then decided i would go back to gentoo-sources which i had always used and installed linux-2.6.18-gentoo-r3 which is when i started getting the same messages others were having. That sky2 had hung. I would have to reboot to get my card back to life and then under heavy load it would do the same thing. Since it was working in ck1 i had thought about going back to that but i decided i would just try vanilla and went with linux-2.6.19-rc6 and its working great for me for the last few days. Hope this might help someone.
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Thu Nov 30, 2006 12:06 pm    Post subject: Reply with quote

@gregf do you mean mm or vanilla

I'm runing on 2.6.19-rc5-mm2 now for 2 days and no good. I have nvidia's ethernet controller (forcedeth) and marvel (sky2) and I use one for internet and one for local net. But crashes still occur. Specialy with azureus runing and syncing portage at the same time on the other machine (which uses the first for internet connection). And lighttpd and a few browser windows and mail, and browsing on the other (client). It brings them down fast. :evil:

Using ethtool trick helps, but doesn't solve the problem. I had to reboot a few times, too, because nothing helped to get network going again.

I'll try 2.6.19-rc6-mm.

---- EDIT ----

I'm just reading the 2.6.19 vanila kernel changelog. Search for sky2. There are so many patches, it will have to work. Looks like guys did a great work.

It's interestig to see what all was wrong with the sky2 driver. See for yourself.

I'm still waiting for mm, because of reiser4. Can't wait to try.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
gregf
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2003
Posts: 102
Location: USA, Maine

PostPosted: Thu Nov 30, 2006 4:37 pm    Post subject: Reply with quote

Using vanilla with the sky2 driver. Been up since that last posting stating i had fixed it with out issues. Bittorrent was knocking it offline every 10 minutes or so but now it seems fine.
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Fri Dec 01, 2006 2:50 am    Post subject: Reply with quote

I'm using 2.6.19-rc6-mm2 untill mm hits 2.6.19. I'm starting to believe that -Os option when compiling kernel made problems. I recompiled the kernel without optimize for size option and it looks much better, but I'll have to wait some more time to see how network will behave.

Looks promising for now.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
lenk
Apprentice
Apprentice


Joined: 08 Mar 2004
Posts: 211

PostPosted: Sat Dec 02, 2006 1:33 am    Post subject: Reply with quote

-Os didn't make a difference. Running gentoo-souces-2.6.19. Sky2 still dies if load is heavy, especially if you are downloading from a good private tracker. The bandwidth just kills sky2.
_________________
E6300 Gigabyte GA-965P-DS3 2GB Corsair 320GB Seagate 7200.10 XFX 7600GT Gentoo
Dell M1330 T7500 2GB 160GB 13.3" WXGA Gentoo
Sharp Zaurus SL-C760 Cacko ROM 1.21b / pdaXrom 1.10rc5 512MB CF + 512MB SD
Sun Ultra5 Gentoo
Back to top
View user's profile Send private message
gregf
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2003
Posts: 102
Location: USA, Maine

PostPosted: Sat Dec 02, 2006 2:01 am    Post subject: Reply with quote

I know i don't have much help to offer but i was also fine using linux-2.6.18-ck1-r1 a few weeks ago not sure if you guys want to try your luck with that. I am not using any compiler optimizations for my kernels. Might want to jump on Linux Kernel Mailing List and give them some output and tell them whats going on as well, driver is still experimental so theres going to be issues with it. I have had good luck on LKML in the past with getting help or someone fixing the issue after i reported it.
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Sat Dec 02, 2006 7:29 am    Post subject: Reply with quote

I tried to use the driver ( install-8_41.tar.bz2 ) from marvell site here is the link
http://www.marvell.com/drivers/driverDisplay.do?dId=153&pId=36

I found an info somhere on the net that a guy uses it and that it works.
Not for me. I tried both options, that installer offered.
  • I let the installer install and compile. NOT WORKING
  • I let the installer make a patch and patched myself. While making a patch, installer recognized 2.6.19 kernel (i use 2.6.19-rc6-mm2). Patching went ok. But compiling stopped with an ERROR
    Here is the output of the error if somebody has a clue.
    Code:
      CC      drivers/net/sk98lin/skge.o
    In file included from drivers/net/sk98lin/skge.c:76:

    I contacted marvell and sent them the output, too. I wait for their response.
    drivers/net/sk98lin/h/skdrv2nd.h:64:7: warning: "CONFIG_NET_POLL_CONTROLLER" is not defined
    drivers/net/sk98lin/skge.c: In function 'sk98lin_resume':
    drivers/net/sk98lin/skge.c:1015: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result
    drivers/net/sk98lin/skge.c: In function 'SkGeBoardInit':
    drivers/net/sk98lin/skge.c:1659: warning: passing argument 2 of 'request_irq' from incompatible pointer type
    drivers/net/sk98lin/skge.c:1661: warning: passing argument 2 of 'request_irq' from incompatible pointer type
    drivers/net/sk98lin/skge.c:1669: warning: passing argument 2 of 'request_irq' from incompatible pointer type
    drivers/net/sk98lin/skge.c: In function 'XmitFrame':
    drivers/net/sk98lin/skge.c:2969: warning: assignment makes pointer from integer without a cast
    drivers/net/sk98lin/skge.c:3003: error: 'CHECKSUM_HW' undeclared (first use in this function)
    drivers/net/sk98lin/skge.c:3003: error: (Each undeclared identifier is reported only once
    drivers/net/sk98lin/skge.c:3003: error: for each function it appears in.)
    drivers/net/sk98lin/skge.c: In function 'XmitFrameSG':
    drivers/net/sk98lin/skge.c:3127: error: 'CHECKSUM_HW' undeclared (first use in this function)
    drivers/net/sk98lin/skge.c: In function 'sk98lin_init':
    drivers/net/sk98lin/skge.c:6390: warning: 'pci_module_init' is deprecated (declared at include/linux/pci.h:592)
    make[3]: *** [drivers/net/sk98lin/skge.o] Error 1
    make[2]: *** [drivers/net/sk98lin] Error 2
    make[1]: *** [drivers/net] Error 2
    make: *** [drivers] Error 2


I checked drivers/net/sk98lin/skge.c and CHECKSUM_HW is used twice, but not declared. If only I would know how should it be declared.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Sat Dec 02, 2006 8:34 am    Post subject: Reply with quote

I filed it on bugzilla.kernel.org.
http://bugzilla.kernel.org/show_bug.cgi?id=7617

Add your scpecs there.... For faster solutions
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Sun Dec 03, 2006 3:47 am    Post subject: Reply with quote

I'm experimenting with skge now. It originally doesn't support Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller, but with a little patch it does.

Here it is
https://bugs.gentoo.org/attachment.cgi?id=62076

It just adds this controller to a list of controllers that are supported by skge.

It survived syncing portage, I'll see for how long it will work.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
gregf
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2003
Posts: 102
Location: USA, Maine

PostPosted: Sun Dec 03, 2006 4:31 am    Post subject: Reply with quote

I'll be interested to hear myself.
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Sun Dec 03, 2006 4:42 am    Post subject: Reply with quote

Sorry, sky2 module interfered. It doesn't work with skge. :evil:
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 142
Location: France, La Croix Valmer

PostPosted: Sun Dec 03, 2006 6:17 am    Post subject: Reply with quote

Hi,

I'm running kernel 2.6.19 stable and the problem still here :(
I can say it's just bitorrent or some download trough newsgroups whitch killed (depending on bandwich) quickly my network controller

Hope this will be fix quickly
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 142
Location: France, La Croix Valmer

PostPosted: Sun Dec 03, 2006 5:33 pm    Post subject: Reply with quote

Hi,

Ok just switch to kernel 2.6.19-git3 and maybe it's what we need :
From the changelog :

Quote:
[PATCH] sky2: msi enhancements.
[PATCH] sky2: kfree_skb_any needed
[PATCH] sky2: fixes for Yukon EC_U chip revisions
[PATCH] sky2: add Dlink 560SX id
[PATCH] sky2: receive error handling fix
[PATCH] skge: don't clear MC state on link down


And specialy :

Quote:
[PATCH] sky2: fixes for Yukon EC_U chip revisions

Update workarounds for 88E803X based on the latest SysKonnect vendor
driver version (8.41). Tested on EC_U rev A1, only.
These up the receive performance.


I'm just testing bittorent right now downloading at 800 ko/s and uploading at 80ko/s
I will "stress" a bit more the driver with some burning on cifs share :roll:

I'll give you some feed back, hope this fixes will work !! :wink:

Jjeje007
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 142
Location: France, La Croix Valmer

PostPosted: Sun Dec 03, 2006 7:23 pm    Post subject: Reply with quote

OK .... this didn't solve the problem :cry:

Quote:
Dec 3 20:06:06 Gentoo-LiNuX sky2 eth1: tx timeout
Dec 3 20:06:06 Gentoo-LiNuX sky2 eth1: transmit ring 389 .. 366 report=389 done=389
Dec 3 20:06:06 Gentoo-LiNuX sky2 hardware hung? flushing


Jjeje007
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Sun Dec 03, 2006 7:40 pm    Post subject: Reply with quote

I think this driver stuff produces record downloads of kernels. For every version all -gits are tested. :wink: :roll: :evil: :?: :!:
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 142
Location: France, La Croix Valmer

PostPosted: Sun Dec 03, 2006 8:04 pm    Post subject: Reply with quote

Yes and i will test all the git as soon as the problem it's not gone :lol:

Any way now I know how to patch an kernel :wink:

Jjeje007
Back to top
View user's profile Send private message
Bloodsurfer
Guru
Guru


Joined: 07 Dec 2005
Posts: 361
Location: Wolfstein, Germany (Rhineland-Palatinate)

PostPosted: Sun Dec 03, 2006 11:22 pm    Post subject: Reply with quote

Just a question in between... There is the external kernel module SK98LIN from Marvell. I did use that driver earlier, until some Kernel Version broke it (must have been 2.6.15 or 16, I don't remember exactly...) and the driver didn't compile anymore.
I have used sky2 since then... Did Marvell they fix their driver in the meantime?
_________________
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
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Mon Dec 04, 2006 3:17 am    Post subject: Reply with quote

Earlier zxy wrote:
I tried to use the driver ( install-8_41.tar.bz2 ) from marvell site here is the link
http://www.marvell.com/drivers/driverDisplay.do?dId=153&pId=36
....
.


I tried it It, and it didn't work for me.

In the bottom lines Bloodsurfer wrote:
_________________
bloodsurfer @ Ranyhyn $> egrep -iroh "fuck | shit | suck" /usr/src/linux | sort | uniq -c | sort -r
92 suck
15 Suck
13 fuck
13 shit
5 SUCK
3 Fuck
1 Shit
1 SHIT

I tried this, too. It's true. And applies to the sky2 problem, too.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Mon Dec 04, 2006 7:25 am    Post subject: Reply with quote

From kernel.org

The latest snapshot for the stable Linux kernel tree is: 2.6.19-git3
[PATCH] sky2: msi enhancements.
[PATCH] sky2: kfree_skb_any needed
[PATCH] sky2: fixes for Yukon EC_U chip revisions
[PATCH] sky2: add Dlink 560SX id
[PATCH] sky2: receive error handling fix


[PATCH] sky2: msi enhancements.

If using Message Signaled Interrupts (MSI) then the IRQ will never
be shared. Don't call pci_disable_msi() unless using MSI.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

commit 794b2bd20f620892616b09466186ff27101d9e5b
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Fri Dec 1 14:29:36 2006 -0800

[PATCH] sky2: kfree_skb_any needed

It is possible for the sky2 driver NAPI poll routine to be called with
IRQ's disabled if netpoll is trying to make space in the tx queue. This
is an obscure path, but if it happens, the kfree_skb needs to happen
via softirq. Calling kfree_skb with IRQ's disabled is a not allowed.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

commit 8df9a87604e38529898ce35c610792c03c8713a2
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Fri Dec 1 14:29:35 2006 -0800

[PATCH] sky2: fixes for Yukon EC_U chip revisions

Update workarounds for 88E803X based on the latest SysKonnect vendor
driver version (8.41). Tested on EC_U rev A1, only.
These up the receive performance.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

commit 508f89e75ab26506fcdbb1b6f7166029e4c56855
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Fri Dec 1 14:29:34 2006 -0800

[PATCH] sky2: add Dlink 560SX id

Add new PCI ID for DLink 560SX.
This from the latest SysKonnect vendor driver (version 8.41).

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

commit 5df791117afedf7fdc67dc0842dab4859e3edf69
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Fri Dec 1 14:29:33 2006 -0800

[PATCH] sky2: receive error handling fix

If sky2 detects out of memory, or gets a bad frame, it reuses the same receive
buffer, but forgets to poke the hardware. This could lead to the receiver
getting stuck if there were lots of errors.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

commit 758140900a82e3ed3bb2be1d4705dd352fe44825
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Fri Dec 1 11:41:08 2006 -0800

I havent tested it. and at the moment i cant.
If anyone has sky2 working properly with 2.6.19-git3; let us know.
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
Bornio
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2002
Posts: 129

PostPosted: Mon Dec 04, 2006 7:31 am    Post subject: Reply with quote

pci=nomsi at boot seem to have fix it for me, for now.
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Mon Dec 04, 2006 11:18 am    Post subject: Reply with quote

@Bornio Are you using 2.6.19-git3 or newer? If it's working for some time under heavy load (torrent, rsync, ...), then let them know.

I'm still waiting for -mm.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


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

PostPosted: Mon Dec 04, 2006 11:46 am    Post subject: Reply with quote

If you're only waiting for mm because of reiser4, you could use / try James' reiser4 patch of 2.6.19-beyond1 with the newest git-sources

it would be really great if it was finally working ... :roll:
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo 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: 142
Location: France, La Croix Valmer

PostPosted: Mon Dec 04, 2006 7:39 pm    Post subject: Reply with quote

Hi,

Just compil 2.6.19-git-5 and try the pci=nomsi tip from Bornio
Will see :roll:

Jjeje007
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 142
Location: France, La Croix Valmer

PostPosted: Mon Dec 04, 2006 11:51 pm    Post subject: Reply with quote

OK,

It's NOT good ... Try again :?
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, 4 ... 14, 15, 16  Next
Page 3 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