Unable to make OEM image for openSUSE 13.1

110 views
Skip to first unread message

Roger Oberholtzer

unread,
Aug 24, 2014, 2:39:43 PM8/24/14
to kiwi-images

I have just tried to build an OEM image for openSUSE 13.1. The systems is up-to-date generally. The kiwi I have installed is:

kiwi-templates-5.06.153-862.1.i586
kiwi-tools-5.06.153-862.1.i586
kiwi-desc-isoboot-5.06.153-862.1.i586
kiwi-pxeboot-5.06.153-862.1.noarch
kiwi-5.06.153-862.1.i586
kiwi-desc-netboot-5.06.153-862.1.i586
kiwi-desc-oemboot-5.06.153-862.1.i586
kiwi-doc-5.06.153-862.1.noarch
kiwi-media-requires-5.05.70-29.2.noarch
kiwi-config-openSUSE-13.1-4.2.2.i586
kiwi-desc-vmxboot-5.06.153-862.1.i586

Near the end of the build, it exits with the following error::

Aug-24 20:14:32 <1> : EXEC [mktemp -t kiso-sort-XXXXXX 2>&1]
Aug-24 20:14:32 <1> : EXEC [mktemp -qdt kiso-loader-XXXXXX 2>&1]
Aug-24 20:14:32 <1> : EXEC [chmod 755 /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-loader-BIsGBY]
Aug-24 20:14:32 <1> : makeIsoEFIBootable: No EFI firmware requestedAug-24 20:14:32 <1> : EXEC [mkdir -p /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-loader-BIsGBY/boot/i386/loader]
Aug-24 20:14:32 <1> : EXEC [/usr/bin/isolinux-config --base boot/i386/loader /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/image/oem/kiwicdinst.pM5iJY/boot/i386/loader/isolinux.bin 2>&1]
Aug-24 20:14:32 <1> : EXEC [echo /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/image/oem/kiwicdinst.pM5iJY/boot/i386/efi 1000001 >> /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-sort-1mW8kQ]
Aug-24 20:14:32 <1> : EXEC [echo 7984fc91-a43f-4e45-bf27-6d3aa08b24cf > /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-loader-BIsGBY/glump]
Aug-24 20:14:32 <1> : EXEC [echo /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-loader-BIsGBY/glump 1000000 >> /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-sort-1mW8kQ]
Aug-24 20:14:32 <1> : EXEC [/usr/bin/genisoimage -R -J -f -pad -joliet-long -allow-limited-size -udf -hfs -iso-level 3 -V "KIWI CD/DVD Installation" -A "0x5fcc87cb" -p "KIWI - http://opensuse.github.com/kiwi" -sort /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-sort-1mW8kQ -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/i386/loader/isolinux.bin -c boot/i386/boot.catalog -hide boot/i386/boot.catalog -hide-joliet boot/i386/boot.catalog -no-emul-boot -joliet-long -hide glump -hide-joliet glump -o /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/image/oem/RSofT-13.1-oem-preload.i686-13.1.2.install.iso /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-loader-BIsGBY /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/image/oem/kiwicdinst.pM5iJY 2>&1]
Aug-24 20:14:32 <3> : Failed to call /usr/bin/genisoimage: Warning: -follow-links does not always work correctly; be careful.
/usr/bin/genisoimage: Warning: no Apple/Unix files will be decoded/mapped
This size can only be represented in the UDF filesystem.
Make sure that your clients support and use it.
ISO9660, Joliet, RockRidge, HFS will display incorrect size.

Aug-24 20:14:32 <1> : EXEC [rm -f /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-sort-1mW8kQ 2>&1]
Aug-24 20:14:32 <1> : EXEC [rm -rf /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-loader-BIsGBY 2>&1]
Aug-24 20:14:32 <1> : EXEC [sync]
Aug-24 20:14:33 <1> : EXEC [sync]

Any ideas? It looks like genisoimage is listing some warnings. But the script says there was an error. I tried running the command 'by hand', but of course the needed files were deleted after the command failure. I have made OEM images for 13.1 when 13.1 first was release and there was no problem. I did nore that the current kiwi complained that I was trying to use grub, even though there was no mention of it in any of my scripts. So I added bootloader="grub2". Not sure if that has any effect here.

--
Roger Oberholtzer

Marcus Schäfer

unread,
Aug 26, 2014, 1:13:29 PM8/26/14
to kiwi-...@googlegroups.com
Hi,

> Aug-24 20:14:32 <1> : EXEC [/usr/bin/genisoimage -R -J -f -pad
> -joliet-long -allow-limited-size -udf -hfs -iso-level 3 -V "KIWI CD/DVD
> Installation" -A "0x5fcc87cb" -p "KIWI -
> [1]http://opensuse.github.com/kiwi" -sort
> /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.
> 1/tmp/kiso-sort-1mW8kQ -no-emul-boot -boot-load-size 4 -boot-info-table
> -b boot/i386/loader/isolinux.bin -c boot/i386/boot.catalog -hide
> boot/i386/boot.catalog -hide-joliet boot/i386/boot.catalog
> -no-emul-boot -joliet-long -hide glump -hide-joliet glump -o
> /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.
> 1/image/oem/RSofT-13.1-oem-preload.i686-13.1.2.install.iso
> /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.
> 1/tmp/kiso-loader-BIsGBY
> /home/roger/source.18.00/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.
> 1/image/oem/kiwicdinst.pM5iJY 2>&1]
> Aug-24 20:14:32 <3> : Failed to call /usr/bin/genisoimage: Warning:
> -follow-links does not always work correctly; be careful.
> /usr/bin/genisoimage: Warning: no Apple/Unix files will be
> decoded/mapped
> This size can only be represented in the UDF filesystem.
> Make sure that your clients support and use it.
> ISO9660, Joliet, RockRidge, HFS will display incorrect size.

I guess the iso is too big but I'm not sure

Regards,
Marcus
--
Public Key available
http://pgp.mit.edu/pks/lookup?search=0xCCE3C6A2&op=index
-------------------------------------------------------
Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH
Tel: 0911-740 53 0 Maxfeldstrasse 5
FAX: 0911-740 53 479 D-90409 Nürnberg
GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer
HRB: 21284 (AG Nürnberg) Germany
http://www.suse.de
-------------------------------------------------------

Roger Oberholtzer

unread,
Aug 27, 2014, 5:17:19 AM8/27/14
to kiwi-images
I think the size is less than 4GB. I would think that would be okay. Or not?

--
Roger


--
You received this message because you are subscribed to the Google Groups "kiwi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kiwi-images...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Roger Oberholtzer

Marcus Schäfer

unread,
Aug 27, 2014, 7:55:37 AM8/27/14
to kiwi-...@googlegroups.com
Hi,

> I think the size is less than 4GB. I would think that would be okay. Or
> not?

yes that should be ok

maybe you can add a break in the code calling genisoimage in
/usr/share/kiwi/modules/KIWIIsoLinux.pm like this:

print "Have a break\n";
my $break = <>;

after that call kiwi with the option

--logfile terminal

at the point where it stops you can repeat the genisomimage call
by cut&paste from the terminal in another terminal and debug why
this call fails.

From the information genisoimage tells us here I don't know
why it has problems

Roger Oberholtzer

unread,
Aug 27, 2014, 3:52:56 PM8/27/14
to kiwi-images
With logging to the terminal. I see that there was a segmentation violation:

Aug-27 21:16:23 <1> : EXEC [echo /home/roger/source/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-loader-1jVYj5/glump 1000000 >> /home/roger/source/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-sort-edi6z2]
Aug-27 21:16:23 <1> : EXEC [/usr/bin/genisoimage -R -J -f -pad -joliet-long -allow-limited-size -udf -hfs -iso-level 3 -V "KIWI CD/DVD Installation" -A "0x7ad307d7" -p "KIWI - http://opensuse.github.com/kiwi" -sort /home/roger/source/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-sort-edi6z2 -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/i386/loader/isolinux.bin -c boot/i386/boot.catalog -hide boot/i386/boot.catalog -hide-joliet boot/i386/boot.catalog -no-emul-boot -joliet-long -hide glump -hide-joliet glump -o /home/roger/source/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/image/oem/RSofT-13.1-oem-preload.i686-13.1.2.install.iso /home/roger/source/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-loader-1jVYj5 /home/roger/source/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/image/oem/kiwicdinst.hd7vZc 2>&1]
sh: line 1:  4924 Segmentation fault      /usr/bin/genisoimage -R -J -f -pad -joliet-long -allow-limited-size -udf -hfs -iso-level 3 -V "KIWI CD/DVD Installation" -A "0x7ad307d7" -p "KIWI - http://opensuse.github.com/kiwi" -sort /home/roger/source/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-sort-edi6z2 -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/i386/loader/isolinux.bin -c boot/i386/boot.catalog -hide boot/i386/boot.catalog -hide-joliet boot/i386/boot.catalog -no-emul-boot -joliet-long -hide glump -hide-joliet glump -o /home/roger/source/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/image/oem/RSofT-13.1-oem-preload.i686-13.1.2.install.iso /home/roger/source/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-loader-1jVYj5 /home/roger/source/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/image/oem/kiwicdinst.hd7vZc 2>&1

I got the same when running the command. It fails immediately.

/usr/bin/genisoimage -R -J -f -pad -joliet-long -allow-limited-size -udf -hfs -iso-level 3 -V "KIWI CD/DVD Installation" -A "0x7ad307d7" -p "KIWI - http://opensuse.github.com/kiwi" -sort /home/roger/source/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-sort-edi6z2 -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/i386/loader/isolinux.bin -c boot/i386/boot.catalog -hide boot/i386/boot.catalog -hide-joliet boot/i386/boot.catalog -no-emul-boot -joliet-long -hide glump -hide-joliet glump -o /home/roger/source/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/image/oem/RSofT-13.1-oem-preload.i686-13.1.2.install.iso /home/roger/source/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/tmp/kiso-loader-1jVYj5 /home/roger/source/RSofT_Diskless/kiwi/RSofT-preload-openSUSE-13.1/image/oem/kiwicdinst.hd7vZc

Warning: -follow-links does not always work correctly; be careful.
Warning: cannot support large files with -hfs

/usr/bin/genisoimage: Warning: no Apple/Unix files will be decoded/mapped
This size can only be represented in the UDF filesystem.
Make sure that your clients support and use it.
ISO9660, Joliet, RockRidge, HFS will display incorrect size.
Segmentation fault



--
You received this message because you are subscribed to the Google Groups "kiwi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kiwi-images...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Roger Oberholtzer

Roger Oberholtzer

unread,
Aug 31, 2014, 11:19:46 AM8/31/14
to kiwi-images
If I remove the directive to make an ISO image, I get the USB stick image. That is really what I needed anyway. But I am still thinking there is something wrong somewhere. Maybe it is that my genisoimage is from app:multimedia. It is the same version of the source. But maybe they do or do not do something in their packaging. I will try getting the original openSUSE 13.1 version installed to see if that makes a difference.
--
Roger Oberholtzer
Reply all
Reply to author
Forward
0 new messages