From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#33639: ISO installer image is broken on i686 Date: Thu, 06 Dec 2018 16:34:02 +0100 Message-ID: <87va46is9h.fsf@gnu.org> References: <874lbrkkog.fsf@gnu.org> <22800682362436954162@scdbackup.webframe.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUvgC-0002z3-0Z for bug-guix@gnu.org; Thu, 06 Dec 2018 10:35:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUvg6-00032m-DX for bug-guix@gnu.org; Thu, 06 Dec 2018 10:35:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59908) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gUvg6-00032Z-9O for bug-guix@gnu.org; Thu, 06 Dec 2018 10:35:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <22800682362436954162@scdbackup.webframe.org> (Thomas Schmitt's message of "Thu, 06 Dec 2018 15:08:56 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Thomas Schmitt Cc: bug-xorriso@gnu.org, 33639@debbugs.gnu.org Hi Thomas, Thanks for the quick and insightful reply! "Thomas Schmitt" skribis: >> [ 215.199357] loop0: rw=3D524288, want=3D1903876, limit=3D1899264 > > This looks much like a truncated ISO image. (For what reason ever.) > > There are at least 4612 blocks =3D ~ 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=E2=80=99ve 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=3Dtcp::5555-:22 \ > -hda guix_on_qemu.img You could install Guix on top of your distro following the instructions at . Then you would need to run =E2=80=9Cguix pull=E2=80=9D to get a current Gui= x (0.15.0 itself didn=E2=80=99t have this bug.) And finally, run: guix system disk-image --file-system-type=3Diso9660 \ -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=E2=80=99s 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 4734= 56s 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.is= o' Media current: stdio file, overwriteable Media status : is written , is appendable Boot record : El Torito , MBR protective-msdos-label grub2-mbr cyl-align-o= ff 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/1zzgag2ca7= xzklss2j6phh4580cgkbl2-flac-1.3.2/share/doc/flac-1.3.2/FLAC.tag' File data lba: 0 , 25032 , 0 , 0 , '/gnu/store/55m1dng1zw= 7fq7ni73nm2v7b84wghpka-libx11-1.6.6/share/X11/locale/am_ET.UTF-8/XI18N_OBJS' File data lba: 0 , 25032 , 0 , 0 , '/gnu/store/55m1dng1zw= 7fq7ni73nm2v7b84wghpka-libx11-1.6.6/share/X11/locale/cs_CZ.UTF-8/XI18N_OBJS' File data lba: 0 , 25032 , 0 , 0 , '/gnu/store/55m1dng1zw= 7fq7ni73nm2v7b84wghpka-libx11-1.6.6/share/X11/locale/el_GR.UTF-8/XI18N_OBJS' File data lba: 0 , 25032 , 0 , 0 , '/gnu/store/55m1dng1zw= 7fq7ni73nm2v7b84wghpka-libx11-1.6.6/share/X11/locale/fi_FI.UTF-8/XI18N_OBJS' File data lba: 0 , 25032 , 0 , 0 , '/gnu/store/746645dl4f= mz9h12x247nyznalswqyzp-groff-minimal-1.22.3/share/groff/1.22.3/tmac/mm/loca= le' File data lba: 0 , 25032 , 0 , 0 , '/gnu/store/746645dl4f= mz9h12x247nyznalswqyzp-groff-minimal-1.22.3/share/groff/1.22.3/tmac/mm/se_l= ocale' File data lba: 0 , 25032 , 0 , 0 , '/gnu/store/a1vpwa7wkx= bxw18sz70rmp3cdfnf3jdj-libvorbis-1.3.6/share/doc/libvorbis-1.3.6/doxygen-bu= ild.stamp' File data lba: 0 , 25032 , 0 , 0 , '/mach_kernel' File data lba: 0 , 25034 , 1173 , 2400500 , '/boot/grub/fonts/unic= ode.pf2' File data lba: 0 , 26207 , 1 , 1520 , '/boot/grub/grub.cfg' File data lba: 0 , 26207 , 1 , 1520 , '/gnu/store/3zq39lvf12= a87zcfrg87xgkllgfsyw3b-grub.cfg' File data lba: 0 , 26208 , 5 , 9928 , '/boot/grub/i386-efi/a= cpi.mod' [=E2=80=A6] File data lba: 0 , 475300 , 1 , 1651 , '/gnu/store/zrg4c2d0lv= yw8z9xgh0darzglbxrm6b7-iptables-1.6.2/share/man/man8/iptables-restore.8.gz' File data lba: 0 , 475301 , 1 , 1137 , '/gnu/store/zrg4c2d0lv= yw8z9xgh0darzglbxrm6b7-iptables-1.6.2/share/man/man8/iptables-save.8.gz' File data lba: 0 , 475302 , 4 , 7837 , '/gnu/store/zrg4c2d0lv= yw8z9xgh0darzglbxrm6b7-iptables-1.6.2/share/man/man8/iptables.8.gz' File data lba: 0 , 475306 , 47 , 96256 , '/System/Library/CoreS= ervices/boot.efi' File data lba: 0 , 475353 , 1 , 236 , '/System/Library/CoreS= ervices/SystemVersion.plist' File data lba: 0 , 475354 , 1 , 1399 , '/System/Library/CoreS= ervices/.disk_label' File data lba: 0 , 475355 , 1 , 10 , '/System/Library/CoreS= ervices/.disk_label.contentDetails' File data lba: 0 , 475356 , 88 , 180224 , '/var/guix/db/db.sqlit= e' xorriso : NOTE : -return_with SORRY 32 triggered by problem severity SORRY --8<---------------cut here---------------end--------------->8--- Something=E2=80=99s fishy, and Xorriso is sorry. :-) Let me know if I can provide more info. In the meantime I=E2=80=99ll see if I can build the image from x86_64 inste= ad. > 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=E2=80=99s expected. :-) Thank you! Ludo=E2=80=99.