tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: how do I preset ddb's LINES to zero
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 waiting for someone to hit the
> > space bar :-)
> >
> > I guess I could modify my pexpect script to do just that, but I was
> > kind of hoping I could do something like add ddb.lines=0 to the boot
> > line.
>
> try "options DB_MAX_LINE=0" in your kernel?
>
> we have poor boot-command line support if you compare against
> say what linux can do.
>
I have added to userconf(4) (this has not been merged in NetBSD) support for "aliases"
(variables that can be macros), and patterns etc. Support has been added to config(1)
to generate "commands" to interpret by userconf(1) at start-up time
(userconf(4) interprets whatever has been added by config(1); then
whatever is passed by the bootloader; and then perhaps, enters an
interactive session if the -c flag was given; what is added via
config(1) is always interpreted).
It wouldn't be difficult to add in userconf(4) a command to set such parameters,
with then the possibility to add, at user will, "commands" to be
interpreted at start-up time via config(1); or passed by the bootloader; or written
in userconf(4) interactive session.
userconf(4), M.I., is the correct place to add these. And the majority
of the work has already been done to allow such extensions (see
https://github.com/tlaronde/BeSiDe for the code).
--
Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
http://www.kergis.com/
http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C
Home |
Main Index |
Thread Index |
Old Index