Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2014 21:13:47 +0100
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Benjamin Kaduk" <kaduk@MIT.EDU>, =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez_Arauzo?= <fbl@aoek.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: What do you use for kernel debugging?
Message-ID:  <58FFAD0C5E82494D9C52C891FE3A2728@multiplay.co.uk>
References:  <20140928071641.M7664@beckpeccoz.com> <alpine.GSO.1.10.1409281553060.21571@multics.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Benjamin Kaduk" <kaduk@MIT.EDU>
To: "José Pérez Arauzo" <fbl@aoek.com>
Cc: "FreeBSD Current" <freebsd-current@freebsd.org>
Sent: Sunday, September 28, 2014 8:54 PM
Subject: Re: What do you use for kernel debugging?


> On Sun, 28 Sep 2014, José Pérez Arauzo wrote:
>
>> Hello,
>> I am trying to track down a (deadlock?) issue in CURRENT via DDB. The kernel does
>> not complete hw probes on my Acer V5.
>>
>> I get stuck on apic_isr looping which leads nowhere.
>>
>> So I thought maybe things improve if I debug from another machine.
>>
>>
>> What do you use for kernel debugging? According to the handbook kgdb over serial
>> is a good option, do you agree? I'm on a netbook with no ethernet and no option
>> for firewire: can I have a USB / nullmodem setup to work?
>
> You cannot.
>
>> I have no old-style uarts hardware anymore, as the handbook suggests...
>>
>> Any idea is welcome before I buy extra hw. I have a USB to serial showing up as
>> /dev/cuaU0, do I need to grab another one and a nullmodem cable or there are better
>> alternatives? Thank you.
>
> I'm not sure that there are alternatives at all, unfortunately.
>
> You may be reduced to debugging-via-printf.

dtrace can also be quite invaluable.

    Regards
    Steve 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58FFAD0C5E82494D9C52C891FE3A2728>