From owner-freebsd-questions@FreeBSD.ORG Wed Oct 14 20:54:45 2009 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 C3863106566B for ; Wed, 14 Oct 2009 20:54:45 +0000 (UTC) (envelope-from amsibamsi@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 57F328FC08 for ; Wed, 14 Oct 2009 20:54:45 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so65115eyd.9 for ; Wed, 14 Oct 2009 13:54:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=dcxO0syC564lvyqtIphRFmdzuAX/jgSl7ZWGnOTyIWY=; b=PcbsAhlO0go5CQRw34sZTeUITBX1lyfLtutcMzrvWjMXtkrTmWgFeRy9/47p7Wrwmb wGGP0a7nEYlZRp9fbuudBsgFfIRVLa92XuZRU//4E0pgoZwCZpWHB9au/We2c9ASvypl JS2L14zLc87JPB+BPNqXK8S/67rLT1aMOY64Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=iBos5dbmFZtiPpPgxXm8cNoIb2Xf/aC2k837i0sMb3yfB1DNuRUZPbRGEnahOgJJgd wPSNrsKDI5XnzwgpKyCCHdFURzvIZsiUU/PapaOJZA57V5X9s69Jhxi+8+CCf5bo9wAM jrBNrq6RvCYUjPSvOtCLLqncrHSQ2hJfdrTrI= Received: by 10.211.147.7 with SMTP id z7mr8075614ebn.4.1255553684358; Wed, 14 Oct 2009 13:54:44 -0700 (PDT) Received: from ?10.10.2.2? (80-219-26-31.dclient.hispeed.ch [80.219.26.31]) by mx.google.com with ESMTPS id 5sm926019eyh.17.2009.10.14.13.54.42 (version=SSLv3 cipher=RC4-MD5); Wed, 14 Oct 2009 13:54:43 -0700 (PDT) From: Anselm Strauss Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Date: Wed, 14 Oct 2009 22:54:41 +0200 Message-Id: To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1076) X-Mailer: Apple Mail (2.1076) Subject: Re: No serial console input in loader 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: Wed, 14 Oct 2009 20:54:45 -0000 Hi, I have to come back to this problem. When I boot over the serial console, input works all fine until I come to the loader menu. There, input from the serial console is just ignored, I can not interrupt the autoboot and e.g. choose a different kernel. I have partitioned with GPT and installed /boot/pmbr into the MBR and /boot/gptboot into the first partition of type freebsd-boot. The keyboard works in the BIOS, and in gptboot I think, where I can interrupt the boot by pressing a key, and a list like this shows: FreeBSD/i386 boot Default: 0:ad(0p2)/boot/loader boot: Then, in the loader menu the input is dead, when the kernel boots and also afterwards it works again fine. When I use GRUB to start the loader the keyboard also works. Any ideas on what the problem could be or how to track this down? Cheers Anselm > On Jun 28, 2008, at 13:15 , Anselm Strauss wrote: > >> Hi, >> >> I have a small router that has no video output, it only supports a >> serial console. I configured the serial console in /boot/ >> boot.config, /boot/loader.conf and /etc/ttys. It's working in the >> BIOS, on the boot prompt before the loader starts, and when logging >> in on the getty. The only place where it's not working correctly is >> at the loader prompt. I can see the loader menu and the logo, but I >> can't choose the boot entry or interrupt the timeout. I can't make >> any input at all. What could this be? >> >> Cheers, >> Anselm >> > Don't know what this was, but now it works. I use Grub to directly > load /boot/loader as kernel. I set the serial console in the BIOS to > 115200 Baud. In Grub's menu.lst I then use: > > serial --unit=0 --speed=115200 > terminal serial > > and in /boot/loader.conf: > > console="comconsole" > comconsole_speed="115200" > > Seems like this is all that is needed. > > Anselm