Subject: Re: setting up ddb on netbsd 1.6.1 (i386)
To: Bill Studenmund <wrstuden@netbsd.org>
From: Sambasiva Rao.B <bsrao@vxindia.veritas.com>
List: tech-kern
Date: 09/25/2003 11:57:33
Thanks every one Eduardo, Manuel and Bill.

i recompiled kernel with these options

CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600

later installboot with biosboot_com0.sym

Got into ddb with send brk/panic

Regards
Samba

On Wed, 24 Sep 2003, Bill Studenmund wrote:

> On Wed, 24 Sep 2003, Sambasiva Rao.B wrote:
>
> > Nope, changing these options to on/off didn't work.(tried all possible 4
> > options though)
>
> I'm sorry I was not clear. Changing these settings won't fix the problem.
> Once you have fixed the problem, you will want console-on and tty00-off.
>
> > On Wed, 24 Sep 2003, Bill Studenmund wrote:
> >
> > > On Wed, 24 Sep 2003, Sambasiva Rao.B wrote:
> > >
> > > > But on a serial console, sending break not taking into ddb. Does it have
> > > > any thing to do with ttys settings? I have these settings
> > > >
> > > > console "/usr/libexec/getty Pc" vt100 off secure
> > > >
> > > > tty00 "/usr/libexec/getty std.9600" vt100 on secure local
> > >
> > > Yes, in that your settings indicate that the kernel doesn't think you have
> > > a serial console. Yes, there's a serial terminal, but not console. i.e.
> > > with the tty00 line off and the console line on, output goes out the
> > > serial port.
> > >
> > > Look at the boot blocks. For 1.6, I think there were special serial
> > > console ones.
>
> As others have mentioned, look at the boot blocks, and installboot. For
> 1.6.X on i386, I think you want to use the /usr/mdec/biosboot_com0.sym
> boot blocks.
>
> Take care,
>
> Bill
>