Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When DRAM is idle the system I have is putting the DRAM modules in a power down/self refresh mode and no clock is sent to the DRAM. This is causing issues with a debugging tool I have attached to the memory.
I would like to know if/how this feature can be disabled from within Linux or the Kernel as it does not seem to happen if the machine is paused at boot stage.
I am running kernel 3.16.6 and cannot find anything that makes a difference with make xconfig. There is an Intel specific option CONFIG_I7300_IDLE which makes no difference on the Supermicro Opteron based board I have.
There are some files in /sys/devices/system/memory/, is this where the self refresh mode can be disabled?
When DRAM is idle the system I have is putting the DRAM modules in a power down/self refresh mode and no clock is sent to the DRAM. This is causing issues with a debugging tool I have attached to the memory.
I would like to know if/how this feature can be disabled from within Linux or the Kernel as it does not seem to happen if the machine is paused at boot stage.
My understanding is that there is a defined sequence for powering down a DRAM module called a POWER DOWN ENTRY. This consists of removing clock enable, CKE, while the chip is still selected CS#. After that the clock is removed. This can be actioned by setting the EnterSelfRef bit in the DRAM configuration low register, for an AMD Opteron.
Something somewhere must be doing this, or something similar, or is the result of some other function. Whatever the source is, it would seem Linux has a role to play as it does not seem to happen if Linux is not booted.
For anyone that is interested I did find a solution to my problem.
By adding idle=poll to the kernel boot options you can stop this power saving mode. I am not suggesting it would be something of any value to anyone else but it did what I wanted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.