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="0x0" hint.uart.2.at="isa" hint.uart.2.port="0x3E8" hint.uart.2.irq="10" hint.uart.2.flags="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, > > 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 > -P > > inf02-kul# cat /boot/loader.conf > autoboot_delay="1" > console="comconsole" > boot_serial="" > boot_multicons="" > > inf02-kul# grep uart /var/run/dmesg.boot > 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 > 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 > 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 > r...@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 = "GenuineIntel" Id = 0x306a9 Family = 6 Model = 3a Stepping = 9 > > Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > Features2=0x77bae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,AVX,F16C,<b30>> > AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM> > AMD Features2=0x1<LAHF> > TSC: P-state invariant, performance statistics > real memory = 8589934592 (8192 MB) > avail memory = 8219156480 (7838 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: <SUPERM SMCI--MB> > 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 <Version 2.0> irqs 0-23 on motherboard > kbd1 at kbdmux0 > acpi0: <SUPERM SMCI--MB> 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: <ACPI CPU> on acpi0 > cpu1: <ACPI CPU> on acpi0 > cpu2: <ACPI CPU> on acpi0 > cpu3: <ACPI CPU> on acpi0 > cpu4: <ACPI CPU> on acpi0 > cpu5: <ACPI CPU> on acpi0 > cpu6: <ACPI CPU> on acpi0 > cpu7: <ACPI CPU> on acpi0 > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 > pci0: <ACPI PCI bus> on pcib0 > pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0 > pci1: <ACPI PCI bus> on pcib1 > pcib2: <ACPI PCI-PCI bridge> irq 16 at device 1.1 on pci0 > pci2: <ACPI PCI bus> on pcib2 > igb0: <Intel(R) PRO/1000 Network Connection version - 2.2.5> 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: <Intel(R) PRO/1000 Network Connection version - 2.2.5> 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: <Intel(R) PRO/1000 Network Connection 7.2.3> 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: <EHCI (generic) USB 2.0 controller> mem 0xf7124000-0xf71243ff irq 16 > at device 26.0 on pci0 > usbus0: EHCI version 1.0 > usbus0: <EHCI (generic) USB 2.0 controller> on ehci0 > pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0 > pci3: <ACPI PCI bus> on pcib3 > pcib4: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0 > pci4: <ACPI PCI bus> on pcib4 > em1: <Intel(R) PRO/1000 Network Connection 7.2.3> 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: <EHCI (generic) USB 2.0 controller> mem 0xf7123000-0xf71233ff irq 23 > at device 29.0 on pci0 > usbus1: EHCI version 1.0 > usbus1: <EHCI (generic) USB 2.0 controller> on ehci1 > pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0 > pci5: <ACPI PCI bus> on pcib5 > vgapci0: <VGA-compatible display> mem > 0xf5000000-0xf5ffffff,0xf7000000-0xf7003fff,0xf6800000-0xf6ffffff irq 19 at > device 3.0 on pci5 > isab0: <PCI-ISA bridge> at device 31.0 on pci0 > isa0: <ISA bus> on isab0 > ahci0: <Intel Cougar Point AHCI SATA controller> 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: <AHCI channel> at channel 0 on ahci0 > ahcich1: <AHCI channel> at channel 1 on ahci0 > ahcich2: <AHCI channel> at channel 2 on ahci0 > ahcich3: <AHCI channel> at channel 3 on ahci0 > ahcich4: <AHCI channel> at channel 4 on ahci0 > ahcich5: <AHCI channel> at channel 5 on ahci0 > pci0: <serial bus, SMBus> at device 31.3 (no driver attached) > acpi_button0: <Power Button> on acpi0 > acpi_tz0: <Thermal Zone> on acpi0 > acpi_tz1: <Thermal Zone> on acpi0 > hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 950 > Event timer "HPET" frequency 14318180 Hz quality 550 > atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0 > atrtc0: Warning: Couldn't map I/O. > Event timer "RTC" frequency 32768 Hz quality 0 > attimer0: <AT timer> 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: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 > atkbd0: <AT Keyboard> 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: <IPMI System Interface> port 0xca2,0xca3 on acpi0 > ipmi0: KCS mode found at io 0xca2 on acpi > ipmi1: <IPMI System Interface> on isa0 > device_attach: ipmi1 attach returned 16 > ipmi1: <IPMI System Interface> on isa0 > device_attach: ipmi1 attach returned 16 > sc0: <System console> at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > ppc0: cannot reserve I/O port range > est0: <Enhanced SpeedStep Frequency Control> on cpu0 > p4tcc0: <CPU Frequency Thermal Control> on cpu0 > est1: <Enhanced SpeedStep Frequency Control> on cpu1 > p4tcc1: <CPU Frequency Thermal Control> on cpu1 > est2: <Enhanced SpeedStep Frequency Control> on cpu2 > p4tcc2: <CPU Frequency Thermal Control> on cpu2 > est3: <Enhanced SpeedStep Frequency Control> on cpu3 > p4tcc3: <CPU Frequency Thermal Control> on cpu3 > est4: <Enhanced SpeedStep Frequency Control> on cpu4 > p4tcc4: <CPU Frequency Thermal Control> on cpu4 > est5: <Enhanced SpeedStep Frequency Control> on cpu5 > p4tcc5: <CPU Frequency Thermal Control> on cpu5 > est6: <Enhanced SpeedStep Frequency Control> on cpu6 > p4tcc6: <CPU Frequency Thermal Control> on cpu6 > est7: <Enhanced SpeedStep Frequency Control> on cpu7 > p4tcc7: <CPU Frequency Thermal Control> on cpu7 > Timecounters tick every 1.000 msec > usbus0: 480Mbps High Speed USB v2.0 > usbus1: 480Mbps High Speed USB v2.0 > ugen0.1: <Intel> at usbus0 > uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0 > ugen1.1: <Intel> at usbus1 > uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> 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: <KINGSTON SVP200S360G 501ABBF0> 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: <WDC WD5003ABYX-01WERA1 01.01S02> 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: <vendor 0x8087> at usbus0 > uhub2: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2> on > usbus0 > ugen1.2: <vendor 0x8087> at usbus1 > uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2> 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: <Winbond Electronics Corp> at usbus0 > ums0: <Winbond Electronics Corp Hermon USB hidmouse Device, class 0/0, rev > 1.10/0.01, addr 3> on usbus0 > ums0: 3 buttons and [Z] coordinates ID=0 > ukbd0: <Winbond Electronics Corp Hermon USB hidmouse Device, class 0/0, rev > 1.10/0.01, addr 3> on usbus0 > kbd2 at ukbd0 > Trying to mount root from ufs:/dev/ada0p2 [rw]... _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"