Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 2004 18:52:36 -0800 (PST)
From:      Cheng Jin <chengjin@cs.caltech.edu>
To:        freebsd-questions@freebsd.org
Subject:   kernel config sio with flag 0x80
Message-ID:  <Pine.LNX.4.44.0401061845450.22408-100000@orchestra.cs.caltech.edu>

next in thread | raw e-mail | index | archive | help
Hi, all

I am having problems trying to config my 5.0-Release kernel for remote 
debugging.

from the handbook below,

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html

it seems to be as simple as adding a line like

"device          sio0     at isa? port IO_COM1 flags 0x80 irq 4"

and  "options DDB" to the kernel config file, except sio0 line doesnt 
actually work.

when i tried config -g, it complains about

"devices with zero units are not likely to be correct"

I tried different combos such as leaving out device numbers with 
only flags.  I also looked around the web and FreeBSD mailinglist but 
didnt find anything helpful.  Is there a different way of enabling serial 
console for debugging?  

It also seems that the documentation on kernel config has gotten much 
worse since the 2.* days.  Where was the helpful LINT file that explained 
all the options correctly?

Thanks,

Cheng



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0401061845450.22408-100000>