Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188385 - sys-kernel/genkernel-3.4.8 doesn't load rfcomm module
Summary: sys-kernel/genkernel-3.4.8 doesn't load rfcomm module
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-10 18:15 UTC by Andrew Evans
Modified: 2007-08-10 19:47 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 Andrew Evans 2007-08-10 18:15:01 UTC
With genkernel-3.4.8 and gentoo-sources-2.6.21-gentoo-r4, the Bluetooth rfcomm kernel module isn't loaded at startup. This causes `/etc/init.d/bluetooth start` to fail on starting rfcomm because the RFCOMM protocol isn't loaded in the kernel. This wasn't a problem before with genkernel-3.4.6 and gentoo-sources-2.6.20-gentoo-r8.

It seems to me the proper fix is to add rfcomm to MODULES_USB in /usr/share/genkernel/$ARCH/modules_load.
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2007-08-10 18:21:30 UTC
This isn't genkernel's job. Genkernel's linux loads modules that are required to get your system booted (such as SCSI/IDE/SATA drivers).

If you want a module that is *not* required for boot loaded at startup, stick it in /etc/modules.autoload.d/kernel-2.x.
Comment 2 Andrew Evans 2007-08-10 19:47:19 UTC
My mistake. I thought genkernel used to load Bluetooth modules at startup, but I downgraded to genkernel-3.4.6 and didn't see any Bluetooth stuff in /usr/share/genkernel.

IMHO, putting stuff in /etc/modules.autoload.d is rather barbaric. The system should be smart enough to load the modules it needs automatically. /etc/init.d/bluetooth should probably do this. I'll file a bug for that.