Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336170 - sys-kernel/genkernel: amd74xx not module
Summary: sys-kernel/genkernel: amd74xx not module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-06 07:02 UTC by Alexander Zubkov
Modified: 2012-10-13 22:14 UTC (History)
1 user (show)

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 Alexander Zubkov 2010-09-06 07:02:15 UTC
I've switched from custom-build kernel on my nforce2-based computer (x86) to genkernel. And found that amd74xx is compiled into kernel so my hard disks become hd* instead of sd*. And I cannot change it because I can not disable this part of kernel. For what reason amd74xx is by default not configured to compile as module so I can decide load it or not?
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-09-17 07:38:29 UTC
Maybe because your kernel gets fragile if you run hard disk drivers as modules. You need a running initrd/initramfs providing these.

Aren't there ways to run make menuconfig in the process of genkernel?! (I'm not vey familiar with this, custom configured kernels since 1998.)
Comment 2 Michael Weber (RETIRED) gentoo-dev 2010-09-17 07:39:48 UTC
(In reply to comment #1)
> Maybe because your kernel gets fragile if you run hard disk drivers as modules.
There's a good change to run into a kernel panic with 'unable to mount root fs'. 
Comment 3 Alexander Zubkov 2010-09-18 16:17:43 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Maybe because your kernel gets fragile if you run hard disk drivers as modules.
> There's a good change to run into a kernel panic with 'unable to mount root
> fs'. 
> 

As I wrote in first message, the situation when "bad" driver is built-in give me kernel panic and not when something is module. :)
Driver as module is not a problem with genkernel. It builds initramfs automatically. Drivers for most other controllers are build as modules and works OK.
PS. When I compile custom kernel, I made this "Y" instead of "M" to not bother with initramfs. But with genkernel "M" is preferred, I think.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-10-13 22:14:21 UTC
fixed in commit 336170
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-10-13 22:14:36 UTC
sorry, meant 4d42bbf