And here's the mkslesroot script run with debug. I got a couple of rsync broken pipe msgs at the bottom that I don't get when doing the ISO mounts. I will look into this.
zzlnx015:/opt # sh -x ./mksles9root.sh s390x
+ mounts=no
+ arch=not set
+ process_args s390x
+ (( 1 ))
+ arch=s390x
+ shift
+ (( 0 ))
+ [[ s390x = \s\3\9\0 ]]
+ [[ s390x = \s\3\9\0\x ]]
+ cd1=SLES-9-s390x-RC5a-CD1.iso
+ cd2=SLES-9-s390x-RC5-CD2.iso
+ cd3=SLES-9-s390x-RC5-CD3.iso
+ cd4=SLES-9-s390x-RC5-CD4.iso
+ cd5=SLES-9-s390x-RC5-CD5.iso
+ cd6=SLES-9-s390x-RC5-CD6.iso
+ sp1cd1=SLES-9-SP-1-s390x-RC5-CD1.iso
+ sp1cd2=SLES-9-SP-1-s390x-RC5-CD2.iso
+ sp2cd1=SLES-9-SP-2-s390x-GM-CD1.iso
+ sp2cd2=SLES-9-SP-2-s390x-GM-CD2.iso
+ sp2cd3=SLES-9-SP-2-s390x-GM-CD3.iso
+ '[' -f SLES-9-SP-3-s390x-GM-CD1a.iso ']'
+ sp3cd1=SLES-9-SP-3-s390x-GM-CD1.iso
+ sp3cd2=SLES-9-SP-3-s390x-GM-CD2.iso
+ '[' -f SLES-9-SP-3-s390x-RC4a-CD3.iso ']'
+ sp3cd3=SLES-9-SP-3-s390x-GM-CD3.iso
+ sles=sles9
+ core=core9
+ sp1=sp1-9
+ sp2=sp2-9
+ sp3=sp3-9
+ echo 'Making a SLES9 install tree ...'
Making a SLES9 install tree ...
+ check_for_discs
+ '[' '!' -f SLES-9-s390x-RC5a-CD1.iso ']'
+ '[' '!' -f SLES-9-s390x-RC5-CD2.iso ']'
+ '[' '!' -f SLES-9-s390x-RC5-CD3.iso ']'
+ '[' '!' -f SLES-9-s390x-RC5-CD4.iso ']'
+ retVal=0
+ [[ -f SLES-9-SP-3-s390x-GM-CD1.iso ]]
+ [[ -f SLES-9-SP-3-s390x-GM-CD2.iso ]]
+ [[ -f SLES-9-SP-3-s390x-GM-CD3.iso ]]
+ echo 'SP3 ISO images found ...'
SP3 ISO images found ...
+ retVal=3
+ return 3
+ spLevel=3
+ '[' s390x = s390 ']'
+ rdir=sles9x
+ '[' 3 = 0 ']'
+ '[' 3 = 1 ']'
+ '[' 3 = 2 ']'
+ '[' 3 = 3 ']'
+ rdir=sles9xsp3root
+ echo 'The tree named sles9xsp3root/ will be SLES9 + SP3 ...'
The tree named sles9xsp3root/ will be SLES9 + SP3 ...
+ mk_directory_structure 3
+ echo 'Making the directory structure ...'
Making the directory structure ...
+ '[' -d sles9xsp3root ']'
+ '[' '!' -d sles9xsp3root/sles9/CD1 ']'
+ mkdir -p sles9xsp3root/sles9/CD1
+ '[' '!' -d sles9xsp3root/core9/CD1 ']'
+ mkdir -p sles9xsp3root/core9/CD1
+ '[' '!' -d sles9xsp3root/core9/CD2 ']'
+ mkdir -p sles9xsp3root/core9/CD2
+ '[' '!' -d sles9xsp3root/core9/CD3 ']'
+ mkdir -p sles9xsp3root/core9/CD3
+ '[' '!' -d sles9xsp3root/core9/CD4 ']'
+ mkdir -p sles9xsp3root/core9/CD4
+ '[' '!' -d sles9xsp3root/core9/CD5 ']'
+ mkdir -p sles9xsp3root/core9/CD5
+ '[' '!' -d sles9xsp3root/yast ']'
+ mkdir -p sles9xsp3root/yast
+ '[' 3 = 1 ']'
+ '[' 3 = 2 ']'
+ '[' 3 = 3 ']'
+ '[' '!' -d sles9xsp3root/sp3-9/CD1 ']'
+ mkdir -p sles9xsp3root/sp3-9/CD1
+ '[' '!' -d sles9xsp3root/sp3-9/CD2 ']'
+ mkdir -p sles9xsp3root/sp3-9/CD2
+ '[' '!' -d sles9xsp3root/sp3-9/CD3 ']'
+ mkdir -p sles9xsp3root/sp3-9/CD3
+ '[' no = no ']'
+ copy_CDs 3
+ echo 'Copying SLES9 ISO images ...'
Copying SLES9 ISO images ...
+ temp_dir=tmpCD
+ '[' '!' -d tmpCD ']'
+ mkdir tmpCD
+ mount_copy SLES-9-s390x-RC5a-CD1.iso tmpCD sles9xsp3root/sles9/CD1/
+ ISO_image=SLES-9-s390x-RC5a-CD1.iso
+ temp_dir=tmpCD
+ target_dir=sles9xsp3root/sles9/CD1/
+ echo ' Mounting and copying SLES-9-s390x-RC5a-CD1.iso ...'
Mounting and copying SLES-9-s390x-RC5a-CD1.iso ...
+ mount -o loop,ro SLES-9-s390x-RC5a-CD1.iso tmpCD
+ '[' 0 '!=' 0 ']'
+ cd tmpCD
+ rsync -HlogptrS ARCHIVES.gz COPYING COPYING.de COPYRIGHT COPYRIGHT.de
ChangeLog INDEX.gz LICENSE.TXT README README.DOS SLES-LICENSE SuSEgo.ico
autorun.inf boot content control.xml directory.yast docu dosutils
gpg-pubkey-3d25d3d9-36e12d04.asc gpg-pubkey-9c800aca-39eef481.asc ls-lR.gz
media.1 pubring.gpg suse suse.ins yast ../sles9xsp3root/sles9/CD1/
+ cd ..
+ umount tmpCD
+ mount_copy SLES-9-s390x-RC5-CD2.iso tmpCD sles9xsp3root/core9/CD1/
+ ISO_image=SLES-9-s390x-RC5-CD2.iso
+ temp_dir=tmpCD
+ target_dir=sles9xsp3root/core9/CD1/
+ echo ' Mounting and copying SLES-9-s390x-RC5-CD2.iso ...'
Mounting and copying SLES-9-s390x-RC5-CD2.iso ...
+ mount -o loop,ro SLES-9-s390x-RC5-CD2.iso tmpCD
+ '[' 0 '!=' 0 ']'
+ cd tmpCD
+ rsync -HlogptrS ARCHIVES.gz ChangeLog INDEX.gz content directory.yast
ls-lR.gz media.1 suse ../sles9xsp3root/core9/CD1/
+ cd ..
+ umount tmpCD
+ mount_copy SLES-9-s390x-RC5-CD3.iso tmpCD sles9xsp3root/core9/CD2/
+ ISO_image=SLES-9-s390x-RC5-CD3.iso
+ temp_dir=tmpCD
+ target_dir=sles9xsp3root/core9/CD2/
+ echo ' Mounting and copying SLES-9-s390x-RC5-CD3.iso ...'
Mounting and copying SLES-9-s390x-RC5-CD3.iso ...
+ mount -o loop,ro SLES-9-s390x-RC5-CD3.iso tmpCD
+ '[' 0 '!=' 0 ']'
+ cd tmpCD
+ rsync -HlogptrS INDEX.gz content ls-lR.gz media.2 suse
../sles9xsp3root/core9/CD2/
+ cd ..
+ umount tmpCD
+ mount_copy SLES-9-s390x-RC5-CD4.iso tmpCD sles9xsp3root/core9/CD3/
+ ISO_image=SLES-9-s390x-RC5-CD4.iso
+ temp_dir=tmpCD
+ target_dir=sles9xsp3root/core9/CD3/
+ echo ' Mounting and copying SLES-9-s390x-RC5-CD4.iso ...'
Mounting and copying SLES-9-s390x-RC5-CD4.iso ...
+ mount -o loop,ro SLES-9-s390x-RC5-CD4.iso tmpCD
+ '[' 0 '!=' 0 ']'
+ cd tmpCD
+ rsync -HlogptrS INDEX.gz content ls-lR.gz media.3 suse
../sles9xsp3root/core9/CD3/
+ cd ..
+ umount tmpCD
+ '[' 3 = 1 ']'
+ '[' 3 = 2 ']'
+ '[' 3 = 3 ']'
+ echo 'Copying SLES9 SP3 ISO images ...'
Copying SLES9 SP3 ISO images ...
+ mount_copy SLES-9-SP-3-s390x-GM-CD1.iso tmpCD sles9xsp3root/sp3-9/CD1
+ ISO_image=SLES-9-SP-3-s390x-GM-CD1.iso
+ temp_dir=tmpCD
+ target_dir=sles9xsp3root/sp3-9/CD1
+ echo ' Mounting and copying SLES-9-SP-3-s390x-GM-CD1.iso ...'
Mounting and copying SLES-9-SP-3-s390x-GM-CD1.iso ...
+ mount -o loop,ro SLES-9-SP-3-s390x-GM-CD1.iso tmpCD
+ '[' 0 '!=' 0 ']'
+ cd tmpCD
+ rsync -HlogptrS ARCHIVES.gz COPYING COPYING.de COPYRIGHT COPYRIGHT.de
ChangeLog INDEX.gz LICENSE.TXT NEWS README README.de README.es README.fr
README.it README.ja_JP README.ko README.pt_BR README.zh_CN README.zh_TW
SLES-LICENSE SuSEgo.ico autorun.inf boot content directory.yast docu
driverupdate gpg-pubkey-0dfb3188-41ed929b.asc
gpg-pubkey-15c17deb-3f9e80c9.asc gpg-pubkey-3d25d3d9-36e12d04.asc
gpg-pubkey-9c800aca-40d8063e.asc linux ls-lR.gz media.1 pubring.gpg
rr_moved s390x servicepack.tar.gz suse suse.ins ../sles9xsp3root/sp3-9/CD1
+ cd ..
+ umount tmpCD
+ mount_copy SLES-9-SP-3-s390x-GM-CD2.iso tmpCD sles9xsp3root/sp3-9/CD2
+ ISO_image=SLES-9-SP-3-s390x-GM-CD2.iso
+ temp_dir=tmpCD
+ target_dir=sles9xsp3root/sp3-9/CD2
+ echo ' Mounting and copying SLES-9-SP-3-s390x-GM-CD2.iso ...'
Mounting and copying SLES-9-SP-3-s390x-GM-CD2.iso ...
+ mount -o loop,ro SLES-9-SP-3-s390x-GM-CD2.iso tmpCD
+ '[' 0 '!=' 0 ']'
+ cd tmpCD
+ rsync -HlogptrS COPYING COPYRIGHT INDEX.gz SuSEgo.ico autorun.inf
content directory.yast gpg-pubkey-0dfb3188-41ed929b.asc
gpg-pubkey-15c17deb-3f9e80c9.asc gpg-pubkey-3d25d3d9-36e12d04.asc
gpg-pubkey-9c800aca-40d8063e.asc ls-lR.gz media.2 s390x suse
../sles9xsp3root/sp3-9/CD2
+ cd ..
+ umount tmpCD
+ mount_copy SLES-9-SP-3-s390x-GM-CD3.iso tmpCD sles9xsp3root/sp3-9/CD3
+ ISO_image=SLES-9-SP-3-s390x-GM-CD3.iso
+ temp_dir=tmpCD
+ target_dir=sles9xsp3root/sp3-9/CD3
+ echo ' Mounting and copying SLES-9-SP-3-s390x-GM-CD3.iso ...'
Mounting and copying SLES-9-SP-3-s390x-GM-CD3.iso ...
+ mount -o loop,ro SLES-9-SP-3-s390x-GM-CD3.iso tmpCD
+ '[' 0 '!=' 0 ']'
+ cd tmpCD
+ rsync -HlogptrS ARCHIVES.gz COPYING COPYRIGHT INDEX.gz SuSEgo.ico
autorun.inf content directory.yast gpg-pubkey-0dfb3188-41ed929b.asc
gpg-pubkey-15c17deb-3f9e80c9.asc gpg-pubkey-3d25d3d9-36e12d04.asc
gpg-pubkey-9c800aca-40d8063e.asc ls-lR.gz media.3 suse
../sles9xsp3root/sp3-9/CD3
+ cd ..
+ umount tmpCD
+ echo 'Removing temporary mount point ...'
Removing temporary mount point ...
+ rmdir tmpCD
+ mk_symbolic_links 3
+ echo 'Making symbolic links ...'
Making symbolic links ...
+ cd sles9xsp3root
+ ln -fs sles9/CD1/boot boot
+ ln -fs sles9/CD1/content content
+ ln -fs sles9/CD1/control.xml control.xml
+ ln -fs sles9/CD1/media.1 media.1
+ '[' 3 = 1 ']'
+ '[' 3 = 2 ']'
+ '[' 3 = 3 ']'
+ ln -fs sp3-9/CD1/driverupdate
+ ln -fs sp3-9/CD1/linux
+ cd ..
+ mk_order_files 3
+ echo 'Creating yast/*order files ...'
Creating yast/*order files ...
+ cd sles9xsp3root
+ '[' 3 = 0 ']'
+ '[' 3 = 1 ']'
+ '[' 3 = 2 ']'
+ '[' 3 = 3 ']'
+ echo ' Creating files for SLES9 + SP3...'
Creating files for SLES9 + SP3...
+ echo -e '/sp3-9/CD1 /sp3-9/CD1'
+ echo -e '/sles9/CD1 /sles9/CD1'
+ echo -e '/core9/CD1 /core9/CD1'
+ cp yast/instorder yast/order
+ cd ..
+ '[' 3 -gt 0 ']'
+ merge_patches 3
+ echo 'Merging patches for service pack 3 ...'
Merging patches for service pack 3 ...
+ cd sles9xsp3root
+ '[' 3 = 1 ']'
+ '[' 3 = 2 ']'
+ '[' 3 = 3 ']'
+ rsync -HlogptrS sp3-9/CD1/s390x .
rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown": Broken
pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(836)
+ '[' no = no ']'
+ rm -fr sp3-9/CD1/s390x
+ rsync -HlogptrS sp3-9/CD2/s390x .
rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown": Broken
pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(836)
+ '[' no = no ']'
+ rm -fr sp3-9/CD2/s390x
+ echo 'Hacking mediamap file for service pack 3 ...'
Hacking mediamap file for service pack 3 ...
+ cd s390x/update/SUSE-CORE/9/patches
+ cp mediamap mediamap.orig
+ sed -e 's/ 2/ 1/g' mediamap.orig
+ cd ../../../../..
+ cd s390x/update
+ ln -fs SUSE-CORE SUSE-SLES
+ cd ..
+ echo 'The install tree is built under sles9xsp3root/'
The install tree is built under sles9xsp3root/
Cheers
- Tex
Brendan Kelly
Certified Senior IT
Specialist - z/OS & Linux
Open Source Community of
Practice Co-Leader
IBM Global Technology
Services
348 Edward St, Brisbane, QLD
4000
+61-7-3213-2133 (Embedded
image moved to file:
pic14873.gif)
+61-419-394-143
[EMAIL PROTECTED]
----- Forwarded by Brendan Kelly/Australia/IBM on 27/03/07 06:58 PM -----
Brendan
Kelly/Australia/I
BM To
[email protected]
27/03/07 01:37 PM cc
Subject
Fw: sles9 s390x install root
Here's the y2log when I tried with local directory. Yast appears to
complain of a number of missing files/locations. Anyone else see these
errors and are yet still able to install new packages?
2007-03-27 12:20:58 <1> zzlnx015(15461) [packagemanager]
InstSrcManager.cc(enableDefaultSources):915 Going to enable all default
InstSrc'es...
2007-03-27 12:20:58 <1> zzlnx015(15461) [packagemanager]
InstSrc.cc(enableSource):178 Enable InstSrc
InstSrc(<-1)(InstSrcDescr(<-2)(UnitedLinux:SUSE SLES-9- from
dir:///opt/sles9xsp3root/(/))|(NULL))
2007-03-27 12:20:58 <1> zzlnx015(15461) [Timecount++]
Timecount.cc(start):78 START Timecount(InstSrc::enableSource)
2007-03-27 12:20:58 <1> zzlnx015(15461) [packagemanager]
InstSrcDataUL.cc(tryGetData):299
InstSrcDataUL::tryGetData(/suse/setup/descr)
2007-03-27 12:20:58 <3> zzlnx015(15461) [packagemanager]
InstSrcDataUL.cc(initDataCache):572 Cannot access descr dir on media:
/opt/sles9xsp3root/suse/setup/descr{does not exist}
2007-03-27 12:20:58 <1> zzlnx015(15461) [packagemanager]
InstSrcDataUL.cc(tryGetData):329 (F)No cache. Use media
dir(dir:///opt/sles9xsp3root/ attached; localRoot "/opt/sles9xsp3root")
2007-03-27 12:20:58 <1> zzlnx015(15461) [packagemanager]
InstSrcData.cc(InstSrcData):56 New InstSrcData InstSrcData(<-0)((withdrawn
sel:0 pkg:0 you:0)
2007-03-27 12:20:58 <2> zzlnx015(15461) [mediaaccess]
MediaHandler.cc(provideFile):242 provideFile(/suse/setup/descr/packages):
ERROR(Media:file not found)
2007-03-27 12:20:58 <3> zzlnx015(15461) [packagemanager]
ULPackagesParser.cc(fromMediaDir):768 Media can't provide
'/suse/setup/descr/packages' : ERROR(Media:file not found)
2007-03-27 12:20:58 <2> zzlnx015(15461) [mediaaccess]
MediaHandler.cc(provideFile):242
provideFile(/suse/setup/descr/selections): ERROR(Media:file not found)
2007-03-27 12:20:58 <2> zzlnx015(15461) [mediaaccess]
MediaHandler.cc(dirInfo):365 dirInfo(/suse/setup/descr): ERROR(Media:not a
directory)
2007-03-27 12:20:58 <3> zzlnx015(15461) [packagemanager]
ULSelectionParser.cc(fromMediaDir):356 dirInfo failed for
'/suse/setup/descr' ERROR(Media:not a directory)
2007-03-27 12:20:58 <3> zzlnx015(15461) [packagemanager]
InstSrcDataUL.cc(tryGetData):371 tryGetData failed pkg: ERROR(Media:file
not found)
2007-03-27 12:20:58 <3> zzlnx015(15461) [packagemanager]
InstSrcDataUL.cc(tryGetData):372 tryGetData failed sel: ERROR(Media:not a
directory)
2007-03-27 12:20:58 <1> zzlnx015(15461) [packagemanager]
InstSrcData.cc(InstSrcData):69 Delete InstSrcData
InstSrcData(<-0)((withdrawn sel:0 pkg:0 you:0)
2007-03-27 12:20:58 <3> zzlnx015(15461) [packagemanager]
InstSrc.cc(enableSource):244 No InstSrcData type UnitedLinux found on
media dir:///opt/sles9xsp3root
Cheers
- Tex
Brendan Kelly
Certified Senior IT
Specialist - z/OS & Linux
Open Source Community of
Practice Co-Leader
IBM Global Technology
Services
348 Edward St, Brisbane, QLD
4000
+61-7-3213-2133
+61-419-394-143
[EMAIL PROTECTED]
----- Forwarded by Brendan Kelly/Australia/IBM on 27/03/07 01:34 PM -----
Brendan
Kelly/Australia/I
BM To
[email protected]
26/03/07 09:13 PM cc
Subject
Re: Fw: sles9 s390x install root
(Document link: Brendan Kelly)
Still no luck - see below.
> I don't think the media are necessarily bad. I think the symbolic link
> you
> said you needed to add is causing the problem. On the git390 system, I
> compared the output you sent me to the directory structure on the NFS
> server used to build git390. The main differences I see (other than you
> not included the SRPM CDs) are this:
> 1. You have a sles9xsp3root/sp3-9/CD1/s390x/ and
> sles9xsp3root/sp3-9/CD2/s390x directory trees, which do not exist on "my"
> known working NFS server.
> 2. You have the symbolic link sles9xsp3root/suse -> core9/CD1/suse/
I removed all the ISOs and the old sles9xsp3root and started from scratch,
cut new ISOs downloaded to zLinux instance and ran vanilla mksles9root.sh
(sans my symlink). I then removed and readded the installation source in
yast. All I see now is currently installed software :-(
> I also noticed some "invalid userid or password" log entries when you
were
> trying to use your FTP source.
I have also tried NFS, HTTP and Local Directory - all with the same
results.
> The error you saw about 'SUSE LINUX Products GmbH != SuSE Linux AG' is
> because YOU is finding the wrong string in the media.3/media file it is
> looking at. You should have two of them with the following contents:
> core9/CD3/media.3/media:SuSE Linux AG
> core9/CD3/media.3/media:20040702201752
> sp3-9/CD3/media.3/media:SUSE LINUX Products GmbH
> sp3-9/CD3/media.3/media:20051214003614
>
> Check yours to make sure they match that.
They do.
> I would do an "rm -rf" on sles9xsp3root/sp3-9/CD1/s390x and
> sles9xsp3root/sp3-9/CD2/s390x just out of general principles. I would
> also
> remove the sles9xsp3root/suse symbolic link. It may also be worthwhile
> deleting and re-adding your repository as an installation source. There
> are some directories that get built down in
> /var/adm/YaST/InstSrcManager/IS_CACHE_0x00something that should may need
> be
> cleaned up, but I'm not at all sure about that.
>
> To see if the CDs are bad, checking the md5 checksums as Mike indicated
> would be a good idea:
> for file in `find . -type f -name MD5SUMS`
> do dir=`dirname $file`
> pushd $dir
> md5sum -c MD5SUMS
> popd
> done
I used this (with a little mod to only show exceptions) - no invalid
checksums.
> Mark Post
>
> ----------------------------------------------------------------------
> 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 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
pic14873.gif
Description: GIF image
