All of lore.kernel.org
 help / color / mirror / Atom feed
* raid,apm,ide, powers down too fast & corrupts raid
@ 2002-04-04 18:34 brian
  2002-04-04 19:34 ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: brian @ 2002-04-04 18:34 UTC (permalink / raw)
  To: linux-kernel

When I power off a system running bootable software RAID mirroring the
raid array is unclean when the system boots back up.

Neil Brown pointed out that the problem may be related to APM shutting
the computer off before everybody (md driver and/or ide and/or drives)
are ready.

Compiling the kernel without APM/ACPI support certainly solves the
problem.

I'm running Linux 2.4.18 on this system.  Has this problem been
addressed in any later versions?

Or shall I start exploring the APM, ide driver, md driver, ide
drive interactions?

--
Brian Litzinger <brian@worldcontrol.com>

    Copyright (c) 2002 By Brian Litzinger, All Rights Reserved

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

* Re: raid,apm,ide, powers down too fast & corrupts raid
  2002-04-04 18:34 raid,apm,ide, powers down too fast & corrupts raid brian
@ 2002-04-04 19:34 ` Alan Cox
  2002-04-05  9:19   ` Luigi Genoni
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Cox @ 2002-04-04 19:34 UTC (permalink / raw)
  To: brian; +Cc: linux-kernel

> I'm running Linux 2.4.18 on this system.  Has this problem been
> addressed in any later versions?

If the box is IDE then current 2.4.19pre/2.4.19-ac trees actually send
flush commands to the IDE disks to be sure its cleared everything out. It
might be that.

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

* Re: raid,apm,ide, powers down too fast & corrupts raid
  2002-04-04 19:34 ` Alan Cox
@ 2002-04-05  9:19   ` Luigi Genoni
  2002-04-05 12:36     ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Luigi Genoni @ 2002-04-05  9:19 UTC (permalink / raw)
  To: Alan Cox; +Cc: brian, linux-kernel



On Thu, 4 Apr 2002, Alan Cox wrote:

> > I'm running Linux 2.4.18 on this system.  Has this problem been
> > addressed in any later versions?
>
> If the box is IDE then current 2.4.19pre/2.4.19-ac trees actually send
> flush commands to the IDE disks to be sure its cleared everything out. It
> might be that.

Does that work well with disk cache?
(incidentally, I do not have actually IDE disks out of production, so I
cannot test)

Luigi




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

* Re: raid,apm,ide, powers down too fast & corrupts raid
  2002-04-05  9:19   ` Luigi Genoni
@ 2002-04-05 12:36     ` Alan Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 2002-04-05 12:36 UTC (permalink / raw)
  To: Luigi Genoni; +Cc: Alan Cox, brian, linux-kernel

> > If the box is IDE then current 2.4.19pre/2.4.19-ac trees actually send
> > flush commands to the IDE disks to be sure its cleared everything out. It
> > might be that.
> 
> Does that work well with disk cache?
> (incidentally, I do not have actually IDE disks out of production, so I
> cannot test)

Its actually asking the IDE disk to flush its cache yes

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

end of thread, other threads:[~2002-04-05 12:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-04 18:34 raid,apm,ide, powers down too fast & corrupts raid brian
2002-04-04 19:34 ` Alan Cox
2002-04-05  9:19   ` Luigi Genoni
2002-04-05 12:36     ` Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.