From owner-freebsd-proliant@FreeBSD.ORG Wed Oct 10 10:43:53 2007 Return-Path: Delivered-To: freebsd-proliant@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FF6E16A417 for ; Wed, 10 Oct 2007 10:43:53 +0000 (UTC) (envelope-from anders@FreeBSD.org) Received: from fupp.net (totem.fix.no [80.91.36.20]) by mx1.freebsd.org (Postfix) with ESMTP id 2E7F313C4B0 for ; Wed, 10 Oct 2007 10:43:53 +0000 (UTC) (envelope-from anders@FreeBSD.org) Received: from localhost (totem.fix.no [80.91.36.20]) by fupp.net (Postfix) with ESMTP id B586F8D991A; Wed, 10 Oct 2007 12:25:40 +0200 (CEST) Received: from fupp.net ([80.91.36.20]) by localhost (totem.fix.no [80.91.36.20]) (amavisd-new, port 10024) with LMTP id gFzgVMWwf8+Q; Wed, 10 Oct 2007 12:25:40 +0200 (CEST) Received: by fupp.net (Postfix, from userid 1000) id 3D5C48D98E6; Wed, 10 Oct 2007 12:25:40 +0200 (CEST) Date: Wed, 10 Oct 2007 12:25:40 +0200 From: Anders Nordby To: jmc Message-ID: <20071010102540.GA17495@fupp.net> References: <20070522133120.GA80289@fupp.net> <6863f0c90705220736q7f523910pd1f340cd67f3b90f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6863f0c90705220736q7f523910pd1f340cd67f3b90f@mail.gmail.com> X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 User-Agent: Mutt/1.5.11 Cc: freebsd-proliant@FreeBSD.org Subject: Re: Using Virtual Serial Port on COM1 X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Oct 2007 10:43:53 -0000 Hi, I tried this again, and it is only partly working. First, I: 1) Set in the BIOS: SET CONFIG EMS CONSOLE 1 (=> DISABLED) SET CONFIG EMBEDDED SERIAL PORT 2 (=> COM2) SET CONFIG VIRTUAL SERIAL PORT 1 (=> COM1) SET CONFIG BIOS SERIAL CONSOLE BAUD RATE 9600 SET CONFIG BIOS SERIAL CONSOLE PORT 3 (=> COM2) 2) Enable ttyd0 in /etc/ttys with vt100 emulation: ttyd0 "/usr/libexec/getty std.9600" vt100 on secure 3) Set the boot loader to use serial port: echo '-h' >/boot.config Then I get the BIOS, the bootloader and the kernel output. However, once booted, the system then only sees one serial port: root@cache12:/etc# grep ^sio /var/run/dmesg.boot sio0: configured irq 3 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 3 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 sio0: type 16550A, console sio0: [FILTER] It does not give me a login prompt, instead it gives that on the physical serial port! I want everything to be on the vsp. Enabling the EMS console on either port did not help. You can download acpidump -dt output from http://anders.fupp.net/test/acpidump-vsp-com1.txt. Any clues? On Tue, May 22, 2007 at 09:36:03AM -0500, jmc wrote: > It looks like the VSP is not getting described in ACPI when configured > the way you have it. Have you tried Enabling EMS Console? Perhaps > that will cause VSP to be enabled in ACPI. > > On 5/22/07, Anders Nordby wrote: > >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: 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. > >_______________________________________________ > >freebsd-proliant@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-proliant > >To unsubscribe, send any mail to "freebsd-proliant-unsubscribe@freebsd.org" > > -- Anders.