From owner-freebsd-questions@FreeBSD.ORG Tue Mar 23 02:36:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAD401065673 for ; Tue, 23 Mar 2010 02:36:05 +0000 (UTC) (envelope-from jeep@skywolf.net) Received: from manticore.skywolf.net (skywolf.net [72.249.145.150]) by mx1.freebsd.org (Postfix) with ESMTP id BFDF18FC22 for ; Tue, 23 Mar 2010 02:36:05 +0000 (UTC) Received: from [208.65.91.58] (c-71-204-3-155.hsd1.ga.comcast.net [71.204.3.155]) by manticore.skywolf.net (Postfix) with ESMTP id BCE501838017 for ; Mon, 22 Mar 2010 22:36:04 -0400 (EDT) Message-ID: <4BA82824.4050207@skywolf.net> Date: Mon, 22 Mar 2010 22:32:04 -0400 From: Brian Wolman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: FreeBSD 8, serial console problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2010 02:36:05 -0000 FreeBSD 8 uses the uart system to handle serial consoles, I changed mine over and I've been running into problems since. I have serial console access during the loader and boot process, but it freezes right after boot and posting of the date: Mon Mar 22 22:18:08 EDT 2010 Well, the kernel still outputs to the console, as evident when I plugged in a keyboard into the usb slot: ugen1.2: at usbus1 uhub5: on usbus1 (server.example.com) (ttyu0) login: uhub5: 4 ports with 2 removable, bus powered I typed 'root' and then it froze. Again, I plugged in the keyboard, but this time I couldn't type anything despite getting another login prompt. I even echoed to the console and it worked. Finally I typed kldload uart into my ssh terminal and poof: FreeBSD/i386 o(server.example.com) (ttyu0) u login: jjjjjhlgf e_register: module isa/uart already exists! Module isa/uart failed to register: 17 module_register: module pci/uart already exists! Module pci/uart failed to register: 17 I was able to login and everything worked fine. Notice how uart already exists.. it's compiled into the kernel. Right now the only way I've come up with to fix my broken console is to kldload, but I can only do it once per boot. If it breaks after that, I'm out of luck until I reboot.