Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2007 15:31:20 +0200
From:      Anders Nordby <anders@FreeBSD.org>
To:        freebsd-proliant@FreeBSD.org
Subject:   Using Virtual Serial Port on COM1
Message-ID:  <20070522133120.GA80289@fupp.net>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070522133120.GA80289>