There are multiple problems with tape drives when using a media changer on an hpsa controller.
The problem appears for example when you label tapes in Dell Netvault.
The problem does not appear in current vanilla kernel 4.2.3.
After bisecting the problem the actually first good commit is:
3ce438df106826edde7ad724f3819716a3f0cf56 is the first bad commit
commit 3ce438df106826edde7ad724f3819716a3f0cf56
Author: Matt Gates <email address hidden>
Date: Wed Dec 4 17:10:36 2013 -0600
[SCSI] hpsa: allow SCSI mid layer to handle unit attention
We were clobbering the SCSI status and setting
cmd->result = DID_SOFT_ERROR << 16; to get a retry,
but better to let the mid layer handle the unit
attention.
Signed-off-by: Matt Gates <email address hidden>
Acked-by: Stephen M. Cameron <email address hidden>
Signed-off-by: James Bottomley <email address hidden>
:040000 040000 a7ea924772d20fd6faa968a855cffdb864876264 99765902968200eacf3a6ff1267b691a7bb24ebe M drivers
thanks to git bisecting rules:
good = label errors = old kernel
bad = no label errors = newer kernel
Please consider backporting that fix to the 3.13 ubuntu kernel.
There are multiple problems with tape drives when using a media changer on an hpsa controller.
The problem appears for example when you label tapes in Dell Netvault.
The problem does not appear in current vanilla kernel 4.2.3.
After bisecting the problem the actually first good commit is: dde7ad724f38197 16a3f0cf56 is the first bad commit dde7ad724f38197 16a3f0cf56
3ce438df106826e
commit 3ce438df106826e
Author: Matt Gates <email address hidden>
Date: Wed Dec 4 17:10:36 2013 -0600
[SCSI] hpsa: allow SCSI mid layer to handle unit attention
We were clobbering the SCSI status and setting
cmd->result = DID_SOFT_ERROR << 16; to get a retry,
but better to let the mid layer handle the unit
attention.
Signed-off-by: Matt Gates <email address hidden>
Acked-by: Stephen M. Cameron <email address hidden>
Signed-off-by: James Bottomley <email address hidden>
:040000 040000 a7ea924772d20fd 6faa968a855cffd b864876264 99765902968200e acf3a6ff1267b69 1a7bb24ebe M drivers
thanks to git bisecting rules:
good = label errors = old kernel
bad = no label errors = newer kernel
Please consider backporting that fix to the 3.13 ubuntu kernel.