Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 455518

Summary: sys-kernel/genkernel does not suppert hex numbers in root= kernel commandline
Product: Gentoo Hosted Projects Reporter: Hendrik Fehr <hendrik_fehr>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hendrik Fehr 2013-02-04 21:36:23 UTC
When root=805 (i.e. hex number notation) is used in the kernel command line, the init script from genkernel initramfs fails to find the device, however root=/dev/sda5 will work.

I use sys-kernel/genkernel-3.4.45 with a user-defined kernel config and manual lilo-configuration.

Reproducible: Always

Steps to Reproduce:
1. Use initramfs from genkernel.
2. Use hexadecimal device number in the root= option.
3. Boot the system.
Actual Results:  
init will not find the root device and fall back to a promt

Expected Results:  
init finds the root device and mounts it
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2017-01-02 23:40:58 UTC
Use a more modern config; device numbers are liable to be dynamically generated now.