mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Possible bug and question about ide_notify_reboot in 2.4.19
@ 2002-09-14 18:28 Alex Davis
  2002-09-14 19:32 ` Alan Cox
  0 siblings, 1 reply; 8+ messages in thread
From: Alex Davis @ 2002-09-14 18:28 UTC (permalink / raw)
  To: miquels; +Cc: linux-kernel

>Putting the drive in stand-by mode has the side effect of flushing
>the cache.
Maxtor's tech support says this is NOT true.

>So before poweroff, send the FLUSH CACHE command,
>then send the standby command, hope that one of them works ..
Problem is we're currently flushing the cache AFTER we do
standby...

>I put put-the-drive-in-standby-mode stuff in halt.c of sysvinit
>after several reports of fs corruption at poweroff and it seems
>to have fixed the problems for the people who reported them.
That code is only executed if the '-h' option is passed to halt:
Some distros (namely Slackware 7.x) pass the '-p' option instead
(look in /etc/rc.d/rc.0).


Ok how about this: I'm current testing some patches against
ide.c and friends. Why don't I just add ( and document ) a
define called NO_STANDBY_ON_SHUTDOWN which would live in 
ide.c. By default it would not be defined. Then I just wrap
the standby code in an '#ifndef NO_STANDBY_ON_SHUTDOWN..#endif'
block.




__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

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

end of thread, other threads:[~2002-09-15  7:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-14 18:28 Possible bug and question about ide_notify_reboot in 2.4.19 Alex Davis
2002-09-14 19:32 ` Alan Cox
2002-09-14 19:52   ` Alex Davis
2002-09-14 21:14     ` Andre Hedrick
2002-09-14 20:57   ` Andre Hedrick
2002-09-14 21:41     ` Alex Davis
2002-09-15  4:16       ` Andre Hedrick
2002-09-15  7:40         ` Alex Davis

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

all inboxes | Powered by JetHome®