Hello, Samuel, Michael, David and Joshua.
Sorry if I forgotten someone.
Thank you very very much for your replies.
You were right to ask for my grub.cfg. I found that my configuration was
malformed.
First, I don't know why, the $(...) bootstrap expressions had lost their leading '$'
character. For example, I had:
'(pci-task=task-create)''(task-resume)'
instead of:
'$(pci-task=task-create)' '$(task-resume)'
Second, following Michael's observation and Samuel's explanation, I had
added '$(task-resume)' to several bootstrap modules. I now understand that
only the first module, pci-arbiter, should have '$(task-resume)'; it then
resumes the following modules once it is ready.
I'll correct grub.cfg as follows, probably tomorrow (the ancient grub.cfg is below):
module /hurd/pci-arbiter.static pci-arbiter \
--host-priv-port='${host-port}' \
--device-master-port='${device-port}' \
--next-task='${acpi-task}' \
'$(pci-task=task-create)' '$(task-resume)'
module /hurd/acpi.static acpi \
--next-task='${disk-task}' \
'$(acpi-task=task-create)'
module /hurd/rumpdisk.static rumpdisk \
--next-task='${fs-task}' \
'$(disk-task=task-create)'
module /hurd/ext2fs.static ext2fs --readonly \
--multiboot-command-line='${kernel-command-line}' \
--exec-server-task='${exec-task}' \
-T typed '${root}' \
'$(fs-task=task-create)'
module /lib/ld-x86-64.so.1 exec /hurd/exec '$(exec-task=task-create)'
I am going to reboot and test this corrected configuration and I will
report the result, including the console output after:
start pci-arbiter:
start acpi:
start rumpdisk:
start ext2fs:
Thank you also for clarifying that the glibc/GPT fix is not relevant in my
case, since my Hurd disk uses an MBR/msdos partition table and ext2.
Fyi, the actual (bad) grub.cfg:
$ cat grubcfg-actual.txt
set default=0
set timeout=5
menuentry "Debian GNU/Hurd amd64" --class gnu --class os {
search --set=root --file /boot/gnumach.gz
echo 'Loading GNU Mach ...'
multiboot /boot/gnumach.gz root=part:1:device:sda1
echo 'Loading the Hurd ...'
module /hurd/pci-arbiter.static pci-arbiter \
--host-priv-port='${host-port}' \
--device-master-port='${device-port}' \
--next-task='${acpi-task}' \
'(pci-task=task-create)''(task-resume)'
module /hurd/acpi.static acpi \
--next-task='${disk-task}' \
'(acpi-task=task-create)''(task-resume)'
module /hurd/rumpdisk.static rumpdisk \
--next-task='${fs-task}' \
'(disk-task=task-create)''(task-resume)'
module /hurd/ext2fs.static ext2fs --readonly \
--multiboot-command-line='${kernel-command-line}' \
--exec-server-task='${exec-task}' \
-T typed '${root}' \
'(fs-task=task-create)''(task-resume)'
module /lib/ld-x86-64.so.1 exec /hurd/exec '$(exec-task=task-create)'
}
~leog
El 19 de noviembre de 2026 6:50:37 a. m. UTC, David Kahurani <k.ka…@gmail.com> escribió:
>On Thu, Nov 19, 2026 at 3:04 AM Samuel Thibault <sthi…@debian.org> wrote:
>>
>> Hello,
>>
>> leog, le mer. 18 nov. 2026 10:13:44 -0300, a ecrit:
>> > After correcting the GRUB configuration to load pci-arbiter, acpi, rumpdisk, ext2fs and exec, the boot advances further. GNU Mach starts, the five multiboot modules are loaded, and the console reaches:
>> >
>> > start pci-arbiter:
>> > start acpi:
>> > start rumpdisk:
>> > start ext2fs:
>> >
>> > Then the system hangs. There is no panic message, no further console output, and it never reaches a login prompt or native-install.
>>
>> We would need to see your grub.cfg. This looks like a very early startup
>> lockup, way before any kind of driver gets to start. Without seeing your
>> grub.cfg, we can't tell.
>>
>> David Kahurani, le mer. 18 nov. 2026 16:30:05 +0300, a ecrit:
>> > For instance, I wouldn't be surprised if ACPI is supposed to configure
>> > before everything else but since you did get this running elsewhere,
>>
>> See an existing grub.cfg on a working system: it's pci-arbiter first,
>> then acpi, then rumpdisk. Pci-arbiter itself doesn't print anything, but
>> acpi would if it was getting started.
>
>I don't like dwelling on the ... "...try this, try that..." but the
>best thing, would, obviously be to import a working configuration.
>
>>
>> Michael Kelly, le mer. 18 nov. 2026 14:09:56 +0000, a ecrit:
>> > On 18/11/2026 13:13, leog wrote:
>> > > Hello,
>> > >
>> > > I am trying to install Debian GNU/Hurd amd64 on real hardware because I would like to contribute to the Hurd/Mach project, especially by testing the port on relatively modern hardware and documenting the results.
>> > >
>> > > My hardware is a Lenovo ThinkPad T440p (20AWA1KLAR) with an Intel Core i5-4210M, Intel QM87 chipset, 12 GiB RAM, and a 232.9 GiB SATA HDD (Hitachi HTS545025B9A300). The host system is Devuan GNU/Linux 6 Excalibur with kernel 6.12.116+deb13-amd64. The UEFI BIOS is GLETA2WW (2.56) and the Embedded Controller is GLHT30WW (1.13).
>> >
>> > Are you booting from a native UEFI or does this UEFI offer a legacy BIOS
>> > compatibility option that you are using? I'm surprised that you see any
>> > output at all if using a native UEFI. I am in the process of adding UEFI
>> > support but until then you shouldn't see any output at all beyond that
>> > produced from the boot loader.
>> >
>> > Are you using a gpt partitioned disk? If so, then ext2fs requires a fix in
>> > glibc which is in the git source but not released as a .deb yet, as far as
>> > I know.
>> >
>> > This is the glibc commit:
>> >
>> > 30f988fbe79552042c5afca477d2e73d0a2d3d9e
>> >
>> > hurd: support calls to getuid before _hurd_ports is initialised
>>
>> Ah, I didn't remember to port it to the debian package. Now done so for
>> coming glibc 2.43-8 upload.
>>
>> leog, le mer. 18 nov. 2026 18:13:05 +0300, a ecrit:
>> > The kernel command line is:
>> >
>> > root=part:1:device:sda1
>>
>> Does the kernel detect your disk as sda? If so, you don't even need to
>> put the pci-arbiter/acpi/rumpdisk modules, you can directly put ext2fs.
>>
>> That being said, the startup hang you get might still prevent ext2fs
>> from starting.
>>
>> > Could you suggest a way to obtain more diagnostic output from rumpdisk or
>> > ext2fs during early boot on real hardware?
>>
>> Here it's just not even starting, you would see some output otherwise.
>>
>> Michael Kelly, le mer. 18 nov. 2026 20:42:37 +0000, a ecrit:
>> > On 18/11/2026 15:13, leog wrote:
>> > > My current GRUB entry is based on the current GRUB Hurd template and loads:
>> > >
>> > > pci-arbiter
>> > > acpi
>> > > rumpdisk
>> > > ext2fs
>> > > exec
>> > >
>> > > The kernel command line is:
>> > >
>> > > root=part:1:device:sda1
>> > >
>> > > The boot reaches:
>> > >
>> > > start pci-arbiter:
>> > > start acpi:
>> > > start rumpdisk:
>> > > start ext2fs:
>> >
>> > Does your grub.cfg have '$(task-resume)' associated with several module
>> > descriptions? I see this only within pci-arbiter in my configuration file.
>>
>> Again, look at a working system: only the first module needs a
>> $(task-resume), it will resume the next modules once it's ready.
>>
>> With regards,
>> Samuel
>