Subject: Re: Moving ATADEBUG to kernel config file ?
To: Arnaud Lacombe <>
From: Steven M. Bellovin <>
List: tech-kern
Date: 03/28/2006 10:51:39
On Tue, 28 Mar 2006 17:27:18 +0200, Arnaud Lacombe
<> wrote:

> > 
> > You can change them with gdb --write and reboot (or use boot -d and
> > patch it from ddb). Most of the time the usefull messages are printed
> > before the kernel reaches single-user anyway ...
> yes, but that's what I'd like to avoid (ie. rebooting). Having a few
> sysctl to do this could be really useful and does not force a reboot.
> In fact, I'm trying to know what happen when I mount a partition from a
> CF card (and also what happen when I plug/unplug the card), thus, I need
> only a small window of time with debug enabled.
Indeed.  The times I've most needed ATADEBUG has been when dealing with
PCMCIA disks.

		--Steven M. Bellovin,