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 ... 13, 14, 15, 16  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Abekat
n00b
n00b


Joined: 29 Jun 2004
Posts: 10
Location: Århus, Denmark

PostPosted: Wed Mar 26, 2008 8:15 am    Post subject: Reply with quote

mrpdaemon wrote:
Compile fixes for Marvell's sk98lin 10.50.1.3 to compile against linux 2.6.24:

skge.c:90:
Code:
>#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
>#define proc_net init_net.proc_net
>#endif

skge.c:434:
Code:
<SET_MODULE_OWNER(dev);


after applying theese changes i still get a bunch of compile errors

Code:
drivers/net/sk98lin/skge.c: In function 'sk98lin_init_device':
drivers/net/sk98lin/skge.c:471: error: 'struct net_device' has no member named 'poll'
drivers/net/sk98lin/skge.c:472: error: 'struct net_device' has no member named 'weight'
drivers/net/sk98lin/skge.c:477: error: 'struct net_device' has no member named 'poll'
drivers/net/sk98lin/skge.c:478: error: 'struct net_device' has no member named 'weight'
drivers/net/sk98lin/skge.c:595: error: 'struct net_device' has no member named 'poll'
drivers/net/sk98lin/skge.c:596: error: 'struct net_device' has no member named 'weight'
drivers/net/sk98lin/skge.c:601: error: 'struct net_device' has no member named 'poll'
drivers/net/sk98lin/skge.c:602: error: 'struct net_device' has no member named 'weight'
drivers/net/sk98lin/skge.c: In function 'SkGeIsr':
drivers/net/sk98lin/skge.c:2144: error: too few arguments to function 'netif_rx_schedule_prep'
drivers/net/sk98lin/skge.c:2147: error: too few arguments to function '__netif_rx_schedule'
drivers/net/sk98lin/skge.c: In function 'SkGeIsrOnePort':
drivers/net/sk98lin/skge.c:2315: error: too few arguments to function 'netif_rx_schedule_prep'
drivers/net/sk98lin/skge.c:2320: error: too few arguments to function '__netif_rx_schedule'
drivers/net/sk98lin/skge.c: In function 'SkGePoll':
drivers/net/sk98lin/skge.c:3059: error: 'struct net_device' has no member named 'quota'
drivers/net/sk98lin/skge.c:3059: warning: type defaults to 'int' in declaration of '_y'
drivers/net/sk98lin/skge.c:3059: error: 'struct net_device' has no member named 'quota'
drivers/net/sk98lin/skge.c:3080: error: 'struct net_device' has no member named 'quota'
drivers/net/sk98lin/skge.c:3084: error: too few arguments to function 'netif_rx_complete'


thats without CONFIG_SK98LIN_NAPI set

any chance someone could make a proper patch for the 2.6.24 kernel ?
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Fri Mar 28, 2008 6:06 pm    Post subject: Reply with quote

Abekat wrote:
any chance someone could make a proper patch for the 2.6.24 kernel ?

I did. But I must admit I dropped Marvell's driver for the built-in kernel driver. Do you want me to pastebin my patch?

EDIT: That's because their driver yet drops connections but you won't see anything in the log when it happens; the driver doesn't seem to use kprint at all...
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Abekat
n00b
n00b


Joined: 29 Jun 2004
Posts: 10
Location: Århus, Denmark

PostPosted: Mon Mar 31, 2008 12:39 pm    Post subject: Reply with quote

VinzC wrote:
I did. But I must admit I dropped Marvell's driver for the built-in kernel driver. Do you want me to pastebin my patch?

EDIT: That's because their driver yet drops connections but you won't see anything in the log when it happens; the driver doesn't seem to use kprint at all...


been running with marvells driver for a good 9 months without any problems at all, tried the build in kernel driver and had nothing but trouble, so if you could post your patch i'll try it, would be top notch
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Tue Apr 01, 2008 5:23 am    Post subject: Reply with quote

I'm annoyed: pastebin times out while sending the patch... :( I'll try another way.

Note my network card dropped its last connection yesterday evening.I've plugged in a new card (Dlink with a Via Rhine chipset). Ciao baby...
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Apr 06, 2008 5:49 pm    Post subject: Reply with quote

VinzC wrote:
I did. But I must admit I dropped Marvell's driver for the built-in kernel driver. Do you want me to pastebin my patch?

EDIT: That's because their driver yet drops connections but you won't see anything in the log when it happens; the driver doesn't seem to use kprint at all...

Abekat wrote:
been running with marvells driver for a good 9 months without any problems at all, tried the build in kernel driver and had nothing but trouble, so if you could post your patch i'll try it, would be top notch


Here it is: http://users.teledisnet.be/web/vca08867/linux/sk98lin_v10.50.1.3_2.6.24-r2.patch.bz2

Sorry for being late. I've run into troubles with several network cards on that machine that I had to fix first. It's not in pastebin for it's too big I think. I've place the zipped file on my own space @ my ISP.

The patch is for 2.6.24-gentoo-r2 but it also applies to -r3. I won't test it against -r4 for I've definitely dropped Marvel.

EDIT: After all I've just installed Gentoo Sources 2.6.24-r4 (AMD64) and the patch applies successfully. Who said I wouldn't? ;-)
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!


Last edited by VinzC on Wed Apr 09, 2008 2:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
smoco
n00b
n00b


Joined: 19 Feb 2007
Posts: 31
Location: Slovakia

PostPosted: Sun Apr 06, 2008 9:20 pm    Post subject: Manufacturer drivers Reply with quote

I have problems with this on 2.6.2x kernel(under heavy load card stopped to work) and driver from manufacturer helps now server is running without problems more than 1 month (every night it backups about 20-100Gb trought network).
Back to top
View user's profile Send private message
julakali
n00b
n00b


Joined: 27 Mar 2006
Posts: 27

PostPosted: Sun Apr 20, 2008 3:56 pm    Post subject: Thanks a lot! Reply with quote

I just updated my kernel to 2.6.24 and spent quite some time trying to build that damn proprietary Marvell sk98lin module.
I even sent an e-mail to Marvell Support :D

But at last i searched this forums and found your patch.
Thank you very much, works quite well with 2.6.24-r4.
Let's hope someday sky2 will support the 88E8056 without problems...
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Mon Apr 28, 2008 12:01 pm    Post subject: Reply with quote

so; is this is thelatest news about sky?
(Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 15) )

is it finally working for everyone with this patch ?
http://users.teledisnet.be/web/vca08867/linux/sk98lin_v10.50.1.3_2.6.24-r2.patch.bz2

Quote:
I just updated my kernel to 2.6.24 and spent quite some time trying to build that damn proprietary Marvell sk98lin module.
I even sent an e-mail to Marvell Support
Thank you very much, works quite well with 2.6.24-r4.
Let's hope someday sky2 will support the 88E8056 without problems...

_________________
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
julakali
n00b
n00b


Joined: 27 Mar 2006
Posts: 27

PostPosted: Mon May 05, 2008 8:21 pm    Post subject: Reply with quote

Hm yep.
We'll have a problem in the near future, in 2.6.26, the sk98lin module will be removed..
Time to buy new hardware with the release of 2.6.26 :P
Damn marvell...
Back to top
View user's profile Send private message
jmandawg
n00b
n00b


Joined: 16 May 2008
Posts: 1

PostPosted: Fri May 16, 2008 1:55 pm    Post subject: Reply with quote

Has anyone tried the latest driver from Marvell's website:

Linux Driver Install Package for Yukon Devices 4/28/08 10.60.2.3

I tried to compile them on 2.6.24 but get multiple errors. Will the patch work on this version?
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Fri May 16, 2008 6:42 pm    Post subject: Reply with quote

sky2 still working okay on my 88E8053.

I think I had another one of those hung mac fifo-whatever errors, but the fact that I can't remember for sure is a good sign ;)
The bridge code seamlessly recovers now, which is a good bonus since I don't have to ssh in to reset that link anymore if it goes down.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sat May 17, 2008 8:09 am    Post subject: Reply with quote

jmandawg wrote:
Has anyone tried the latest driver from Marvell's website:

Linux Driver Install Package for Yukon Devices 4/28/08 10.60.2.3

I tried to compile them on 2.6.24 but get multiple errors. Will the patch work on this version?

The patch I published is for gentoo-sources-2.6.24-r2 and above. Below releases of 2.6.24 require ordinary patching, i.e. follow the instructions from Marvell to patch your kernel. There should be no compilation error, IIRC.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!


Last edited by VinzC on Mon May 19, 2008 5:03 am; edited 1 time in total
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Sun May 18, 2008 11:56 pm    Post subject: Reply with quote

Quote:
We'll have a problem in the near future, in 2.6.26, the sk98lin module will be removed..


can we have it added as a portage module like we had before?
_________________
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
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Mon May 19, 2008 10:15 pm    Post subject: Reply with quote

julakali wrote:
We'll have a problem in the near future, in 2.6.26, the sk98lin module will be removed..

HeXiLeD wrote:
can we have it added as a portage module like we had before?

I don't think it's going to be a problem because Marvell's driver offers an option to build a patch for an existing kernel. This means that whether the code for the old driver exists or not it's (re)placed anyway. The only kind of thing that I'd fear is that Marvell doesn't update their driver for eventually new network API or the patching code builds an incompatible patch -- i.e. the reason why I posted the modified patch.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
naelq
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2006
Posts: 146

PostPosted: Thu Jul 24, 2008 6:13 am    Post subject: Reply with quote

hello,
i own an ABIT IP35 MoBo, which is awesome by the way, with the Marvell Yukon 88E8056
Code:
lspci
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 13)

my problems started about 8 months when i made a major update for the system, & since then the NIC gone crazy, the symptoms (as some of you may encountered) were that the NIC was detected, dhcpcd could successfully assign it an IP address, but there wasn't any sign of life! no communications, & the 2nd (or more) time(s) i try to renew the IP address, dhcpcd would fail.. & since then i've been running a cheap PCI RTL8139 NIC..

today morning, i was looking for news about the Yukon support, & read something related to Firewire, that if it was enabled in the kernel, it would conflict with the sky2 driver...
Code:
uname -a
Linux N-BOX-II 2.6.24-gentoo-r3 #5 SMP Thu Jul 24 05:53:19 UTC 2008 x86_64 Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz GenuineIntel GNU/Linux


so, i recompiled my kernel without any Firewire support at all, & the filthy came back to life!!
i've been downloading/uploading CentOS via bittorrent for 3 hours now, no lockups/slow-downs utilizing all the 2.5Mbps connection i have. :)

i thought that this might be useful for some of you guys, so would you please try to disable the Firewire support & check?



Nael
_________________
main: Intel Xeon x3440 / Intel S3420GPLC / 6x 2GB DDR3 ECC REG / nVIDIA G210 / 3x 250GB AAKS || 2x 1TB FALS / Audigy 2 ZS / PCP&C 610w
laptop: Apple MacBook White T7200 / 2GB / 30GB Vertix
Back to top
View user's profile Send private message
julakali
n00b
n00b


Joined: 27 Mar 2006
Posts: 27

PostPosted: Thu Aug 21, 2008 7:11 pm    Post subject: Reply with quote

does your current patch work with 2.6.25 aswell?

edit: hm patch -p1 <yourpatchfile> gives the following errors:
Code:

1 out of 259 hunks FAILED -- saving rejects to file drivers/net/sk98lin/skgepnmi.c.rej
patching file drivers/net/sk98lin/skgesirq.c
Hunk #46 FAILED at 1441.
1 out of 91 hunks FAILED -- saving rejects to file drivers/net/sk98lin/skgesirq.c.rej

can't find file to patch at input line 71018
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN linux/Documentation/networking/sk98lin.txt linux-new/Documentation/networking/sk98lin.txt
|--- linux/Documentation/networking/sk98lin.txt 2008-01-24 23:58:37.000000000 +0100
|+++ linux-new/drivers/net/sk98lin/sk98lin.txt  2007-10-22 15:56:55.000000000 +0200
--------------------------


But it compiles and works (at least for 5 minutes now ;)).


Last edited by julakali on Sun Sep 28, 2008 2:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
julakali
n00b
n00b


Joined: 27 Mar 2006
Posts: 27

PostPosted: Fri Aug 22, 2008 2:19 pm    Post subject: Reply with quote

The last post in https://forums.gentoo.org/viewtopic-t-695648-highlight-88e8056.html says the same (regarding firewire).
I have not tried sky2 again (since it crashed my whole computer back in2.6.22 or so), because I didn't see any changes regarding 88E8056 in the kernel changelog.

naelq wrote:
hello,
i own an ABIT IP35 MoBo, which is awesome by the way, with the Marvell Yukon 88E8056
Code:
lspci
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 13)

my problems started about 8 months when i made a major update for the system, & since then the NIC gone crazy, the symptoms (as some of you may encountered) were that the NIC was detected, dhcpcd could successfully assign it an IP address, but there wasn't any sign of life! no communications, & the 2nd (or more) time(s) i try to renew the IP address, dhcpcd would fail.. & since then i've been running a cheap PCI RTL8139 NIC..

today morning, i was looking for news about the Yukon support, & read something related to Firewire, that if it was enabled in the kernel, it would conflict with the sky2 driver...
Code:
uname -a
Linux N-BOX-II 2.6.24-gentoo-r3 #5 SMP Thu Jul 24 05:53:19 UTC 2008 x86_64 Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz GenuineIntel GNU/Linux


so, i recompiled my kernel without any Firewire support at all, & the filthy came back to life!!
i've been downloading/uploading CentOS via bittorrent for 3 hours now, no lockups/slow-downs utilizing all the 2.5Mbps connection i have. :)

i thought that this might be useful for some of you guys, so would you please try to disable the Firewire support & check?



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


Joined: 23 Aug 2004
Posts: 134

PostPosted: Tue Aug 26, 2008 9:52 pm    Post subject: Reply with quote

I haven't had any major issues recently with the stock sky2 driver in 2.6.26-gentoo kernel. Very rarely (once a few weeks or so) it gets into a bad state that adds 1 second latency to all packets (pinging my router shows 1 second), which immediately gets fixed by reloading the sky2 module.
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 Sep 01, 2008 10:11 pm    Post subject: Reply with quote

hey guys,

if you're still having problems with the in-kernel sky2-drivers then now would be the time to do something

for the inclusion of marvell's driver:

http://lkml.org/lkml/2008/8/31/172 :idea:
_________________
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
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Tue Sep 02, 2008 10:16 am    Post subject: Reply with quote

Unless kernel policy has changed or the Marvell sources have been re-written, I doubt this will go through for the same reasons it was rejected last time...


Are people still having a lot of problems with the in-kernel sky2 driver then? It's been pretty stable for me for quite a long time now.

What I don't get is why whoever's maintaining sky2 can't just use the Marvell code to see why their code doesn't work as well...
Back to top
View user's profile Send private message
julakali
n00b
n00b


Joined: 27 Mar 2006
Posts: 27

PostPosted: Fri Sep 05, 2008 7:46 pm    Post subject: Reply with quote

Sky2 is only causing trouble with 88E8056 chipsets, and as I read elsewhere, maybe it's dedicated to Gigabyte Mainboards too.
I'm currently using the closed source Marvell module (respectively the patch posted in this thread) and it's running fine with 2.6.25.

As soon as I compile a newer kernel, I'll try the sky2 module again. But I doubt that it works, because nothing regarding 88E8056 is written in the changelog.
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Wed Sep 24, 2008 12:35 am    Post subject: Reply with quote

What is the latest with 2.6.26 kernel ?
_________________
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
julakali
n00b
n00b


Joined: 27 Mar 2006
Posts: 27

PostPosted: Sun Sep 28, 2008 3:08 pm    Post subject: Reply with quote

HeXiLeD wrote:
What is the latest with 2.6.26 kernel ?


Just compiled the sky2 module in 2.6.26 and booted the new kernel.
Seems to work for now (as mrpdaemon already stated except for the small bug he mentioned).
I will post any Problems as they occur.
Back to top
View user's profile Send private message
CrankyPenguin
Apprentice
Apprentice


Joined: 19 Jun 2003
Posts: 283

PostPosted: Tue Oct 28, 2008 3:33 am    Post subject: sky2 issues in 2.6.27.2 Reply with quote

So I've had issues with my Marvell board. Sky2 works when built in the 2.6.24 series but in 25, 26, and 27 ssh connections just get dropped. Has anyone else experienced this? I will try it as a module and report back.


EDIT:: Nope no difference, and no errors on the debugging messages either. I'm beginning to hate this.
_________________
Linux, the OS for the obsessive-compulsive speed freak in all of us.
Back to top
View user's profile Send private message
Likvid
n00b
n00b


Joined: 16 Dec 2002
Posts: 30

PostPosted: Mon Mar 02, 2009 5:41 pm    Post subject: Reply with quote

The sky2 driver is really bad.

I have the Asus P5B-Deluxe loaded with latest v.1238 firmware now and running kernel 2.6.28

I can't get it to work with my Marvell 88E8056 card at all.

Sometimes it works and now i get Destination Hos Unreachable all the time.

Any solution to this as there are still major problems with the code in this driver?
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 ... 13, 14, 15, 16  Next
Page 14 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