Skip to contentSkip to conversation

mdadm-2.2 - kexec problem/bug

DISCUSSION Mario Döring 2 participants 3 messages Jan 23, 2006 – Jan 24, 2006 MD RAID

lore
Share & tools
lore
#0 lore raw

Hello :)

when rebooting my gentoo system with mdadm-2.2, I get the following error message on shutdown:

mdadm: fail to stop array /dev/md0: Device or resource busy md0 is my root partition

/dev/md0 is my root parition.

That is no problem with a real reboot or shutdown.

But with a "kexec reboot" the rebooted kernel hangs with several dma and irq errors.

The problem does not exist in version mdadm-2.1

I am not sure if this is the right place for reporting this issue..

Regards,
Mario.

#1 lore raw
Quoted 11 lines · On Monday January 23, [email protected] wrote:

Hello :)

when rebooting my gentoo system with mdadm-2.2, I get the following error message on shutdown:

mdadm: fail to stop array /dev/md0: Device or resource busy md0 is my root partition

/dev/md0 is my root parition.

Quoted 8 lines

That is no problem with a real reboot or shutdown.

But with a "kexec reboot" the rebooted kernel hangs with several dma and irq errors.

The problem does not exist in version mdadm-2.1

This does not sound at all like it could be an mdadm issue. If you are getting dma and irq errors then I suspect some low lever device driver is misbehaving or getting confused by kexec.

Quoted 2 lines

I am not sure if this is the right place for reporting this issue..

A good place to start, but I don't think you'll find the answer here. If there is a 'kexec' mailing list, try there, otherwise [email protected].
Also, include lots more details. Precise error messages, what sorts of drives and controllers you have, and the exact sequence of events.

NeilBrown

Quoted 8 lines

Regards,
Mario.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

Hello,

thank you for your response.

exact error messages are not easy, since the messages a) appear only for a short while or b) are incomplete because it is not possible to scroll up.

I don't have any dma/irq related problems with my hard disks without a kexec reboot.
And I don't have any problems with mdadm-2.1 and kexec reboot.

With mdadm-2.2 I get the following message on shutdown (or reboot (with and
without kexec)):

"mdamd: failed to stop /dev/md1 array, device or resource busy"

I am not sure if that error message comes directly from mdadm or is filtered by the gentoo script.

Other users have the same problem:
http://forums.gentoo.org/viewtopic-t-360870-highlight-mdadm+stop+array.html

Since mdadm-2.1 does not has this error, I assume that the kexec problem might be related to this mdadm-2.2 issue.

Do you still need more information about my hardware or is there anything I can do to get a more precise error message?

Bye,
Mario.

Quoted 49 lines · On Tue, 24 Jan 2006 14:08:58 +1100 Neil Brown <[email protected]> wrote:
Quoted 11 lines · On Monday January 23, [email protected] wrote:

Hello :)

when rebooting my gentoo system with mdadm-2.2, I get the following error message on shutdown:

mdadm: fail to stop array /dev/md0: Device or resource busy md0 is my root partition

/dev/md0 is my root parition.

Quoted 8 lines

That is no problem with a real reboot or shutdown.

But with a "kexec reboot" the rebooted kernel hangs with several dma and irq errors.

The problem does not exist in version mdadm-2.1

This does not sound at all like it could be an mdadm issue. If you are getting dma and irq errors then I suspect some low lever device driver is misbehaving or getting confused by kexec.

Quoted 2 lines

I am not sure if this is the right place for reporting this issue..

A good place to start, but I don't think you'll find the answer here. If there is a 'kexec' mailing list, try there, otherwise [email protected].
Also, include lots more details. Precise error messages, what sorts of drives and controllers you have, and the exact sequence of events.

NeilBrown

Quoted 8 lines

Regards,
Mario.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html