Author: mzugec Date: Tue Feb 2 16:19:56 2010 New Revision: 60660 URL: http://svn.opensuse.org/viewcvs/yast?rev=60660&view=rev Log: DASD: support for additional dasd_configure ret codes (bnc#561876) Modified: branches/SuSE-Code-11-SP1-Branch/s390/VERSION branches/SuSE-Code-11-SP1-Branch/s390/package/yast2-s390.changes branches/SuSE-Code-11-SP1-Branch/s390/src/modules/DASDController.ycp Modified: branches/SuSE-Code-11-SP1-Branch/s390/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/s390/VERSION?rev=60660&r1=60659&r2=60660&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/s390/VERSION (original) +++ branches/SuSE-Code-11-SP1-Branch/s390/VERSION Tue Feb 2 16:19:56 2010 @@ -1 +1 @@ -2.17.13 +2.17.14 Modified: branches/SuSE-Code-11-SP1-Branch/s390/package/yast2-s390.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/s390/package/yast2-s390.changes?rev=60660&r1=60659&r2=60660&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/s390/package/yast2-s390.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/s390/package/yast2-s390.changes Tue Feb 2 16:19:56 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Feb 2 16:08:01 CET 2010 - mzugec@suse.cz + +- DASD: support for additional dasd_configure ret codes (bnc#561876) +- 2.17.14 + +------------------------------------------------------------------- Wed Dec 9 17:10:49 CET 2009 - mzugec@suse.cz - loging more verbose (log exit code when activate DASD) Modified: branches/SuSE-Code-11-SP1-Branch/s390/src/modules/DASDController.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/s390/src/modules/DASDController.ycp?rev=60660&r1=60659&r2=60660&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/s390/src/modules/DASDController.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/s390/src/modules/DASDController.ycp Tue Feb 2 16:19:56 2010 @@ -406,6 +406,16 @@ Report::Error (sformat ( // error report, %1 is device identification _("%1: Could not load module"), id)); + else if (ret == 7) + //bugzilla.novell.com/show_bug.cgi?id=561876#c8 + Report::Error (sformat ( + // error report, %1 is device identification + _("%1: Failed to activate DASD"), id)); + else if (ret == 8) + //bugzilla.novell.com/show_bug.cgi?id=561876#c8 + Report::Error (sformat ( + // error report, %1 is device identification + _("%1: DASD is not formatted"), id)); else Report::Error (sformat ( // error report, %1 is device identification, %2 is integer code @@ -440,7 +450,12 @@ Popup::Error(sformat("Couldn't find device for %1 channel", channel)); } } - } else { + } else if (ret == 7){ + // when return code is 7, set DASD offline + // https://bugzilla.novell.com/show_bug.cgi?id=561876#c9 + DeactivateDisk(channel, diag); + } + else { ReportActivationError (channel, ret); } disk_configured = true; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org