[Bug 194964] Re: Update ps3pf-utils to version 2.2.0
** Tags removed: playstation ps3 update ** Summary changed: - Update ps3pf-utils to version 2.2.0 + Please upgrade ps3pf-utils to 2.3 version -- Please upgrade ps3pf-utils to 2.3 version https://bugs.launchpad.net/bugs/194964 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 194964] Re: Update ps3pf-utils to version 2.2.0
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 -- Update ps3pf-utils to version 2.2.0 https://bugs.launchpad.net/bugs/194964 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 194964] Re: Update ps3pf-utils to version 2.2.0
Here is the additional information I mentioned in my previous comment, it is a buffer overflow :( : arn...@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: 0010-00103000 r-xp 00:00 0 [vdso] 0fe26000-0fe29000 r-xp fd:01 188868 /lib/libdl-2.9.so 0fe29000-0fe38000 ---p 3000 fd:01 188868 /lib/libdl-2.9.so 0fe38000-0fe39000 r--p 2000 fd:01 188868 /lib/libdl-2.9.so 0fe39000-0fe3a000 rw-p 3000 fd:01 188868 /lib/libdl-2.9.so 0fe4a000-0ffae000 r-xp 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 00:00 0 0ffd5000-0ffdf000 r-xp fd:01 227309 /usr/lib/libfakeroot/libfakeroot-sysv.so 0ffdf000-0ffee000 ---p a000 fd:01 227309 /usr/lib/libfakeroot/libfakeroot-sysv.so 0ffee000-0ffef000 r--p 9000 fd:01 227309 /usr/lib/libfakeroot/libfakeroot-sysv.so 0ffef000-0fff rw-p a000 fd:01 227309 /usr/lib/libfakeroot/libfakeroot-sysv.so 1000-10081000 r-xp fd:01 597271 /home/arnaud/Documents/ps3-kboot/ps3-kboot-1.6/kboot-11/build/bin/powerpc-linux-uclibc-ar 1009-10091000 r--p 0008 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 00:00 0 [heap] 4000-4001f000 r-xp fd:01 188860 /lib/ld-2.9.so 4001f000-40022000 rw-p 00:00 0 40022000-40023000 r--p fd:01 585523 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 40023000-4002a000 r--s fd:01 559775 /usr/lib/gconv/gconv-modules.cache 4002a000-4002f000 rw-p 00:00 0 4002f000-4003 r--p 0001f000 fd:01 188860 /lib/ld-2.9.so 4003-40031000 rw-p 0002 fd:01 188860 /lib/ld-2.9.so 40031000-4007 r--p fd:01 578140 /usr/lib/locale/en_US.utf8/LC_CTYPE 4007-40075000 rw-p 00:00 0 ffe18000-ffe2f000 rw-p 00:00 0 [stack] Note that this was done with the latest karmic. Is this problem related to the new FORTIFY option that was made a default recently? Is there a way for me to try another build with FORTIFY backed out? I don't think there is too much security risk for a PS3 bootloader... Any ideas / suggestions welcome. -- Update ps3pf-utils to version 2.2.0 https://bugs.launchpad.net/bugs/194964 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 194964] Re: Update ps3pf-utils to version 2.2.0
I applied a very simple patch to make the call to open() in gcc's collect2.c to go beyond the failure above. ** Attachment added: Simple patch to gcc to go further http://launchpadlibrarian.net/27249667/04-fix-open-collect2c.patch -- Update ps3pf-utils to version 2.2.0 https://bugs.launchpad.net/bugs/194964 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 194964] Re: Update ps3pf-utils to version 2.2.0
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... ** Attachment added: Second failed build attempt http://launchpadlibrarian.net/27249725/ps3-kboot_1.6-2ubuntu1_powerpc.build -- Update ps3pf-utils to version 2.2.0 https://bugs.launchpad.net/bugs/194964 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 194964] 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 ** Attachment added: Failed build attempt on karmic http://launchpadlibrarian.net/27213405/ps3-kboot_1.6-2ubuntu1_powerpc.build -- Update ps3pf-utils to version 2.2.0 https://bugs.launchpad.net/bugs/194964 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 194964] 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 Replaceing 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 :). -- Update ps3pf-utils to version 2.2.0 https://bugs.launchpad.net/bugs/194964 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 194964] Re: Update ps3pf-utils to version 2.2.0
ps3-utils is already marked as Conflicting and Replacing ps3pf-utils, so I will directly with a simple change on ps3-kboot... -- Update ps3pf-utils to version 2.2.0 https://bugs.launchpad.net/bugs/194964 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
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 -- Update ps3pf-utils to version 2.2.0 https://bugs.launchpad.net/bugs/194964 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
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 -- Update ps3pf-utils to version 2.2.0 https://bugs.launchpad.net/bugs/194964 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 194964] Re: Update ps3pf-utils to version 2.2.0
** Tags added: upgrade -- Update ps3pf-utils to version 2.2.0 https://bugs.launchpad.net/bugs/194964 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs