From efc3a95da8450b62d07c1a1703779a1878da77a1 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 27 Oct 2009 15:53:24 -0400 Subject: [PATCH] Explicitly set the ramdisk load address in zipl.conf (#429906) From the bug: Comment #1 From Jan Glauber (jglauber@redhat.com) 2008-01-24 08:51:45 EDT: The problem is that the debug kernel is larger than the zipl default address for the initial ramdisk. There is no easy way to solve this problem in the kernel. The fix should instead be in the zipl configuration file (/etc/zipl.conf), where an additional paramter can be specified where to store the initial ramdisk. The parameter looks like: ramdisk=/boot/initrd-2.6.18-71.el5.img,0x1800000 --- bootloaderInfo.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bootloaderInfo.py b/bootloaderInfo.py index 975da29..2718b2e 100644 --- a/bootloaderInfo.py +++ b/bootloaderInfo.py @@ -1375,7 +1375,7 @@ class s390BootloaderInfo(bootloaderInfo): f.write('[%s]\n' % (label)) f.write('\timage=%s\n' % (kernelFile)) if os.access (instRoot + initrd, os.R_OK): - f.write('\tramdisk=%sinitrd%s.img\n' %(self.kernelLocation, + f.write('\tramdisk=%sinitrd%s.img,0x1800000\n' %(self.kernelLocation, kernelTag)) realroot = getRootDevName(initrd, fsset, rootDev, instRoot) f.write('\tparameters="root=%s' %(realroot,)) -- 1.6.5.rc2