Re: Error building custom kernel on ps3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tor 2009-01-29 klockan 09:33 -0800 skrev Patrick Mansfield:
> On Wed, Jan 28, 2009 at 06:07:17PM +0100, Mikael Larsson wrote:
> > mån 2009-01-26 klockan 18:51 +0100 skrev Mikael Larsson:
> > > Hello, have been trying to recompile the latest fedora 10 ppc64 kernel
> > > on a playstation 3 with no luck. 
> > > 
> > > I followed the instructions on
> > > http://fedoraproject.org/wiki/Docs/CustomKernel that always works
> > > perfectly on my i386 and x86_64 machine. 
> > > Is there any difference when recompiling for ppc64?
> > > 
> > > I start the build with:
> > > $rpmbuild -bb --without debuginfo --target=`uname -m` kernel.spec
> > > 
> > > If I look at the output from the build it looks as if the kernel and
> > > 'modules stage II' gets built and after 3.5 hours the system freezes for
> > > about 10 to 15 minutes with no disk activity and then continues leaving
> > > an error that file /var/tmp.<something> returned with wrong status.
> > > 
> > > How can I find out what's going wrong here?
> > > 
> > > Regards
> > > Mikael Larsson
> > > 
> > 
> > Ideas anyone? please...
> > 
> > This is the end of the build:
> > ...
> > drivers/net/skfp/pmf.c:278: warning: cast from pointer to integer of
> > different size
> > drivers/net/skfp/pmf.c:279: warning: cast from pointer to integer of
> > different size
> > drivers/net/skfp/pmf.c:280: warning: cast from pointer to integer of
> > different size
> > drivers/net/wireless/airo.c: In function 'sniffing_mode':
> > drivers/net/wireless/airo.c:4744: warning: integer overflow in
> > expression
> >   Building modules, stage 2.
> > WARNING: modpost: Found 1 section mismatch(es).
> > To see full details build your kernel with:
> > 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> > + mkdir
> > -p /home/build/rpmbuild/BUILDROOT/kernel-2.6.27.12-170.2.5.ps3.fc10.ppc/boot
> > + install -m
> > 644 .config /home/build/rpmbuild/BUILDROOT/kernel-2.6.27.12-170.2.5.ps3.fc10.ppc/boot/config-2.6.27.12-170.2.5.ps3.fc10.ppc64
> > + install -m 644
> > System.map /home/build/rpmbuild/BUILDROOT/kernel-2.6.27.12-170.2.5.ps3.fc10.ppc/boot/System.map-2.6.27.12-170.2.5.ps3.fc10.ppc64
> > +
> > touch /home/build/rpmbuild/BUILDROOT/kernel-2.6.27.12-170.2.5.ps3.fc10.ppc/boot/initrd-2.6.27.12-170.2.5.ps3.fc10.ppc64.img
> > + '[' -f arch/powerpc/boot/zImage.stub ']'
> > + cp_vmlinux
> > vmlinux /home/build/rpmbuild/BUILDROOT/kernel-2.6.27.12-170.2.5.ps3.fc10.ppc/boot/vmlinuz-2.6.27.12-170.2.5.ps3.fc10.ppc64
> > + eu-strip --remove-comment
> > -o /home/build/rpmbuild/BUILDROOT/kernel-2.6.27.12-170.2.5.ps3.fc10.ppc/boot/vmlinuz-2.6.27.12-170.2.5.ps3.fc10.ppc64 vmlinux
> > + chmod
> > 755 /home/build/rpmbuild/BUILDROOT/kernel-2.6.27.12-170.2.5.ps3.fc10.ppc/boot/vmlinuz-2.6.27.12-170.2.5.ps3.fc10.ppc64
> > + mkdir
> > -p /home/build/rpmbuild/BUILDROOT/kernel-2.6.27.12-170.2.5.ps3.fc10.ppc/lib/modules/2.6.27.12-170.2.5.ps3.fc10.ppc64
> > + make -s ARCH=powerpc
> > INSTALL_MOD_PATH=/home/build/rpmbuild/BUILDROOT/kernel-2.6.27.12-170.2.5.ps3.fc10.ppc modules_install KERNELRELEASE=2.6.27.12-170.2.5.ps3.fc10.ppc64 mod-fw=
> > /bin/sh: line 1: 27427 Killed                  /sbin/depmod -ae -F
> > System.map
> > -b /home/build/rpmbuild/BUILDROOT/kernel-2.6.27.12-170.2.5.ps3.fc10.ppc
> > -r 2.6.27.12-170.2.5.ps3.fc10.ppc64
> > make: *** [_modinst_post] Error 137
> > fel: Dålig slutstatus från /var/tmp/rpm-tmp.UU6psg (%build)
> 
> Anything in your log files? Maybe it's out of memory, still that does
> not help much :-(
> 
> I forget which Fedora release failed to enable swap on the PS3, but you
> should have already hit other problems if that was the case (at least yum
> update would have failed).
> 
> -- Patrick Mansfield
> 

I'm compiling in runlevel 3 with a 512MB swap file. If I run top in
another terminal while compiling it states that about 15MB of the swap
is used and df states that there is 1GB free space on the HDD.

I have also tried mounting an nfs share as the rpmbuild directory giving
me 5GB of free space on the local ps3 drive and over 100GB free space on
the share but that gives me the same build error.

Regards
Mikael Larsson


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux