From owner-freebsd-hackers@FreeBSD.ORG Tue May 2 22:48:07 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 324C416A401; Tue, 2 May 2006 22:48:07 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AA3543D46; Tue, 2 May 2006 22:48:05 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.139] (helo=anti-virus01-10) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1Fb3f2-0008PD-ON; Tue, 02 May 2006 23:48:04 +0100 Received: from [80.192.58.117] (helo=[192.168.0.2]) by asmtp-out4.blueyonder.co.uk with esmtp (Exim 4.52) id 1Fb3f2-0004sy-4M; Tue, 02 May 2006 23:48:04 +0100 Message-ID: <4457E1A1.1070103@dial.pipex.com> Date: Tue, 02 May 2006 23:48:01 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.12) Gecko/20060305 X-Accept-Language: en MIME-Version: 1.0 To: John Baldwin References: <445581DE.50901@centtech.com> <20060502053131.GC62424@gothmog.pc> <44574436.4000105@dial.pipex.com> <200605020809.52826.jhb@freebsd.org> In-Reply-To: <200605020809.52826.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Boot manager beep (revisited) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 May 2006 22:48:07 -0000 John Baldwin wrote: >On Tuesday 02 May 2006 07:36 am, Alex Zbyslaw wrote: > > >>Giorgos Keramidas wrote: >> >> >>>On 2006-05-01 14:02, John Baldwin wrote: >>> >>> >>>>How about the patch below. It restores the behavior of the beep >>>> >>>>only happening for invalid input by axeing the BSD/OS partition >>>>type from the lookup table. >>>> >>>> >>>Much better, since this is the behavior we initially had, as you >>>explained. >>> >>>Thanks :) >>> >>> >>Seconded! Thanks, >> >> > >Does it work? :-) > > > I downloaded the latest boot0.s from cvs, applied you patch and put it on all three disks in this box. On my tests it worked beautifully. Beeped when I selected a non-existent partition and didn't beep when I selected a legitimate one, or just let it time out to the default. (I tried both FreeBSD and WinXP/NTFS partitions for booting and auto-boot). I can't confirm what boot0sio does as I don't have anything set up with a serial console. You'll probably want some more confirmations, but I'd say this was the bees knees. --Alex