From nobody@FreeBSD.org  Mon Dec  6 15:25:35 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ECEFE16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  6 Dec 2004 15:25:35 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D831D43D48
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  6 Dec 2004 15:25:35 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iB6FPZFt013600
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 6 Dec 2004 15:25:35 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id iB6FPZBl013599;
	Mon, 6 Dec 2004 15:25:35 GMT
	(envelope-from nobody)
Message-Id: <200412061525.iB6FPZBl013599@www.freebsd.org>
Date: Mon, 6 Dec 2004 15:25:35 GMT
From: Carsten Zimmermann <cz-freebsd@aegisnet.biz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Bootup "beep" in 5.3 should be disabled by default
X-Send-Pr-Version: www-2.3

>Number:         74777
>Category:       kern
>Synopsis:       [request] Bootup "beep" in 5.3 should be disabled by default
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 06 15:30:17 GMT 2004
>Closed-Date:    Sun Feb 24 20:43:26 UTC 2008
>Last-Modified:  Sun Feb 24 20:43:26 UTC 2008
>Originator:     Carsten Zimmermann
>Release:        5.3-RELEASE
>Organization:
>Environment:
FreeBSD celeborn.bbk.hh.aegisnet.de 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Wed Nov 24 13:44:55 CET 2004    root@celeborn.bbk.hh.aegisnet.de:/usr/src/sys/i386/compile/CELEBORN  i386
>Description:
The 5.3-RELEASE CD installation comes with a somewhat annoying "beep" when the boot loader prompts. It has been discussed in -mobile (Msg-ID 41AD9D12.2020506@hacksocke.de) and it seemed to be consensus to have this beep disabled by default.
>How-To-Repeat:
Reboot your 5.3-R ;)
>Fix:
The following patch is credit to Mark Diekhans:

--- sys/boot/i386/boot0/boot0.S.ORIG	Thu Nov 18 08:20:08 2004
+++ sys/boot/i386/boot0/boot0.S	Thu Nov 18 08:23:04 2004
@@ -204,7 +204,9 @@
  * Start of input loop.  Beep and take note of time
  */
 main.10:	movb $ASCII_BEL,%al		# Signal
+#if 0 /* MED:    bell is annoying */
 		callw putchr			#  beep!
+#endif
 		xorb %ah,%ah			# BIOS: Get
 		int $0x1a			#  system time
 		movw %dx,%di			# Ticks when
>Release-Note:
>Audit-Trail:

From: Kris Kennaway <kris@obsecurity.org>
To: Carsten Zimmermann <cz-freebsd@aegisnet.biz>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/74777: Bootup "beep" in 5.3 should be disabled by default
Date: Mon, 6 Dec 2004 20:15:55 -0800

 On Mon, Dec 06, 2004 at 03:25:35PM +0000, Carsten Zimmermann wrote:
 
 > The 5.3-RELEASE CD installation comes with a somewhat annoying
 > "beep" when the boot loader prompts. It has been discussed in
 > -mobile (Msg-ID 41AD9D12.2020506@hacksocke.de) and it seemed to be
 > consensus to have this beep disabled by default.
 
 AFAIK, the beep is deliberate, and useful on headless machines
 (i.e. for users outside the constituency of -mobile).
 
 Kris

From: Carsten Zimmermann <cz-freebsd@aegisnet.biz>
To: Kris Kennaway <kris@obsecurity.org>,
	freebsd-gnats-submit@FreeBSD.org
Cc: Mark Diekhans <markd@Kermodei.com>
Subject: Re: misc/74777: Bootup "beep" in 5.3 should be disabled by default
Date: Tue, 7 Dec 2004 16:03:56 +0100

 --hQiwHBbRI9kgIhsi
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Hello -=20
 
 while it clearly seems to be a question of individual taste whether or
 not it should be enabled by default, I might igree with the
 point-of-view that it is useful for headless machines. FreeBSD has=20
 the reputation as being a server os, mainly. Server systems are mostly=20
 headless, indeed.=20
 
 But for the growing croud using FreeBSD as a desktop system, it should be
 able to have the beep disabled without the need of a patch. So some kind
 easy of configuration is needed.
 
 Carsten
 
 Am Mon Dec 06, 2004 at 08:1555PM -0800 schrieb Kris Kennaway:
 > On Mon, Dec 06, 2004 at 03:25:35PM +0000, Carsten Zimmermann wrote:
 >=20
 > > The 5.3-RELEASE CD installation comes with a somewhat annoying
 > > "beep" when the boot loader prompts. It has been discussed in
 > > -mobile (Msg-ID 41AD9D12.2020506@hacksocke.de) and it seemed to be
 > > consensus to have this beep disabled by default.
 >=20
 > AFAIK, the beep is deliberate, and useful on headless machines
 > (i.e. for users outside the constituency of -mobile).
 >=20
 > Kris
 
 --=20
 Carsten Zimmermann
 mailto:cz@aegisnet.biz
 Tel.: +49-(0)40-98760543
 
 Aegis:Net IT-Dienstleistungen
 Postfach 620371
 22403 Hamburg
 http://www.aegisnet.biz
 Info: +49-(0)700-AEGISNET
 Fax: +49-(0)40-98760547
 
 
 --hQiwHBbRI9kgIhsi
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQFBtcZcucbzqiAxJVkRAu8wAKDUBNCdjBpkAWcjmNuZ+M3FbyTDTQCePdli
 y7A7Ey43UzAWIHSpQV8MNgc=
 =+9N4
 -----END PGP SIGNATURE-----
 
 --hQiwHBbRI9kgIhsi--

From: Ceri Davies <ceri@submonkey.net>
To: FreeBSD Gnats Submit <freebsd-gnats-submit@FreeBSD.org>
Cc: Carsten Zimmermann <cz-freebsd@aegisnet.biz>
Subject: Re: misc/74777: Bootup "beep" in 5.3 should be disabled by default
Date: Tue, 7 Dec 2004 17:08:41 +0000

 Assuming that boot0sio is loaded when booting from a serial console,
 the attached (untested patch) should beep on a serial console and not in
 any other situation.
 
 Index: sys/boot/i386/boot0/boot0.S
 ===================================================================
 RCS file: /home/ncvs/src/sys/boot/i386/boot0/boot0.S,v
 retrieving revision 1.12
 diff -u -r1.12 boot0.S
 --- sys/boot/i386/boot0/boot0.S	24 Nov 2004 15:39:04 -0000	1.12
 +++ sys/boot/i386/boot0/boot0.S	7 Dec 2004 16:46:50 -0000
 @@ -196,11 +196,15 @@
  		decw %si			#  default
  		callw putkey			#  key
  /*
 - * Start of input loop.  Beep and take note of time
 + * Start of input loop.  Beep when on serial console and take note of time
   */
 +#ifdef SIO
  main.10:	movb $ASCII_BEL,%al		# Signal
  		callw putchr			#  beep!
  		xorb %ah,%ah			# BIOS: Get
 +#else
 +main.10:	xorb %ah,%ah			# BIOS: Get
 +#endif	/* SIO */
  		int $0x1a			#  system time
  		movw %dx,%di			# Ticks when
  		addw _TICKS(%bp),%di		#  timeout

From: Francois Ropert <francois.ropert@rezalfr.org>
To: freebsd-gnats-submit@freebsd.org, cz-freebsd@aegisnet.biz
Cc:  
Subject: Re: kern/74777: Bootup "beep" in 5.3 should be disabled by default
Date: Thu, 9 Dec 2004 17:08:48 +0100

 disable movb $ASCII_BEL,%al and callw putchr works like a charm (tested)
 BUT
 you will run boot0cfg -B disk where disk is the diskname where MBR stands. Eg: 
 boot0cfg -B ad0
 
 If you don't launch the command, patch will not be applied so a reboot after a 
 make and make install is not the full solution to avoid "BEEP".
 
 -- 
 Francois Ropert
 

From: Volker <volker@vwsoft.com>
To: bug-followup@FreeBSD.org, cz-freebsd@aegisnet.biz
Cc:  
Subject: Re: kern/74777: [request] Bootup "beep" in 5.3 should be disabled
 by default
Date: Sat, 23 Feb 2008 17:51:56 +0100

 Carsten,
 
 a similar approach has been brought into cvs for HEAD, RELENG_7 and
 RELENG_6.
 
 Please tell us if you think we can close this PR now.
 
 Thanks!
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Sat Feb 23 18:18:32 UTC 2008 
State-Changed-Why:  
Submitter was asked for feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74777 
State-Changed-From-To: feedback->closed 
State-Changed-By: gavin 
State-Changed-When: Sun Feb 24 20:42:09 UTC 2008 
State-Changed-Why:  
Mail to submitter bounces. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74777 
>Unformatted:
