high pitch noise with kernel 2.6 and ACPI (Dell Inspiron 8200)
Hello,
I am running a Dell Inspiron 8200 laptop with a gentoo linux. Since my first experiments with kernel 2.6 I always experience a high noise frequency noise coming back right corner (psu?) of my laptop. This happens with every 2.6 kernel i have tried so far. Currently it is 2.6.2.
This is definitely related to the ACPI system in the 2.6 kernels ! If i boot a kernel with the "acpi=off" option, then the noise is gone.
And there is also a very strange thing. This sound occurs only in kernel 2.6. A 2.4 kernel patched with ACPI does NOT produce that sound.
I haven't found any related information here in this mailing list (archive) but in the kernel mailing list, there you can find some posts describing exactly the same behavior. Someone suggested to use "apm=ide-treshold=100" as kernel option. But that didn't help, nor unloading thermal.o. (google for "high pitch noise" , there you will that thread)
And there's two more things:
# The noise is somewhat linked to the CPU clock. I have a mobile P4 processor with 2 performance profiles : 2000 and 1200 Mhz. The noise becomes quieter when changing to 1200 Mhz but it still is there. just not that loud as with the default 2000 Mhz.
# The noise disappears when my hdd is under heavy load.
I really like to get rid off that annoying sound. I can't bear it though it is only faint. For now, I use kernel 2.4 but I really want to switch to 2.6 and have acpi enabled of course.
Please help me !
Thanks a lot !
regards
Thomas Glomann
Regensburg, Germany
-------------------------------------------------------
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
A message that is not in the archive (sent off-list or not yet received): 200402181320.29381.mailinglists-WoYc4IhrKEiELgA04lAiVw@public.gmane.org
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.
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.
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
Regards
Mads
Quoted 46 lines · Thomas Glomann
Hello,
I am running a Dell Inspiron 8200 laptop with a gentoo linux. Since my first experiments with kernel 2.6 I always experience a high noise frequency noise coming back right corner (psu?) of my laptop. This happens with every 2.6 kernel i have tried so far. Currently it is 2.6.2.
This is definitely related to the ACPI system in the 2.6 kernels ! If i boot a kernel with the "acpi=off" option, then the noise is gone.
And there is also a very strange thing. This sound occurs only in kernel 2.6. A 2.4 kernel patched with ACPI does NOT produce that sound.
I haven't found any related information here in this mailing list (archive) but in the kernel mailing list, there you can find some posts describing exactly the same behavior. Someone suggested to use "apm=ide-treshold=100" as kernel option. But that didn't help, nor unloading thermal.o. (google for "high pitch noise" , there you will that thread)
And there's two more things:
# The noise is somewhat linked to the CPU clock. I have a mobile P4 processor with 2 performance profiles : 2000 and 1200 Mhz. The noise becomes quieter when changing to 1200 Mhz but it still is there. just not that loud as with the default 2000 Mhz.
# The noise disappears when my hdd is under heavy load.
I really like to get rid off that annoying sound. I can't bear it though it is only faint. For now, I use kernel 2.4 but I really want to switch to 2.6 and have acpi enabled of course.
Please help me !
Thanks a lot !
regards
Thomas Glomann
Regensburg, Germany
Quoted 9 lines
-------------------------------------------------------
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel
-------------------------------------------------------
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
A message that is not in the archive (sent off-list or not yet received): 1077111155.2028.3.camel-LS+HbC+WUqy6wZ7Myly0Ql9iRXqZKEsZ@public.gmane.org
Quoted 8 lines · Mads Paulin
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?
Quoted 3 lines
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.
Quoted 4 lines
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.
Quoted 2 lines
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
A message that is not in the archive (sent off-list or not yet received): 200402182017.47960.mailinglists-WoYc4IhrKEiELgA04lAiVw@public.gmane.org
Quoted 22 lines · On Wed, 18 Feb 2004 20:17:47 +0100 Thomas Glomann…
Quoted 8 lines · Mads Paulin
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?
Quoted 3 lines
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.
Quoted 4 lines
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
Quoted 7 lines
well thats true. as long as the disk is Not idle, the noise is gone. But returns right after.
Quoted 2 lines
Regards
MadsSo 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
A message that is not in the archive (sent off-list or not yet received): 20040218214542.58569565.mike-Z92qn3yYq0hWk0Htik3J/[email protected]
Quoted 10 lines
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
Quoted 4 lines
It worked for me and I haven't seen any side effects after changing it.
/Michael
I will try that and see if there's any side effects.
Thanks alot guys ! :)
-------------------------------------------------------
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
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
Quoted 43 lines · Thomas Glomann
Quoted 8 lines · Mads Paulin
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?
Quoted 3 lines
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.
Quoted 4 lines
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 idlewell thats true. as long as the disk is Not idle, the noise is gone. But returns right after.
Quoted 2 lines
Regards
MadsSo 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 [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 5 lines · Thomas Glomann
Quoted 4 lines · Mads Paulin
Hi Thomas,
funny you mention it, I thought I was going crazy.
Quoted 8 lines
Quoted 3 lines
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 [email protected] jason-7Pts9v9A/[email protected] 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_id56&alloc_id438&op=click
Quoted 16 lines · Thomas Glomann
Quoted 8 lines · Mads Paulin
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?
Quoted 3 lines
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.
Quoted 8 lines
Still it doesn't explain why that sound is gone when disabling the whole acpi-system.
Quoted 4 lines
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 idlewell 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
Quoted 1 line · Thomas Glomann
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
Signature · 9 lines
Adam adam-IG//[email protected] 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
Quoted 5 lines · Thomas Glomann
Quoted 2 lines · Mads Paulin
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
Signature · 8 lines
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