tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Forcing a serial console for the kernel

On Mar 28, 2010, at 8:25 AM, Thor Lancelot Simon wrote:

On Sat, Mar 27, 2010 at 09:25:25PM -0700, STEPHEN JONES, W0TTY wrote:

options        CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=9600

Are you sure you want 2f8? On typical PCs the serial ports start at 3f8
and 2f8 is the second one, isn't it?

I believe that was from GENERIC.  On the new system I'm building that is
the console port but on the system I'm trying to upgrade the addr is 0x3f8

If your system has serial BIOS, it is probably hiding the first serial
port from the bootblocks so they don't automatically detect it.  This
is a change you need to make to the bootblocks -- not the kernel.  Try
installboot (possibly with -e depending on your application) -o console=com0 -o ioaddr=0x3f8 -o speed=9600. The "ioaddr=" option forces the bootblocks
to detect the serial port even though the BIOS claims it's not there.

Unfortunately this is a 2.0 (GOJU.RYU.COM) system which does not seem to have the ioaddr option for installboot. That being said, it boots the GENERIC GOJU.RYU.COM kernel with the serial console and bootblock as is .. but not the 5.0.2 netbsd-INSTALL

Home | Main Index | Thread Index | Old Index