bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A tale of bootstrap ld.so debugging


From: Ludovic Courtès
Subject: Re: A tale of bootstrap ld.so debugging
Date: Wed, 09 Nov 2011 15:59:27 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

Hi Roland,

Roland McGrath <roland@hack.frob.com> skribis:

> I think what we used to say was that you should try to do debugging with
> sub-hurds where the console port is faked with io ports (I think).

The thing is that I was debugging a system cross-built from scratch, so
sub-hurds were not an option.

> We definitely don't want to clutter up ld.so with stuff that is only
> for debugging early boot.  I think it would be better to have
> serverboot supply a trivial io server on the fd ports it hands to the
> initial processes, that translates to console device_write calls in a
> very simple way.

Here the ‘ld.so /hurd/exec’ command line comes from GRUB and is spawned
by Mach directly (serverboot has been deprecated for years and is no
longer in the repository.)

Adding a term server or similar in the early boot process seems tricky
and would probably require tweaking the boot process in diskfs, exec,
& co. in ugly ways, AIUI.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]