From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX1Lz-0006K9-BY for guix-patches@gnu.org; Mon, 17 Jul 2017 04:26:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX1Lu-0001bq-9X for guix-patches@gnu.org; Mon, 17 Jul 2017 04:26:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40500) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dX1Lu-0001bc-5S for guix-patches@gnu.org; Mon, 17 Jul 2017 04:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dX1Lt-0003ix-Lv for guix-patches@gnu.org; Mon, 17 Jul 2017 04:26:01 -0400 Subject: [bug#27661] ISO-9660 image working and ready Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87d195etic.fsf@gnu.org> <20170712134405.25274-1-dannym@scratchpost.org> <87inixd9z1.fsf@gnu.org> <20170712192827.22b7c740@scratchpost.org> <87eftkjhhd.fsf@fastmail.com> <20170714095521.10045e44@scratchpost.org> Date: Mon, 17 Jul 2017 10:25:08 +0200 In-Reply-To: <20170714095521.10045e44@scratchpost.org> (Danny Milosavljevic's message of "Fri, 14 Jul 2017 09:55:21 +0200") Message-ID: <8760erfp23.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 27661-done@debbugs.gnu.org Danny Milosavljevic skribis: > Debugging: > > $ qemu-system-x86_64 -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin= -m 1G -enable-kvm -hda Zuefi -serial stdio > > Then add "console=3DttyS0" to Linux cmdline in grub menu edit. > > I get: > > [ 0.923605] scsi 0:0:0:0: Direct-Access ATA QEMU HARDDISK = 2.5+ PQ: 0 ANSI: 5 > [ 0.926558] sd 0:0:0:0: [sda] 2215580 512-byte logical blocks: (1.13 G= B/1.06 GiB) > [ 0.928683] sd 0:0:0:0: [sda] Write Protect is off > [ 0.930155] sd 0:0:0:0: Attached scsi generic sg0 type 0 > [ 0.931705] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enable= d, doesn't support DPO or FUA > [ 0.934772] scsi 1:0:0:0: CD-ROM QEMU QEMU DVD-ROM = 2.5+ PQ: 0 ANSI: 5 > [ 0.949039] sr 1:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tr= ay > [ 0.952674] cdrom: Uniform CD-ROM driver Revision: 3.20 > [ 0.955449] sda: sda1 sda2 sda3 sda4 > [ 0.956995] sd 0:0:0:0: [sda] Attached SCSI disk > [ 0.959031] sr 1:0:0:0: Attached scsi generic sg1 type 5 > GC Warning: Couldn't read /proc/stat > Welcome, this is GNU's early boot Guile. > Use '--repl' for an initrd REPL. > loading '/gnu/store/48d1w55iy2vpcm5ass5lsp8almghszv8-system/boot'... > [ 1.235733] attempt to access beyond end of device > [ 1.237066] sda1: rw=3D0, want=3D949216, limit=3D76376 > [ 1.238565] attempt to access beyond end of device > [ 1.240115] sda1: rw=3D0, want=3D949216, limit=3D76376 > [ 1.242095] attempt to access beyond end of device > [ 1.243545] sda1: rw=3D0, want=3D949216, limit=3D76376 > ERROR: In procedure primitive-load: > ERROR: In procedure fport_fill_input: Input/output error It looks like the partition detection code in (gnu build file-systems) tries to read beyond the end of disk or something. Could you try adding a few =E2=80=98pk=E2=80=99 or =E2=80=98format=E2=80=99 calls in there so se= e what=E2=80=99s going on? Alternately, you could run the same QEMU command line that the derivation spawns, so you would get a REPL (and backtrace). For that you can =E2=80=9Cps aux | grep qemu=E2=80=9D while the derivation is buildi= ng, and copy/paste the QEMU command from there. HTH, Ludo=E2=80=99.