]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.arch/s390-04-04-dasd_fatal_error_log_sense.patch
Reenabled linux-xen, added patches for Xen Kernel Version 2.6.27.31,
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.arch / s390-04-04-dasd_fatal_error_log_sense.patch
diff --git a/src/patches/suse-2.6.27.31/patches.arch/s390-04-04-dasd_fatal_error_log_sense.patch b/src/patches/suse-2.6.27.31/patches.arch/s390-04-04-dasd_fatal_error_log_sense.patch
new file mode 100644 (file)
index 0000000..c4ac633
--- /dev/null
@@ -0,0 +1,31 @@
+From: Gerald Schaefer <geraldsc@de.ibm.com>
+Subject: dasd: log sense for fatal errors.
+References: bnc#445100
+
+Symptom:     When a fatal error occures no sense data is printed.
+Problem:     During Hyper PAV work the log sense call was accidentally 
+             removed.
+Solution:    Call dasd_log_sense() for fatal errors.
+
+Acked-by: John Jolly <jjolly@suse.de>
+
+---
+ drivers/s390/block/dasd.c |    5 +++++
+ 1 file changed, 5 insertions(+)
+
+Index: linux-sles11/drivers/s390/block/dasd.c
+===================================================================
+--- linux-sles11.orig/drivers/s390/block/dasd.c
++++ linux-sles11/drivers/s390/block/dasd.c
+@@ -1773,6 +1773,11 @@ restart:
+                       goto restart;
+               }
++              /* log sense for fatal error */
++              if (cqr->status == DASD_CQR_FAILED) {
++                      dasd_log_sense(cqr, &cqr->irb);
++              }
++
+               /* First of all call extended error reporting. */
+               if (dasd_eer_enabled(base) &&
+                   cqr->status == DASD_CQR_FAILED) {