Please upgrade ps3pf-utils to 2.3 version

Bug #194964 reported by Jussi Saarinen
8
Affects Status Importance Assigned to Milestone
Ubuntu PS3 Port
Confirmed
Low
Unassigned
ps3pf-utils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: ps3pf-utils

New version available upstream. See the most recent tag here:

  * git://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-utils.git
  * http://git.kernel.org/?p=linux/kernel/git/geoff/ps3-utils.git;a=summary

Exported sources available here:

  * http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-utils/

As part of this update we should put our debian packaging scripts into the LP Bazaar super-mirror to ease collaboration.

Tags: upgrade
Dan Munckton (munckfish)
description: updated
Changed in ubuntu-ps3-port:
importance: Undecided → Low
status: New → Confirmed
Changed in ps3pf-utils:
status: New → Confirmed
Revision history for this message
Arnaud Jeansen (ajeans) wrote : Re: Update ps3pf-utils to version 2.2.0

Here is what I think on this (Dan please correct if I'm wrong)...
- We now have an up-to-date ps3-utils package from Debian (automatically sync'ed)
- We are currently keeping our outdated ps3pf-utils

The goal is to replace ps3pf-utils with ps3-utils. To achieve this, we need to:
- update ps3-utils to mark it as "Replace"ing ps3pf-utils (debian/control file)
- update ps3-kboot to make it depend on ps3-utils rather than ps3pf-utils

I will try to cook some debdiffs to do that, but I must warn that I am almost completely new with regards to deb packaging :).

Revision history for this message
Arnaud Jeansen (ajeans) wrote :

ps3-utils is already marked as Conflicting and Replacing ps3pf-utils, so I will directly with a simple change on ps3-kboot...

Revision history for this message
Luke Yelavich (themuso) wrote : Re: [Bug 194964] Re: Update ps3pf-utils to version 2.2.0

ps3-utils is currently in universe, so we need to get it moved to main to replace ps3-pf-utils. Please see http://wiki.ubuntu.com/MainInclusionReportTemplate for more info. I can help you with this if you would like.

Luke

Revision history for this message
Arnaud Jeansen (ajeans) wrote : Re: Update ps3pf-utils to version 2.2.0

Luke, thanks for your help...

I will have a look at the main inclusion report information necessary.

Unfortunately before I can move on to that, I have to manage to compile ps3-kboot on my "karmic" PS3. I made a very simple change to the Build Depends section in debian/control (ps3pf-utils to ps3-utils), but compile fails in the middle.
 I will attach the failed log here for reference.

I fear a FTBFS patch is needed to rebuild ps3-kboot on a karmic toolchain. I will try to do what I can on this, but C compilation failures are not my cup of tea :(

Thanks

Revision history for this message
Arnaud Jeansen (ajeans) wrote :

I applied a very simple patch to make the call to open() in gcc's collect2.c to go beyond the failure above.

Revision history for this message
Arnaud Jeansen (ajeans) wrote :

And this now fails with the attached log. There were more information in stderr, I will try to redo a debuild with stderr rerouted to a file.

At first glance, this one looks more complicated...

Revision history for this message
Arnaud Jeansen (ajeans) wrote :
Download full text (3.9 KiB)

Here is the additional information I mentioned in my previous comment, it is a buffer overflow :( :

arnaud@arnaud-ps3:~/Documents/ps3-kboot/ps3-kboot-1.6$ sudo debuild -i -us -uc -b 1>/home/arnaud/share/stdout.log 2>/home/arnaud/share/stderr.log

*** buffer overflow detected ***: powerpc-linux-uclibc-ar terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x6c)[0xff5129c]
/lib/libc.so.6[0xff4e748]
/lib/libc.so.6(__vsprintf_chk+0x0)[0xff4d8f0]
/lib/libc.so.6(_IO_default_xsputn+0xe8)[0xfec91b8]
/lib/libc.so.6(_IO_padn+0x144)[0xfeb85a4]
/lib/libc.so.6(_IO_vfprintf+0x258c)[0xfe9a72c]
/lib/libc.so.6(__vsprintf_chk+0xb8)[0xff4d9a8]
/lib/libc.so.6(__sprintf_chk+0x68)[0xff4d8c8]
powerpc-linux-uclibc-ar[0x100098dc]
powerpc-linux-uclibc-ar[0x10007534]
powerpc-linux-uclibc-ar[0x1000a43c]
powerpc-linux-uclibc-ar[0x10013330]
powerpc-linux-uclibc-ar[0x10003770]
powerpc-linux-uclibc-ar[0x10004538]
/lib/libc.so.6[0xfe68c24]
/lib/libc.so.6[0xfe68de0]
======= Memory map: ========
00100000-00103000 r-xp 00000000 00:00 0 [vdso]
0fe26000-0fe29000 r-xp 00000000 fd:01 188868 /lib/libdl-2.9.so
0fe29000-0fe38000 ---p 00003000 fd:01 188868 /lib/libdl-2.9.so
0fe38000-0fe39000 r--p 00002000 fd:01 188868 /lib/libdl-2.9.so
0fe39000-0fe3a000 rw-p 00003000 fd:01 188868 /lib/libdl-2.9.so
0fe4a000-0ffae000 r-xp 00000000 fd:01 188864 /lib/libc-2.9.so
0ffae000-0ffbd000 ---p 00164000 fd:01 188864 /lib/libc-2.9.so
0ffbd000-0ffc1000 r--p 00163000 fd:01 188864 /lib/libc-2.9.so
0ffc1000-0ffc2000 rw-p 00167000 fd:01 188864 /lib/libc-2.9.so
0ffc2000-0ffc5000 rw-p 00000000 00:00 0
0ffd5000-0ffdf000 r-xp 00000000 fd:01 227309 /usr/lib/libfakeroot/libfakeroot-sysv.so
0ffdf000-0ffee000 ---p 0000a000 fd:01 227309 /usr/lib/libfakeroot/libfakeroot-sysv.so
0ffee000-0ffef000 r--p 00009000 fd:01 227309 /usr/lib/libfakeroot/libfakeroot-sysv.so
0ffef000-0fff0000 rw-p 0000a000 fd:01 227309 /usr/lib/libfakeroot/libfakeroot-sysv.so
10000000-10081000 r-xp 00000000 fd:01 597271 /home/arnaud/Documents/ps3-kboot/ps3-kboot-1.6/kboot-11/build/bin/powerpc-linux-uclibc-ar
10090000-10091000 r--p 00080000 fd:01 597271 /home/arnaud/Documents/ps3-kboot/ps3-kboot-1.6/kboot-11/build/bin/powerpc-linux-uclibc-ar
10091000-10092000 rw-p 00081000 fd:01 597271 /home/arnaud/Documents/ps3-kboot/ps3-kboot-1.6/kboot-11/build/bin/powerpc-linux-uclibc-ar
10092000-1039e000 rwxp 00000000 00:00 0 [heap]
40000000-4001f000 r-xp 00000000 fd:01 188860 /lib/ld-2.9.so
4001f000-40022000 rw-p 00000000 00:00 0
40022000-40023000 r--p 00000000 fd:01 585523 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
40023000-4002a000 r--s 00000000 fd:01 559775 /usr/...

Read more...

Revision history for this message
Kees Cook (kees) wrote :

the best option would be to find where in ps3-kboot-1.6/kboot-11/build/bin/powerpc-linux-uclibc-ar it is crashing. As a work-around, add -U_FORTIFY_SOURCE to the CFLAGS of the build. See: https://wiki.ubuntu.com/CompilerFlags

Artur Rona (ari-tczew)
tags: removed: playstation ps3 update
summary: - Update ps3pf-utils to version 2.2.0
+ Please upgrade ps3pf-utils to 2.3 version
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.