Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455518 - sys-kernel/genkernel does not suppert hex numbers in root= kernel commandline
Summary: sys-kernel/genkernel does not suppert hex numbers in root= kernel commandline
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-04 21:36 UTC by Hendrik Fehr
Modified: 2017-01-02 23:40 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 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.