Re: 2.6.31-rc9 kernel BUG and mvsas

From: Mikael Abrahamsson
Date: Fri Dec 04 2009 - 14:00:24 EST


On Thu, 3 Dec 2009, Kristleifur Daðason wrote:

On Thu, Dec 3, 2009 at 9:17 PM, Mikael Abrahamsson <swmike@xxxxxxxxx> wrote:

On Wed, 4 Nov 2009, Andre Tomt wrote:

Identical issues with the AOC-SASLP-MV8 card with 8 Seagate Barracuda
7200.11 1.5TB drives using the mvsas driver. Creating a md raid array seems
to trigger it nearly instantly, however other loads do not trigger it
as fast (if at all, only tested briefly with paralell dd).

Would just like to chime in with a "me too" on this. I've tried both ubuntu
9.10 kernel (2.6.31) and their 10.04 pre-alpha (guess it's 2.6.32-rc8) and
mvsas + AOC-SASLP-MV8 is pretty much unusable. If I start md creation it
stalls immediately and gets nowhere, last time I tried it md claimed it had
written 160 blocks then it stalled (all drive LEDs on the controller is
constantly lit).

If I boot without drives and then hot-plug the drives, it immediately
oops:es.

Any code/fixes I can try, this is a lab machine so I can easily do whatever
needed with it...


Hi,

I had a bit of trouble finding some patches that were released by Andy Yan at
Marvell on November 9th, so here is a link:

1/7: http://kerneltrap.org/mailarchive/linux-scsi/2009/11/9/6558753

They applied cleanly to the ubuntu 10.04 2.6.32 kernel source package but when compiling I received an error about "sas_change_queue_depth" having wrong amount of arguments:

- sas_change_queue_depth(sdev, MVS_QUEUE_SIZE);
+ sas_change_queue_depth(sdev, MVS_QUEUE_SIZE, SCSI_QDEPTH_DEFAULT);

So I removed that change and then things compiled, booted properly, but just froze when I plugged in the disks (including some garbled graphics on my X screen). That patch set doesn't seem to be ok.

--
Mikael Abrahamsson email: swmike@xxxxxxxxx