* Re: high pitch noise with kernel 2.6 and ACPI (Dell Inspiron 8200)
[not found] ` <200402182017.47960.mailinglists-WoYc4IhrKEiELgA04lAiVw@public.gmane.org>
@ 2004-02-18 20:45 ` Michael Guntsche
[not found] ` <20040218214542.58569565.mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org>
2004-02-18 20:49 ` Dominik Brodowski
` (4 subsequent siblings)
5 siblings, 1 reply; 10+ messages in thread
From: Michael Guntsche @ 2004-02-18 20:45 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 1544 bytes --]
On Wed, 18 Feb 2004 20:17:47 +0100
Thomas Glomann <mailinglists-WoYc4IhrKEiELgA04lAiVw@public.gmane.org> wrote:
> On Wednesday 18 February 2004 14:32, Mads Paulin wrote:
> > Hi Thomas,
> >
> > funny you mention it, I thought I was going crazy.
> >
> > I experienced the same thing, and discovered it to be the hard drive.
> >
> > Try to spind the drive down using hdparm and see if that helps.
> >
> nope, putting the drive to sleep doesn't do the trick. the sound remains.
> Moreover I don't see how this "solution" was meant to work? Does the sound
> reappear when you wake up your disk or does it keep silent after a nice
> "onetime" sleep?
> > Obviously this is not a solution, but if it helps, kernel 2.6 could have
> > some other way of controlling the disk than 2.4.
> >
> Still it doesn't explain why that sound is gone when disabling the whole
> acpi-system.
> > The noise disappears when my hdd is under heavy load.
> > - Maybe you just cant here it then, or it actually disappears because it
> > is no longer idle
> >
> well thats true. as long as the disk is Not idle, the noise is gone. But
> returns right after.
>
> > Regards
> > Mads
>
> So any other ideas?
You could try and change HZ from 1000 to 100 in "src/linux/include/asm/param.h"
#ifdef __KERNEL__
# define HZ 1000 <--- change this to 100
# define USER_HZ 100 /* .. some user interfaces are in "ticks" */
# define CLOCKS_PER_SEC (USER_HZ) /* like times() */
#endif
It worked for me and I haven't seen any side effects after changing it.
/Michael
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: high pitch noise with kernel 2.6 and ACPI (Dell Inspiron 8200)
[not found] ` <200402182017.47960.mailinglists-WoYc4IhrKEiELgA04lAiVw@public.gmane.org>
2004-02-18 20:45 ` Michael Guntsche
@ 2004-02-18 20:49 ` Dominik Brodowski
2004-02-18 21:27 ` Jason Straight
` (3 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: Dominik Brodowski @ 2004-02-18 20:49 UTC (permalink / raw)
To: Thomas Glomann; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 2066 bytes --]
Maybe this is caused by the CPU being put into an idle mode (C-State). If
the HD is active, bm_activity [*] will be high and C3 will be disabled for
this time, so you won't hear the noise then. The difference between 2.4. and
2.6. is the different HZ value -- in 2.4., the sound was of ~100Hz
frequency, now it's 1kHz...
Dominik
[*] you can see that in /proc/acpi/processor/*/power
On Wed, Feb 18, 2004 at 08:17:47PM +0100, Thomas Glomann wrote:
> On Wednesday 18 February 2004 14:32, Mads Paulin wrote:
> > Hi Thomas,
> >
> > funny you mention it, I thought I was going crazy.
> >
> > I experienced the same thing, and discovered it to be the hard drive.
> >
> > Try to spind the drive down using hdparm and see if that helps.
> >
> nope, putting the drive to sleep doesn't do the trick. the sound remains.
> Moreover I don't see how this "solution" was meant to work? Does the sound
> reappear when you wake up your disk or does it keep silent after a nice
> "onetime" sleep?
> > Obviously this is not a solution, but if it helps, kernel 2.6 could have
> > some other way of controlling the disk than 2.4.
> >
> Still it doesn't explain why that sound is gone when disabling the whole
> acpi-system.
> > The noise disappears when my hdd is under heavy load.
> > - Maybe you just cant here it then, or it actually disappears because it
> > is no longer idle
> >
> well thats true. as long as the disk is Not idle, the noise is gone. But
> returns right after.
>
> > Regards
> > Mads
>
> So any other ideas?
>
>
> Thomas
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: high pitch noise with kernel 2.6 and ACPI (Dell Inspiron 8200)
[not found] ` <200402182017.47960.mailinglists-WoYc4IhrKEiELgA04lAiVw@public.gmane.org>
2004-02-18 20:45 ` Michael Guntsche
2004-02-18 20:49 ` Dominik Brodowski
@ 2004-02-18 21:27 ` Jason Straight
2004-02-18 22:11 ` Nate Lawson
` (2 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: Jason Straight @ 2004-02-18 21:27 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday February 18 2004 14:17, Thomas Glomann wrote:
> On Wednesday 18 February 2004 14:32, Mads Paulin wrote:
> > Hi Thomas,
> >
> > funny you mention it, I thought I was going crazy.
> >
> > I experienced the same thing, and discovered it to be the hard drive.
> >
> > Try to spind the drive down using hdparm and see if that helps.
>
> nope, putting the drive to sleep doesn't do the trick. the sound remains.
> Moreover I don't see how this "solution" was meant to work? Does the sound
> reappear when you wake up your disk or does it keep silent after a nice
> "onetime" sleep?
I think it was meant to be an attempt to see if it was the HD itself making
the noise somehow.
- --
Jason Straight
jason-FsARDRJRoaOsTnJN9+BGXg@public.gmane.org
jason-7Pts9v9A/dAFAfPL0dH0GeTW4wlIGRCZ@public.gmane.org
SkyCon Networks
phone: (231)627-3528
http://www.skycon.net/
ICQ: 1796276
pgp: http://www.jeetkunedomaster.net/~junfan/pgp.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iQCVAwUBQDPYqxFHZPcobeHxAQIlLAP+PVys3NSF9t2RBy0ljMFZX8H4k7Q+wPqv
h1vOMv6X44driIKItWratTevPNTz2qBG+T89f7ykt68SiTqtVS2TqJaViXpKxOO+
2va61gH0QH0zx/SIwmoXRg7xyhCaR8UI2mMzJGajp24AHQIxyXLrd1G6pFbhsCNM
Nhh9XFajGZY=
=hEOI
-----END PGP SIGNATURE-----
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: high pitch noise with kernel 2.6 and ACPI (Dell Inspiron 8200)
[not found] ` <200402182017.47960.mailinglists-WoYc4IhrKEiELgA04lAiVw@public.gmane.org>
` (2 preceding siblings ...)
2004-02-18 21:27 ` Jason Straight
@ 2004-02-18 22:11 ` Nate Lawson
2004-02-18 23:37 ` Adam Lackorzynski
2004-02-18 23:57 ` Markus Wiesner
5 siblings, 0 replies; 10+ messages in thread
From: Nate Lawson @ 2004-02-18 22:11 UTC (permalink / raw)
To: Thomas Glomann; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Wed, 18 Feb 2004, Thomas Glomann wrote:
> On Wednesday 18 February 2004 14:32, Mads Paulin wrote:
> > Hi Thomas,
> >
> > funny you mention it, I thought I was going crazy.
> >
> > I experienced the same thing, and discovered it to be the hard drive.
> >
> > Try to spind the drive down using hdparm and see if that helps.
> >
> nope, putting the drive to sleep doesn't do the trick. the sound remains.
> Moreover I don't see how this "solution" was meant to work? Does the sound
> reappear when you wake up your disk or does it keep silent after a nice
> "onetime" sleep?
> > Obviously this is not a solution, but if it helps, kernel 2.6 could have
> > some other way of controlling the disk than 2.4.
> >
> Still it doesn't explain why that sound is gone when disabling the whole
> acpi-system.
> > The noise disappears when my hdd is under heavy load.
> > - Maybe you just cant here it then, or it actually disappears because it
> > is no longer idle
> >
> well thats true. as long as the disk is Not idle, the noise is gone. But
> returns right after.
Disable cpu idling support or try various combinations of C1-C3. The
noise is most likely capacitors (dis)charging as part of chipset-supported
clock stopping. You can detect this case by changing the scheduling
quantum (HZ) to be something other than 1000.
-Nate
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: high pitch noise with kernel 2.6 and ACPI (Dell Inspiron 8200)
[not found] ` <200402182017.47960.mailinglists-WoYc4IhrKEiELgA04lAiVw@public.gmane.org>
` (3 preceding siblings ...)
2004-02-18 22:11 ` Nate Lawson
@ 2004-02-18 23:37 ` Adam Lackorzynski
2004-02-18 23:57 ` Markus Wiesner
5 siblings, 0 replies; 10+ messages in thread
From: Adam Lackorzynski @ 2004-02-18 23:37 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Wed Feb 18, 2004 at 20:17:47 +0100, Thomas Glomann wrote:
> So any other ideas?
I had this problem recently as well and the noise appeared when the
processor-ACPI module was loaded, unloading made it quiet again. This
wasn't on a Dell but on an HP notebook. Maybe this helps a bit.
Adam
--
Adam adam-IG//nw+yl+iQIjdd1DhZXWfrygkm6VTR@public.gmane.org
Lackorzynski http://os.inf.tu-dresden.de/~adam/
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: high pitch noise with kernel 2.6 and ACPI (Dell Inspiron 8200)
[not found] ` <200402182017.47960.mailinglists-WoYc4IhrKEiELgA04lAiVw@public.gmane.org>
` (4 preceding siblings ...)
2004-02-18 23:37 ` Adam Lackorzynski
@ 2004-02-18 23:57 ` Markus Wiesner
5 siblings, 0 replies; 10+ messages in thread
From: Markus Wiesner @ 2004-02-18 23:57 UTC (permalink / raw)
To: Thomas Glomann; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Thomas Glomann schrieb:
>On Wednesday 18 February 2004 14:32, Mads Paulin wrote:
>> Try to spind the drive down using hdparm and see if that helps.
>>
>nope, putting the drive to sleep doesn't do the trick. the sound
>remains.
I have the same problem with my Inspiron 8200. (Tried only 2.6.0 some
weeks ago, but the problem obviously still exists in newer kernels)
It has nothing to do with the drive but only the CPU being idle. When
doing e.g. "dd if=/dev/zero of=/dev/null" the noise is gone. Slowing
down the CPU via "echo $SOMELIMIT > /proc/acpi/processor/CPU0/limit"
reduces the noise, too. (lowering performance and throttling both help)
But both methods are not really a solution to make kernel 2.6 usable
with this machine. :-(
I read somewhere that it might be caused by the higher HZ value in
kernel 2.6 (1000, 2.4 uses 100). Is it safe to change this value or can
there be unwanted side effects?
Markus
--
This message has been ROT-13 encrypted twice for higher security.
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 10+ messages in thread