All, I'm pulling my hair out on this one! Can't get the serial console to work with nanoBSD, either 7.2-p4 or 7-STABLE. A 8.0 nanoBSD image works fine (which I have not created myself). The symptom is that all kernel output goes to VGA. Whatever I do. This happens in VMware Player (where I actually see the VGA output) and on my ALIX (Soekris-like) board (which does not have a VGA card). boot0 is boot0sio, boot.config contains -h and the loader works fine over the serial port. console=comconsole there so that should work, right? No, because still my kernel outputs everything to VGA... I'm using the sio device. Even tried putting flags on 0x30 -> no difference at all. Tried the uart device and removing sio from my kernel but that resulted in having NO serial ports at all... Any help is much appreciated! Sven
> All, > > I'm pulling my hair out on this one! Can't get the serial console to > work with nanoBSD, either 7.2-p4 or 7-STABLE. A 8.0 nanoBSD image > works fine (which I have not created myself). The symptom is that all > kernel output goes to VGA. Whatever I do. This happens in VMware > Player (where I actually see the VGA output) and on my ALIX > (Soekris-like) board (which does not have a VGA card). > > boot0 is boot0sio, boot.config contains -h and the loader works fine > over the serial port. console=comconsole there so that should work, > right? No, because still my kernel outputs everything to VGA... > > I'm using the sio device. Even tried putting flags on 0x30 -> no > difference at all. Tried the uart device and removing sio from my > kernel but that resulted in having NO serial ports at all... > > Any help is much appreciated! > > Svenhi, put hint.uart.0.flags="0x10" in /boot/device.hints, or better, make sure you have an updated one from /sys/i386/conf/GENERIC.hints another thing, make sure the speed/bauds is correct, else you probably wont see any output either in /boot/loader.conf you need console="comconsole,vidconsole" and comconsole_speed="115200" to set the speed. to get a login you will need, in /etc/ttys: ttyu0 "/usr/libexec/getty 3wire.115200" dialup on secure hope this helps danny
On Mon, Nov 9, 2009 at 18:52, Sven Hazejager <sven@hazejager.nl> wrote:> I'm pulling my hair out on this one! Can't get the serial console to > work with nanoBSD, either 7.2-p4 or 7-STABLE. A 8.0 nanoBSD image > works fine (which I have not created myself). The symptom is that all > kernel output goes to VGA. Whatever I do. This happens in VMware > Player (where I actually see the VGA output) and on my ALIX > (Soekris-like) board (which does not have a VGA card).PROBLEM SOLVED! In an attempt to minimize FreeBSD for nanoBSD I had WITHOUT_FORTH=true in my /etc/src.conf. That apparently breaks the passing of boot flags to the kernel, which causes the kernel to use the VGA output even though boot.config has "-h" and console=comconsole in the loader. Thank you all for your comments and suggestions. Sven