Installer: EBUSY while mounting /mnt/boot/efi

  • Done
  • quality assurance status badge
Details
One participant
  • Ludovic Courtès
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
normal
L
L
Ludovic Courtès wrote on 14 May 2019 18:38
(address . bug-Guix@gnu.org)
87sgthxa81.fsf@gnu.org
Hello,

I’ve tested the installer in a UEFI setup like this:

qemu-img create -f qcow2 /tmp/t.img 2G
$(guix system vm gnu/system/install.scm) -m 256 -net user \
-hda /tmp/t.img \
-bios $(guix build ovmf)/share/firmware/ovmf_x64.bin

Sometimes, the installer crashes with the attached backtrace: EBUSY
while mounting /mnt/boot/efi. Strangely, if I go to a console at that
point and run ‘mount’, I see that /mnt/boot/efi is already mounted.

Thoughts?

Ludo’.
Attachment: bt.png
L
L
Ludovic Courtès wrote on 14 May 2019 18:48
(address . 35731@debbugs.gnu.org)
87o945x9rq.fsf@gnu.org
Ludovic Courtès <ludo@gnu.org> skribis:

Toggle quote (4 lines)
> Sometimes, the installer crashes with the attached backtrace: EBUSY
> while mounting /mnt/boot/efi. Strangely, if I go to a console at that
> point and run ‘mount’, I see that /mnt/boot/efi is already mounted.

More specifically, this happens every time I start from a fresh target
disk image—i.e., just run ‘qemu-img create …’ before spawning the
installer VM.

So I’m guessing the ‘partition’ step returns /boot/efi twice in that
case.

Ludo’.
L
L
Ludovic Courtès wrote on 15 May 2019 12:25
(address . 35731-done@debbugs.gnu.org)
87ef50vwst.fsf@gnu.org
Ludovic Courtès <ludo@gnu.org> skribis:

Toggle quote (13 lines)
> Ludovic Courtès <ludo@gnu.org> skribis:
>
>> Sometimes, the installer crashes with the attached backtrace: EBUSY
>> while mounting /mnt/boot/efi. Strangely, if I go to a console at that
>> point and run ‘mount’, I see that /mnt/boot/efi is already mounted.
>
> More specifically, this happens every time I start from a fresh target
> disk image—i.e., just run ‘qemu-img create …’ before spawning the
> installer VM.
>
> So I’m guessing the ‘partition’ step returns /boot/efi twice in that
> case.

Fixed in 7d567af46b4e10ffafb1d0f76b524f5781460598.

This makes me think that ‘auto-partition’ should probably be called
‘auto-partition!’.

Ludo’.
Closed
?