tech-kern archive

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

Re: setting DDB_COMMANDONENTER="bt" by default



On 17/02/2018 10:52, Martin Husemann wrote:
> I wonder if we should create a ddb_set_console_lines() function
> which is an empty dummy if no ddb is compiled in. Then have the
> wscons driver call it when attaching the console with the actual
> number of lines. The function would subtrace a few lines (10?)
> and use that as default for the sysctl.
> 
> If no wscons console attaches, let's assume serial console and the
> whole problem is nonexistent (i.e. leave ddb.panicstackframes set
> to max).

Ok, I'll take a look.


Sevan


Home | Main Index | Thread Index | Old Index