Hey Guys,

  I'm trying to use the RHEL5 EAL4 IBM kickstart for s390x, and having
issues during the installation.  When the process begins I get prompted
to validate my installation media source.  Regardless of my input
(enter, white space, full value) the script only processes the first
character of my input.  Example:

Using volume group 'VolGroup01'.
(Answer '!' at any prompt to get an interactive shell)

Installation source
[http://192.168.5.216/kickstart/dist/ks-rhel-s390x-server-5-u3/] ?
(HITTING ENTER, OR GIVING THE FULL URL AGAIN, HERE)

sh-3.2#
(HITTING ENTER, OR GIVING THE FULL URL AGAIN, HERE)

After which, the install errors out saying "invalid installation
source", specifically:
+ die unsupported installation source ' '
+ echo_user FATAL: unsupported installation source ' '
+ echo FATAL: unsupported installation source ' '
Note that in the above snip, there is a white space between the two '
marks.  In reality, the kickstart script only captures the first
character that is inputed.


In the kickstart script, here is the code that performs this check
gen_instsrc () {
        local Src
        Src="$INSTSRC"
        case "$Src" in
                cdrom*) Src="cdrom"
                        ;;
                nfs:*)  Src=$(echo "$Src" | sed
's/nfs:\(.*\):\(.*\)/nfs --server=\1 --dir=\2/')
                        ;;
                hd:*)   Src=$(echo "$Src" | sed
's/hd:\/\/\([^\/]*\)\/\(.*\)/harddrive --partition=\1 --dir=\2/')
                        ;;
                http:*|ftp:*)
                        Src="url --url $Src"
                        ;;
                *)      die "unsupported installation source '$Src'"
                        ;;
        esac

Note that I receive the same error regardless of inputed choice [cdrom,
nfs, http, ftp...].

Has anyone been able to use the common criteria kickstarts? I can't find
anything on google about this being a known problem.

My full log is attached.  If helpful, a screen capture of me going
through all this is available at
http://people.redhat.com/swells/Take1-HittingEnter.ogg

-shawn


----------------------------------------------------------------------
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
*** Common Criteria configuration kickstart ***

Using volume group 'VolGroup01'.
(Answer '!' at any prompt to get an interactive shell)

Installation source 
[http://192.168.5.216/kickstart/dist/ks-rhel-s390x-server-5-u3/] ? (HITTING 
ENTER HERE)

sh-3.2# (HITTING ENTER HERE)

Available destination disks:
dasda 2347.734375
dasdb 2347.734375

Install on which disk(s), comma separated [dasda] ?
Hostname (fully qualified) [z219.z900.redhat.com] ?
Network interface [eth0] ?
IP address [192.168.5.219] ?
Netmask [255.255.255.0] ?
Gateway [192.168.5.254] ?
Nameserver list (comma separated) [172.16.52.28] ? FATAL: unsupported 
installati'n source '
Traceback (most recent call last):
  File "/usr/bin/anaconda", line 962, in ?
    instClass.setInstallData(anaconda)
  File "/usr/lib/anaconda/kickstart.py", line 902, in setInstallData
    self.ksparser.readKickstart(self.file)
  File "/usr/lib/python2.4/site-packages/pykickstart/parser.py", line 1144, in 
readKickstart
    self.readKickstart (args[1])
  File "/usr/lib/python2.4/site-packages/pykickstart/parser.py", line 1091, in 
readKickstart
    fh = open(file)
IOError: [Errno 2] No such file or directory: '/tmp/capp-lspp-disks.cfg'
Press <enter> for a shell
Connection to 192.168.5.219 closed by remote host.
Connection to 192.168.5.219 closed.

----------------------------------------------------------------------
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
sh-3.2# + stty -g 
+ STTY_SAVE=500:5:bf:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0
:0:0:0:0:0:0:0:0:0 
+ stty sane 
+ reset 
+ echo_user *** Common Criteria configuration kickstart *** 
+ echo *** Common Criteria configuration kickstart *** 
+ echo_user 
+ echo 
+ list-harddrives 
+ DISK_LIST=dasda 2347.734375 
dasdb 2347.734375 
+ echo dasda 2347.734375 
dasdb 2347.734375 
+ cut -d  -f1 
+ DISKS_AVAILABLE=dasda 
dasdb 
+ route -n 
+ awk /^0\.0\.0\.0/ {print $8} 
+ IFACE=eth0 
+ Ý ! -z eth0 ¨ 
+ hostname 
+ NAME=z219.z900.redhat.com 
+ expr z219.z900.redhat.com : localhost 
+ ifconfig eth0 
+ sed -n s/.*inet addr:\(Ý^ ¨*\).*/\1/p 
+ IP=192.168.5.219 
+ ifconfig eth0 
+ sed -n s/.*Mask:\(Ý^ ¨*\).*/\1/p 
+ MASK=255.255.255.0 
+ route -n 
+ awk /^0\.0\.0\.0/ {print $2} 
+ GATE=192.168.5.254 
+ awk /^nameserver/ {print $2} 
+ sed s/ /,/g 
+ echo 172.16.52.28 
+ DNS=172.16.52.28 
+ cmdline_val method cdrom 
+ cat /proc/cmdline 
+ sed -n s/.*method=\(Ý^ ¨*\).*/\1/p 
+ Res=http://192.168.5.216/kickstart/dist/ks-rhel-s390x-server-5-u3/ 
+ Ý -z http://192.168.5.216/kickstart/dist/ks-rhel-s390x-server-5-u3/ ¨ 
+ echo http://192.168.5.216/kickstart/dist/ks-rhel-s390x-server-5-u3/ 
+ INSTSRC=http://192.168.5.216/kickstart/dist/ks-rhel-s390x-server-5-u3/ 
+ Interactive= 
+ cmdline_val instdisk 
+ cat /proc/cmdline 
+ sed -n s/.*instdisk=\(Ý^ ¨*\).*/\1/p 
+ Res= 
+ Ý -z  ¨ 
+ echo  
+ DISKS_INST= 
+ Ý -z  ¨ 
+ echo dasda 
dasdb 
+ head -1 
+ DISKS_INST=dasda 
+ Interactive=y 
+ Ý -z 192.168.5.219 ¨ 
+ PV_ID=42001 
+ VgNum=00 
+ true 
+ printf VolGroup%02d 00 
+ VGNAME=VolGroup00 
+ lvm vgscan 
+ grep VolGroup00 
  Found volume group "VolGroup00" using metadata type lvm2 
+ VgNum=1 
+ true 
+ printf VolGroup%02d 1 
+ VGNAME=VolGroup01 
+ lvm vgscan 
+ grep VolGroup01 
+ break 
+ echo_user Using volume group 'VolGroup01'. 
+ echo Using volume group 'VolGroup01'. 
+ Ý y ¨ 
+ true 
+ echo_user (Answer '!' at any prompt to get an interactive shell) 
+ echo (Answer '!' at any prompt to get an interactive shell) 
+ ask Installation source http://192.168.5.216/kickstart/dist/ks-rhel-s390x-serv
er-5-u3/ 
+ echo_user 
+ echo 
+ echo_user -n Installation source 
Ýhttp://192.168.5.216/kickstart/dist/ks-rhel-
s390x-server-5-u3/¨ ?  
+ echo -n Installation source 
Ýhttp://192.168.5.216/kickstart/dist/ks-rhel-s390x
-server-5-u3/¨ ?  
+ read res 

[ HIT ENTER ]

+ Ý -z   ¨ 
+ Ý .  = .! ¨ 
+ echo   
+ INSTSRC=  
+ echo_user 
+ echo 
+ echo_user Available destination disks: 
+ echo Available destination disks: 
+ echo_user dasda 2347.734375 
dasdb 2347.734375 
+ echo dasda 2347.734375 
dasdb 2347.734375 
+ sed s/\(Ý0-9¨*\)\.Ý0-9¨*$/(\1 MB)/ 
+ ask Install on which disk(s), comma separated dasda 
+ echo_user 
+ echo 
+ echo_user -n Install on which disk(s), comma separated Ýdasda¨ ?  
+ echo -n Install on which disk(s), comma separated Ýdasda¨ ?  
+ read res 
+ Ý -z  ¨ 
+ res=dasda 
+ Ý .dasda = .! ¨ 
+ echo dasda 
+ DISKS_INST=dasda 
+ echo dasda 
+ sed s/,/ /g 
+ echo dasda 
dasdb 
+ grep -q ^dasda$ 
+ ask Hostname (fully qualified) z219.z900.redhat.com 
+ echo_user 
+ echo 
+ echo_user -n Hostname (fully qualified) Ýz219.z900.redhat.com¨ ?  
+ echo -n Hostname (fully qualified) Ýz219.z900.redhat.com¨ ?  
+ read res 
+ Ý -z  ¨ 
+ res=z219.z900.redhat.com 
+ Ý .z219.z900.redhat.com = .! ¨ 
+ echo z219.z900.redhat.com 
+ NAME=z219.z900.redhat.com 
+ ask Network interface eth0 
+ echo_user 
+ echo 
+ echo_user -n Network interface Ýeth0¨ ?  
+ echo -n Network interface Ýeth0¨ ?  
+ read res 
+ Ý -z  ¨ 
+ res=eth0 
+ Ý .eth0 = .! ¨ 
+ echo eth0 
+ IFACE=eth0 
+ ask IP address 192.168.5.219 
+ echo_user 
+ echo 
+ echo_user -n IP address Ý192.168.5.219¨ ?  
+ echo -n IP address Ý192.168.5.219¨ ?  
+ read res 
+ Ý -z  ¨ 
+ res=192.168.5.219 
+ Ý .192.168.5.219 = .! ¨ 
+ echo 192.168.5.219 
+ IP=192.168.5.219 
+ ask Netmask 255.255.255.0 
+ echo_user 
+ echo 

+ echo_user -n Netmask Ý255.255.255.0¨ ?  
+ echo -n Netmask Ý255.255.255.0¨ ?  
+ read res 
+ Ý -z  ¨ 
+ res=255.255.255.0 
+ Ý .255.255.255.0 = .! ¨ 
+ echo 255.255.255.0 
+ MASK=255.255.255.0 
+ ask Gateway 192.168.5.254 
+ echo_user 
+ echo 
+ echo_user -n Gateway Ý192.168.5.254¨ ?  
+ echo -n Gateway Ý192.168.5.254¨ ?  
+ read res 
+ Ý -z  ¨ 
+ res=192.168.5.254 
+ Ý .192.168.5.254 = .! ¨ 
+ echo 192.168.5.254 
+ GATE=192.168.5.254 
+ Ý .192.168.5.254 = .192.168.5.219 ¨ 
+ ask Nameserver list (comma separated) 172.16.52.28 
+ echo_user 
+ echo 
+ echo_user -n Nameserver list (comma separated) Ý172.16.52.28¨ ?  
+ echo -n Nameserver list (comma separated) Ý172.16.52.28¨ ?  
+ read res 
+ Ý -z  ¨ 
+ res=172.16.52.28 
+ Ý .172.16.52.28 = .! ¨ 
+ echo 172.16.52.28 
+ DNS=172.16.52.28 
+ gen_network 
+ echo -n network --device eth0 --bootproto static 
+ Ý ! -z 192.168.5.219 ¨ 
+ echo -n  --ip 192.168.5.219 
+ Ý ! -z 255.255.255.0 ¨ 
+ echo -n  --netmask 255.255.255.0 
+ Ý ! -z 192.168.5.254 ¨ 
+ echo -n  --gateway 192.168.5.254 
+ Ý ! -z 172.16.52.28 ¨ 
+ echo -n  --nameserver 172.16.52.28 
+ echo  --hostname z219.z900.redhat.com 
+ gen_instsrc 
+ local Src 
+ Src=  
+ die unsupported installation source ' ' 
+ echo_user FATAL: unsupported installation source ' ' 
+ echo FATAL: unsupported installation source ' ' 
+ exit 1 
sending termination signals...done 
sending kill signals...done 
disabling swap... 
unmounting filesystems... 
 /mnt/runtime done 
 disabling /dev/loop0 
 /proc done 
 /dev/pts done 
 /sys done 
 /tmp/ramfs done 
 /selinux done 
you may safely reboot your system 



----------------------------------------------------------------------
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

Reply via email to