Subject: Re: Debugging UVM
To: Julio M. Merino Vidal <firstname.lastname@example.org>
From: blue horn <email@example.com>
Date: 06/19/2006 12:20:42
I tried the following and none of it is working.
- Tried to open a second virtual console such that I
will be able to login. But the machine seems to sucked
into all those scrolling "green messages". I guess
that the machine has not been able to invoke
- I commented out /dev/console from
syslog.conf->reboot. No effect which is expected if
the kernel services have not been initialized.
Now here is my 2 cents questions (repeat):
What is a sane way of debugging UVM? or how does
the NetBSD developers normally debug core kernel
services such as UVM?
--- "Julio M. Merino Vidal" <firstname.lastname@example.org> wrote:
> On 6/19/06, blue horn <email@example.com> wrote:
> > Hi
> > I would like to print some messages to
> > /var/log/message file when certain events are
> > fired inside the uvm. So, I created a vanilla
> > with "options UVMHIST".
> > If I enable "options UVMHIST_PRINT", then all the
> > messages from the uvm starts printing; but I'm
> > able to login since the booting is not complete
> (as I
> > understand).
> Hmm, you see a lot of green messages but not the
> login prompt? If
> that's the case, it probably does not matter. The
> login prompt just
> scrolled out of the screen; blindly type your
> username and password
> and you should be able to log in, although in a
> quite unusable console
> if the amount of messages is huge.
> You can try to switch to the second virtual console
> and work from that.
> > So, my question is: How do I enable debugging the
> > (only my portion) by printing out messages to
> > /var/log/messages? Is there something simiar to
> > "printk" (as in Linux) in NetBSD?
> I think you can do that by tuning your syslog.conf
> file and telling it
> not to redirect kernel messages to the console. The
> configuration sends them to /var/log/messages too.
> Julio M. Merino Vidal <firstname.lastname@example.org>
> The Julipedia - http://julipedia.blogspot.com/
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around