| petitboot linux3.3.2 (PS3 slim) issue [message #1094] |
Tue, 17 April 2012 10:00  |
sombatttt
Messages: 50 Registered: March 2012 Location: Thailand
|
Gitbrew Member |
|
|
Hello,
I'm actually new and don't know , just try to test build petitboot huge for kernel 3.3.2 from petitboot HOWTO.
My wondering question:
1) How to fix modules link and modules.dep?.
2) How maximum size for pettitboot?--my compile size: 17Mb.
(not sure can put)
Problem:
boot time cannot load modules such as hid usbhid, usb-common, usbcore and etc(means not able to use keyboard and usb stroage).
What done:
When modprobe any modules, it says "chdir(3.3.2-svn3084): No such file or directory". So look at the /lib/modules/, it has 3.3.2.
then create symlink for it. after that modprobe again it says "no modules.dep". So then, create modules.dep. Finally, can modprobe successfully.
test:
root@ps3-linux:/lib/modules/3.3.2# iwconfig
lo no wireless extensions.
wlan0 IEEE 802.11bg Mode:Managed Channel:0
Access Point: Not-Associated
Encryption key:off
eth0 no wireless extensions.
ps3-flash-util (ps3-utils) dev-12.04.16-15.25.01
header :1: h.magic_num: 'cell_ext_os_area'
header :1: h.hdr_version: 1
header :1: h.db_area_offset: 2
header :1: h.ldr_area_offset: 4
header :1: h.ldr_format: 0 (raw)
header :1: h.ldr_size: 9772164 (951c84h)
param :2: p.boot_flag: 1 (other-os)
Thank for all of your kindnesses.
|
|
|
|
|
|
| Re: petitboot linux3.3.2 (PS3 slim) issue [message #1097 is a reply to message #1095] |
Wed, 18 April 2012 13:21   |
sombatttt
Messages: 50 Registered: March 2012 Location: Thailand
|
Gitbrew Member |
|
|
Hello Gen.,
Absolutely thanks for your good infomation about the maximum size of petitboot.
I'm quite not sure about USB kernel modules. You mean such as USB hid, storage right. Yes, it is for config-huge-3.3. I did't changed any thing.
Talking about the modules path for auto load modules.
For my compile source, it changes to 3.3.2-svn31084.
Now for temporary, I just create blank directory for 3.3.2 and link 3.3.2-svn31084 to it at the target image tree.
Do you have any ideas for it? It will be peititboot source changed or not.
Here the following is my petitboot config test:
Test: config-huge-3.3
1) Freebsd:
1.1) remote kexec without USB keyboard fine.
1.2) remote kexec with USB keyboard freezing.
1.3) selected by USB keyboard from menu item freezing.
2) Gentoo:
2.1) remote kexec without USB keyboard freezing.
2.2) remote kexec with USB keyboard freezing.
2.3) selected by USB keyboard from menu item freezing.
Another use "config" as HOWTO(modify some for ps3 utility such as ps3av) and Linux kernel config is the same.
Test: config
1) Freebsd:
1.1) remote kexec without USB keyboard fine.
1.2) remote kexec with USB keyboard freezing.
1.3) selected by USB keyboard from menu item freezing.
2) Gentoo:
2.1) remote kexec without USB keyboard fine.
2.2) remote kexec with USB keyboard freezing.
2.3) selected by USB keyboard from menu item freezing.
Pre-compiled petitboot(kernel 2.6.30 9.4M)
(did'nt see Freebsd on petitboot menu item, but see only Gentoo, bootGameOS and exit to shell)
With USB keyboard:
1) Freebsd from petitboot shell by kexec fine
2) Gentoo from petitboot menu item also fine.
3) But Gentoo freezing from petitboot shell by kexec.
Now I'd like to check this caused by my system or not. So,
Can you give me your current petitboot? I'd like to test it on my system.
Any way, Thank you for all things.
|
|
|
|
| Re: petitboot linux3.3.2 (PS3 slim) issue [message #1098 is a reply to message #1097] |
Wed, 18 April 2012 18:34   |
glevand
Messages: 955 Registered: July 2011 Location: SONY
|
Gitbrew God |
|
|
Hmm, if you used my config-huge-3.3 then it's odd because it worked for me. Have to check it again.
I will try a clean openwrt build and report back.
Regarding kexec hangs. It's known to me. Linux has USB issues with kexec and reboot. But remote kexec works for me always.
With remote kexec (no USB keyboard attached) i do not have any problems with feeebsd or debian.
Old petitboot cannot see freebsd partiotions. I added this feature
to petitboot with Linux 3 first.
Give me some time and i will upload a petitboot with Linux 3.3.2 for you. Then you could test.
[Updated on: Wed, 18 April 2012 18:47] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: petitboot linux3.3.2 (PS3 slim) issue [message #1181 is a reply to message #1179] |
Sat, 28 April 2012 15:22   |
glevand
Messages: 955 Registered: July 2011 Location: SONY
|
Gitbrew God |
|
|
LFS is cool if you want to learn how Linux works but you need lots of time to get it running and then there are problems with updates.
I used it previously on my PC but using Arch Linux now.
Gentoos sucks with its portage.
And Debian is crap too with its deb updates.
Arch Linux is the best for me, it's small and fast.
[Updated on: Sat, 28 April 2012 15:25] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: petitboot linux3.3.2 (PS3 slim) issue [message #1197 is a reply to message #1196] |
Sun, 29 April 2012 08:36   |
glevand
Messages: 955 Registered: July 2011 Location: SONY
|
Gitbrew God |
|
|
sombatttt wrote on Sat, 28 April 2012 21:51Hello Gen,
Thanks. I take a try to use Openwrt patches for my kernel 3.3.4 from build_dir. I will try test petitboot and kernel both.
Thanks for all.
I didn't mean you need to apply OpenWRT's patches to Gentoo kernel.
I don't think it's a good idea. Upload me your kernel somewhere, i will test it on my PS3. Did you enable DEVTMPFS in your kernel ?
[Updated on: Sun, 29 April 2012 08:38] Report message to a moderator
|
|
|
|
| Re: petitboot linux3.3.2 (PS3 slim) issue [message #1198 is a reply to message #1197] |
Sun, 29 April 2012 08:36   |
glevand
Messages: 955 Registered: July 2011 Location: SONY
|
Gitbrew God |
|
|
My petitboot screenshot:
Petitboot PS3
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
debian: /var/petitboot/mnt/ps3dd2/boot/vmlinux-3.3.4 root=/dev/ps3dd2
debian-test: /var/petitboot/mnt/ps3dd2/boot/vmlinux-3.3.4-test root=/dev/ps3dd2
debian-old: /var/petitboot/mnt/ps3dd2/boot/vmlinux-3.3.3 root=/dev/ps3dd2
debian-3.2: /var/petitboot/mnt/ps3dd2/boot/vmlinux-3.2.15 root=/dev/ps3dd2
*arch: /var/petitboot/mnt/ps3dd4/boot/vmlinux-3.3.4 root=/dev/ps3dd4
arch-3.2: /var/petitboot/mnt/ps3dd4/boot/vmlinux-3.2.16 root=/dev/ps3dd4
freebsd: /var/petitboot/mnt/ps3dd3/boot/loader.ps3
netboot: tftp://192.168.1.1 root=/dev/nfs ip=any nfsroot=:
Boot GameOS
Set Video Mode
Exit to Shell
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
ESC=exit, Enter=accept, e=edit, o=open
[Updated on: Sun, 29 April 2012 08:37] Report message to a moderator
|
|
|
|
|
|
|
|
| Re: petitboot linux3.3.2 (PS3 slim) issue [message #1208 is a reply to message #1198] |
Sun, 29 April 2012 19:59   |
sombatttt
Messages: 50 Registered: March 2012 Location: Thailand
|
Gitbrew Member |
|
|
Hello Gen,
It seemed that you would have needed more Linux ditro to be tested. I'd like you to have my up-to-date Gentoo for you to do some test. If you'd like, i will make tarball, just tell where to place it. I think it will be big size(spu-elf , X , xfce4, and firefox). So you can make LiveCD for the people who need.
By the way, your infos in forum very much helpful to any and new-bie, such as archLinux, cross compile kernel and how to use ps3 utilities.
Any way, Thanks for all.
|
|
|
|
|
|
| Re: petitboot linux3.3.2 (PS3 slim) issue [message #1210 is a reply to message #1208] |
Sun, 29 April 2012 21:01   |
glevand
Messages: 955 Registered: July 2011 Location: SONY
|
Gitbrew God |
|
|
sombatttt wrote on Sun, 29 April 2012 17:59Hello Gen,
It seemed that you would have needed more Linux ditro to be tested. I'd like you to have my up-to-date Gentoo for you to do some test. If you'd like, i will make tarball, just tell where to place it. I think it will be big size(spu-elf , X , xfce4, and firefox). So you can make LiveCD for the people who need.
By the way, your infos in forum very much helpful to any and new-bie, such as archLinux, cross compile kernel and how to use ps3 utilities.
Any way, Thanks for all.
Upload e.g. on megaupload.
|
|
|
|
|
|