From owner-freebsd-questions@FreeBSD.ORG Wed Jun 13 10:33:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43D4F106564A for ; Wed, 13 Jun 2012 10:33:43 +0000 (UTC) (envelope-from ihsan.junaidi@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 137228FC0A for ; Wed, 13 Jun 2012 10:33:43 +0000 (UTC) Received: by dacx6 with SMTP id x6so964820dac.17 for ; Wed, 13 Jun 2012 03:33:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=IkEwIUrc0ttAnOiO6hlBS92E2YPoaTqBEjFv9BRqugQ=; b=JIs+Bzent96sKWUgPJZ81BUUqiCvI2ge847/0yYX/sVeSbesKRYQbRBcPLvQSFSbFB C738K8S1c0gypzdHUPwYQfo9WUb2+OUWQOGfy8zNXIh2PlqFEzBgcLeEt0QcMSqbDZQ1 LdtclMEjmTmkD6wo5qo1T37p1MGnFSa8Elgmui+GhL34ZZD04X8PvVglUq1kOn2H4uR0 uuZoAB80hfn0XrhIi3a0pleQ/LBxpm5TiLlTAmaDbNcNrdlzbsee5a83weyIRYiSQ19C Xi6KUNkF+2nT8YB4yFyK959zRUzPmpIg2kc7YreT3icv13PAfDsIYZqcAxFDlz/nLjRl cIUA== Received: by 10.68.227.36 with SMTP id rx4mr48779398pbc.144.1339583622367; Wed, 13 Jun 2012 03:33:42 -0700 (PDT) Received: from cempaka.lan ([175.142.137.127]) by mx.google.com with ESMTPS id tz10sm5314308pbc.64.2012.06.13.03.33.39 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Jun 2012 03:33:41 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1278) From: Ihsan Junaidi Ibrahim In-Reply-To: <5AA101A1-CE57-4F41-A6F1-4049367FBC6D@gmail.com> Date: Wed, 13 Jun 2012 18:33:36 +0800 Content-Transfer-Encoding: quoted-printable Message-Id: <84702286-89A2-41AA-B004-0B26EA5B11CD@gmail.com> References: <5AA101A1-CE57-4F41-A6F1-4049367FBC6D@gmail.com> To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1278) Subject: Re: IPMI SoL oddity on 9.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2012 10:33:43 -0000 I've managed to get SoL to work. Turned out the IPMI is utilizing uart2 on my box so modified loader.conf = so uart2 is configured to be the serial console port. hint.uart.0.flags=3D"0x0" hint.uart.2.at=3D"isa" hint.uart.2.port=3D"0x3E8" hint.uart.2.irq=3D"10" hint.uart.2.flags=3D"0x10" The handbook does not seem to indicate this very clearly but well, now = that it's working, I'm a happy man. ihsan On Jun 13, 2012, at 5:53 AM, Ihsan Junaidi Ibrahim wrote: > Folks, >=20 > I'm hitting a roadblock on getting IPMI SoL up and running on my = Supermicro box. It's a X9SCL-F with a dedicated IPMI LAN. >=20 > I've installed ipmitool and set the necessary console redirects (COM1, = COM2 and SoL) in the BIOS. The new AMI BIOS does not seem to indicate = the SoL is sharing resources with either one of the two COM ports. All 3 = redirect speed is 9600. >=20 > Serial console works, as far as COM ports are concerned. The BIOS, the = boot, loader, kernel messages and TTY are all redirected to the COMs. >=20 > However SoL only works with the BIOS, boot and reading loader = defaults. >=20 > It will get stuck once it enters the spinning kernel boot and it will = stay there. >=20 > I've tried playing with 0x10 uart flags in device.hints alternating = between uart0 and uart1 also to no available in hoping that the SoL port = is sharing with either one of the two COMs. >=20 > Regardless SoL simply will not work entering the kernel onwards. >=20 > Attached are what I believe the configs relevant to my problem. >=20 > inf02-kul# cat /boot.config=20 > -P >=20 > inf02-kul# cat /boot/loader.conf=20 > autoboot_delay=3D"1" > console=3D"comconsole" > boot_serial=3D"" > boot_multicons=3D"" >=20 > inf02-kul# grep uart /var/run/dmesg.boot=20 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on = acpi0 > uart0: console (9600,n,8,1) > uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 > uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 on acpi0 >=20 > inf02-kul# grep ttyu /etc/ttys=20 > ttyu0 "/usr/libexec/getty std.9600" vt100 on secure > ttyu1 "/usr/libexec/getty std.9600" vt100 on secure > ttyu2 "/usr/libexec/getty std.9600" vt100 on secure > ttyu3 "/usr/libexec/getty std.9600" dialup off secure >=20 > inf02-kul# ipmitool sol info > Set in progress : set-complete > Enabled : true > Force Encryption : false > Force Authentication : false > Privilege Level : USER > Character Accumulate Level (ms) : 5 > Character Send Threshold : 1 > Retry Count : 0 > Retry Interval (ms) : 0 > Volatile Bit Rate (kbps) : 9.6 > Non-Volatile Bit Rate (kbps) : 9.6 > Payload Channel : 1 (0x01) > Payload Port : 623 >=20 > inf02-kul# cat /var/run/dmesg.boot=20 > Copyright (c) 1992-2012 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 > The Regents of the University of California. All rights = reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC = amd64 > CPU: Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (3292.59-MHz K8-class = CPU) > Origin =3D "GenuineIntel" Id =3D 0x306a9 Family =3D 6 Model =3D 3a = Stepping =3D 9 > = Features=3D0xbfebfbff > = Features2=3D0x77bae3ff> > AMD Features=3D0x28100800 > AMD Features2=3D0x1 > TSC: P-state invariant, performance statistics > real memory =3D 8589934592 (8192 MB) > avail memory =3D 8219156480 (7838 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs > FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 2 > cpu3 (AP): APIC ID: 3 > cpu4 (AP): APIC ID: 4 > cpu5 (AP): APIC ID: 5 > cpu6 (AP): APIC ID: 6 > cpu7 (AP): APIC ID: 7 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: Power Button (fixed) > acpi0: reservation of 67, 1 (4) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > cpu0: on acpi0 > cpu1: on acpi0 > cpu2: on acpi0 > cpu3: on acpi0 > cpu4: on acpi0 > cpu5: on acpi0 > cpu6: on acpi0 > cpu7: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 16 at device 1.0 on pci0 > pci1: on pcib1 > pcib2: irq 16 at device 1.1 on pci0 > pci2: on pcib2 > igb0: port = 0xe020-0xe03f mem = 0xf7a20000-0xf7a3ffff,0xf7800000-0xf79fffff,0xf7a44000-0xf7a47fff irq 17 = at device 0.0 on pci2 > igb0: Using MSIX interrupts with 5 vectors > igb0: Ethernet address: 00:25:90:6c:25:00 > igb1: port = 0xe000-0xe01f mem = 0xf7a00000-0xf7a1ffff,0xf7400000-0xf75fffff,0xf7a40000-0xf7a43fff irq 18 = at device 0.1 on pci2 > igb1: Using MSIX interrupts with 5 vectors > igb1: Ethernet address: 00:25:90:6c:25:01 > em0: port 0xf020-0xf03f = mem 0xf7100000-0xf711ffff,0xf7125000-0xf7125fff irq 20 at device 25.0 on = pci0 > em0: Using an MSI interrupt > em0: Setup of Shared code failed > device_attach: em0 attach returned 6 > ehci0: mem 0xf7124000-0xf71243ff = irq 16 at device 26.0 on pci0 > usbus0: EHCI version 1.0 > usbus0: on ehci0 > pcib3: irq 16 at device 28.0 on pci0 > pci3: on pcib3 > pcib4: irq 16 at device 28.4 on pci0 > pci4: on pcib4 > em1: port 0xd000-0xd01f = mem 0xf7c00000-0xf7c1ffff,0xf7c20000-0xf7c23fff irq 16 at device 0.0 on = pci4 > em1: Using MSIX interrupts with 3 vectors > em1: Ethernet address: 00:25:90:77:35:08 > ehci1: mem 0xf7123000-0xf71233ff = irq 23 at device 29.0 on pci0 > usbus1: EHCI version 1.0 > usbus1: on ehci1 > pcib5: at device 30.0 on pci0 > pci5: on pcib5 > vgapci0: mem = 0xf5000000-0xf5ffffff,0xf7000000-0xf7003fff,0xf6800000-0xf6ffffff irq 19 = at device 3.0 on pci5 > isab0: at device 31.0 on pci0 > isa0: on isab0 > ahci0: port = 0xf070-0xf077,0xf060-0xf063,0xf050-0xf057,0xf040-0xf043,0xf000-0xf01f = mem 0xf7122000-0xf71227ff irq 19 at device 31.2 on pci0 > ahci0: AHCI v1.30 with 6 3Gbps ports, Port Multiplier not supported > ahcich0: at channel 0 on ahci0 > ahcich1: at channel 1 on ahci0 > ahcich2: at channel 2 on ahci0 > ahcich3: at channel 3 on ahci0 > ahcich4: at channel 4 on ahci0 > ahcich5: at channel 5 on ahci0 > pci0: at device 31.3 (no driver attached) > acpi_button0: on acpi0 > acpi_tz0: on acpi0 > acpi_tz1: on acpi0 > hpet0: iomem 0xfed00000-0xfed003ff on = acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 950 > Event timer "HPET" frequency 14318180 Hz quality 550 > atrtc0: port 0x70-0x77 irq 8 on acpi0 > atrtc0: Warning: Couldn't map I/O. > Event timer "RTC" frequency 32768 Hz quality 0 > attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on = acpi0 > uart0: console (9600,n,8,1) > uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 > uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 on acpi0 > ipmi0: port 0xca2,0xca3 on acpi0 > ipmi0: KCS mode found at io 0xca2 on acpi > ipmi1: on isa0 > device_attach: ipmi1 attach returned 16 > ipmi1: on isa0 > device_attach: ipmi1 attach returned 16 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=3D0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on = isa0 > ppc0: cannot reserve I/O port range > est0: on cpu0 > p4tcc0: on cpu0 > est1: on cpu1 > p4tcc1: on cpu1 > est2: on cpu2 > p4tcc2: on cpu2 > est3: on cpu3 > p4tcc3: on cpu3 > est4: on cpu4 > p4tcc4: on cpu4 > est5: on cpu5 > p4tcc5: on cpu5 > est6: on cpu6 > p4tcc6: on cpu6 > est7: on cpu7 > p4tcc7: on cpu7 > Timecounters tick every 1.000 msec > usbus0: 480Mbps High Speed USB v2.0 > usbus1: 480Mbps High Speed USB v2.0 > ugen0.1: at usbus0 > uhub0: on = usbus0 > ugen1.1: at usbus1 > uhub1: on = usbus1 > ipmi0: IPMI device rev. 1, firmware rev. 1.64, version 2.0 > ipmi0: Number of channels 2 > ipmi0: Attached watchdog > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > ada0: ATA-8 SATA 3.x device > ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > ada0: Command Queueing enabled > ada0: 57241MB (117231408 512 byte sectors: 16H 63S/T 16383C) > ada0: Previously was known as ad4 > ada1 at ahcich2 bus 0 scbus2 target 0 lun 0 > ada1: ATA-8 SATA 2.x device > ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > ada1: Command Queueing enabled > ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) > ada1: Previously was known as ad8 > SMP: AP CPU #1 Launched! > SMP: AP CPU #6 Launched! > SMP: AP CPU #5 Launched! > SMP: AP CPU #4 Launched! > SMP: AP CPU #7 Launched! > SMP: AP CPU #2 Launched! > SMP: AP CPU #3 Launched! > uhub0: 2 ports with 2 removable, self powered > uhub1: 2 ports with 2 removable, self powered > Root mount waiting for: usbus1 usbus0 > ugen0.2: at usbus0 > uhub2: on usbus0 > ugen1.2: at usbus1 > uhub3: on usbus1 > Root mount waiting for: usbus1 usbus0 > uhub2: 6 ports with 6 removable, self powered > uhub3: 6 ports with 6 removable, self powered > ugen0.3: at usbus0 > ums0: on usbus0 > ums0: 3 buttons and [Z] coordinates ID=3D0 > ukbd0: on usbus0 > kbd2 at ukbd0 > Trying to mount root from ufs:/dev/ada0p2 [rw]...