[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33639: ISO installer image is broken on i686
From: |
Ludovic Courtès |
Subject: |
bug#33639: ISO installer image is broken on i686 |
Date: |
Thu, 06 Dec 2018 16:34:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi Thomas,
Thanks for the quick and insightful reply!
"Thomas Schmitt" <address@hidden> skribis:
>> [ 215.199357] loop0: rw=524288, want=1903876, limit=1899264
>
> This looks much like a truncated ISO image. (For what reason ever.)
>
> There are at least 4612 blocks = ~ 9 MiB missing.
> In the original message of https://issues.guix.info/issue/33639 the
> the minimum missing size is about 5 MiB.
OK.
> Please consider local reasons for truncated ISO images.
I’ve thought about this but that seem highly unlikely at this point.
> Is there such a damaged ISO available for download ?
No.
> How much effort would it be to create a Guix installation for building
> xorriso, running your ISO production, and possibly running xorriso under
> gdb ?
> (Something for a run like
>
> qemu-system-i386 \
> -enable-kvm \
> -nographic \
> -m 512 \
> -net nic \
> -net user,hostfwd=tcp::5555-:22 \
> -hda guix_on_qemu.img
You could install Guix on top of your distro following the instructions
at
<https://www.gnu.org/software/guix/manual/en/html_node/Binary-Installation.html>.
Then you would need to run “guix pull” to get a current Guix (0.15.0
itself didn’t have this bug.) And finally, run:
guix system disk-image --file-system-type=iso9660 \
-s i686-linux \
~/.config/guix/current/share/guile/site/2.2/gnu/system/install.scm
(This command works on an x86_64 machine.)
The result will be an ISO that’s corrupt.
> What do you get from this xorriso inspection run on a damaged ISO ?
> (I tested it with the ISO from https://www.gnu.org/software/guix/download/):
>
> xorriso -indev guixsd-install-0.15.0.i686-linux.iso \
> -find / -sort_lba -exec report_lba -- \
> >/tmp/xorriso_indev_find.txt 2>&1
I get:
--8<---------------cut here---------------start------------->8---
GNU xorriso 1.5.0 : RockRidge filesystem manipulator, libburnia project.
libisoburn: WARNING : ISO image size 475636s larger than readable size 473456s
xorriso : NOTE : Loading ISO image tree from LBA 0
libburn : SORRY : Read start address 475635s larger than number of readable
blocks 473456
xorriso : UPDATE : 46803 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently is set to
be discarded
Drive current: -indev '/gnu/store/v13bryy1mrgrs694drsrknryf204q30j-image.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record : El Torito , MBR protective-msdos-label grub2-mbr cyl-align-off
GPT APM
Media summary: 1 session, 473456 data blocks, 925m data, 45.6g free
Volume id : 'GUIXSD_IMAGE'
xorriso : NOTE : Tolerated problem event of severity 'SORRY'
Report layout: xt , Startlba , Blocks , Filesize , ISO image path
File data lba: 0 , 8612 , 720 , 1474560 , '/efi.img'
File data lba: 0 , 25032 , 0 , 0 ,
'/gnu/store/1zzgag2ca7xzklss2j6phh4580cgkbl2-flac-1.3.2/share/doc/flac-1.3.2/FLAC.tag'
File data lba: 0 , 25032 , 0 , 0 ,
'/gnu/store/55m1dng1zw7fq7ni73nm2v7b84wghpka-libx11-1.6.6/share/X11/locale/am_ET.UTF-8/XI18N_OBJS'
File data lba: 0 , 25032 , 0 , 0 ,
'/gnu/store/55m1dng1zw7fq7ni73nm2v7b84wghpka-libx11-1.6.6/share/X11/locale/cs_CZ.UTF-8/XI18N_OBJS'
File data lba: 0 , 25032 , 0 , 0 ,
'/gnu/store/55m1dng1zw7fq7ni73nm2v7b84wghpka-libx11-1.6.6/share/X11/locale/el_GR.UTF-8/XI18N_OBJS'
File data lba: 0 , 25032 , 0 , 0 ,
'/gnu/store/55m1dng1zw7fq7ni73nm2v7b84wghpka-libx11-1.6.6/share/X11/locale/fi_FI.UTF-8/XI18N_OBJS'
File data lba: 0 , 25032 , 0 , 0 ,
'/gnu/store/746645dl4fmz9h12x247nyznalswqyzp-groff-minimal-1.22.3/share/groff/1.22.3/tmac/mm/locale'
File data lba: 0 , 25032 , 0 , 0 ,
'/gnu/store/746645dl4fmz9h12x247nyznalswqyzp-groff-minimal-1.22.3/share/groff/1.22.3/tmac/mm/se_locale'
File data lba: 0 , 25032 , 0 , 0 ,
'/gnu/store/a1vpwa7wkxbxw18sz70rmp3cdfnf3jdj-libvorbis-1.3.6/share/doc/libvorbis-1.3.6/doxygen-build.stamp'
File data lba: 0 , 25032 , 0 , 0 , '/mach_kernel'
File data lba: 0 , 25034 , 1173 , 2400500 ,
'/boot/grub/fonts/unicode.pf2'
File data lba: 0 , 26207 , 1 , 1520 , '/boot/grub/grub.cfg'
File data lba: 0 , 26207 , 1 , 1520 ,
'/gnu/store/3zq39lvf12a87zcfrg87xgkllgfsyw3b-grub.cfg'
File data lba: 0 , 26208 , 5 , 9928 ,
'/boot/grub/i386-efi/acpi.mod'
[…]
File data lba: 0 , 475300 , 1 , 1651 ,
'/gnu/store/zrg4c2d0lvyw8z9xgh0darzglbxrm6b7-iptables-1.6.2/share/man/man8/iptables-restore.8.gz'
File data lba: 0 , 475301 , 1 , 1137 ,
'/gnu/store/zrg4c2d0lvyw8z9xgh0darzglbxrm6b7-iptables-1.6.2/share/man/man8/iptables-save.8.gz'
File data lba: 0 , 475302 , 4 , 7837 ,
'/gnu/store/zrg4c2d0lvyw8z9xgh0darzglbxrm6b7-iptables-1.6.2/share/man/man8/iptables.8.gz'
File data lba: 0 , 475306 , 47 , 96256 ,
'/System/Library/CoreServices/boot.efi'
File data lba: 0 , 475353 , 1 , 236 ,
'/System/Library/CoreServices/SystemVersion.plist'
File data lba: 0 , 475354 , 1 , 1399 ,
'/System/Library/CoreServices/.disk_label'
File data lba: 0 , 475355 , 1 , 10 ,
'/System/Library/CoreServices/.disk_label.contentDetails'
File data lba: 0 , 475356 , 88 , 180224 , '/var/guix/db/db.sqlite'
xorriso : NOTE : -return_with SORRY 32 triggered by problem severity SORRY
--8<---------------cut here---------------end--------------->8---
Something’s fishy, and Xorriso is sorry. :-)
Let me know if I can provide more info.
In the meantime I’ll see if I can build the image from x86_64 instead.
> Unrelated observation:
> xorriso command -pvd_info reports that the ISO was made with xorriso-1.4.8
> with
> Creation Time: 1970010119010649
> This means "1 Jan 1970 19:01:06". Something seems to be wrong with the
> system clock of the producer machine.
For reproducibility purposes we set timestamps and related things to the
Epoch. This pseudo-UUID/timestamps is actually derived from the config
of the operating system in the image. It’s expected. :-)
Thank you!
Ludo’.
- bug#33639: ISO installer image is broken on i686, Ludovic Courtès, 2018/12/05
- bug#33639: ISO installer image is broken on i686, Ludovic Courtès, 2018/12/06
- bug#33639: ISO installer image is broken on i686, Ludovic Courtès, 2018/12/06
- bug#33639: ISO installer image is broken on i686, Thomas Schmitt, 2018/12/06
- bug#33639: ISO installer image is broken on i686,
Ludovic Courtès <=
- bug#33639: ISO installer image is broken on i686, Thomas Schmitt, 2018/12/06
- bug#33639: ISO installer image is broken on i686, Thomas Schmitt, 2018/12/15
- bug#33639: ISO installer image is broken on i686, Thomas Schmitt, 2018/12/15
- bug#33639: ISO installer image is broken on i686, Ludovic Courtès, 2018/12/16
- bug#33639: ISO installer image is broken on i686, Thomas Schmitt, 2018/12/16
- bug#33639: ISO installer image is broken on i686, Ludovic Courtès, 2018/12/18
- bug#33639: ISO installer image is broken on i686, Thomas Schmitt, 2018/12/18
- bug#33639: ISO installer image is broken on i686, Ludovic Courtès, 2018/12/19
- bug#33639: ISO installer image is broken on i686, Thomas Schmitt, 2018/12/19
- bug#33639: ISO installer image is broken on i686, Thomas Schmitt, 2018/12/20