| View previous topic :: View next topic |
| Author |
Message |
stovenator
Joined: 22 May 2007 Posts: 28
|
Posted: Tue May 22, 2007 12:49 pm Post subject: 2.6.22 Kernel w/wifi support |
|
|
I have custom compiled a 2.6.22 kernel that includes Wifi support for use with Ubuntu, and created a .deb package for it. I have uploaded it to http://www.megaupload.com/?d=U73STDKM
***UPDATE********************
I have uploaded a new kernel with UDF 2.5 support (to read BluRay discs). This may also alleviate the ejected disc problem.
Click here to download new kernel with Wifi + UDF 2.5 support
The instructions remain the same, except that step 2 becomes:
>sudo dpkg -i linux-image-2.6.22-rc2_2.6.22-rc2-10.00.Custom_powerpc.deb
*****************************
There is an issue with using iwconfig in conjunction with this kernel, in that it doesn't appear to be showing the essid correctly, and reports a compilation version mismatch. I haven't looked too much into solving this, as I figure you guys were clamoring for this, and would like it right away. Oh, and the name is ugly. I didn't spend the time looking into renaming the UTS name, so you get what you get.
Bluetooth controllers *might* work in this. I haven't had a chance to try it. The controllers may or may not also work via usb. I really am not sure.
Usage Instructions:
1. Download the .deb to a known directory.
2. #>sudo dpkg -i linux-image-2.6.22-rc2-ge5de73bc-dirty_2.6.22-rc2-ge5de73bc-dirty-10.00.Custom_powerpc.deb
3. #>cd /boot
#>ls -al
Look in your /boot/ directory. You should have a symlink to the new kernel named vmlinux and an initrd ramdisk named initrd.img . Your old kernel should be at vmlinux.old and initrd.img.old .
4. #>sudo nano /etc/kboot.conf
Now, you should have an entry that points to vmlinux, as that's where your old kernel used to exist. Copy the line, so you have two identical entries. Then, rename one of them linux_old . Edit this line, so that the image name is vmlinux.old and the initrd is initrd.img.old . The other entry, you need to update the root. (this is where it might get a little tricky) If your old root was /dev/sda1, you need to point it to /dev/ps3da1. This is because the hard disk is now referred to as ps3da, instead of sda. In the end, this is what my kboot.conf looks like:
message=/etc/kboot.msg
default=linux
timeout=10
linux_old='/boot/vmlinux.old initrd=/boot/initrd.img.old root=/dev/sda1 video=ps3fb:mode:5'
linux='/boot/vmlinux initrd=/boot/initrd.img root=/dev/ps3da1 video=ps3fb:mode:5'
I am using ps3fb mode 5, because I have a 1080p screen. You should adjust this to the mode you use. A guide on video modes is here: http://ps3wiki.qj.net/index.php/Gentoo_Howto#kboot.conf
If you are in the least bit uncertain as to what I've done in the above steps, you may want to wait until one or two others on this board who know what they're doing can confirm my steps, as I could be completely wrong, or my kernel may not work for you.
I have used the default kernel config settings from the git repository, except for compiling in smbfs support. If there are any kernel hackers here, we should get together, and look at improving the Ubuntu PS3 kernel setup I've started with.
Last edited by stovenator on Tue Jun 26, 2007 6:22 pm; edited 1 time in total |
|
| Back to top |
|
 |
stovenator
Joined: 22 May 2007 Posts: 28
|
Posted: Tue May 22, 2007 12:54 pm Post subject: |
|
|
Also, forgot to mention that I haven't tried connecting via WEP, or WPA yet either. If you have a non-encrypted AP to connect to, you should be fine with the following (assuming your network name is linksys):
1. #> ifdown eth0
2. Unplug the ethernet cable
3. #>iwconfig eth0 essid "linksys"
4. #>ifup eth0
You should then be good to go. You can verify it by looking at ifconfig and iwconfig. |
|
| Back to top |
|
 |
ditsch

Joined: 26 Mar 2007 Posts: 52 Location: Germany
|
Posted: Tue May 22, 2007 8:01 pm Post subject: |
|
|
Thank you for your work. You should get in touch with Ben Collins, leader of the Ubuntu Kernel team, to look over your settings. Maybe we get a chance to have your settings backported into the 2.6.20 kernel or include the new kernel in Gutsy or feisty-backports repository so the kernel can be apt-getted for all. _________________ My little german ubuntu blog: http://ubuntu.macvillage.de/
... and the same for PS3: http://ps3.macvillage.de/ |
|
| Back to top |
|
 |
Ciego
Joined: 14 Feb 2007 Posts: 226
|
Posted: Wed May 23, 2007 10:29 pm Post subject: |
|
|
| This looks like a good one for the HowTo forum when all of the kinks are worked out. |
|
| Back to top |
|
 |
etness
Joined: 26 May 2007 Posts: 2
|
Posted: Sat May 26, 2007 8:33 am Post subject: |
|
|
I tried the new kernel but it not works. I have European PS3.
With iwconfig eth0 I can see the config. But with iwlist eth0 scan it's not found no one wireless network sometimes and sometimes found a strange wireless network on channel 0 and with AP BSSID 00:00:00:01:00:0F or 00:00:00:01:00:13.
I tried to force the channel iwconfig eth0 channel 3 but nothing.
My network is wpa, maybe it's not work with wpa. Why the iwlist scan can't see my network?
Thanks. |
|
| Back to top |
|
 |
almost
Joined: 27 May 2007 Posts: 1
|
Posted: Sun May 27, 2007 4:25 pm Post subject: |
|
|
i got it to work but the update manager saying that the kernel needs to be reinstalled ...wireless makes it pretty sweet it would make a good media center for the car well music anyways lol |
|
| Back to top |
|
 |
stovenator
Joined: 22 May 2007 Posts: 28
|
Posted: Tue May 29, 2007 3:16 am Post subject: |
|
|
When you say that it's not working, you mean WPA is not working, but everything else appears to be working?
In my case, I installed wireless-tools_29~pre20-1ubuntu1_powerpc.deb and libiw29_29~pre20-1ubuntu1_powerpc.deb from Gutsy, and this removed the compiler warning from iwconfig.
I have not, however, been able to make WPA work yet. I really haven't tried it, though. |
|
| Back to top |
|
 |
cbdaqb
Joined: 09 Jun 2007 Posts: 10
|
Posted: Tue Jun 12, 2007 1:50 am Post subject: |
|
|
| im gonna bump this cause this is pretty important |
|
| Back to top |
|
 |
survivant
Joined: 01 May 2007 Posts: 68
|
Posted: Tue Jun 12, 2007 11:52 am Post subject: |
|
|
do you have the UDF 2.5 patch in your kernel ?
I'll try it maybe tonigth |
|
| Back to top |
|
 |
cbdaqb
Joined: 09 Jun 2007 Posts: 10
|
Posted: Thu Jun 14, 2007 2:58 am Post subject: |
|
|
| hello im a complete newbie to linux and how do you download the .deb to a new directory? |
|
| Back to top |
|
 |
survivant
Joined: 01 May 2007 Posts: 68
|
Posted: Fri Jun 15, 2007 12:44 am Post subject: |
|
|
Your kernel works for me
I'm even able to read a dvd without been ejected.
but I'm not able to mount an audio cd.. I was able before.. but I wasn't able to play it correctly.. but I saw it on my desktop.. now nothing.. and not able to mount it manually
someone have a solution ? |
|
| Back to top |
|
 |
miguel
Joined: 15 Jun 2007 Posts: 7
|
Posted: Fri Jun 15, 2007 3:26 pm Post subject: works, but no wpa |
|
|
So far wifi is working, without auth.
If I run:
iwpriv eth0 set AuthMode=WPAPSK
The system hangs up.
Cheers! |
|
| Back to top |
|
 |
stovenator
Joined: 22 May 2007 Posts: 28
|
Posted: Sun Jun 17, 2007 9:56 pm Post subject: |
|
|
No, unfortunately the UDF 2.5 patch for 2.6.22 wasn't released until Friday (two days ago). I can apply the patch and recompile, but my PS3 is currently at a friend's house, so I won't have access to do it for another couple days.
I had previously patched 2.6.20 with the UDF 2.5, but this was without wifi. I preferred the wifi without UDF 2.5 kernel.
I'm not sure about iwpriv hanging, but it may require a different build of the wireless tools. |
|
| Back to top |
|
 |
survivant
Joined: 01 May 2007 Posts: 68
|
Posted: Mon Jun 18, 2007 12:17 am Post subject: |
|
|
thanks
Can you tell me how to compile it, get the source, the patch and finally the packaging
I can do it for you.
I can wait to that you release a new kernel. I'll wait before downloading Bluray movies.. and I want VLC to work under gutsy  |
|
| Back to top |
|
 |
mavsman4457
Joined: 23 Jun 2007 Posts: 87
|
Posted: Sun Jun 24, 2007 11:15 pm Post subject: |
|
|
| Sorry I am kind of stupid when it comes to Linux/Ubuntu but I have a couple of questions about this. I did all of the stuff that I needed to do with the terminal then I got to editting the kboot.conf file and I just copied what the OP had as his kboot.conf since my TV is 1080P as well but then I didn't know how to save the file. When I quit it just doesn't save the changes and makes my kboot file like it was originally and when I try to type in the commands written on the bottom and then I hit enter it justs goes down to the next line or says not a valid command. Also, I was wondering since I've already done the other steps of the process, next time when I want to finish this up will I only need to edit and save my kboot file and then all the changes will be applied to the kernel and I'll be all set? |
|
| Back to top |
|
 |
|