*BSD News Article 63687


Return to BSD News archive

Newsgroups: comp.unix.bsd.netbsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!asstdc.scgt.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.ac.net!news.cais.net!usenet.seri.re.kr!news.imnet.ad.jp!wnoc-tyo-news!rena!ares!tokyonet.ad.jp!sectrl!news
From: Todd Williamson <toddw@rb.isl.secom.co.jp>
Subject: Re: Gateway Handbook speaker screech?
Content-Type: text/plain; charset=us-ascii
To: Jim Rees <rees@umich.edu>
Message-ID: <3147B676.41C67EA6@rb.isl.secom.co.jp>
Sender: news@sectrl.isl.secom.co.jp
Nntp-Posting-Host: 192.168.200.211
Content-Transfer-Encoding: 7bit
Organization: SECOM Intelligent Systems Laboratory, Japan
References: <74380ec8.17275@luckey.citi.umich.edu>
Mime-Version: 1.0
Date: Thu, 14 Mar 1996 06:02:30 GMT
X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.4-JL sun4m)
Lines: 23

Jim Rees wrote:
> 
> I'm running Netbsd 1.1 on my Gateway Handbook 486, and it makes this
> horrible buzzing or screeching noise in the speaker.  Anyone got a fix?

I had the same problem with my Handbook 486.  It turns out that the
Handbook doesn't like for you to call the x86 HLT instruction too often,
which unfortunately the idle loop for i386 NetBSD does.

The fix is to go into /usr/src/sys/arch/i386/i386/locore.s and remove
the only occurence of "hlt" in the file, then recompile the kernel.

Since the HLT instruction is supposed to help save power, this will
probably reduce the battery life significantly, but I think it's
preferable to that horrible whine.

You'll probably want the APM and PCMCIA patches too (they'll probably
make it into NetBSD-current before too long).  That'll let you use your
PCMCIA cards and suspend/resume the machine properly.

Todd Williamson
SECOM Intelligent Systems Laboratory
Tachikawa, Tokyo, JAPAN