On Oct 8, 2014, at 6:43 PM, Keith Wesolowski via smartos-discuss <[email protected]> wrote:
> On Wed, Oct 08, 2014 at 03:51:19PM -0700, Don Jackson via smartos-discuss > wrote: > >> I’m attempting to configure a collection of servers (Supermicro) to run >> SmartOS. > > It might help if you tell us which model. Supermicro MNL-1116 > We maintain a set of complete > documentation on the models we use, including firmware and console > configuration, at http://eng.joyent.com/manufacturing. The documents in > question might be more easily viewed in Github at joyent/manufacturing. Thanks for these pointers. I want to “jump to the bottom” of your replies first, you said: > Everything after early firmware init goes to the serial-over-lan device, > including SmartOS's boot and getty. Does all the BIOS Menu stuff come over your SOL? Or is the ipxe menu the first thing you see? In other words, can you muck with your bios settings via SOL, or do you need to use the IPMI Console for that? Also, to clarify, I am using an external serial concentrator, specifically an MRV LX 4000T, I am not using SOL. > >> I’m having difficultly figuring out how to configure the bios, ipxe, and >> smartos so that from a serial port/console I would see >> the entire bios sequence, pxeboot, ipxemenu, and then finally the smartos >> console. > > I suggest taking a look at our sdcboot and ipxe repos on GH. They > address these problems. This looks good. What is an easy way to build your ipxe with sdcboot? I tried on my Mac, and although it might be possible, it appears that this is intended to be built on another platform…. > >> I attempted to set the bios “remote console” to com1, and also configured >> the ipxe menu item for smartos to use com1 as well, > > Most SMCI models use ttyb ("COM2" for those still using DOS) for SoL. > If you're using the hardware port instead (presumably with a > concentrator), than this is probably correct. I am using a hardware serial port with a concentrator…. > >> both using the same baud rate settings. This would work until I >> selected/booted smartos from the ipxe menu, I’d get 1 or two smartos boot >> lines, >> and then nothing. > > How exactly did you do this? The specific format of the options is > important. in my ipxe menu: :smartos kernel /smartos/${smartos-build}/platform/i86pc/kernel/amd64/unix -v -B smartos=true console=ttya,ttya-mode="115200,8,n,1,-" # kernel /smartos/${smartos-build}/platform/i86pc/kernel/amd64/unix -v -B smartos=true initrd /smartos/${smartos-build}/platform/i86pc/amd64/boot_archive boot goto start And I also set the console redirection in the bios: I’d like to emphasize that these are the current settings, not what I tried before. Previously I specified COM1, 115200, and I tried all flavors of “Redirection after BIOS POST”, and each of them seemed to fail. > > >> I then turned off console redirection, and just set smartos to use com1 >> serial console. With that, I do get a serial console on com1 after the >> system boots, >> but I don’t get to see the ipxe menu itself. > > ipxe has to be configured at build time to use a particular serial port > or ports. Our ipxe, I believe, is configured to use ttyb as well as the > VGA port if one is present. > >> It looks like there is an ipxe build option to use a serial port. So at the >> cost of having to build ipxe, it seems like I could get both the ipxe menu >> and the smartos console on the same serial port (untested). > > That's what we do. So, it sounds like you use: SOL on COM2, you set your BIOS to redirect to COM2/SOL, you have a version of ipxe that uses ttyb/COM2, and presumably you boot your kernel specifying console=ttyb,ttyb-mode="115200,8,n,1,-“ Is that right? From one of your specs: Serial Port Console Redirection COM1 Console Redirection: Disabled COM2/SOL Console Redirection: Enabled COM2/SOL Console Redirection Settings Terminal Type: VT100+ Bits per second: 115200 Data Bits: 8 Parity: None Stop Bits: 1 Flow Control: None VT-UTF8 Combo Key Support: Enabled Recorder Mode: Disabled ^ Resolution 100x31: Disabled Legacy OS Redirection Resolu: 80x25 Putty KeyPad: VT100 ^ Redirection After BIOS POST: Until Bootloader Serial Port for OOBM/Windows Console Redirection: Disabled Thank you for all the good references and pointers…. Seems like if I had a version of ipxe that worked with the serial port I might be able to get further…. My current hunch is that when I set BIOS redirection, if I specify redirection after POST, then that causes a problem once ipxe hands off to the smartos kernel, and if I specify redirection-after-post as “until boot loader” then I don’t see the ipxe menu since I don’t have an ipxe that talks serial port…. Don ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
