From owner-freebsd-bugs@FreeBSD.ORG Sat Dec 6 06:25:34 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83F032E5 for ; Sat, 6 Dec 2014 06:25:34 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5246D8B4 for ; Sat, 6 Dec 2014 06:25:34 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sB66PYic079398 for ; Sat, 6 Dec 2014 06:25:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 195734] New: vt(4) / Newcons causes unbootable system in the absence of a graphics card Date: Sat, 06 Dec 2014 06:25:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zurvan.akarana@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2014 06:25:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195734 Bug ID: 195734 Summary: vt(4) / Newcons causes unbootable system in the absence of a graphics card Product: Base System Version: 10.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: zurvan.akarana@gmail.com CPU: AMD FX-4100 Motherboard: ASUS Sabertooth 990FX R2.0 I have a home server with above specs which I run headless. It does not have integrated graphics and I insert a regular PCI-E graphics card only when the system becomes inaccessible over SSH. This arrangement has worked fine from 8.0-RELEASE up to and including 10.0-RELEASE. When I upgraded to 10.1-RELEASE and rebooted the system failed to reach a stage where I could access it over SSH. Inserting a graphics card, however, and viewing the boot process showed no errors. The system boots from BIOS so by default 'sc' console driver is loaded. After struggling with various combinations of loader.conf settings I came to the following conclusions: 1. If the system is without a graphics card and boots from BIOS, i.e. loads 'sc' by default, the only way to get past bootloader and successfully boot is to force 'vt' driver with 'kern.vty=vt' and force text mode with 'hw.vga.textmode=1' in loader.conf. 2. If the system has a graphics card and 'kern.vty=vt' is forced but 'hw.vga.textmode=1' is not forced the system boots only when a display is plugged into the graphics card. Otherwise, it waits indefinitely at bootloader stage. 3. If the system has a graphics card, boots from BIOS, is allowed to load the default 'sc' driver it boots fine without a display plugged into the graphics card. 4. If the system has no graphics card, boots from BIOS, and is allowed to proceed with defaults it will not get past bootloader. For my situation I used conclusion (1), added those two lines to loader.conf. Now I can run the system headless and without a graphics card as I was able to prior to 10.1-RELEASE. -- You are receiving this mail because: You are the assignee for the bug.