From owner-freebsd-current@FreeBSD.ORG Fri Sep 12 03:21:26 2008 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1807106564A for ; Fri, 12 Sep 2008 03:21:26 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from smtp6.server.rpi.edu (smtp6.server.rpi.edu [128.113.2.226]) by mx1.freebsd.org (Postfix) with ESMTP id 86D6A8FC12 for ; Fri, 12 Sep 2008 03:21:26 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp6.server.rpi.edu (8.13.1/8.13.1) with ESMTP id m8C29Zo9006966 for ; Thu, 11 Sep 2008 22:09:37 -0400 Mime-Version: 1.0 Message-Id: Date: Thu, 11 Sep 2008 22:09:35 -0400 To: freebsd-current@FreeBSD.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Bayes-Prob: 0.0001 (Score 0) X-RPI-SA-Score: 1.20 (*) [Hold at 20.00] J_CHICKENPOX_65, J_CHICKENPOX_75, 22490(-25) X-CanItPRO-Stream: outgoing X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.226 Cc: Subject: serial console on 8.x (probably sio vs uart) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2008 03:21:26 -0000 I recently updated my 8.x test system from late-june to early-Sept, and in the process I seem to have lost my serial console setup. It's pretty likely this is related to the change from sio(4) to uart(4), but I do believe I have done everything that I needed to do to track that change. After I boot up, the only /dev/tty* devices I have are ttyv0 through ttyvf. I've installed the new /etc/ttys and a new /boot/device.hints, though frankly device.hints has always been a magic-box to me, so I just blindly copied what was in GENERIC.hints and changed hint.uart.0.flags to be "0x30". (that's what I used to do to get sio0 as the serial console) I checked the freebsd.org documentation (well, a little), but it seems that documentation is still geared towards sio0 (which certainly makes sense). For instance: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html Based on reading a number of posts, my current guess is that the problem is that I'm booting up an older (6.x) loader, and then using that to load in the 8.x kernel. I get the impression that the newer loader includes changes to make uart work better wrt the speed it expects to use on the serial port. Is that a reasonable guess? (as to *why* I'm using and old boot loader, that's a long story that I'd rather not get into right now. I just want to know if it's likely that would be why I have no serial ports now that I've upgraded to the uart-based system...). -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu