DragonFly BSD
DragonFly users List (threaded) for 2010-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: dumpon

From: Pierre Abbat <phma@xxxxxxxxxxxxx>
Date: Sat, 6 Feb 2010 15:24:32 -0500

On Saturday 06 February 2010 13:53:30 Matthew Dillon wrote:
>     Ah, that's why.  Kernel dumps don't work until the kernel has
>     booted into userland.
>     The only way to debug something that early is like with a
>     kgdb-over-serial setup, which takes a lot of messing around
>     to get working.
>     I think unless you want to try your hand at debugging kernels
>     by making code changes (adding kprintf()'s, etc), the best thing
>     to do is to boot without ACPI and move on.  Maybe try putting this
>     in your /boot/loader.conf:

It's a laptop, and without ACPI I have no way to tell how low the battery is. 
I know about debugging with printf, so I'd like to try that, if I can find a 
few spare hours. What file should I put the kprintf in? Do I have to connect 
a serial cable to see what kprintf says?

When a barnacle settles down, its brain disintegrates.
Já não percebe nada, já não percebe nada.

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