Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39756 - Insmod errors with Bluez kernel modules
Summary: Insmod errors with Bluez kernel modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-29 06:14 UTC by Alex Holland
Modified: 2004-04-09 08:15 UTC (History)
2 users (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 Alex Holland 2004-01-29 06:14:46 UTC
I'm using gentoo-sources-2.4.22-r5. I have Bluez bluetooth support set as modules in the kernel - the bluez modules, l2cap module, rfcomm module and the hci_usb module. I do *not* have the USB bluetooth option from USB enabled.

When my machine boots, I get a series of insmod errors regarding the bluez and hci_usb modules:

 * Starting devfsd...
Started device management daemon v1.3.25 for /dev
BlueZ Core ver 2.4 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
insmod: insmod: a module named bluez already exists
insmod: insmod: insmod /lib/modules/2.4.22-gentoo-r5/kernel/net/bluetooth/bluez.o failed
insmod: insmod: insmod hci_usb failed
insmod: insmod: a module named bluez already exists
insmod: insmod: insmod /lib/modules/2.4.22-gentoo-r5/kernel/net/bluetooth/bluez.o failed
insmod: insmod: insmod hci_usb failed
hub.c: new USB device 00:07.2-1.2, assigned address 5
BlueZ HCI USB driver ver 2.4 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
usb.c: registered new driver hci_usb

I've asked on the Gentoo Forums and the Bluez ML, and nobody knows what's causing this. Is it Gentoo specific? Despite these errors, my bluetooth dongle works fine, so it's only really cosmetic.

Cloney
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-01-30 16:14:50 UTC
It seems that it's getting sourced twice for some reason. Check /etc/modules.conf and /etc/modules.devfs for clues. As you said, this is purely cosmetic.
Comment 2 Alex Holland 2004-01-31 02:44:56 UTC
I can't find anything in either file, I'll post them here to see if anyone can spot it. While this is cosmetic, it also seems to be the default Gentoo settings, so it would be good to kill it. I should add that these errors didn't appear when I was using 2.4.20-r*, and only appeared when I moved up to the 2.4.22-r* kernels.

modules.devfs:
----------------------------------------------------
# /etc/modules.devfs
# Richard Gooch  <rgooch@atnf.csiro.au>		24-MAR-2002
#
# THIS IS AN AUTOMATICALLY GENERATED FILE. DO NOT EDIT!!!
# THIS FILE WILL BE OVERWRITTEN EACH TIME YOU INSTALL DEVFSD!!!
# Modify /etc/modules.conf instead.
# This file comes with devfsd-v1.3.25 which is available from:
# http://www.atnf.csiro.au/~rgooch/linux/
# or directly from:
# ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd-v1.3.25.tar.gz

###############################################################################
#   Sample configurations that you may want to place in /etc/modules.conf
#
#alias		sound-slot-0		sb
#alias		/dev/v4l		bttv
#alias		/dev/misc/watchdog	pcwd
#alias		gen-md			raid0
#alias		/dev/joysticks		joystick
#probeall	scsi_hostadapter	sym53c8xx

###############################################################################
#                   Generic section: do not change or copy
#
# All HDDs
probeall  /dev/discs		scsi_hostadapter sd_mod ide-probe-mod ide-disk ide-floppy DAC960
alias     /dev/discs/*		/dev/discs

# All CD-ROMs
probeall  /dev/cdroms		scsi_hostadapter sr_mod ide-probe-mod ide-cd cdrom
alias     /dev/cdroms/*		/dev/cdroms
alias     /dev/cdrom		/dev/cdroms

# All tapes
probeall  /dev/tapes		scsi_hostadapter st ide-probe-mod ide-tape
alias     /dev/tapes/*		/dev/tapes

# All SCSI devices
probeall  /dev/scsi		scsi_hostadapter sd_mod sr_mod st sg

# All IDE devices
probeall  /dev/ide		ide-probe-mod ide-disk ide-cd ide-tape ide-floppy

# IDE CD-ROMs
alias     /dev/ide/*/cd		ide-cd

# SCSI HDDs
probeall  /dev/sd		scsi_hostadapter sd_mod
alias     /dev/sd*		/dev/sd

# SCSI CD-ROMs
probeall  /dev/sr		scsi_hostadapter sr_mod
alias     /dev/sr*		/dev/sr
alias     /dev/scsi/*/cd	sr_mod

# SCSI tapes
probeall  /dev/st		scsi_hostadapter st
alias     /dev/st*		/dev/st
alias     /dev/nst*		/dev/st

# SCSI generic
probeall  /dev/sg		scsi_hostadapter sg
alias     /dev/sg*		/dev/sg
alias     /dev/scsi/*/generic	/dev/sg
alias     /dev/pg		/dev/sg
alias     /dev/pg*		/dev/sg

# Floppies
alias     /dev/floppy		floppy
alias     /dev/fd*		floppy

# RAMDISCs
alias     /dev/rd		rd
alias     /dev/ram*		rd

# Loop devices
alias     /dev/loop*		loop

# Meta devices
alias     /dev/md*		gen-md

# Parallel port printers
alias     /dev/printers*	lp
alias     /dev/lp*		/dev/printers

# Soundcard
alias     /dev/sound		sound-slot-0
alias     /dev/audio		/dev/sound
alias     /dev/mixer		/dev/sound
alias     /dev/dsp		/dev/sound
alias     /dev/dspW		/dev/sound
alias     /dev/midi		/dev/sound

# Joysticks
alias     /dev/js*		/dev/joysticks

# Serial ports
alias     /dev/tts*		serial
alias     /dev/ttyS*		/dev/tts
alias     /dev/cua*		/dev/tts

# Input devices
alias     /dev/input/mouse*	mousedev

# Miscellaneous devices
alias     /dev/misc/atibm	atixlmouse
alias     /dev/misc/inportbm	msbusmouse
alias     /dev/misc/logibm	busmouse
alias     /dev/misc/rtc		rtc
alias     /dev/misc/agpgart	agpgart
alias     /dev/rtc		/dev/misc/rtc

# PPP devices
alias     /dev/ppp*		ppp_generic

# Video capture devices
alias     /dev/video*		/dev/v4l
alias     /dev/vbi*		/dev/v4l

# agpgart
alias     /dev/agpgart		agpgart
alias     /dev/dri*		agpgart

# Irda devices
alias     /dev/ircomm		ircomm-tty
alias     /dev/ircomm*		/dev/ircomm

# Raw I/O devices
alias	/dev/rawctl		/dev/raw


# Pull in the configuration file. Do this last because modprobe(8) processes in
# per^H^H^Hreverse order and the sysadmin may want to over-ride what is in the
# generic file
include /etc/modules.conf
------------------------------------------

modules.conf:

------------------------------------------
### This file is automatically generated by modules-update
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modules.d and read
# the manpage for modules-update.
#
### modules-update: start processing /etc/modules.d/aliases
# Aliases to tell insmod/modprobe which modules to use 

# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off		# Unix
# alias net-pf-2 off		# IPv4
# alias net-pf-3 off		# Amateur Radio AX.25
# alias net-pf-4 off		# IPX
# alias net-pf-5 off		# DDP / appletalk
# alias net-pf-6 off		# Amateur Radio NET/ROM
# alias net-pf-9 off		# X.25
# alias net-pf-10 off		# IPv6
# alias net-pf-11 off		# ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off		# Acorn Econet

alias char-major-10-175	agpgart
alias char-major-10-200	tun
alias char-major-81	bttv
alias char-major-108	ppp_generic
alias /dev/ppp		ppp_generic
alias tty-ldisc-3	ppp_async
alias tty-ldisc-14	ppp_synctty
alias ppp-compress-21	bsd_comp
alias ppp-compress-24	ppp_deflate
alias ppp-compress-26	ppp_deflate

# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0	loop_gen
alias loop-xfer-3	loop_fish2
alias loop-xfer-gen-10	loop_gen
alias cipher-2		des
alias cipher-3		fish2
alias cipher-4		blowfish
alias cipher-6		idea
alias cipher-7		serp6f
alias cipher-8		mars6
alias cipher-11		rc62
alias cipher-15		dfc2
alias cipher-16		rijndael
alias cipher-17		rc5

# Support for i2c and lm_sensors
alias char-major-89    i2c-dev

# Old nvidia support ...
alias char-major-195 NVdriver 
alias /dev/nvidiactl char-major-195 

### modules-update: end processing /etc/modules.d/aliases

### modules-update: start processing /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd-emu10k1
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias /dev/sequencer snd-seq-midi

# Set this to the correct number of cards.
options snd cards_limit=1

### modules-update: end processing /etc/modules.d/alsa

### modules-update: start processing /etc/modules.d/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc

### modules-update: end processing /etc/modules.d/i386

### modules-update: start processing /etc/modules.d/nvidia
# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195

# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!!
#
#   To enable Side Band Adressing:  NVreg_EnableAGPSBA=1
#
#   To enable Fast Writes: NVreg_EnableAGPFW=1
#
# To enable both for instance, uncomment following line:
#
#options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1


### modules-update: end processing /etc/modules.d/nvidia

Cloney
Comment 3 SpanKY gentoo-dev 2004-02-23 13:58:40 UTC
*** Bug 42630 has been marked as a duplicate of this bug. ***
Comment 4 Jason Cox (RETIRED) gentoo-dev 2004-04-08 22:38:00 UTC
Was a aolution ever found to this? I know it's cosmetic, but it shouldn't be happening.
Comment 5 Jason Cox (RETIRED) gentoo-dev 2004-04-09 08:15:24 UTC
Bug is long and gone.