Skip to contentSkip to conversation

raid,apm,ide, powers down too fast & corrupts raid

DISCUSSION [email protected] 3 participants 4 messages Apr 4, 2002 – Apr 5, 2002

lore
Share & tools
lore
#0 lore raw

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 <[email protected]>

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

#1 lore raw
Quoted 2 lines

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.

#2 lore raw
Quoted 6 lines · Alan Cox
Quoted 2 lines

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

#3 lore raw
Quoted 7 lines
Quoted 3 lines

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