all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#37471: Cannot make a disk image for the BeagleBone Black
@ 2019-09-20 20:52 Timothy Sample
  2019-09-24  8:10 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Timothy Sample @ 2019-09-20 20:52 UTC (permalink / raw)
  To: 37471

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

Hi Guix,

I’ve been trying to build a disk image for the BeagleBone Black.  After
fixing <https://bugs.gnu.org/37384>, I’m now hitting a problem when Guix
manipulates the image from QEMU.  One of the Linux kernel modules seems
to crash.  For the record, I’m building the image from an armhf machine.
I’ve attached the error.


[-- Attachment #2: Boot log --]
[-- Type: text/plain, Size: 5339 bytes --]

[   27.401452] Run /init as init process
GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread
GC Warning: Couldn't read /proc/stat
Welcome, this is GNU's early boot Guile.
Use '--repl' for an initrd REPL.

loading kernel modules...
[   34.338311] SCSI subsystem initialized
[   34.478195] Unhandled fault: page domain fault (0x01b) at 0x00000000
[   34.483251] pgd = (ptrval)
[   34.485473] [00000000] *pgd=4e48c835, *pte=00000000, *ppte=00000000
[   34.493074] Internal error: : 1b [#1] SMP ARM
[   34.497643] Modules linked in: libata(+) scsi_mod
[   34.506434] CPU: 1 PID: 1 Comm: init Not tainted 5.2.15-gnu #1
[   34.511049] Hardware name: Generic DT based system
[   34.523922] PC is at ata_attach_transport+0xd4/0x1fc [libata]
[   34.530415] LR is at 0xce4430bc
[   34.533789] pc : [<bf05a00c>]    lr : [<ce4430bc>]    psr: 60000013
[   34.537248] sp : ce105cd0  ip : bf061dac  fp : ce105cf4
[   34.539050] r10: 00000000  r9 : bf061ddc  r8 : bf061dbc
[   34.540417] r7 : bf061dcc  r6 : ce4430cc  r5 : ce4430dc  r4 : ce443000
[   34.544194] r3 : 00000000  r2 : bf0596a8  r1 : 00000124  r0 : bf0661d4
[   34.547445] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   34.549935] Control: 10c5387d  Table: 4e00406a  DAC: 00000051
[   34.552425] Process init (pid: 1, stack limit = 0x(ptrval))
[   34.555936] Stack: (0xce105cd0 to 0xce106000)
[   34.559887] 5cc0:                                     00000000 00000000 bf06c100 bf06bf00
[   34.564103] 5ce0: bf076000 ffffffff ce105d84 ce105cf8 bf074c3c bf059f44 d0821000 ce104000
[   34.568192] 5d00: bf063734 bf063700 bf06c100 bf063780 c0f05dcc 60000013 ffffffff bf075000
[   34.572197] 5d20: ffffffff ffffffff ce105dfc ce105d38 c0101a8c c0102540 00000000 00000001
[   34.576089] 5d40: 003e3945 003e3945 bf06bf00 c0f05dcc bf0748d8 003e3945 00000000 bf06bf00
[   34.580527] 5d60: c0f05dcc bf0748d8 bf06bf00 00000000 ce105f30 c0f05dcc ce105dfc ce105d88
[   34.584170] 5d80: c01036a8 bf0748e4 ce105dfc ce105d98 c03224e0 c09d502c 00000001 c0f05dcc
[   34.588181] 5da0: ce105dcc ce105db0 c0324ad0 c0323fc4 ce3dca80 0000004e 00000000 c01ffa00
[   34.592191] 5dc0: 00000008 60000013 00000000 ce000e40 d0990000 003e3945 ce415780 bf06bf00
[   34.596043] 5de0: ce415780 ce3dca80 bf06bf00 ce415788 ce105e24 ce105e00 c01ffa3c c0103664
[   34.600076] 5e00: ce105e24 ce105e10 c0303c80 00000001 ce415780 ce4157a4 ce105f0c ce105e28
[   34.604050] 5e20: c01fe864 c01ff9d8 bf06bf0c 00007fff bf06bf00 c01faa7c c0f05dcc c0b9c02c
[   34.608222] 5e40: c0b9c040 c0b9c020 c0b9c068 bf088e3b c0b9c104 bf06c014 bf06c0dc c0a08604
[   34.612140] 5e60: bf06bf04 00000028 00000001 bf06bf48 00000000 c0c94768 ce105f28 ce105ea0
[   34.616229] 5e80: ce105edc ce105e90 bf060024 00000006 bf060054 000000bf 00000000 00000000
[   34.620146] 5ea0: 6e72656b 00006c65 00000000 00000000 00000000 00000000 00000000 00000000
[   34.624224] 5ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 003e3945
[   34.628280] 5ee0: 7fffffff c0f05dcc 00000000 0000000a 014199a0 c0101204 ce104000 0000017b
[   34.632255] 5f00: ce105fa4 ce105f10 c01ff1d4 c01fc754 7fffffff 00000000 00000003 ce2d2000
[   34.636286] 5f20: ce105f44 d0990000 0004d974 00000000 d09b1a6f d09bddc0 d0990000 0004d974
[   34.640195] 5f40: d09dd014 d09dcde0 d09c80c4 0002c000 0002e1b0 000146ec 00030395 00000000
[   34.644355] 5f60: 00000000 00000000 000146dc 00000039 0000003a 00000033 00000022 00000017
[   34.652079] 5f80: 00000000 003e3945 00000004 b58ecc98 00053e77 0000017b 00000000 ce105fa8
[   34.657813] 5fa0: c0101000 c01ff120 00000004 b58ecc98 0000000a 014199a0 00000000 014d8f78
[   34.663944] 5fc0: 00000004 b58ecc98 00053e77 0000017b 002b39d0 0029b25c 00161ff4 00000002
[   34.669854] 5fe0: be98e1d0 be98e1c0 0005c7a9 0011d1e2 60000030 0000000a 00000000 00000000
[   34.673283] Backtrace:
[   34.684173] [<bf059f38>] (ata_attach_transport [libata]) from [<bf074c3c>] (ata_init+0x364/0x3b8 [libata])
[   34.692007]  r9:ffffffff r8:bf076000 r7:bf06bf00 r6:bf06c100 r5:00000000 r4:00000000
[   34.704521] [<bf0748d8>] (ata_init [libata]) from [<c01036a8>] (do_one_initcall+0x50/0x260)
[   34.710274]  r10:c0f05dcc r9:ce105f30 r8:00000000 r7:bf06bf00 r6:bf0748d8 r5:c0f05dcc
[   34.714690]  r4:bf06bf00
[   34.716458] [<c0103658>] (do_one_initcall) from [<c01ffa3c>] (do_init_module+0x70/0x250)
[   34.721948]  r8:ce415788 r7:bf06bf00 r6:ce3dca80 r5:ce415780 r4:bf06bf00
[   34.725081] [<c01ff9cc>] (do_init_module) from [<c01fe864>] (load_module+0x211c/0x27e0)
[   34.727970]  r6:ce4157a4 r5:ce415780 r4:00000001
[   34.730142] [<c01fc748>] (load_module) from [<c01ff1d4>] (sys_finit_module+0xc0/0x110)
[   34.734445]  r10:0000017b r9:ce104000 r8:c0101204 r7:014199a0 r6:0000000a r5:00000000
[   34.739055]  r4:c0f05dcc
[   34.740402] [<c01ff114>] (sys_finit_module) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[   34.744031] Exception stack(0xce105fa8 to 0xce105ff0)
[   34.748013] 5fa0:                   00000004 b58ecc98 0000000a 014199a0 00000000 014d8f78
[   34.752139] 5fc0: 00000004 b58ecc98 00053e77 0000017b 002b39d0 0029b25c 00161ff4 00000002
[   34.756126] 5fe0: be98e1d0 be98e1c0 0005c7a9 0011d1e2
[   34.759946]  r7:0000017b r6:00053e77 r5:b58ecc98 r4:00000004
[   34.764574] Code: e28c8010 e28c7020 e89c000f e28c9030 (e88e000f)
[   34.776723] ---[ end trace 3d54643e815e2e3d ]---

[-- Attachment #3: Type: text/plain, Size: 9 bytes --]



-- Tim

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#37471: Cannot make a disk image for the BeagleBone Black
  2019-09-20 20:52 bug#37471: Cannot make a disk image for the BeagleBone Black Timothy Sample
@ 2019-09-24  8:10 ` Ludovic Courtès
  2019-09-25 17:57   ` Timothy Sample
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2019-09-24  8:10 UTC (permalink / raw)
  To: Timothy Sample; +Cc: 37471

Hi Timothy,

Timothy Sample <samplet@ngyro.com> skribis:

> [   34.338311] SCSI subsystem initialized
> [   34.478195] Unhandled fault: page domain fault (0x01b) at 0x00000000
> [   34.483251] pgd = (ptrval)
> [   34.485473] [00000000] *pgd=4e48c835, *pte=00000000, *ppte=00000000
> [   34.493074] Internal error: : 1b [#1] SMP ARM

Is this error the actual problem?

> [   34.497643] Modules linked in: libata(+) scsi_mod
> [   34.506434] CPU: 1 PID: 1 Comm: init Not tainted 5.2.15-gnu #1
> [   34.511049] Hardware name: Generic DT based system
> [   34.523922] PC is at ata_attach_transport+0xd4/0x1fc [libata]
> [   34.530415] LR is at 0xce4430bc
> [   34.533789] pc : [<bf05a00c>]    lr : [<ce4430bc>]    psr: 60000013
> [   34.537248] sp : ce105cd0  ip : bf061dac  fp : ce105cf4
> [   34.539050] r10: 00000000  r9 : bf061ddc  r8 : bf061dbc
> [   34.540417] r7 : bf061dcc  r6 : ce4430cc  r5 : ce4430dc  r4 : ce443000
> [   34.544194] r3 : 00000000  r2 : bf0596a8  r1 : 00000124  r0 : bf0661d4
> [   34.547445] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
> [   34.549935] Control: 10c5387d  Table: 4e00406a  DAC: 00000051
> [   34.552425] Process init (pid: 1, stack limit = 0x(ptrval))
> [   34.555936] Stack: (0xce105cd0 to 0xce106000)
> [   34.559887] 5cc0:                                     00000000 00000000 bf06c100 bf06bf00
> [   34.564103] 5ce0: bf076000 ffffffff ce105d84 ce105cf8 bf074c3c bf059f44 d0821000 ce104000
> [   34.568192] 5d00: bf063734 bf063700 bf06c100 bf063780 c0f05dcc 60000013 ffffffff bf075000

… or is it that shepherd could not be spawned for some reason?

Could it be that our kernel config for ARMv7 is wrong somehow?

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#37471: Cannot make a disk image for the BeagleBone Black
  2019-09-24  8:10 ` Ludovic Courtès
@ 2019-09-25 17:57   ` Timothy Sample
  2019-12-19 19:06     ` Timothy Sample
  0 siblings, 1 reply; 4+ messages in thread
From: Timothy Sample @ 2019-09-25 17:57 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 37471

Hi,

Ludovic Courtès <ludo@gnu.org> writes:

> Hi Timothy,
>
> Timothy Sample <samplet@ngyro.com> skribis:
>
>> [   34.338311] SCSI subsystem initialized
>> [   34.478195] Unhandled fault: page domain fault (0x01b) at 0x00000000
>> [   34.483251] pgd = (ptrval)
>> [   34.485473] [00000000] *pgd=4e48c835, *pte=00000000, *ppte=00000000
>> [   34.493074] Internal error: : 1b [#1] SMP ARM
>
> Is this error the actual problem?
>
>> [   34.497643] Modules linked in: libata(+) scsi_mod
>> [   34.506434] CPU: 1 PID: 1 Comm: init Not tainted 5.2.15-gnu #1
>> [   34.511049] Hardware name: Generic DT based system
>> [   34.523922] PC is at ata_attach_transport+0xd4/0x1fc [libata]
>> [   34.530415] LR is at 0xce4430bc
>> [   34.533789] pc : [<bf05a00c>]    lr : [<ce4430bc>]    psr: 60000013
>> [   34.537248] sp : ce105cd0  ip : bf061dac  fp : ce105cf4
>> [   34.539050] r10: 00000000  r9 : bf061ddc  r8 : bf061dbc
>> [   34.540417] r7 : bf061dcc  r6 : ce4430cc  r5 : ce4430dc  r4 : ce443000
>> [   34.544194] r3 : 00000000  r2 : bf0596a8  r1 : 00000124  r0 : bf0661d4
>> [ 34.547445] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment
>> none
>> [   34.549935] Control: 10c5387d  Table: 4e00406a  DAC: 00000051
>> [   34.552425] Process init (pid: 1, stack limit = 0x(ptrval))
>> [   34.555936] Stack: (0xce105cd0 to 0xce106000)
>> [ 34.559887] 5cc0: 00000000 00000000 bf06c100 bf06bf00
>> [ 34.564103] 5ce0: bf076000 ffffffff ce105d84 ce105cf8 bf074c3c
>> bf059f44 d0821000 ce104000
>> [ 34.568192] 5d00: bf063734 bf063700 bf06c100 bf063780 c0f05dcc
>> 60000013 ffffffff bf075000
>
> … or is it that shepherd could not be spawned for some reason?

I assumed so.  Is this the output you would expect if the unhandled
fault stuff was just a warning which was followed by Shepherd failing?

Is it the “init Not tainted” part that makes it look like Shepherd is
having problems?

> Could it be that our kernel config for ARMv7 is wrong somehow?

I was guessing that it was a problem with the modules (either that we
are missing something in the kernel config or we are not including
something in the initrd).  However, I guess it could also be a change in
how we invoke QEMU.  I haven’t had a chance to dive into it yet, I was
hoping that someone “out there” might know something!  :)


-- Tim

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#37471: Cannot make a disk image for the BeagleBone Black
  2019-09-25 17:57   ` Timothy Sample
@ 2019-12-19 19:06     ` Timothy Sample
  0 siblings, 0 replies; 4+ messages in thread
From: Timothy Sample @ 2019-12-19 19:06 UTC (permalink / raw)
  To: 37471-done

I was able to build an image for the Beaglebone Black, and it even
booted!  It seems whatever problem I had has disappeared.  Closing.


-- Tim

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-19 19:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-20 20:52 bug#37471: Cannot make a disk image for the BeagleBone Black Timothy Sample
2019-09-24  8:10 ` Ludovic Courtès
2019-09-25 17:57   ` Timothy Sample
2019-12-19 19:06     ` Timothy Sample

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.