Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112584 - genkernel modules processing improve request
Summary: genkernel modules processing improve request
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-14 23:29 UTC by Steve Yin
Modified: 2005-11-15 10:31 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 Steve Yin 2005-11-14 23:29:40 UTC
build a kernel with genkernel will include some kernel modules in the initrd.
But, some modules have been changed with recent kernel sources. Let's see what
kernel modules will be included:

* initramfs: >> Searching for modules...
* Warning :: advansys.ko not found; skipping...
* initramfs: >> Copying aha152x.ko...
* initramfs: >> Copying aha1542.ko...
* Warning :: aha1740.ko not found; skipping...
* initramfs: >> Copying ahci.ko...
* initramfs: >> Copying aic79xx.ko...
* initramfs: >> Copying aic7xxx.ko...
* initramfs: >> Copying aic7xxx_old.ko...
* initramfs: >> Copying ata_piix.ko...
* Warning :: ataraid.ko not found; skipping...
* initramfs: >> Copying atp870u.ko...
* initramfs: >> Copying BusLogic.ko...
* initramfs: >> Copying dc395x.ko...
* initramfs: >> Copying dm-bbr.ko...
* initramfs: >> Copying dm-mirror.ko...
* initramfs: >> Copying dm-mod.ko...
* initramfs: >> Copying dm-snapshot.ko...
* initramfs: >> Copying dmx3191d.ko...
* Warning :: ds.ko not found; skipping...
* initramfs: >> Copying dtc.ko...
* initramfs: >> Copying ehci-hcd.ko...
* initramfs: >> Copying fdomain.ko...
* initramfs: >> Copying gdth.ko...
* Warning :: hid.ko not found; skipping...
* Warning :: hptraid.ko not found; skipping...
* initramfs: >> Copying i2c-core.ko...
* initramfs: >> Copying i82365.ko...
* initramfs: >> Copying ide-cs.ko...
* initramfs: >> Copying ieee1394.ko...
* initramfs: >> Copying imm.ko...
* initramfs: >> Copying in2000.ko...
* initramfs: >> Copying initio.ko...
* initramfs: >> Copying ips.ko...
* initramfs: >> Copying libata.ko...
* initramfs: >> Copying mptbase.ko...
* initramfs: >> Copying mptscsih.ko...
* initramfs: >> Copying NCR53c406a.ko...
* Warning :: ncr53c8xx.ko not found; skipping...
* initramfs: >> Copying ohci1394.ko...
* initramfs: >> Copying ohci-hcd.ko...
* initramfs: >> Copying parport.ko...
* initramfs: >> Copying pas16.ko...
* Warning :: pci2000.ko not found; skipping...
* Warning :: pci2220i.ko not found; skipping...
* initramfs: >> Copying pcmcia.ko...
* initramfs: >> Copying pcmcia_core.ko...
* Warning :: pdcraid.ko not found; skipping...
* initramfs: >> Copying psi240i.ko...
* initramfs: >> Copying qla1280.ko...
* initramfs: >> Copying qlogicfas.ko...
* initramfs: >> Copying qlogicfas408.ko...
* initramfs: >> Copying qlogicfc.ko...
* Warning :: qlogicisp.ko not found; skipping...
* initramfs: >> Copying rsrc_nonstatic.ko...
* initramfs: >> Copying sbp2.ko...
* initramfs: >> Copying scsi_transport_spi.ko...
* initramfs: >> Copying sd_mod.ko...
* Warning :: seagate.ko not found; skipping...
* initramfs: >> Copying sg.ko...
* Warning :: sim710.ko not found; skipping...
* initramfs: >> Copying sl811-hcd.ko...
* initramfs: >> Copying sr_mod.ko...
* initramfs: >> Copying sym53c416.ko...
* initramfs: >> Copying sym53c8xx.ko...
* initramfs: >> Copying t128.ko...
* initramfs: >> Copying u14-34f.ko...
* Warning :: uhci.ko not found; skipping...
* initramfs: >> Copying uhci-hcd.ko...
* initramfs: >> Copying ultrastor.ko...
* initramfs: >> Copying usbhid.ko...
* Warning :: usb-ohci.ko not found; skipping...
* initramfs: >> Copying usb-storage.ko...
* initramfs: >> Copying wd7000.ko...
* initramfs: >> Copying yenta_socket.ko...

there are some warning message with those kernel modules can not be found:
* Warning :: advansys.ko not found; skipping...
* Warning :: aha1740.ko not found; skipping...
* Warning :: ataraid.ko not found; skipping...
* Warning :: ds.ko not found; skipping...
* Warning :: hid.ko not found; skipping...
* Warning :: hptraid.ko not found; skipping...
* Warning :: ncr53c8xx.ko not found; skipping...
* Warning :: pci2000.ko not found; skipping...
* Warning :: pci2220i.ko not found; skipping...
* Warning :: pdcraid.ko not found; skipping...
* Warning :: qlogicisp.ko not found; skipping...
* Warning :: seagate.ko not found; skipping...
* Warning :: sim710.ko not found; skipping...
* Warning :: uhci.ko not found; skipping...
* Warning :: usb-ohci.ko not found; skipping...

Let's take a look at these:
advansys.ko: seems to be disabled since 2.6.x, cause I never saw this
SCSI_ADVANSYS option in kernel config,
aha1740.ko: same as above, never saw this option SCSI_AHA1740 in config
ds.ko, ncr53c8xx.ko, pci2000.ko, pci2220i.ko, qlogicisp.ko, seagate.ko,
sim710.ko: all the same, I can not find any option in kernel config, only
Kconfig file describe some of these modules, these pci2xxxx.ko even can not be
found in Kconfig.
ataraid.ko,hptraid.ko,pdcraid.ko, these modules are only used with 2.4 kernel
and ATARAID system. not within 2.6 kernel.
hid.ko: I don't know if this module meanins usbhid.ko under 2.6 kernel, if it
is, so please change.
uhci.ko: does this means kernel/drivers/usb/host/uhci-hcd.ko ?
usb-ohci.ko: and, should it be kernel/drivers/usb/host/ohci-hcd.ko or
kernel/drivers/ieee1394/ohci1394.ko?

Then most important part: the sd_mod.ko and sr_mod.ko, if I set
CONFIG_BLK_DEV_SD to module, then there is sd_mod, and CONFIG_BLK_DEV_SR to
sr_mod. I believe many people using a sata drive in there system. So, The ONLY
way seems to be load this CONFIG_BLK_DEV_SD(sd_mod) to system in order to get
these sata drives, But, if I build this to module, only when I specify doscsi,
these s?_mod can be loaded, otherwise, I must build these option in to kernel
for my sata drives. So, if I don't have a SCSI, why should I load a bounch of
driver for only sata? And, if I have to build this in to kernel, why genkernel
ask this module? So, IMO, these sd_mod and sr_mod should always be loaded if
build in module with initrd.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Steve Yin 2005-11-14 23:35:47 UTC
I googled ds.ko, and I found this

http://www.ussg.iu.edu/hypermail/linux/kernel/0303.3/0159.html

says ds.ko is not available any more.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2005-11-15 05:57:00 UTC
Umm... genkernel supports both 2.4 and 2.6 kernels.  Also, dosata is default,
which loads the SATA modules.  The default kernel configs for genkernel *do*
build in CONFIG_BLK_DEV_SD and CONFIG_BLK_DEV_SR.  I'm not sure what exactly
you're asking for other than removing 2.4 support, which isn't happening, as
genkernel already does everything else you've requested by default.
Comment 3 Steve Yin 2005-11-15 10:10:40 UTC
:( Sorry, I didn't read the manual carefully, I missed the dosata.

and, Those modules missing in 2.6.x, Should there be a modules_load_2.6 like
kernel-config-2.6?
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-11-15 10:31:49 UTC
No.  It uses the same file since most fo the modules are the same.  Those
messages are not errors, they are simply informational.