device_cio_free.conf

Waiki Wright waiki at linux.vnet.ibm.com
Tue Oct 4 21:20:17 UTC 2011


Dan,
During the start up sequence, I encountered this error message (which 
came from device_cio_free script)

Error: /proc/cio_ignore kernel interface doesn't exist

And it is certainly comes from the race condition that I mentioned before.

I applied the following "in-house" patches and the error message went away:

  diff -Npur rcS.conf.orig rcS.conf
--- rcS.conf.orig       2011-08-18 19:58:06.998420543 +0200
+++ rcS.conf    2011-10-04 23:04:35.385850069 +0200
@@ -14,6 +14,7 @@ task
  console output
  exec /etc/rc.d/rc.sysinit
  post-stop script
+        initctl emit --no-wait procmounted
         if [ "$UPSTART_EVENTS" = "startup" ]; then
                 [ -f /etc/inittab ] && runlevel=$(/bin/awk -F ':' '$3 
== "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab)
                 [ -z "$runlevel" ] && runlevel="3"


diff -Npur device_cio_free.conf.orig
device_cio_free.conf
--- device_cio_free.conf.orig   2011-08-18 19:57:54.568472020 +0200
+++ device_cio_free.conf        2011-08-18 20:00:23.478419433 +0200
@@ -2,7 +2,8 @@
  # free all devices on startup
  #

-start on starting rcS
+#Start when /proc is mounted
+start on procmounted

  task

Any comments?
We are temporary using these "in-house" patches until we hear more from 
you in regard to a possible solution.

Thanks!
Waiki


More information about the s390x mailing list