megaraid_sas problems on rt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

      I've been experiencing problems with the megaraid_sas driver under
some simple stress testing when using the rt patch. Simply running:

cat /dev/sda > /dev/null

will after a while make the driver start sending this to the logs:

sd 0:2:0:0: [sda] megasas: RESET -285224 cmd=28 retries=0
megasas: [ 0]waiting for 2 commands to complete
megasas: [ 5]waiting for 2 commands to complete
megasas: [10]waiting for 2 commands to complete


Till it gets to:

megasas: cannot recover from previous reset failures
sd 0:2:0:0: scsi: Device offlined - not ready after error recovery

And then no more I/O goes thru.

This happens with 2.6.21 + patch-2.6.21.5-rt10 and 2.6.23-rc2 +
patch-2.6.23-rc2-rt2, while not happening without the rt patch.

I looked at driver/scsi/megaraid/megaraid_sas.c and as what its
interrupt handler does is to just ack the int to the firmware and
schedule its tasklet I tried using IRQ_NODELAY and it made the problem
go away, after more than 20 hours of stress testing the system doesn't
exhibits the problem.

Ah, of course in the two machines were I tested, both Dell Poweredge
systems, the IRQ used by the cards was not shared with any other device.

I'm trying some ideas, such as making tasklet_schedule, when run from an
interrupt handler routine to run the tasklet action right away, not
waiting for the tasklet kthread to be scheduled, but the problem only
seems to take more time to happen.

Ideas?

- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux