From nobody Wed Nov 27 11:54:13 2024 X-Original-To: stable@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 4XyyXv6lbcz5f565 for ; Wed, 27 Nov 2024 11:54:39 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XyyXv3Fg8z4Cc2 for ; Wed, 27 Nov 2024 11:54:37 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=hhYZ8d5FMsyPnsfkcjYz3WScA+EUEgnPLQi+Kv5p+wQ=; b=bDLaMN/Ep/Eaa4OA3zLpf9TbOaJ0Zl7btoGY37EMYoUxKirwrk3WQ1yZxISeyODpo1yr2Rg3f6Dd/BGlJZOfeue1Xy2L7AEyjB+4wG5dFyYFxYWtbYW/ILC/ZmOBroXEqYyIAVjnUXOn1FBwPV7OHc/VlkElNgJ72VgVPge4a3PohxiZZrqNjXscjPK1vjpGljWExMyTmibCVKp7k71ahTkthAMiXMAbNruSHeXhyJklg0rGCs9iczYNnhfZLtctX9mYR9SCOMFdeJy+/rMBK5QGLyr3Y7gw+Wf+z4atZOuF+CfJaq5beludcdoUufAX2Y4MgBNVjonkLYmSLCT5CA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cse.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=hhYZ8d5FMsyPnsfkcjYz3WScA+EUEgnPLQi+Kv5p+wQ=; b=qZQWgM0n7b0fT+hQ8onOe0H31LZyW0+U5kRBYQtAeCL3MfB9AvoWA/H6A8b4R+KEIGNpMgIXmdOHP0pMnprmHduqvGtE6tZV/ApxG3uM5PZwKFhIUilNH04APeUuOAtpv2liumnIwvKh82kbMvp34sAo4rX+AqVxmZOD+EmLDJfLGnNSJM5ls99Z2b9R3LfPF2P/hkFqFN9sgZVcYN1o4jO8eLwRQVSsSVSBGG2PAwUtLxnpZ8gJQqkW2a3e4x1cPLQhoZaX++mpe3nezSMPrDrpi0JkZjhXW6FOAb9ibG7Sc0Pyn4zowrJBj37lMEV8XRsURjCWplxAQTwGRXKE7g==; Received: from imac.bk.cs.huji.ac.il ([132.65.179.42] helo=smtpclient.apple) by kabab.cs.huji.ac.il with esmtp id 1tGGcr-000Gq9-NS; Wed, 27 Nov 2024 13:54:33 +0200 Content-Type: text/plain; charset=utf-8 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.200.121\)) Subject: Re: not working /dev/console From: Daniel Braniss In-Reply-To: <27224122-3f36-4e88-87b4-c4cfc0a6b7d8@bytecamp.net> Date: Wed, 27 Nov 2024 13:54:13 +0200 Cc: stable@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <27224122-3f36-4e88-87b4-c4cfc0a6b7d8@bytecamp.net> To: Robert Schulze X-Mailer: Apple Mail (2.3826.200.121) 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:378, ipnet:132.64.0.0/15, country:IL] X-Rspamd-Queue-Id: 4XyyXv3Fg8z4Cc2 X-Spamd-Bar: ---- > On 27 Nov 2024, at 12:59, Robert Schulze wrote: >=20 > Hello, >=20 > Am 27.11.24 um 09:34 schrieb Daniel Braniss: >> Hi, >> when the console is not uart0, init=E2=80=99s output, which I assume = uses /dev/console >> is lost. Boot, kernel and login work ok, also debugger. >=20 > you can give the loader a hint, which uart is considered a console. > In my case, any IPMI-console on uart1 works with the following = settings in /boot/loader.conf: >=20 > -- > boot_multicons=3D"yes" > comconsole_port=3D"0x2f8" >=20 > hint.uart.0.flags=3D"0x0" > hint.uart.1.flags=3D"0x10" > hint.uart.1.baud=3D"115200" > -- >=20 > hint.uart.N.flags=3D"0x10" means: this is a potential system console. > See uart(4) manpage for this. >=20 > regards, > Robert Schulze >=20 Do you also get the output from init(8)?, does date > /dev/console = work? That is what I do, so most of the outputs go to uart1, The only missing is /dev/console. IMHO it=E2=80=99s the one used by = init(8) Messages from the boot/kernel are redirected fine, the missing stuff is = from init(8) There is also a login, and so I can login to the=E2=80=99console=E2=80=99.= Cheers, Danny