Re: 5.3 Startup with a beep

Mark Diekhans <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Carsten Zimmermann <[email protected]> writes:
> I upgraded lately to a clean iso installed 5.3-R. From then, my laptop 
> always gives an eeky "beeeeeeep" when the boot loader prompts. It was 
> all silent with 5.2.1 and I'd like it to be that way again ;)

I found this really annoying and dug into the code and patch it
on my system.  The enclose patch gets rid of this.  To install it,
I used the following commands:

  cd /usr/src
  patch <boot0.nobell.patch
  cd sys/boot/i386/boot0
  bsdmake
  cp -f boot0 /boot/boot0
  boot0cfg -v -B -f /boot/boot0.bak -s 2 -o packet ad0

Be sure to check the arguments to boot0cfg match your system, do
a backup and have a fixit disk handy in case this breaks
anything.

If you can file a pr on this it would be great..

mark

--- 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

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.