The RHEL 5.5 installer initrd checks for the well-known kernel params
CMSDASD and CMSCONFFILE, exposed as env vars:

linuxrc.s390:
     12 # Copyright (C) IBM Corp. 2008,2009
     13 #        Author: Steffen Maier <[email protected]>
...
     35 VERSION=1.2
...
   2757     # Parse configuration
   2758     if [ -n "$CMSDASD" -a -n "$CMSCONFFILE" ]; then
   2759         readcmsfile $CMSDASD $CMSCONFFILE
   2760         source /tmp/$CMSCONFFILE #2>/dev/null
   2761     fi

documented at
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Installation_Guide/s1-s390-steps-vm.html

however, I see the actual PARM being lowercased, e.g.

CP IPL 222 PARM rdinit=/bin/sh CMSDASD=234
(minidisk 222 prepared earlier with zipl)
results in an initrd shell showing:
# env
cmsdasd=234

Because the /sbin/init script is looking for CMSDASD, but the passed
parm has been lowercased to cmsdasd, it is ignored.

I see some discussion in the list archives about why the PARM values are
lowercased, but surely the init script should match? The docs have had
this syntax for years, which makes me suspect user error (my own) rather
than a genuine bug. Does it matter that I'm passing PARM directly in the
IPL command, rather than punching everything into the reader?


Cheers,
Phi

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to