On 2009-02-12, Rene Gollent <anevilyak@xxxxxxxxx> wrote: > On Wed, Feb 11, 2009 at 8:37 PM, David McPaul <dlmcpaul@xxxxxxxxx> wrote: > > Here is another thought on this. > > > > What if we had a text file that the kernel reads on startup that > > contains a list of commands to automatically execute and write the > > results to the syslog when the debugger is called. > > The problem is, if you're in the kernel debugger then you're probably > there because of a panic, the implication of which is that something > went wrong in the kernel's state. Ergo there's no guarantee you can > actually write to the disk without corrupting the FS at that point > (since it may well be the disk or filesystem drivers that triggered > the panic state), so that's a somewhat dangerous idea. True, writing it all to the screen would be just as good. -- Cheers David