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