]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.39/patches.arch/s390-04-04-dasd_fatal_error_log_sense.patch
Fix oinkmaster patch.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.arch / s390-04-04-dasd_fatal_error_log_sense.patch
1 From: Gerald Schaefer <geraldsc@de.ibm.com>
2 Subject: dasd: log sense for fatal errors.
3 References: bnc#445100
4
5 Symptom: When a fatal error occures no sense data is printed.
6 Problem: During Hyper PAV work the log sense call was accidentally
7 removed.
8 Solution: Call dasd_log_sense() for fatal errors.
9
10 Acked-by: John Jolly <jjolly@suse.de>
11
12 ---
13 drivers/s390/block/dasd.c | 5 +++++
14 1 file changed, 5 insertions(+)
15
16 Index: linux-sles11/drivers/s390/block/dasd.c
17 ===================================================================
18 --- linux-sles11.orig/drivers/s390/block/dasd.c
19 +++ linux-sles11/drivers/s390/block/dasd.c
20 @@ -1773,6 +1773,11 @@ restart:
21 goto restart;
22 }
23
24 + /* log sense for fatal error */
25 + if (cqr->status == DASD_CQR_FAILED) {
26 + dasd_log_sense(cqr, &cqr->irb);
27 + }
28 +
29 /* First of all call extended error reporting. */
30 if (dasd_eer_enabled(base) &&
31 cqr->status == DASD_CQR_FAILED) {