Date: Thu, 21 Feb 2013 15:01:54 -0800 From: Navdeep Parhar <nparhar@gmail.com> To: Daniel O'Connor <doconnor@gsoft.com.au> Cc: freebsd-stable@freebsd.org, John Baldwin <jhb@freebsd.org> Subject: Re: IPMI serial console Message-ID: <5126A762.3060209@gmail.com> In-Reply-To: <64293C7A-038A-4EA1-B394-9E80CFCBC14F@gsoft.com.au> References: <00CC60B5-A6EB-4A3C-B8AC-1D60014DE442@gsoft.com.au> <201302211049.13863.jhb@freebsd.org> <E44ABF7A-3795-471B-B241-7103ECE2119E@gsoft.com.au> <51269ABD.2040308@gmail.com> <2AF6F8E4-A45E-4D4C-9232-FF09AD4A3641@gsoft.com.au> <5126A3A1.1030208@gmail.com> <64293C7A-038A-4EA1-B394-9E80CFCBC14F@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/21/13 14:48, Daniel O'Connor wrote: > > On 22/02/2013, at 9:15, Navdeep Parhar <nparhar@gmail.com> wrote: >>> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 on acpi0 >>> uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 >>> uart2: <16550 or compatible> port 0x3e8-0x3ef irq 5 flags 0x30 on acpi0 >>> >>> The loader talks on the serial console fine, it's the kernel that doesn't use it which is the problem. >> >> And what do you see in kenv | egrep 'uart|com' ? > > comconsole_port="0x3e8" > comconsole_speed="115200" > hint.uart.0.at="isa" > hint.uart.0.flags="0x00" > hint.uart.0.irq="4" > hint.uart.0.port="0x3F8" > hint.uart.1.at="isa" > hint.uart.1.flags="0x00" > hint.uart.1.irq="3" > hint.uart.1.port="0x2F8" > hint.uart.2.flags="0x30" > menu_command[1]="boot" > menu_command[2]="goto_prompt" > menu_command[4]="toggle_acpi" > menu_command[5]="toggle_safemode" > menu_command[6]="toggle_singleuser" > menu_command[7]="toggle_verbose" > menu_timeout_command="boot" No hw.uart.console, hmmm. It may be time to put some printf's in comc_setup() in boot/i386/libi386/comconsole.c and see what's up. One last thing before you take that route: if you create an environment variable named hw.uart.console in loader.conf (set it to anything), do you at least see it getting unset? That'll tell you whether comc_setup() even ran.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5126A762.3060209>