Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46641 - initrd load will print error when initrd is greater than the initial ram disk size (genkernel)
Summary: initrd load will print error when initrd is greater than the initial ram disk...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-02 14:35 UTC by Yogesh
Modified: 2004-04-11 07:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yogesh 2004-04-02 14:35:11 UTC
when using genkernel to generate kernel with initrd, mnay times initrd is more than 4096 KB and default config for initial ramdisk is 4096. During boot when initrd is extracted on ramdisk some part of it will be off the ramdisk will print errors 

attempt to access beyond end of device 
01:00: rw=0, want=4102, limit=4096


Reproducible: Always
Steps to Reproduce:
1. generate a new kernel with default settings with initrd
2. boot with newly generated kernel
Actual Results:  
attempt to access beyond end of device 
01:00: rw=0, want=4102, limit=4096

Expected Results:  
Should boot

genkernel detects size of initrd.
on completion it prints option for grub. If initrd <= 4096 ok if initrd >4096 
and <= 8192 it should display additional param ramdisk_size=8192 for grub 
settings.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-04-11 07:51:14 UTC
Fixed in Genkernel 3.0.2a. Thanks!