DragonFly users List (threaded) for 2010-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: dumpon
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?
Pierre
--
When a barnacle settles down, its brain disintegrates.
Já não percebe nada, já não percebe nada.
- Follow-Ups:
- Re: dumpon
- From: Matthew Dillon <dillon@apollo.backplane.com>
- References:
- dumpon
- From: Pierre Abbat <phma@phma.optus.nu>
- Re: dumpon
- From: Pierre Abbat <phma@phma.optus.nu>
- Re: dumpon
- From: Matthew Dillon <dillon@apollo.backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]