Using Virtual Serial Port on COM1

Anders Nordby anders at FreeBSD.org
Tue May 22 13:51:39 UTC 2007


Hi,

To ease the configuration of the Virtual Serial Port, I was thinking the
best way to do it was to set up VSP on COM1, and have the external
serial port be COM2. In rbsu (this is on a DL 360 G5), I set this:

rbsu> SHOW CONFIG SCRIPT
(..)
SET CONFIG Embedded Serial Port COM 2; IRQ3; IO: 2F8h-2FFh
SET CONFIG Virtual Serial Port COM 1; IRQ4; IO: 3F8h-3FFh
SET CONFIG BIOS Serial Console Port COM 1; IRQ4; IO: 3F8h-3FFh
SET CONFIG BIOS Serial Console Baud Rate 9600
SET CONFIG EMS Console Disabled

Then, I only need to add a /boot.config with the -h option, to boot with
a serial console.

With this setup, the boot loader and kernel shows the output on the VSP
just fine. The terminal on ttyd0 does not show up however, I get no
login: prompt. In dmesg.boot, there is only:

sio0: <Standard PC COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0

How come the VSP COM1 port on 3f8 is not found? Did anyone run into
this?

If I set up VSP on COM2 as is the standard thing to do, everything works
fine. But then I have to recompile the boot loader (eeeew!).

Cheers,

-- 
Anders.


More information about the freebsd-proliant mailing list