From cc462ffe4e10cceae338e1f442cbf516dcacb63b Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Mon, 29 Mar 2010 10:01:21 -1000 Subject: Use /sbin/dasd_cio_free to free blacklisted DASDs (#558881) Use the dasd_cio_free command to free blacklisted DASDs and block until they are available to set online and set other attributes. We were just writing "free $DEVICE" to /proc/cio_ignore, but we lacked the wait loop to make sure the device showed up. The /sbin/dasd_cio_free command does that for us, so we can just call that. NOTE: The dasd_cio_free command reads the DASD list from the output of the 'modprobe --showconfig' command, so the $DASD list is placed in the /etc/modprobe.d/dasd_mod.conf in module option format so that modprobe can return it correctly. --- scripts/upd-instroot | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/upd-instroot b/scripts/upd-instroot index d8375b452..f35b49dd8 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -725,6 +725,7 @@ lib/modules/ibm lib/s390-tools/lsznet.raw lib/s390-tools/znetcontrolunits lib/security +sbin/*_cio_free sbin/arp sbin/cmsfscat sbin/cmsfslst -- cgit