Bug 1967
Summary: | lilo cannot read ramdisk size at boot time from boot device or kernel or initrd image | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | techie |
Component: | lilo | Assignee: | Erik Troan <ewt> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.2 | CC: | techie |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-06-02 20:29:08 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
techie
1999-04-03 20:59:18 UTC
This is being forwarded to a developer for further review. Here are more details: I may have found a bug in lilo, and/or I may have made a mistake in configuring an initial ramdisk. Here's the issue: lilo documentation says that if an initial ramdisk is enabled, and you DON'T include a line "ramdisk=N" in lilo.conf, that lilo will use the ramdisk size found in the boot image ( put there with rdev -r or compiled into the kernel, etc.). However, I have found that lilo ALWAYS defaults the ramdisk size to 4096K when this line is not present! Here's what may be happening (my guess): If lilo includes "ramdisk=0" in the kernel option line at bootup when lilo.conf does not contain "ramdisk=N", I can see how this happens, b/c then the kernel will use the default ramdisk size of 4096K. (I thought that if you ran "rdev -r <kernel> RAMDISK_SIZE" on the kernel, that it would "remember" its ramdisk size.... maybe the bug is in the kernel code?) I upgraded to version 21 of lilo, and lilo still has the same problem. When I include "ramdisk=N" in lilo.conf, everything works well, so I suspect maybe lilo is NOT checking (properly) that the bootimage has a non-default size before writing "ramdisk=0" to the kernel option line... or I may be misssing something major! I don't think lilo is meant to do this.. The only documentation I can find is from user.tex: \item[\craw{ramdisk=}\meta{size}] Specifies the size of the optional RAM disk. A value of zero indicates that no RAM disk should be created. If this variable is omitted, the RAM disk size configured into the boot image is used. If I'm misunderstanding the situation, please reopen this bug and let me know what I'm missing. |