From owner-freebsd-stable@FreeBSD.ORG Thu Feb 21 22:22:49 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 813BD52E; Thu, 21 Feb 2013 22:22:49 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by mx1.freebsd.org (Postfix) with ESMTP id 58A0DF4; Thu, 21 Feb 2013 22:22:49 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id kp6so76490pab.8 for ; Thu, 21 Feb 2013 14:22:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=VJE6PoCs8rH6kbrJsPIshrtNdWpEAFjRe2UV8MNtRAg=; b=a1Jp1WJLQIhgy6PbueCOPZzpPyE88xXHiwjrl8lWDUBw/a0QIQDN1dtYhNd0T+Oj/B ERtjiuzStqVtK8RFCLjWbNbghvpyK/VHXnxYYSZ7JyPmOR+TurSC4VXG7SiYZNT/d20U oeu5F83a4Qto9gEhYylD62pRb+aKphNESNM0MW8ZKaSS4/uovTghnz1oJxg5rdV2wT01 gyBeJlOha04nwbm3Bxp66lPw9j3iC6/1yBOLjZzx6nUEYHDK6ExCJ1iiYnz7XiO6P98l Ib+B19yna4A/E+LSBpdK8TzNnEF6jIIxrnvmkparwNFyZv+6OILpsn4Ia7JRP4N70dzQ QkIw== X-Received: by 10.66.122.74 with SMTP id lq10mr434049pab.189.1361485363507; Thu, 21 Feb 2013 14:22:43 -0800 (PST) Received: from [10.192.166.0] (stargate.chelsio.com. [67.207.112.58]) by mx.google.com with ESMTPS id b9sm101637pba.6.2013.02.21.14.22.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Feb 2013 14:22:42 -0800 (PST) Message-ID: <51269E31.5050705@gmail.com> Date: Thu, 21 Feb 2013 14:22:41 -0800 From: Navdeep Parhar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130220 Thunderbird/17.0.3 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: IPMI serial console References: <00CC60B5-A6EB-4A3C-B8AC-1D60014DE442@gsoft.com.au> <201302211049.13863.jhb@freebsd.org> <51269ABD.2040308@gmail.com> <20130221221514.GD2598@kib.kiev.ua> In-Reply-To: <20130221221514.GD2598@kib.kiev.ua> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, John Baldwin X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 22:22:49 -0000 On 02/21/13 14:15, Konstantin Belousov wrote: > On Thu, Feb 21, 2013 at 02:07:57PM -0800, Navdeep Parhar wrote: >> On 02/21/13 13:56, Daniel O'Connor wrote: >>> >>> On 22/02/2013, at 2:19, John Baldwin wrote: >>>>> Does anyone have any hints? >>>> >>>> Rather than using all these hints, just use these three in loader.conf: >>>> >>>> console="comconsole vidconsole" >>>> console_speed=115200 >>>> console_port="0x" (where is the correct I/O port for COM3, 0x3e8 >>>> maybe?) >>> >>> >>> No dice :( >>> >>> I also tried booting with '-D -h -S 115200' but nothing either. >> >> What does "dmesg | grep uart" show? I have a PCI serial card whose >> serial port I'm using as a console. I had to setup comconsole_pcidev, >> comconsole_port, and comconsole_speed properly in loader.conf to get it >> to work. > > Do you need the comconsole_port if comconsole_pcidev is set properly ? > comconsole_port should be set automatically (i.e., read from the BAR) > if _pcidev is correct. > I just tried it -- it works without the comconsole_port. So yes, it's reading the port value automatically. (I see it in kenv and of course I can see that my console is working).