Skip to contentSkip to conversation

MPT2SAS deadlocking on failed disk

DISCUSSION Hubert Tonneau 2 participants 2 messages Oct 24, 2010 SCSI

lore
Share & tools
lore
#0 lore raw

Hi,

In stock Linux 2.6.35.7 kernel,
with mpt2sas driver connected to two disks (no raid at controler level), and Linux MD software RAID1,

if I hot unplug one of the disks,
instead of the failed disk beeing removed from the MD raid set, I get locked disk subsystem with all applications trying to write to the disks beeing locked. No kernel message related to disks, only to applications beeing locked.

This bug is probably not related specificaly to kernel 2.6.35.7 because I had not used LSI controlers for years.

Regards,
Hubert Tonneau

#1 lore raw
Quoted 6 lines · Hubert Tonneau

Hi,

In stock Linux 2.6.35.7 kernel,
with mpt2sas driver connected to two disks (no raid at controler level), and Linux MD software RAID1,

Quoted 8 lines

if I hot unplug one of the disks,
instead of the failed disk beeing removed from the MD raid set, I get locked disk subsystem with all applications trying to write to the disks beeing locked. No kernel message related to disks, only to applications beeing locked.

This bug is probably not related specificaly to kernel 2.6.35.7 because I had not used LSI controlers for years.

FWIW I had horrible problems on 2.6.35.x (grml) with the mpt2sas driver (like running lilo would eject most disks in a running raid6).

All these problems went away with 2.6.36.