dumpon
Pierre Abbat
phma at phma.optus.nu
Sat Feb 6 12:27:20 PST 2010
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.
More information about the Users
mailing list