Last visit was: It is currently 19/12/2014, 8:20


All times are UTC [ DST ]




Post new topic Reply to topic  [ 53 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 16/03/2009, 12:06 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
The names of the patches don't make any difference.
Let's change approach :)

You can take the sources already patched from the package on my repository (link).

Replace the 'updates/compat-wireless-2.6' directory in the sources of 'linux-backports-modules.2.6.28-9' package with the one taken from the sources of my custom package. Then build the new package with the 'dpkg-buildpackage' command.

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Last edited by voRia on 16/03/2009, 17:11, edited 1 time in total.

Top
 Profile  
 
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 16/03/2009, 17:34 
Newbie
Newbie

Joined: 17/02/2009, 10:11
Posts: 29
'voRia' pid='389' dateline='1237201616' wrote:
The names of the patches don't make any difference.
Let's change approach :)

You can take the sources already patched from the package on my repository (link).

Replace the 'updates/compat-wireless-2.6' directory in the sources of 'linux-backports-modules.2.6.28-9' package with the one taken from the sources of my custom package. Then build the new package with the 'dpkg-buildpackage' command.


Thanx,
but no .deb file appeared:

redu@redu-laptop:~/Sources/ubuntu-jaunty-lbm$ dpkg-buildpackage -d
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package linux-backports-modules-2.6.28
dpkg-buildpackage: source version 2.6.28-9.9
dpkg-buildpackage: source changed by Tim Gardner
dpkg-buildpackage: host architecture i386
fakeroot debian/rules clean
dh_testdir
/bin/bash: dh_testdir: command not found
make: *** [clean] Error 127
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 2

redu


Top
 Profile  
 
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 16/03/2009, 18:23 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
You need to install various tools to build .deb packages.

Use this command:
Code:
sudo apt-get install devscripts debhelper


Then try again with 'dpkg-buildpackage' :)

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Last edited by voRia on 16/03/2009, 18:24, edited 1 time in total.

Top
 Profile  
 
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 16/03/2009, 21:08 
Newbie
Newbie

Joined: 17/02/2009, 10:11
Posts: 29
'voRia' pid='393' dateline='1237224181' wrote:
You need to install various tools to build .deb packages.

Use this command:
Code:
sudo apt-get install devscripts debhelper


Then try again with 'dpkg-buildpackage' :)


No luck!
Maybe packet repository i broken in jaunty alpha6?

sudo apt-get install devscripts debhelper

Failed to fetch http://fi.archive.ubuntu.com/ubuntu/poo ... 4_i386.deb 404 Not Found

Failed to fetch http://fi.archive.ubuntu.com/ubuntu/poo ... u1_all.deb 404 Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


redu


Top
 Profile  
 
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 16/03/2009, 21:14 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
Jaunty is evolving very fast, so some packages get old in short times...

try to update the package list first, with
Code:
sudo apt-get update


then retry with the above commands.

If it does not work yet, then wait some hours then retry.
Good luck! ;)

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 17/03/2009, 7:49 
Newbie
Newbie

Joined: 17/02/2009, 10:11
Posts: 29
'voRia' pid='395' dateline='1237234467' wrote:
Jaunty is evolving very fast, so some packages get old in short times...

try to update the package list first, with
Code:
sudo apt-get update


then retry with the above commands.

If it does not work yet, then wait some hours then retry.
Good luck! ;)


Thank you voRia,
this apt-get update made dpkg-buildpackage work. But still at the end of build, errors were generated:

Building server...

cd /home/redu/Sources/ubuntu-jaunty-lbm/debian/build/build-server/compat-wireless-2.6 && make -j4 KLIB=/lib/modules/2.6.28-9-server MADWIFI=

make[1]: Entering directory `/home/redu/Sources/ubuntu-jaunty-lbm/debian/build/build-server/compat-wireless-2.6'

./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h

make -C /lib/modules/2.6.28-9-server/build M=/home/redu/Sources/ubuntu-jaunty-lbm/debian/build/build-server/compat-wireless-2.6 modules

make: Entering an unknown directory

make: *** /lib/modules/2.6.28-9-server/build: No such file or directory. Stop.

make: Leaving an unknown directory

make[1]: *** [modules] Error 2

make[1]: Leaving directory `/home/redu/Sources/ubuntu-jaunty-lbm/debian/build/build-server/compat-wireless-2.6'

make: *** [/home/redu/Sources/ubuntu-jaunty-lbm/debian/stamps/stamp-build-server] Error 2

dpkg-buildpackage: failure: debian/rules build gave error exit status 2

NEW KERNEL:
Now, a new "backports" and kernel 28.10 appeared in the repository. Installed it, but no change in ath5k wlan was found.
Now all the tx show using 28.10 should be performed? Why they do not include these patches to new backports?

NOTE:
There is one remarkable improvement in wlan-operation since going Jaunty: Wlan communication to my home router opens instantly, without any hanshaking delay. This is nice!


redu


Top
 Profile  
 
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 17/03/2009, 18:53 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
'redu' pid='398' dateline='1237272584' wrote:
Thank you voRia,
this apt-get update made dpkg-buildpackage work. But still at the end of build, errors were generated...


Well, I just installed jaunty on a second partition to test it... atm even the official 'linux-backports-modules' package does not work (tested the 2.6.28-10 version). I got lot of errors in my dmesg when I try to load the ath5k module.
The best thing to do now is to wait for it to be fixed, then we can focus on building a custom one with all the patches in. :)

'redu' pid='398' dateline='1237272584' wrote:
NEW KERNEL:
Now, a new "backports" and kernel 28.10 appeared in the repository. Installed it, but no change in ath5k wlan was found.
Now all the tx show using 28.10 should be performed? Why they do not include these patches to new backports?


Yes, we have to apply the patches for every new version that comes out (this is the reason for my repository :P). These patches are to be considered experimental, it will take some time before we can see them in the official backports packages.

'redu' pid='398' dateline='1237272584' wrote:
NOTE:
There is one remarkable improvement in wlan-operation since going Jaunty: Wlan communication to my home router opens instantly, without any hanshaking delay. This is nice!


Atm the wireless work better on intrepid (using the package from my repository with the patches applied) than on jaunty for me :P

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 17/03/2009, 23:49 
Newbie
Newbie

Joined: 17/02/2009, 10:11
Posts: 29
'voRia' pid='433' dateline='1237312392' wrote:
Atm the wireless work better on intrepid (using the package from my repository with the patches applied) than on jaunty for me :P

Strange. For me Jaunty alpha6 home router wlan (not patched) works a little faster than Intrepid wlan! Speed 1M +-300k.
However, I tested this Jaunty wlan again in local library, and it worked, but was really slow (500B/s...5kB/s). Network manager said eg. 24M. Must be that tx trouble, that should be patched? But how come:

But the dpkg-buildpackage stops in this error message:

make: Entering an unknown directory
make: *** /lib/modules/2.6.28-9-server/build: No such file or directory. Stop.

What is this unknown directory message?

redu


Top
 Profile  
 
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 18/03/2009, 0:40 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
'redu' pid='445' dateline='1237330184' wrote:
Strange. For me Jaunty alpha6 home router wlan (not patched) works a little faster than Intrepid wlan! Speed 1M +-300k.


As i said I'm using a newer and patched driver on intrepid, i think this is the reason for the better results. In my local LAN I get a speed of 2.5MB/s while transfering files over FTP from my desktop pc. :)

'redu' pid='445' dateline='1237330184' wrote:
However, I tested this Jaunty wlan again in local library, and it worked, but was really slow (500B/s...5kB/s). Network manager said eg. 24M. Must be that tx trouble, that should be patched?


Are you sure it's not a problem of the local library wlan, and not yours? It's strange that there is such a difference between your home and local library wlans. Anyway, I think the the tx patches would help, in any case.

'redu' pid='445' dateline='1237330184' wrote:
What is this unknown directory message?


Maybe you missed up some file/directory while preparing the sources for building the new package? I tried to build a my own package, I got no errors while building and package was created, but it did not work (like the official one from ubuntu). I think there is some mistake in the way the Makefile are generated, but today I had no time to investigate the problem. We'll see what happens tomorrow. :P

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 18/03/2009, 12:14 
Newbie
Newbie

Joined: 17/02/2009, 10:11
Posts: 29
'voRia' pid='446' dateline='1237333246' wrote:

Are you sure it's not a problem of the local library wlan, and not yours? It's strange that there is such a difference between your home and local library wlans. Anyway, I think the the tx patches would help, in any case.

Maybe you missed up some file/directory while preparing the sources for building the new package? I tried to build a my own package, I got no errors while building and package was created, but it did not work (like the official one from ubuntu). I think there is some mistake in the way the Makefile are generated, but today I had no time to investigate the problem. We'll see what happens tomorrow. :P


In fact, I tested the library Wlan using 2 different laptops and using WinXP and Ubuntu 8.10 and 9.04 alpha6:
1.
In Win XP wlan works fine, 54M
2.
With HP550 cheap laptop with Broadcom wlan chip and using 8.10: There was a trouble starting the wlan connection (several tries), but when connected, wlan worked fine with a speed of 480k.
3.
With Samsung nc10 and 8.10: Wlan started well, but it was really slow.
4.
With Samsung nc10 and 9.04 alpha6: There was that starting problem now with this laptop too, and speed was really slow.
OK,
Seems to be that this library wlan does not like Linux users? Maybe they tested it using Bill Gates Windows only?
There are no security systems used in the wlan. Instead Internet Explorer opens a login screen asking for user id and password. There are issues if using Firefox. But there is a workaround to login using Firefox. Linux-unfriendly system this too.

Would be interested to test voRia patched Jaunty backports modules. Could not make my own ones.

redu


Top
 Profile  
 
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 18/03/2009, 13:08 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
Well, if you can't wait for a proper 'linux-backports-modules' package, then you can try these sources. ;)
They are already patched by me, you only have to build and install them.

Extract, then build and install using these commands:
Code:
make
sudo make install


then unload old ath5k module and load the new one:
Code:
sudo modprobe -r ath5k
sudo modprobe ath5k


NOTE:
You will need to uninstall these drivers using the command
Code:
sudo make uninstall

in order to go back to official 'linux-backports-modules' ubuntu package, or else it will not work.
These manually-installed drivers override any ubuntu installed drivers, even newer ones. So, dont forget that. ;)

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Last edited by voRia on 18/03/2009, 13:08, edited 1 time in total.

Top
 Profile  
 
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 18/03/2009, 17:45 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
A new 'linux-backports-modules' is going to be released on jaunty (as well as a new kernel, 2.6.28-11), and it has all the patches for tx power calibration already in! Never thought they would be inserted so fast :P
As soon as possible I will build a custom package with the rfkill patches in too

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 18/03/2009, 19:05 
Newbie
Newbie

Joined: 17/02/2009, 10:11
Posts: 29
'voRia' pid='460' dateline='1237394754' wrote:
A new 'linux-backports-modules' is going to be released on jaunty (as well as a new kernel, 2.6.28-11), and it has all the patches for tx power calibration already in! Never thought they would be inserted so fast :P
As soon as possible I will build a custom package with the rfkill patches in too


Thanks,
this is GOOD NEWS!

FYI:
Tried that compat-wireless-2009-03-16_patched.tar.bz2, make and install succeeded, but the the new ath5k driver did not work. Uninstalled.

redu


Top
 Profile  
 
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 18/03/2009, 19:56 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
Sorry, I forgot to say that you have to unload all previous modules (not only the ath5k but its 'dependencies' too) before to load the new one :P
I don't remeber all of them, but you can use the command
Code:
sudo make unload

then reload the ath5k module :)

(or restart the pc :P)

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Last edited by voRia on 18/03/2009, 19:57, edited 1 time in total.

Top
 Profile  
 
 Post subject: RE: [nc 10] Wlan issues
PostPosted: 19/03/2009, 0:02 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
I'm starting to mantain the repository for jaunty too, I just uploaded the custom 'linux-backports-modules' package (rfkill patch applied) and the fixed 'xserver-xorg-input-synaptics' package (fix for vertical touchpad sensitivity). You can use it the same way as the intrepid one, the only difference is that you have to use these lines:
Code:
deb http://ppa.launchpad.net/voria/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/voria/ppa/ubuntu jaunty main

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Last edited by voRia on 19/03/2009, 3:38, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 53 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net & kodeki