re: how do I preset ddb's LINES to zero

2023-12-16 Thread matthew green
> > try "options DB_MAX_LINE=0" in your kernel? > > Right. Unfortunately that fails the "without having to rebuild the > kernel" requirement :-) another option would be to use say, gdb :-), to change the value of the "db_max_line" variable from default of 24 to 0, and then boot that modified

Re: how do I preset ddb's LINES to zero

2023-12-16 Thread Andrew Cagney
On Fri, 15 Dec 2023 at 22:59, matthew green wrote: > > Andrew Cagney writes: > > > > thanks, I'll add that (it won't help with my immediate problem of a > > > > panic during boot though) > > > > > > From DDB command prompt "set $lines = 0" ... > > > > Um, the test framework's VM is stuck waiting

Re: how do I preset ddb's LINES to zero

2023-12-15 Thread tlaronde
On Sat, Dec 16, 2023 at 02:58:59PM +1100, matthew green wrote: > Andrew Cagney writes: > > > > thanks, I'll add that (it won't help with my immediate problem of a > > > > panic during boot though) > > > > > > From DDB command prompt "set $lines = 0" ... > > > > Um, the test framework's VM is stuck

re: how do I preset ddb's LINES to zero

2023-12-15 Thread matthew green
Andrew Cagney writes: > > > thanks, I'll add that (it won't help with my immediate problem of a > > > panic during boot though) > > > > From DDB command prompt "set $lines = 0" ... > > Um, the test framework's VM is stuck waiting for someone to hit the > space bar :-) > > I guess I could modify my

Re: how do I preset ddb's LINES to zero

2023-12-15 Thread Valery Ushakov
On Fri, Dec 15, 2023 at 11:19:39 -0500, Andrew Cagney wrote: > I've the stock 10.0 boot.iso booting within a KVM based test > framework. I'd like to set things up so that should there be a panic, > it dumps registers et.al., without stopping half way waiting for > someone to hit the space bar

Re: how do I preset ddb's LINES to zero

2023-12-15 Thread Andrew Cagney
> > thanks, I'll add that (it won't help with my immediate problem of a > > panic during boot though) > > From DDB command prompt "set $lines = 0" ... Um, the test framework's VM is stuck waiting for someone to hit the space bar :-) I guess I could modify my pexpect script to do just that, but I

Re: how do I preset ddb's LINES to zero

2023-12-15 Thread J. Hannken-Illjes
> On 15. Dec 2023, at 19:44, Andrew Cagney wrote: > > On Fri, 15 Dec 2023 at 11:22, J. Hannken-Illjes wrote: > >>> Is there a way to stop this without having to rebuild the kernel. >> >> sysctl -w ddb.lines=0 > > thanks, I'll add that (it won't help with my immediate problem of a > panic

Re: how do I preset ddb's LINES to zero

2023-12-15 Thread Andrew Cagney
On Fri, 15 Dec 2023 at 11:22, J. Hannken-Illjes wrote: > > Is there a way to stop this without having to rebuild the kernel. > > sysctl -w ddb.lines=0 thanks, I'll add that (it won't help with my immediate problem of a panic during boot though)

Re: how do I preset ddb's LINES to zero

2023-12-15 Thread J. Hannken-Illjes
> On 15. Dec 2023, at 17:19, Andrew Cagney wrote: > > Hi, > > I've the stock 10.0 boot.iso booting within a KVM based test > framework. I'd like to set things up so that should there be a panic, > it dumps registers et.al., without stopping half way waiting for > someone to hit the space bar