Supermicro IPMI SOL

Discussion in 'Processors and Motherboards' started by trumee, Jul 7, 2018.

  1. trumee

    trumee Member

    Joined:
    Jan 31, 2016
    Messages:
    180
    Likes Received:
    9
    Hello,

    I have a X11SAT-F motherboard with IPMI support running linux under EFI mode. I want to use SOL for the remote server. I appended the kernel command line to the following,
    Code:
    linux   /@/vmlinuz-4.9.95-gentoo root=ZFS=rpool/ROOT/gentoo ro spl.spl_hostid=0xa8c06f01 console=tty0 console=ttyS1,115200n8 
    
    In addition the /etc/inittab was modified to the following,
    Code:
    s1:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt100
    
    Using these two changes, the SOL does come up. However, it stop outputting midway through the boot. The output is like so
    [​IMG]

    The motherboard has three serial ports.
    Code:
    # setserial -g /dev/ttyS[012]
    /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
    /dev/ttyS1, UART: 16550A, Port: 0x0248, IRQ: 7
    /dev/ttyS2, UART: 16550A, Port: 0xf0a0, IRQ: 19
    
    I am using the second port ttyS1 in the output above. I am not sure whether i should be using ttyS2.

    Has anybody used SOL on their Supermicro motherboard?

    Thanks
     
    #1
  2. Jeggs101

    Jeggs101 Well-Known Member

    Joined:
    Dec 29, 2010
    Messages:
    1,466
    Likes Received:
    216
    Why not just use ipmitool sol activate? That'll work every time and is way less complex.
     
    #2
  3. vanfawx

    vanfawx Active Member

    Joined:
    Jan 4, 2015
    Messages:
    304
    Likes Received:
    52
    I haven't setup a serial console in quite a few years, but it looks like you're using systemd, so the process will be different than updating inittab, which AFAIK, no longer serves a function in modern linux distros.

    systemd for Administrators, Part XVI

    The above link discusses setting up a serial console on systemd. It looks like your serial console works from initial boot, up until the handoff from initrd to the OS, so you probably just need to activate the appropriate service.

    Why are you choosing SOL over IPMI out of curiosity? I only have ever used SOL when I had an IPMI that did not have a remote console option. Is that your case here?

    HTH
     
    #3
  4. trumee

    trumee Member

    Joined:
    Jan 31, 2016
    Messages:
    180
    Likes Received:
    9
    @Jeggs101 I am using the Supermicro java viewer. It is the same as using as 'ipmitool sol activate'. I tried it and both have the same output.

    @vanfawx I am using gentoo with OpenRC and not systemd.

    Right, the reason i have to use SOL is because remote console is not available as soon as i enable the onboard iGFX graphics option.
     
    #4
  5. vanfawx

    vanfawx Active Member

    Joined:
    Jan 4, 2015
    Messages:
    304
    Likes Received:
    52
    @trumee - Based on the output you're showing, it looks like agetty isn't running against the port. You're using the correct tty, since you're getting grub output during boot.

    Once the machine is booted, I would comment out the agetty in your inittab and try running it by hand to see if you get a login prompt on the serial console.

    Also, ensure you update /etc/securetty with ttyS1 so you can login as root on it (if that's something you do).

    Anything interesting in your logs?
     
    #5
  6. trumee

    trumee Member

    Joined:
    Jan 31, 2016
    Messages:
    180
    Likes Received:
    9
    I dont have /etc/securetty. I guess this is not built by default on gentoo, but needs to be turned on manually.

    agetty seems to be running, but there is no output in the serial console.
    Code:
    # /sbin/agetty -L 115200 ttyS1 vt100
    
    
    In /var/log/messages i see,

    Code:
    Jul 11 06:50:39 tvbox agetty[6460]: /dev/ttyS1: cannot get controlling tty: Operation not permitted
    Jul 11 06:50:39 tvbox agetty[6460]: /dev/ttyS1: cannot get controlling tty: Operation not permitted
    Jul 11 06:50:39 tvbox agetty[6460]: /dev/ttyS1: cannot set process group: Inappropriate ioctl for device
    
    Also,
    Code:
    # ls -tlr /dev/ttyS1
    crw--w---- 1 root tty 4, 65 Jul 11 06:50 /dev/ttyS1
    
     
    #6
  7. StanSu

    StanSu New Member

    Joined:
    Aug 10, 2018
    Messages:
    1
    Likes Received:
    0
    Hi Trumee,
    Have you ever check the IO address on BIOS setup, I have check X11SAT-F in my side and SOL seems implement on
    0x03f8 with ttyS0.
     
    #7
Similar Threads: Supermicro IPMI
Forum Title Date
Processors and Motherboards Supermicro X9SCL-F IPMI & BIOS Beeps Nov 29, 2019
Processors and Motherboards SuperMicro EPYC Board won't POST if IPMI is connected? Oct 17, 2019
Processors and Motherboards Supermicro IPMI Fan Control on Windows Oct 10, 2019
Processors and Motherboards Supermicro IPMI interface suddenly loses IP address on X9DRD-7LN4F Sep 5, 2019
Processors and Motherboards Supermicro A1SAI-2750F no video out, how to get IPMI address? Aug 19, 2019

Share This Page