View previous topic :: View next topic |
Author |
Message |
kernelOfTruth Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_obi-wan_kenobi.gif)
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
VinzC Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/92679028148bc3f0ff1e99.jpg)
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Mon Aug 20, 2007 2:54 pm Post subject: |
|
|
Gerard van Vuuren wrote: | Let me start by telling you that I'm not a "guru".
I wouldn't know how to put this in a patch.
Since there is no ebuild for sky2 like there is for sk98lin I know of
no other way to get this (I think newer) source code than to do what
I did.You can delete the mm files after you copied the sky2 files.
Gerard. |
No problem if you don't know how to do this. I just assumed if could copy two files you could as well generate a patch; my assumption was wrong .
Since you described the steps very clearly I can try and reproduce the same and provide this forum with a patch. FYI you can create a patch (for the Linux kernel in general) by following these steps:
Code: | cd /usr/src
diff -Nau linux-2.6.22-gentoo-r2/drivers/net/sky2.c linux-2.6.23-rc2mm1/drivers/net/sky2.c > ~/sky2.patch
diff -Nau linux-2.6.22-gentoo-r2/drivers/net/sky2.h linux-2.6.23-rc2mm1/drivers/net/sky2.h >> ~/sky2.patch |
_________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gerard27 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Mon Aug 20, 2007 3:33 pm Post subject: |
|
|
@kernelOfTruth,
No I would have to emerge them and compare them.
@VinzC,
I did a diff on sky2.c.It is 17K+ large!
Gerard.
Edit:I am a poor typist.
That is why I try to avoid commandline as much as possible.
I use mc as much as possible. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelOfTruth Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_obi-wan_kenobi.gif)
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ttuegel Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 18 Jan 2005 Posts: 176 Location: Illinois, USA
|
Posted: Mon Aug 20, 2007 5:03 pm Post subject: |
|
|
I'm getting a "403 Forbidden" error trying to download it. (I appreciate the patch, though--at least, I will when I get it )
EDIT: Thanks! ![Smile :)](images/smiles/icon_smile.gif)
Last edited by ttuegel on Mon Aug 20, 2007 6:29 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelOfTruth Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_obi-wan_kenobi.gif)
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gerard27 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Mon Aug 20, 2007 5:30 pm Post subject: |
|
|
I wish I could do all that!
Anyway I'm glad I discovered this.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
VinzC Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/92679028148bc3f0ff1e99.jpg)
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Mon Aug 20, 2007 6:09 pm Post subject: |
|
|
Thanks so much KernelOfTruth; gonna try that ASAP! ![Cool 8)](images/smiles/icon_cool.gif) _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
VinzC Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/92679028148bc3f0ff1e99.jpg)
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Mon Aug 20, 2007 6:45 pm Post subject: |
|
|
The patch was applied without errors (on one of my boxes that doesn't have a MArvell NIC). Now I've just got to sync my other box (for I'm still with 2.6.21 there), get through the expat/gettext/fontconfig/pango/gtk dependency Hell and compile my kernel...
Just kidding.
I'm syncing right now and I'll be compiling my new kernel soon. Hold on... _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
VinzC Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/92679028148bc3f0ff1e99.jpg)
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Mon Aug 20, 2007 7:43 pm Post subject: |
|
|
Driver compiled correctly. I'll report whether the problem is solved or not in a few days as I'm not working all the time on that machine. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cyker Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 15 Jun 2006 Posts: 1746
|
Posted: Wed Aug 22, 2007 8:57 pm Post subject: |
|
|
Hey, how's that new .23-rc2-mm driver working for you guys?
I'm still using the 2.6.22, and it actually seems worse than the 2.6.21 driver!
I did manage to catch something 'tho - While doing a bulk transfer, and knowing it'd probably trip the bug, I ran a continuous ping while it was running.
About 40 or so GB into the transfer, it predictably stalled.
This is what the ping window had to say:
Code: | 64 bytes from 192.168.1.66: icmp_seq=5422 ttl=128 time=0.188 ms
64 bytes from 192.168.1.66: icmp_seq=5423 ttl=128 time=0.322 ms
64 bytes from 192.168.1.66: icmp_seq=5424 ttl=128 time=0.258 ms
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
From 192.168.1.68 icmp_seq=5447 Destination Host Unreachable
From 192.168.1.68 icmp_seq=5448 Destination Host Unreachable
From 192.168.1.68 icmp_seq=5449 Destination Host Unreachable
64 bytes from 192.168.1.66: icmp_seq=5450 ttl=128 time=1004 ms
64 bytes from 192.168.1.66: icmp_seq=5451 ttl=128 time=0.174 ms
64 bytes from 192.168.1.66: icmp_seq=5452 ttl=128 time=0.201 ms
64 bytes from 192.168.1.66: icmp_seq=5453 ttl=128 time=0.185 ms |
I don't know what the heck it means, but maybe it'll help someone tracking down the bug...? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gerard27 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Wed Aug 22, 2007 10:17 pm Post subject: |
|
|
Hi Cyker,
Still doing fine here.
Never had it stop on me.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cyker Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 15 Jun 2006 Posts: 1746
|
Posted: Wed Aug 22, 2007 11:15 pm Post subject: |
|
|
Sounds promising... you tested it at all? e.g. by dumping a metric ass-load of data down the pipe to see how it copes.
Or just been using it as normal?
I think I may try this patch... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelOfTruth Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_obi-wan_kenobi.gif)
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Thu Aug 23, 2007 12:54 am Post subject: |
|
|
to those testing this patch:
please produce much traffic, that means:
downloading loads of stuff (at least 2 GB++) AND at the same time at least upload 500-700 MB + in addition listen to some shoutcast-stream [== simulating torrent downloads + everyday stuff like surfing, listening to music, ...]
or if you have something to download, get yourself a torrent of, e.g. a linux-distro dvd or whatever
==> this was always the common situation when my driver got "knocked out"
happy testing ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ 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 ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gerard27 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Thu Aug 23, 2007 12:10 pm Post subject: |
|
|
Like I said in my first post I downloaded lots of torrents etc.
The speeds were close to the limits imposed by the provider.
I still haven't had any breakdown of connections.
ifconfig shows zero errors.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gerard27 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Thu Aug 23, 2007 12:43 pm Post subject: |
|
|
Just upgraded world,Gentoo-sources-2.6.22-r5.
It still contains the crappy sky2 files.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cyker Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 15 Jun 2006 Posts: 1746
|
Posted: Thu Aug 23, 2007 1:53 pm Post subject: |
|
|
Gerard van Vuuren wrote: | Like I said in my first post I downloaded lots of torrents etc.
The speeds were close to the limits imposed by the provider.
I still haven't had any breakdown of connections.
ifconfig shows zero errors.
Gerard. |
Hmm... that's not enough IMHO (Well, unless you were getting problems at those speeds...)
On mine, everything's okay for general use - SaMBa'ing, VNC, net access... It's only when the connection's been hammered with 2-way saturation-level traffic that it barfs.
My 'net connection is only 1Mb down, vs the NIC which is a 1Gb...
But I'm gonna upgrade to the new kernel and try your patch (And a few others to try and fix the tsc/HPET/tickless weirdness that's been happening.). I'll blitz the RAID array down the sky2 IF and see what happens
On a slight tangent, does anyone know what the diff between -r5 and -r2 is? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
VinzC Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/92679028148bc3f0ff1e99.jpg)
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Thu Aug 23, 2007 1:55 pm Post subject: |
|
|
Gerard van Vuuren wrote: | Just upgraded world,Gentoo-sources-2.6.22-r5.
It still contains the crappy sky2 files.
Gerard. |
I would say don't expect the fix to be implemented in 2.6.22 series but in 2.6.23, obviously. You can still apply the patch above:
Code: | cd /usr/src/linux # Assuming linux symlinks a 2.6.22 series
patch -p1 < {path to where you saved the patch}
# Recompile your kernel |
_________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cyker Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 15 Jun 2006 Posts: 1746
|
Posted: Fri Aug 24, 2007 11:32 pm Post subject: |
|
|
Waa... even with this new patch I've still managed to get the card to do it's stall/disconnect thing.
Hpwever, the fix attempts do seem to have helped - Previously, it took me about 40-50GB at Gb link-saturation speeds (~50MB/s) to make it lock, but this time it took just under 200GB ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gerard27 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Sat Aug 25, 2007 12:56 pm Post subject: |
|
|
Hi Cyker,
My ISP limit is 3Gb/s.
Yours is way higher.I guess the hardware can't cope.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cyker Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 15 Jun 2006 Posts: 1746
|
Posted: Sat Aug 25, 2007 2:48 pm Post subject: |
|
|
Gerard van Vuuren wrote: | Hi Cyker,
My ISP limit is 3Gb/s.
Yours is way higher.I guess the hardware can't cope.
Gerard. |
Oh no, not my ISP! I wish I had 3Gb!
This is just between two computers connected together with a CAT6 cable - I just get them to spew as many packets as they can between each other to see.
It should be stable enough for normal use - I can't imagine many people transferring that much stuff on a regular basis... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
boerns Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Quake3/quake3_stripe_blue.gif)
Joined: 18 Mar 2004 Posts: 172
|
Posted: Tue Aug 28, 2007 4:16 pm Post subject: |
|
|
Hi everybody,
I tried the patch sky2_2.6.22.1-to-2.6.23-rc2-mm2.patch with gentoo-sources-2.6.22-r5.
DOES NOT WORK!
My hardware consists of an ASUS-Mainbaord P5WDG2 WS Professional wit a Core 2 Duo 6420 and 8 GB DDR2-533-Ram from Corsair.
On this board there are two LAN-Adapters: Marvell 88E8052 + 88E8001
the Marvell 88E8001 works with "skge" as the module like a charm.
The 88E8052 uses sky2 and is not stable.
I tried to copy files from my old box (Asus P3B-F, Pentium III, 1GB-Ram, Intel-100-MBit-Networkcard) via rsync/ssh to the new one.
It is a mix of movies (700MB-Files) and backups of home-directories and etc (lot of tiny files)
In sum it is over 200 GB.
When I start the copy-job, where I start several at the same time (4), because the files are distributed over several harddisks, the job stopped after nearly an hour without the patch and runs nearly 5 hours with the patch. With the 88E8001 with module skge the job runs to its desired end after nearly 12 hours.
I fixed the problem witk sky2-module by bying a Intel 1000-MBit-Card
But I am interrested in getting the marvel-Controller work with sky2.
I offer my box for tests. Perhaps someone is interested in?
Greetings
Alexander |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
boerns Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Quake3/quake3_stripe_blue.gif)
Joined: 18 Mar 2004 Posts: 172
|
Posted: Wed Aug 29, 2007 4:25 am Post subject: |
|
|
Ok,
got both network-cards work stable now. Used the marvel sk98lin driver and downloadad it from the marvel-homepage:
http://www.marvell.com/drivers/driverDisplay.do?dId=153&pId=36
Patch the kernel 2.6.22.5, compile just sk98lin and disable skge and sky2. Works like a charm. No further patch needed for 2.6.22 and marvel-sk98lin in version
install_v10.20.3.3.tar.bz2 dated from 30. july 2007. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PaulBredbury Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/15669254994381f44a81f83.jpg)
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Aug 29, 2007 4:58 am Post subject: |
|
|
I've updated the sk98lin ebuild ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cyker Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 15 Jun 2006 Posts: 1746
|
Posted: Wed Aug 29, 2007 5:13 pm Post subject: |
|
|
I wonder why the Marvell one works fine but the kernel one doesn't... they both are source code so I'm surprised some knowledgable driver coder hasn't been able to compare the two...
Or is this some 'stupid licencing thing' that prevents coders from, like, READING? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|