bug-hurd
[Top][All Lists]
Advanced

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

Re: Guix hurd with rumpdisk boots! [WAS Re: Some progress, Guix rumpdisk


From: Joshua Branson
Subject: Re: Guix hurd with rumpdisk boots! [WAS Re: Some progress, Guix rumpdisk still crashes...]
Date: Thu, 18 May 2023 22:39:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu)

Joshua Branson <jbranso@dismail.de> writes:

> Janneke Nieuwenhuizen <janneke@gnu.org> writes:
>
>> Sergey Bugaev writes:
>>
>> Hello Sergey,
>>
>>> On Wed, May 17, 2023 at 9:25 PM Janneke Nieuwenhuizen
>>> <janneke@gnu.org> wrote:
>>
>>> I've recently been doing this kind of debugging early boot-up process
>>> *a lot*, so maybe I could provide some tips indeed. For getting more
>>> lines of output, try console=com0 on gnumach cmdline, and run qemu
>>> with -nographic -serial stdio or something like that.
>>

>>> Other than that, just attach gdb and see what it crashes on? Like this:
>>>
>>> $ gdb /path/to/gnumach
>>> (gdb) tar rem :1234
>>> (gdb) b i386_exception
>>> (gdb) b task_terminate
>>> (gdb) b Panic
>>> (gdb) add-symbol-file /path/to/rumpdisk.static
>>> blah-blah (y/n?) y
>>> (gdb) c
>>
>> [..]
>>
>> Ah, I had no idea; this is so helpful.  Maybe a good idea to have this
>> on the website/wiki, right?
>
> Yes it will be.  I will send a patch for it soon.  Adding it for my todo
> list.

Actually where should I add this on the wiki?   I think Samuel put some

Possibly here:

open_issues/debugging_gnumach_startup_qemu_gdb.html


>
>>
>> Greetings,
>> Janneke

-- 

Joshua Branson
Sent from the Hurd



reply via email to

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