public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: New ac patch???
@ 2001-11-21 13:29 Petr Vandrovec
  2001-11-26 20:39 ` Alan Cox
  0 siblings, 1 reply; 23+ messages in thread
From: Petr Vandrovec @ 2001-11-21 13:29 UTC (permalink / raw)
  To: Alan Cox; +Cc: Marcel J.E. Mol, Roy Sigurd Karlsbakk, linux-kernel

On 21 Nov 01 at 11:12, Alan Cox wrote:
> > > Not exaclty. It is a 48Gig drive in a dell inspiron 8000. I think it is
> > > IBM but the logs do not show a brandname. I can try open up the case tonight
> > > if you want to know for sure?
> > 
> > It's an IBM IC25T048ATDA05-0 to be precise.
> 
> Thanks. It seems IBM laptop drives are the ones that specifically need this
> fix. That ties in with the windows 98 reports/microsoft fixes.

If it will go into mainstream, please change it to config option or
something like that. I'm doing 

for a in /dev/hd[a-z]; do hdparm -Y $a; done

in my poweroff script. With -ac /sbin/halt then stops on each disk 
for couple of seconds, because of drive in sleep mode does not respond,
and so IDE driver has to timeout, reinit interface and flush cache
(fortunately drive does not spin up again).
                                        Thanks,
                                                Petr Vandrovec
                                                vandrove@vc.cvut.cz
                                                

^ permalink raw reply	[flat|nested] 23+ messages in thread
* Re: New ac patch???
@ 2001-11-26 21:47 Petr Vandrovec
  0 siblings, 0 replies; 23+ messages in thread
From: Petr Vandrovec @ 2001-11-26 21:47 UTC (permalink / raw)
  To: Alan Cox; +Cc: Marcel J.E. Mol, Roy Sigurd Karlsbakk, linux-kernel

On 26 Nov 01 at 20:39, Alan Cox wrote:
> > If it will go into mainstream, please change it to config option or
> > something like that. I'm doing 
> > 
> > for a in /dev/hd[a-z]; do hdparm -Y $a; done
> 
> Thats somewhat undefined in its behaviour. You might also page after the
> hdparm -Y

cat /sbin/halt > /dev/null
cat /bin/sleep > /dev/null
for a in /dev/hd[a-z]; do /sbin/hdparm -Y $a; done
/bin/sleep 1
/sbin/halt -d -f -i -p -h

works without a glitch - libc & co. is already in memory due to running
other code, hdparm is read during first pass through the loop, and cat 
brings /sbin/halt into the memory. And as root filesystem is mounted 
read-only at that time, there are of course no atime updates pending from 
these accesses.
                                        Best regards,
                                            Petr Vandrovec
                                            vandrove@vc.cvut.cz
                                            

^ permalink raw reply	[flat|nested] 23+ messages in thread
* New ac patch???
@ 2001-11-18 14:43 Roy Sigurd Karlsbakk
  2001-11-18 14:49 ` J Sloan
  2001-11-18 15:05 ` Alan Cox
  0 siblings, 2 replies; 23+ messages in thread
From: Roy Sigurd Karlsbakk @ 2001-11-18 14:43 UTC (permalink / raw)
  To: linux-kernel

Hi all

When will the AC patches follow the linus tree?

thanx

--
Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA

Computers are like air conditioners.
They stop working when you open Windows.


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2001-11-26 20:50 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-21 13:29 New ac patch??? Petr Vandrovec
2001-11-26 20:39 ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2001-11-26 21:47 Petr Vandrovec
2001-11-18 14:43 Roy Sigurd Karlsbakk
2001-11-18 14:49 ` J Sloan
2001-11-18 15:05 ` Alan Cox
2001-11-20 20:47   ` Roy Sigurd Karlsbakk
2001-11-20 23:38     ` Alan Cox
2001-11-21  9:08       ` Marcel J.E. Mol
2001-11-21  9:21         ` Alan Cox
2001-11-21  9:33           ` Marcel J.E. Mol
2001-11-21 10:16             ` Rasmus Bøg Hansen
2001-11-21 11:00             ` Dominik Kubla
2001-11-21 11:12               ` Alan Cox
2001-11-21 11:57                 ` Miquel van Smoorenburg
2001-11-21 12:23                 ` Marcel J.E. Mol
2001-11-21 17:34                   ` Jakob Kemi
2001-11-22  3:03                 ` Jeff Chua
2001-11-22  7:29                   ` Marcel J.E. Mol
2001-11-22  8:30                     ` Jeff Chua
2001-11-22  7:30               ` Marcel J.E. Mol
2001-11-21 10:43           ` Miquel van Smoorenburg
2001-11-24  0:23           ` Arnvid Karstad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox