[Bug 515471] New: KIWI build failed during get grub binary from initrd.
http://bugzilla.novell.com/show_bug.cgi?id=515471 Summary: KIWI build failed during get grub binary from initrd. Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i586 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: machen@novell.com QAContact: qa@suse.de CC: aliao@novell.com, glin@novell.com, jcheung@novell.com, jlee@novell.com Found By: --- Version: kiwi-3.59-80.1 Symptom: When build a iso image, it is failed in "Get Grub binary from initrd" of KIWIBoot.pm. The message showed as below : No grub bootloader found in initrd: cpio: premature end of archive failed [*** log excerpt follows, last 1 Kbyte ***] e-SLED11.i686-2.7.1.splash.gz /tmp/kiwiboot.B0ktgN/boot/initrd.vmx 2>&1] Jun-23 13:54:16 <1> : EXEC [cp /srv/kiwi/msi-1682-0.out/initrd-oemboot-suse-SLED11.i686-2.7.1.kernel.2.6.27.19-5-pae /tmp/kiwiboot.B0ktgN/boot/linux.vmx 2>&1] done Jun-23 13:54:16 <1> : EXEC [mkdir -p /tmp/kiwiboot.B0ktgN/boot/grub 2>&1] Jun-23 13:54:16 <1> : Importing grub binary Jun-23 13:54:16 <1> : EXEC [gzip -9 -cd /srv/kiwi/msi-1682-0.out/initrd-oemboot-suse-SLED11.i686-2.7.1.splash.gz 2>&1 | (cd /tmp/kiwiboot.B0ktgN && cpio -di 'usr/sbin/grub' 2>&1)] failed Jun-23 13:54:16 <3> : No grub bootloader found in initrd: cpio: premature end of archive failed Jun-23 13:54:16 <1> : EXEC [rm -rf /tmp/kiwiboot.B0ktgN] Jun-23 13:54:16 <1> : EXEC [rm -rf /tmp/kiwiloop.zpNQPG] Jun-23 13:54:16 <1> : EXEC [rm -rf /tmp/kiwiboot.B0ktgN] Jun-23 13:54:16 <1> : EXEC [rm -rf /tmp/kiwiloop.zpNQPG] Jun-23 13:54:17 <1> : EXEC [cp /srv/kiwi/msi-1682-0.11207.screenrc.log /tmp/kiwi-VMX.BMBiap/kiwi-VMXboot-11207/.broken 2>&1] [*** end ***] -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=515471 User ms@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=515471#c2 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |machen@novell.com --- Comment #2 from Marcus Schaefer <ms@novell.com> 2009-06-24 07:26:13 MDT --- can't reproduce this one. the grub binary is taken from the generated initrd. By default the oemboot/suse-SLED11/config.xml contains the line <package name="grub"/> which means grub will be installed and can be copied from the installed tree. I guess you did changes to oemboot/suse-SLED11/config.xml ? * if not sent your entire image description along with a complete log file not only the last lines * which kiwi version is this ? Thanks -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=515471 User machen@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=515471#c3 --- Comment #3 from Jian-Jia Chen <machen@novell.com> 2009-06-25 11:47:11 CST --- Created an attachment (id=300240) --> (http://bugzilla.novell.com/attachment.cgi?id=300240) Build log. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=515471 User machen@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=515471#c4 --- Comment #4 from Jian-Jia Chen <machen@novell.com> 2009-06-25 11:49:19 CST --- Hi Marcus, * Attachment is the log for build. * Version: kiwi-3.59-80.1 Thanks. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=515471 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|KIWI build failed during |kiwi: build failed during |get grub binary from |get grub binary from |initrd. |initrd. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=515471 User ms@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=515471#c5 --- Comment #5 from Marcus Schaefer <ms@novell.com> 2009-06-25 05:04:04 MDT --- hmm this is strange can you please check the following: gzip -9 -cd \ /ramdisk/kiwi/msi1682-img/initrd-oemboot-suse-SLED11.i686-2.7.1.splash.gz | \ cpio -it | grep grub according to the log grub has been installed into this initrd but the grub binary can't be found .. ? no clue why at the moment is this inside a ramdisk ? are you sure the ramdisk did not run out of space ? can you reproduce this one outside the ramdisk ? Thanks -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=515471 User machen@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=515471#c6 --- Comment #6 from Jian-Jia Chen <machen@novell.com> 2009-06-26 15:03:21 CST --- well...if it has thing to do with the ramdisk size, I don't think it would be a problem. Because the size of the ramdisk is 74G. I've already tested in non-ramdisk. But it still has this problem... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=515471 User machen@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=515471#c7 --- Comment #7 from Jian-Jia Chen <machen@novell.com> 2009-06-26 17:12:40 CST --- Hi Marcus, As I tried the way "gzip -9 -cd /ramdisk/kiwi/msi1682-img/initrd-oemboot-suse-SLED11.i686-2.7.1.splash.gz | cpio -it | grep grub". It showed me as below: initrd-oemboot-suse-SLED11.i686-2.7.1.splash.gz is a symbolic link -- skipping cpio: premature end of archive -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=515471 User ms@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=515471#c8 --- Comment #8 from Marcus Schaefer <ms@novell.com> 2009-06-26 04:31:48 MDT --- Hae, why doesn't it follow the link ? if I do that on my system it simply resolves the link. Could you check this ? Thanks -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=515471 User ms@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=515471#c9 --- Comment #9 from Marcus Schaefer <ms@novell.com> 2009-06-26 04:56:40 MDT --- bug found: problem is: on this system gzip was replaced by pigz and this version of pigz does not follow symbolic links which I consider a bug in pigz -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=515471 User machen@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=515471#c10 --- Comment #10 from Jian-Jia Chen <machen@novell.com> 2009-06-26 19:17:31 CST --- Hi Marcus, It is working well now. It is really the gzip issue. Because our server has 8 cores, I think that's who installed the system guy do install the pigz for parallel processing matter... OK...close this bug is recommended. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=515471 User ms@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=515471#c11 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|machen@novell.com | Resolution| |INVALID --- Comment #11 from Marcus Schaefer <ms@novell.com> 2009-06-26 05:28:19 MDT --- ok thanks for the feedback -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com