From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 21:53:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 573EA10656B8 for ; Tue, 12 Jun 2012 21:53:20 +0000 (UTC) (envelope-from ihsan.junaidi@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 20D508FC1B for ; Tue, 12 Jun 2012 21:53:20 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so1471778pbb.13 for ; Tue, 12 Jun 2012 14:53:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=38h9WlrXuaPmQgmPDdmZDKjMih75dly34yQ8I7oy3EU=; b=ZCGyPuant78i1SePK6WZzWmy6Z+9F7676FX0+3K9NQwsnnFE1M1ZfxsNX4t1nBb7LC HRxsYgJ8CD5pFeLvvkpKXKPqJBJ0tvbPV8/RXOFgfpFnu++JLq5yd0kPy1mZIuqz4z/X ZPj8QJF0NtaiD8QHE9dVKlsZo8b6FUBQeXCYrts8rvgtQsHnYRUTRvbPrJTaiPbENPw0 2v9C7OR1J+QfRC3zwCNQ/9T1CjNfIwvon+VL3rKLn/Sb0RjByh0SPiqlipjCfVEPkH3f Pbj/33vmxwjGut/HoJruxdJsd+Kt/eJc20ZdLhJZHRASmHRNA4fM7sQbO8xqXCXMtr8b W4Qw== Received: by 10.68.217.37 with SMTP id ov5mr33563355pbc.82.1339537999543; Tue, 12 Jun 2012 14:53:19 -0700 (PDT) Received: from cempaka.lan ([175.142.137.127]) by mx.google.com with ESMTPS id kg4sm3291190pbb.67.2012.06.12.14.53.16 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Jun 2012 14:53:18 -0700 (PDT) From: Ihsan Junaidi Ibrahim Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 13 Jun 2012 05:53:13 +0800 Message-Id: <5AA101A1-CE57-4F41-A6F1-4049367FBC6D@gmail.com> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) Subject: 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: Tue, 12 Jun 2012 21:53:20 -0000 Folks, 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. 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. 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. However SoL only works with the BIOS, boot and reading loader defaults. It will get stuck once it enters the spinning kernel boot and it will = stay there. 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. Regardless SoL simply will not work entering the kernel onwards. Attached are what I believe the configs relevant to my problem. inf02-kul# cat /boot.config=20 -P inf02-kul# cat /boot/loader.conf=20 autoboot_delay=3D"1" console=3D"comconsole" boot_serial=3D"" boot_multicons=3D"" 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 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 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 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]...=