Re: [gentoo-user] My harddisk doesn't want to spin down permanently
Hey! The maintainer of laptop-mode has contacted me directly. After a few mails we (or he) came to the conclusion that my drive is not supported yet properly. He will try to fix this issues and support newer harddisks as soon as possible (probably within the next month). Thanks to all of you for replying and helping me with my problem. Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] My harddisk doesn't want to spin down permanently
On 1/26/07, Jakob Buchgraber <[EMAIL PROTECTED]> wrote: The drive is mounted (contains the / partition). If no program access the harddisk, this actually shouldn't matter as otherwise the whole concept of laptop-mode etc. is nuts (or I completely misunderstood it :-) ). So does it only work if no partition of the harddisk is mounted? Help is greatly appreciated! Cheers, Jay From what i've read of laptop mode, it basically does lots of disk caching to reduce IO calls, but not completely eliminate them. Eventually, the disk will need to be spun up again to synchronise the disk with ram and make everything square, and then put new data in the ram and get rid of stuff no longer relevant. So in my understanding, limited ram could possibly be a choking point. Hope these can be of use ^^; http://www.thinkwiki.org/wiki/Laptop-mode http://kerneltrap.org/node/653 -- /
Re: [gentoo-user] My harddisk doesn't want to spin down permanently
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Randy Barlow wrote: > I can't help you with your problem, but I can say that laptop mode > doesn't properly spin down my laptop's hard drive, and my / partition is > mounted there when it does so. OK, I'm an idiot - I meant to say that it DOES properly spin down my hard drive. Maybe I need some more sleep... R -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFuToChOwpC65EoKARAiu8AKChxR7GQAGOaI3lnlN5xgAswJP3TgCcCTrG bBREYqTzXbiAH0M67gz06Ps= =ixmE -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] My harddisk doesn't want to spin down permanently
Jakob Buchgraber wrote: The drive is mounted (contains the / partition). If no program access the harddisk, this actually shouldn't matter as otherwise the whole concept of laptop-mode etc. is nuts (or I completely misunderstood it :-) ). Some more guesses that are not solutions :-) : Other factors might be journal write (if / is a journaled file system), or swap activity (if your laptop is short on ram) - basically the kernel needs to do housekeeping stuff - possibly for a little while after you have stopped doing anything. However I'd expect that after a *while* (i.e few minutes) it should settle down - no more activity should mean no more file buffer cache flushes, swaps or journal writes. have you tried leaving the machine for a few minutes (i.e going and making a coffee), *then* stopping the drive? Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] My harddisk doesn't want to spin down permanently
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jakob Buchgraber wrote: > So does it only work if no partition of the harddisk is mounted? I can't help you with your problem, but I can say that laptop mode doesn't properly spin down my laptop's hard drive, and my / partition is mounted there when it does so. R -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFuTbFhOwpC65EoKARAqRcAJ44xNXYQADtBHqECp/PRpi4R2lS4QCgskCc q9r+NpsBcn70DxXO8/PkqRA= =8J50 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] My harddisk doesn't want to spin down permanently
Kent Fredric wrote: n 1/26/07, Jakob Buchgraber <[EMAIL PROTECTED]> wrote: Hello! I've been trying to get the standby of my harddisk work for hours. I am actually really frustrated :-) . My problem is that whenever I but my hdd to standby, it stays there for a few seconds and then comes back to work again. So I first thought that there must be any program accessing the harddisk on a regular basis. So I ran lm-profiler - but nothin'. If the drive is mounted, yeah, I'd expect to be spinning up, but if its not mounted then I dont see a reason for it to be spinning up. If its mounted the kernel will most probably be doing disk-caching in ram, and will probably be randomly probing the drive for data to stick in the cache ( Ok, tbh, i dont know a lot about the internals of disk caching, I'm just saying its feasible ). If its unmounted I think its feasable that the SATA HOTSWAPability function could be tripping the sata socket to see if theres anything still there and waking it up *shrugs* Mostly Uneducated guesses, but suppose it gives others a starting point to look for possibilities :) Thanks for your reply! The drive is mounted (contains the / partition). If no program access the harddisk, this actually shouldn't matter as otherwise the whole concept of laptop-mode etc. is nuts (or I completely misunderstood it :-) ). So does it only work if no partition of the harddisk is mounted? Help is greatly appreciated! Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] My harddisk doesn't want to spin down permanently
n 1/26/07, Jakob Buchgraber <[EMAIL PROTECTED]> wrote: Hello! I've been trying to get the standby of my harddisk work for hours. I am actually really frustrated :-) . My problem is that whenever I but my hdd to standby, it stays there for a few seconds and then comes back to work again. So I first thought that there must be any program accessing the harddisk on a regular basis. So I ran lm-profiler - but nothin'. If the drive is mounted, yeah, I'd expect to be spinning up, but if its not mounted then I dont see a reason for it to be spinning up. If its mounted the kernel will most probably be doing disk-caching in ram, and will probably be randomly probing the drive for data to stick in the cache ( Ok, tbh, i dont know a lot about the internals of disk caching, I'm just saying its feasible ). If its unmounted I think its feasable that the SATA HOTSWAPability function could be tripping the sata socket to see if theres anything still there and waking it up *shrugs* Mostly Uneducated guesses, but suppose it gives others a starting point to look for possibilities :) -- Kent -- gentoo-user@gentoo.org mailing list
[gentoo-user] My harddisk doesn't want to spin down permanently
Hello! I've been trying to get the standby of my harddisk work for hours. I am actually really frustrated :-) . My problem is that whenever I but my hdd to standby, it stays there for a few seconds and then comes back to work again. So I first thought that there must be any program accessing the harddisk on a regular basis. So I ran lm-profiler - but nothin'. There is no program accessing my hdd. I tried both. laptop-mode and hdparm to get my hdd to standby. */etc/init.d/laptop-mode start (default configuration)* and *hdparm -S 5 /dev/sda* I don't get any error messages. My hdd just doesn't want to spin down permanently... It's an SATA drive (/dev/sd*). Any hint? Cheers, Jay -- gentoo-user@gentoo.org mailing list