Talk:Linux 3 on PS3: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Firstly, thanks for coming (and contributing) to PS3DevWiki. It seems like "official" now. :)
Firstly, thanks for coming (and contributing) to PSDevWiki. It seems like "official" now. :)


I don't know if you notice but EussNL made a backup of your repository in http://www.ps3devwiki.com/files/OtherOSplusplus/ ; but it's not "up to date".
I don't know if you notice but EussNL made a backup of your repository in http://www.psdevwiki.com/files/OtherOSplusplus/ ; but it's not "up to date".
So if you want/can merge your latest changes (from gitbrew.org/~glevand/ps3/ but you told me you got it on your hdd) to this "new" repository, it would be awesome.
So if you want/can merge your latest changes (from gitbrew.org/~glevand/ps3/ but you told me you got it on your hdd) to this "new" repository, it would be awesome.


Line 11: Line 11:
::We also have http://git.ps3dev.net/ btw
::We also have http://git.ps3dev.net/ btw
::Contact [[user:admin|defyboy]] or [[User:Euss|me (eussNL)]] if you need anything more :)
::Contact [[user:admin|defyboy]] or [[User:Euss|me (eussNL)]] if you need anything more :)
'''Changes from 2.6 to 3.x
--------------------------------'''
OtherOS++ page is freezed about linux howtos, deep changes has been done in the last year.<br />
If you plan to switch on Linux 3 thare are many things you need to know!
<pre>
SS_patch_CFW is NOT needed to gain full access to SS, even dispmgr_access.sh script!
All is done by new kernel drivers and userland tools: ps3vuart-tools replaces old ps3dm-tools.
/dev/ps3flash device:
Graf's drivers has been rewritten, no more /dev/vflash*
File /etc/udev/rules.d/70-persistent-ps3flash.rules must be changed as:
NAND: KERNEL=="ps3flashf", SYMLINK+="ps3flash"
NOR: KERNEL=="ps3nflashf", SYMLINK+="ps3flash"
Wireless is fully handled by patches:
no more ps3_gelic.disable_eurus_ctrl_iface=1 boot parameter for NAND;
improved ps3_jupiter driver for NOR.
7th SPU:
boot parameter has changed to:
spu_base.enum_shared=1
(New ps3sed and ps3strgmngr should overcome the need of emer_init_patch, letting us resize the GameOS region.)
</pre>
----
It seems that with the 3.x kernels there is a bug preventing propper shutdown with usb keyboards atached:
solution is issuing before halting:
rmmod usbhid
place in /etc/init.d/halt in the begining of the do_stop() function <- this was tested in debian
PS: man i need to learn wiki syntax...
[[User:skiski|skiski]]
----
Don't forget to strip you kernel
(petitboot wont boot to it otherwise)
<pre>
ppu-strip --strip-unneeded /boot/vmlinuz-3.x.x
</pre>
'''[[User:skiski|skiski]]'''
Kernel 3.6.2 during reboot gives:
7 locks held by reboot/1601
#0 (reboot_mutex){+.+.+.}, at: [<c000000000052578>] .Sys_reboot+0xe0/0x2d0
#1 (&__lockdep_no_validate__){......}, at: [<c0000000002ee840>] .device_shutdown+0xf8/0x180
#2 (&__lockdep_no_validate__){......}, at: [<c0000000002ee854>] .device_shutdown+0x10c/0x180
#3 (usb_bus_list_lock){+.+.+.}, at: [<d00000000128f068>] .usb_remove_hcd+0xe0/0x1e8 [usbcore]
#4 (&__lockdep_no_validate__){......}, at: [<d00000000128c0f8>] .usb_disconnect+0x68/0x1d0 [usbcore]
#5 (&__lockdep_no_validate__){......}, at: [<d00000000128c0f8>] .usb_disconnect+0x68/0x1d0 [usbcore]
#6 (&__lockdep_no_validate__){......}, at: [<c0000000002f0cf0>] .device_release_driver+0x28/0x58
cnpym
Problem with usb keyboard still persists. Even after patching halt script reboot hangs ps3. But if you disconnect keyboard right after script starts reboot works properly.
cnpym

Latest revision as of 19:04, 25 March 2017

Firstly, thanks for coming (and contributing) to PSDevWiki. It seems like "official" now. :)

I don't know if you notice but EussNL made a backup of your repository in http://www.psdevwiki.com/files/OtherOSplusplus/ ; but it's not "up to date". So if you want/can merge your latest changes (from gitbrew.org/~glevand/ps3/ but you told me you got it on your hdd) to this "new" repository, it would be awesome.

Thanks a lot.

Korben - 01:02, 16 August 2012


We also have http://git.ps3dev.net/ btw
Contact defyboy or me (eussNL) if you need anything more :)


Changes from 2.6 to 3.x


OtherOS++ page is freezed about linux howtos, deep changes has been done in the last year.
If you plan to switch on Linux 3 thare are many things you need to know!

SS_patch_CFW is NOT needed to gain full access to SS, even dispmgr_access.sh script!
All is done by new kernel drivers and userland tools: ps3vuart-tools replaces old ps3dm-tools.

/dev/ps3flash device:
Graf's drivers has been rewritten, no more /dev/vflash*
File /etc/udev/rules.d/70-persistent-ps3flash.rules must be changed as:
NAND:	KERNEL=="ps3flashf", SYMLINK+="ps3flash"
NOR:	KERNEL=="ps3nflashf", SYMLINK+="ps3flash"

Wireless is fully handled by patches:
no more ps3_gelic.disable_eurus_ctrl_iface=1 boot parameter for NAND;
improved ps3_jupiter driver for NOR.

7th SPU:
boot parameter has changed to:
spu_base.enum_shared=1

(New ps3sed and ps3strgmngr should overcome the need of emer_init_patch, letting us resize the GameOS region.)



It seems that with the 3.x kernels there is a bug preventing propper shutdown with usb keyboards atached:

solution is issuing before halting: rmmod usbhid

place in /etc/init.d/halt in the begining of the do_stop() function <- this was tested in debian

PS: man i need to learn wiki syntax... skiski


Don't forget to strip you kernel (petitboot wont boot to it otherwise)

ppu-strip --strip-unneeded /boot/vmlinuz-3.x.x

skiski

Kernel 3.6.2 during reboot gives:

7 locks held by reboot/1601

  1. 0 (reboot_mutex){+.+.+.}, at: [<c000000000052578>] .Sys_reboot+0xe0/0x2d0
  2. 1 (&__lockdep_no_validate__){......}, at: [<c0000000002ee840>] .device_shutdown+0xf8/0x180
  3. 2 (&__lockdep_no_validate__){......}, at: [<c0000000002ee854>] .device_shutdown+0x10c/0x180
  4. 3 (usb_bus_list_lock){+.+.+.}, at: [<d00000000128f068>] .usb_remove_hcd+0xe0/0x1e8 [usbcore]
  5. 4 (&__lockdep_no_validate__){......}, at: [<d00000000128c0f8>] .usb_disconnect+0x68/0x1d0 [usbcore]
  6. 5 (&__lockdep_no_validate__){......}, at: [<d00000000128c0f8>] .usb_disconnect+0x68/0x1d0 [usbcore]
  7. 6 (&__lockdep_no_validate__){......}, at: [<c0000000002f0cf0>] .device_release_driver+0x28/0x58

cnpym

Problem with usb keyboard still persists. Even after patching halt script reboot hangs ps3. But if you disconnect keyboard right after script starts reboot works properly.

cnpym