Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 May 2006 23:48:01 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Boot manager beep (revisited)
Message-ID:  <4457E1A1.1070103@dial.pipex.com>
In-Reply-To: <200605020809.52826.jhb@freebsd.org>
References:  <445581DE.50901@centtech.com> <20060502053131.GC62424@gothmog.pc>	<44574436.4000105@dial.pipex.com> <200605020809.52826.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@freebsd.org> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4457E1A1.1070103>