From nobody Thu Dec 05 08:10:39 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y3nC232fhz5g61L for ; Thu, 05 Dec 2024 08:10:54 +0000 (UTC) (envelope-from freebsd-questions@ymmv.dk) Received: from mail01.ymmv.dk (193-106-164-141.ip4.fiberby.net [193.106.164.141]) by mx1.freebsd.org (Postfix) with ESMTP id 4Y3nC15tlJz4Qr2 for ; Thu, 5 Dec 2024 08:10:53 +0000 (UTC) (envelope-from freebsd-questions@ymmv.dk) Authentication-Results: mx1.freebsd.org; none Received: from d12arm64-01.nordu.net (193-106-164-140.ip4.fiberby.net [193.106.164.140]) by mail01.ymmv.dk (Postfix) with ESMTPSA id DB8A812FAA5; Thu, 5 Dec 2024 09:10:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ymmv.dk; s=ymmv-mail-dkim; t=1733386246; bh=XK/n9g18LWZsxySEeHiU7EwVnJhBZKJaEy6Jrzrok6o=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=SJdRXtcC6ypo68XdkjcXVlKVBx6S1bvTsEJxPn00k/EENzjuQED0itrzbzpBzJdvG Rxc7o3d61ifXUKjGxY5f5l1hp7vyDgBfhKnK1do6BjvGG/2jI2k3pbTADNJj6RJXkK Bg1kPmmL+RlCHexCow1s/hzPCYKpCFjJzgzn2zPtbeNhbsSwHbuIhSxpIeo0zs+7Vf C4V1gHCk8jPs79wcVgn3i+pkfZfyMsQRfFdacwtd6HC0bnPr48FSmvvzEGBlJuVIgr YU/lD8UzrAC4QjGZrjYmiucHR4W2Mcgg1t+yR19YEd/zrwQqZlQD7q/SK7If08Twna bZLON/8TJ9skw== Date: Thu, 5 Dec 2024 09:10:39 +0100 From: Jon Clausen To: Dan Langille Cc: questions@freebsd.org Subject: Re: 14.1 hosts booting off EFI: boot menu appears but cannot interact Message-ID: References: <82e4fa9c-2640-40d7-a3f7-0557fe507b90@app.fastmail.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <82e4fa9c-2640-40d7-a3f7-0557fe507b90@app.fastmail.com> X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42541, ipnet:193.106.164.0/22, country:DK] X-Rspamd-Queue-Id: 4Y3nC15tlJz4Qr2 X-Spamd-Bar: ---- On 2024-12-04 14:42:22 (-0500), Dan Langille wrote: > We have multiple FreeBSD 14.1 hosts booting off EFI partitions on Cisco hosts (UCS C240 M7SX). > > We are accessing the hosts via the KVM provided by the CIMC (Cisco Integrated Management Controller) of the host (I'd call that IPMI). We are running the latest CIMC firmware. > > We are unable to get into single user mode because the keyboard is ignored during the splash screen countdown. I have seen lots of issues with "keyboard through a browser, sent to some BMC" - usually just character set mismatches etc. Annoying and sometimes rendering the situation unworkable. This sounds really annoying *and* unworkable. > Once the boot process completes, the keyboard access is as expected. > > We have tried console="comconsole,efi" in /boot/loader.conf - no help It might be possible to get the keystrokes sent all the way through to the loader, with some combination of settings, but this seems like a better option anyway; > We can ssh into the CIMC. I have no experience with Cisco servers, and I can tell from some searches online, that the BMC "shell" is different from what I know from Lenovo, Supermicro and others (called SMASH) But the concept is essentially the same: SSH to the BMC, and from that: start a serial connection to the console of the operating system. The benefit of this is that one circumvents all of the java/html5 madness with layers upon layers of browsers and stuff. This means a "real" serial connection, and because this happens through an ssh connection in a terminal, there is now copy/paste too. > When reviewing the Cisco documentation, we don't see any configuration items related to screen interaction / mouse / USB. I think you have been looking in a "wrong" direction. I found this, and I think the sections "configuring serial over LAN" and "launching serial over LAN" could be pretty much exactly what you need: https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/c/sw/cli/config/guide/b_Cisco_CIMC_CLI_Configuration_Guide.pdf (I'm not sure this applies to your hardware though) Of course this requires the FreeBSD system, including the loader, to be set up for serial access. I'll not embaress myself with any advice in that regard right now. But it is well documented and should be simple enough. > In short, if we don't pause the server during, we don't get any keyboard interaction. I think using the "ssh to bmc, start serial from there" really should be a working alternative... br /jon