Subject: Re: KGDB
To: Mihai CHELARU <kefren@netbastards.org>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 09/05/2003 06:13:11
On Fri, 5 Sep 2003, Mihai CHELARU wrote:

> The cable is plugged now. I installed normal bootblocks on that machine. How
> can I switch easily to serial ? I compiled kernel with:
>
> options         CONSDEVNAME="\"com\"",CONADDR=0x3f8,CONSPEED=9600
> options         CONS_OVERRIDE
>
> but didn't help.

Does the machine ever make it into multi-user? If so,

  cd /usr/mdec
  ./installboot biosboot_com0.sym wd0 # or sd0

That's for 1.6.1. "installboot" has moved to "/sbin" in current. See
installboot(8). If the machine doesn't boot, you could download the
"boot_com" version of the serial sysinstall floppy and install the
bootblocks with that. In fact, you can make a floppy on another host
that has only the bootblocks -- see the man page -- and use that to
catch the boot prompt from your remote console.

> On Tuesday 02 September 2003 19:38, Frederick Bruckman wrote:
> >
> > Yes, as long as the serial bootblocks are installed. There's a serial
> > console on the box already? If the serial bootblocks aren't installed,
> > remote troubleshooting could be a lot more challenging (in other words,
> > practically impossible).

Frederick