Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89914 - kernel command line size
Summary: kernel command line size
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-21 05:14 UTC by djinnZ
Modified: 2005-04-28 10:38 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 djinnZ 2005-04-21 05:14:09 UTC
The default kernel's and lilo's command line size is 256.
In case I will configure some parameters as alsa multiple devices, tun/tap, cards type etc. in a monolitic kernel this value is too small.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




by example now I have in kernel cmd line parameters as
"video=matroxfb:vesa:0x11B,pan,pixclock:6349,left:224,right:64,upper:44,lower:1,hslen:160,vslen:3
pci=routeirq bttv.card=2 bttv.pll=1 bttv.tuner=30 bttv.radio=1 bttv.vcr_hack=1
bttv.i2c_scan=1 snd.cards_limit=6 snd.device_mode=0666 snd-ens1371.index=0
snd-via82xx.index=1 snd-via82xx-modem.index=2" and need to add more parameters
to control tun/tap and bonding driver.
I propose to add a new use flag (2kcml by example) for patching the kernel and
the lilo sources (grub not need) to use a command line size of 2048. (I have
manually emerged lilo and patched the kernel (2.6 hardened and gentoo) and it
work withut problems)
The patch is very simple and small and I will submit later if requested.
I can't verify on other arch but on x86 seems to work good to 2048, not more
(lilo boot failed for CMD_LINE_SIZE > 2048)
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-04-28 10:38:46 UTC
Please mail the linux kernel mailing list about this.