2004-02-14 14:18:17

by Todd E. Johnson

[permalink] [raw]
Subject: [Bluez-users] Re: 2.6.2 errors with DBT-120 (B2)

hci0: Type: USB
BD Address: 00:80:C8:1F:B0:1F ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:412 acl:0 sco:0 events:22 errors:0
TX bytes:579 acl:0 sco:0 commands:21 errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'BlueZ (0)'
Class: 0x700408
Service Classes: Object Transfer, Audio, Telephony
Device Class: Audio/Video, Hands-free
HCI Ver: 1.1 (0x1) HCI Rev: 0x1bb LMP Ver: 1.1 (0x1) LMP Subver: 0x1bb
Manufacturer: Cambridge Silicon Radio (10)


Attachments:
hciconfig.txt (597.00 B)

2004-02-14 15:15:48

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] bcm203x module causes kernel panic on boot

Hi Alex,

> I use a Belkin F8T001, and bluez-bluefw has always been a bit tempremental
> with me, so I jumped at the chance of using the bcm203x module in the kernel.
> Looking through the mailing list, I copied BCM2033-FW.bin and BCM2033-MD.hex
> to /usr/lib/hotplug/firmware/, unmerged bluefw gave things a try from a power
> off.
>
> Below, I've pasted sections of the subsequent boot sequence. If the PC's
> turned on from power off (so the adaptor has no firmware already loaded, my
> PC will kernel panic, but continue booting and work okay, with the bluetooth
> subsystem working perfectly. Subsequent soft-reboots load Linux without any
> kernel panics, with bluetooth still working perfectly.
>
> So, is this panic purely cosmetic, or is something fundamentally bad going on?
> In addition, could I suggest some documentation on the kernel help page for
> the bcm203x module to say where the firmware should be acquired/kept?
>
> Bluetooth: Core ver 2.3
> NET: Registered protocol family 31
> Bluetooth: HCI device and connection manager initialized
> Bluetooth: HCI socket layer initialized
> Bluetooth: HCI USB driver ver 2.4
> modprobe: FATAL: Module hci_usb already in kernel.
> Started device management daemon v1.3.25 for /dev
> Unable to handle kernel NULL pointer dereference at virtual address 00000004
> printing eip:
> c018253a
> *pde = 00000000
> Oops: 0000 [#1]
> CPU: 0
> EIP: 0060:[<c018253a>] Not tainted
> EFLAGS: 00010246
> EIP is at sysfs_release+0x2a/0x90
> eax: cf4f9a00 ebx: 00000000 ecx: cf9c8e40 edx: cf4f9ac8
> esi: c136cac0 edi: cffe4f00 ebp: cf4da0c0 esp: cf5e9f68
> ds: 007b es: 007b ss: 0068
> Process default.hotplug (pid: 302, threadinfo=cf5e8000 task=c130c6e0)
> Stack: cf4f9ac8 cf9c8e40 00000000 c014fb40 cf4da0c0 cf9c8e40 cf939180 cf9c8e40
> 00000000 cf7e4c80 cf5e8000 c014e199 cf9c8e40 cf7e4c80 cf7e4c80 cf9c8e40
> 00000001 c014e231 cf9c8e40 cf7e4c80 00000001 080d7f40 c0108f47 00000001
> Call Trace:
> [<c014fb40>] __fput+0x100/0x120
> [<c014e199>] filp_close+0x59/0x90
> [<c014e231>] sys_close+0x61/0xa0
> [<c0108f47>] syscall_call+0x7/0xb
>
> Code: 8b 43 04 85 c0 74 1f bb 00 e0 ff ff 21 e3 ff 43 14 ff 88 c0

this is a problem with the early run of hotplug scripts and not a
problem of the Bluetooth subsystem. Run the oops through ksymoops and
post it to the LKML, because it belongs there.

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-02-14 15:01:30

by Alex Holland

[permalink] [raw]
Subject: [Bluez-users] bcm203x module causes kernel panic on boot

I'm a Gentoo user, and recently upgraded from 2.4.22-r5 to Gentoo Dev Sources
2.6.2. After suffering the following areas, I patched with the -mh2 patch,
but they persisted.

I use a Belkin F8T001, and bluez-bluefw has always been a bit tempremental
with me, so I jumped at the chance of using the bcm203x module in the kernel.
Looking through the mailing list, I copied BCM2033-FW.bin and BCM2033-MD.hex
to /usr/lib/hotplug/firmware/, unmerged bluefw gave things a try from a power
off.

Below, I've pasted sections of the subsequent boot sequence. If the PC's
turned on from power off (so the adaptor has no firmware already loaded, my
PC will kernel panic, but continue booting and work okay, with the bluetooth
subsystem working perfectly. Subsequent soft-reboots load Linux without any
kernel panics, with bluetooth still working perfectly.

So, is this panic purely cosmetic, or is something fundamentally bad going on?
In addition, could I suggest some documentation on the kernel help page for
the bcm203x module to say where the firmware should be acquired/kept?

Alex Holland

----------------------------------------------------------------------------------------------

* Mounting sysfs at /sys...
[ ok ]modprobe: FATAL: Module keybdev not found.

Bluetooth: Broadcom Blutonium firmware driver ver 1.0
modprobe: FATAL: Module bcm203x already in kernel.

modprobe: FATAL: Module bcm203x already in kernel.

* Mounting devpts at /dev/pts...
[ ok ] * Starting devfsd...
Bluetooth: Core ver 2.3
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: HCI USB driver ver 2.4
modprobe: FATAL: Module hci_usb already in kernel.
Started device management daemon v1.3.25 for /dev
Unable to handle kernel NULL pointer dereference at virtual address 00000004
printing eip:
c018253a
*pde = 00000000
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<c018253a>] Not tainted
EFLAGS: 00010246
EIP is at sysfs_release+0x2a/0x90
eax: cf4f9a00 ebx: 00000000 ecx: cf9c8e40 edx: cf4f9ac8
esi: c136cac0 edi: cffe4f00 ebp: cf4da0c0 esp: cf5e9f68
ds: 007b es: 007b ss: 0068
Process default.hotplug (pid: 302, threadinfo=cf5e8000 task=c130c6e0)
Stack: cf4f9ac8 cf9c8e40 00000000 c014fb40 cf4da0c0 cf9c8e40 cf939180 cf9c8e40
00000000 cf7e4c80 cf5e8000 c014e199 cf9c8e40 cf7e4c80 cf7e4c80 cf9c8e40
00000001 c014e231 cf9c8e40 cf7e4c80 00000001 080d7f40 c0108f47 00000001
Call Trace:
[<c014fb40>] __fput+0x100/0x120
[<c014e199>] filp_close+0x59/0x90
[<c014e231>] sys_close+0x61/0xa0
[<c0108f47>] syscall_call+0x7/0xb

Code: 8b 43 04 85 c0 74 1f bb 00 e0 ff ff 21 e3 ff 43 14 ff 88 c0

---------------------------------------------------------------------------------


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-02-14 14:43:14

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Re: 2.6.2 errors with DBT-120 (B2)

Hi Todd,

> Bummer on the SCO support. I am looking forward to using it in an
> embedded linux based telematics system for vehicle hands free
> functionality.

this depends on whats your design. Do you use SCO over PCM or SCO over
HCI? If your embedded device includes a PCM codec you can route the SCO
traffic of the Bluetooth chip over PCM and you don't need the SCO audio
support for the HCI USB driver.

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users