Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200732 - Error "hci_usb_intr_rx_submit: hci0 intr rx submit failed" with BCM2045
Summary: Error "hci_usb_intr_rx_submit: hci0 intr rx submit failed" with BCM2045
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-29 10:14 UTC by Vince C.
Modified: 2008-01-07 08:07 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 Vince C. 2007-11-29 10:14:25 UTC
Hi.

I have a Dell Inspiron 9400 Centrino (Core2) Duo and I'm using Gentoo Linux AMD64 branch. I've never been able to make Bluetooth hardware work on that specific laptop. I always get an error message in local syslog saying:

hci_usb_intr_rx_submit: hci0 intr rx submit failed urb ffff81007e49c3a8 err -28

Running hciconfig -a shows the interface is down with no MAC address. There is no /dev/hci0 device node.

Reproducible: Always

Steps to Reproduce:
1.Boot my laptop
Actual Results:  
There is no /nev/hci0 device node.

# hciconfig -a
hci0:   Type: USB
        BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
        DOWN
        RX bytes:0 acl:0 sco:0 events:0 errors:0
        TX bytes:0 acl:0 sco:0 commands:0 errors:0

Expected Results:  
Presence of a /dev/hci0 device node.

Module bcm203x loaded manually using /etc/modules.autoload.d/kernel-2.6.

Local syslog output:

Nov 29 11:02:00 solo Bluetooth: Broadcom Blutonium firmware driver ver 1.1
Nov 29 11:02:00 solo usbcore: registered new interface driver bcm203x
Nov 29 11:02:17 solo hcid[10495]: Bluetooth HCI daemon
Nov 29 11:02:17 solo hci_usb_intr_rx_submit: hci0 intr rx submit failed urb ffff81007f6ac0a8 err -28
Nov 29 11:02:17 solo hcid[10498]: Can't init device hci0: Input/output error (5)
Nov 29 11:02:17 solo hci_cmd_task: hci0 command tx timeout
Nov 29 11:02:17 solo sdpd[10505]: Bluetooth SDP daemon
Nov 29 11:02:18 solo hcid[10495]: Sending read scan enable command failed: Connection timed out (110)

emerge --info output:

Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r2 x86_64 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
Timestamp of tree: Sat, 24 Nov 2007 12:46:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="fr en"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage"
SYNC="rsync://athena.olympe.local/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 ati bitmap-fonts bluetooth bzip2 cdr cli cracklib crypt cups dbus divx dri dts dvd dvdr encode fbcon ffmpeg flac gdbm gif gnutls gphoto2 gpm hal iconv ieee1394 imagemagick imlib isdnlog ithreads jpeg kde lm_sensors midi mjpeg mmx modplug mp3 mpeg mplayer mudflap musicbrainz ncurses network nls nptl nptlonly ogg openal opengl openmp pam pcmcia pcre pdf perl png pppd python qt3 qt4 rar readline reflection samba sdl session slang spl sse sse2 ssl startup-notification svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vorbis wifi xine xinerama xorg xprint xscreensaver xv xvid zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en" USERLAND="GNU" VIDEO_CARDS="fglrx vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-29 11:06:03 UTC
What are you trying to do exactly/which services don't work? You don't need any /dev/hci? device for hciconfig -a to work... Also, net-wireless/bluez-utils version? /etc/conf.d/bluetooth configuration?

# hciconfig -a
hci0:	Type: USB
	BD Address: 00:A0:96:1F:B3:A8 ACL MTU: 128:8 SCO MTU: 64:8
	UP RUNNING PSCAN ISCAN 
	RX bytes:1141 acl:0 sco:0 events:43 errors:0
	TX bytes:501 acl:0 sco:0 commands:33 errors:0
	Features: 0xff 0xff 0x05 0x00 0x00 0x00 0x00 0x00
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH HOLD SNIFF PARK 
	Link mode: SLAVE ACCEPT 
	Name: 'notorcomp (0)'
	Class: 0x000100
	Service Classes: Unspecified
	Device Class: Computer, Uncategorized
	HCI Ver: 1.1 (0x1) HCI Rev: 0x72 LMP Ver: 1.1 (0x1) LMP Subver: 0x72
	Manufacturer: Cambridge Silicon Radio (10)

# ls /dev/hci*
ls: cannot access /dev/hci*: No such file or directory
Comment 2 Vince C. 2007-11-29 13:28:47 UTC
(In reply to comment #1)
> What are you trying to do exactly/which services don't work? You don't need 
>any /dev/hci? device for hciconfig -a to work...

The error message hci_usb_intr_rx_submit: hci0 intr rx submit failed urb
ffff81007f6ac0a8 err -28 doesn't look quite normal to me. While trying to solve the problem by myself I found many references to /dev/hci0. (unless I didn't understand, which is also possible.)

> Also, net-wireless/bluez-utils
> version? /etc/conf.d/bluetooth configuration?
The packages:
- net-wireless/bluez-libs-2.25 (0)
- net-wireless/bluez-utils-2.25-r1 (0)

/etc/conf.d/bluetooth:
HCID_ENABLE=true
HCID_CONFIG="/etc/bluetooth/hcid.conf"
SDPD_ENABLE=true
HIDD_ENABLE=false
HIDD_OPTIONS=""
HID2HCI_ENABLE=false
RFCOMM_ENABLE=true
RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
DUND_ENABLE=false
DUND_OPTIONS="--listen --persist"
PAND_ENABLE=false
PAND_OPTIONS="--listen --role NAP"
Comment 3 Vince C. 2007-11-29 14:01:15 UTC
Changed the bug title to the syslog error message.
Comment 4 Vince C. 2007-11-29 14:04:37 UTC
Reopened the bug.
Comment 5 Vince C. 2008-01-02 23:05:18 UTC
It turned out to be a problem with missing modules. I've tested my BT hardware with another distribution LiveCD and it worked. So I concluded it was probably due to missing drivers. I had followed the Wiki at that time but I don't exclude some more checks must be made for Dell laptops. I'll post comments when I've found exactly what were the missing drivers.

I've roughly copied the working kernel configuration to my laptop and recompiled my kernel. Now my BT hardware works and hciconfig returns meaningful data instead of just zeroes.
Comment 6 Mike Pagano gentoo-dev 2008-01-03 00:00:23 UTC
you can use sys-kernel/kccmp to compare .config files if you think that would be helpful.
Comment 7 Vince C. 2008-01-07 08:07:42 UTC
(In reply to comment #6)
> you can use sys-kernel/kccmp to compare .config files if you think that would
> be helpful.

Thanks a lot, Mike; I didn't know of that tool. I used diff -y instead.

Note however both kernels are quite different (2.6.20 series, generic on Ubuntu and I'm using a Dell-specific 2.6.23). I know my kernel options almost by heart ;-) and I'm nearly sure the missing drivers were about non-standard serial ports.