2004-02-20 23:38:59

by Pavel Ruzicka

[permalink] [raw]
Subject: [Bluez-users] MSI 6970 removing - kernel freeze

Hello,

When I have hci0 up and I remove my USB MSI 6970 dongle, then kernel freezes.

This is copied from the screen:
----------------------------------------------------------------------
kernel panic: fatal exception in interrupt
In interrupt handler - not syncing
EIP is at uhci_remove_pending_qhs+0x61/0xc0 [uhci_hcd]
----------------------------------------------------------------------

lsmod for usb and bluetooth things:
----------------------------------------------------------------------
hci_usb 12288 1
bluetooth 43492 1 hci_usb
usbnet 15496 0
usblp 11264 0
uhci_hcd 31116 0
usbcore 107100 6 hci_usb,usbnet,usblp,uhci_hcd
-----------------------------------------------------------------------

When I start computer, hci0 is down. I run hciconfig hci0 up.
After this I have in dmesg this:
-----------------------------------------------------------------------
drivers/usb/core/urb.c: usb_submit_urb: bogus endpoint 3-IN on
usb-0000:00:07.3-1 (bad maxpacket 0)
hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb c71c1a14 err -90
drivers/usb/core/urb.c: usb_submit_urb: bogus endpoint 3-IN on
usb-0000:00:07.3-1 (bad maxpacket 0)
hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb c71c1a14 err -90
-----------------------------------------------------------------------

I have linux Mandrake 9.2 with vanilla kernel 2.6.2.
I have VIA KT133 chipset vt82c686b.

Is this kernel or hardware bug?
Is this problem of USB or Bluetooth kernel module?

Best regards,

Pavel Ruzicka



-------------------------------------------------------
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-22 12:17:17

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Re: MSI 6970 removing - kernel freeze

Hi Pavel,

> > > When I have hci0 up and I remove my USB MSI 6970 dongle, then kernel
> > > freezes.
>
> Workaround is to make "hciconfig hci0 down" before removing USB dongle
> from computer.

or you don't select CONFIG_BT_HCIUSB_SCO in your kernel config.

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-22 12:11:10

by Pavel Ruzicka

[permalink] [raw]
Subject: Re: [Bluez-users] Re: MSI 6970 removing - kernel freeze

Hello,

> > When I have hci0 up and I remove my USB MSI 6970 dongle, then kernel
> > freezes.

Workaround is to make "hciconfig hci0 down" before removing USB dongle
from computer.

Pavouk



-------------------------------------------------------
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-22 12:06:46

by Pavel Ruzicka

[permalink] [raw]
Subject: [Bluez-users] Re: MSI 6970 removing - kernel freeze

Hello,

today I was testing this with new kernel 2.6.3 and problem is
identical like in kernel 2.6.2.

Best regards,

Pavel Ruzicka

> When I have hci0 up and I remove my USB MSI 6970 dongle, then kernel
> freezes.
>
> This is copied from the screen:
> ----------------------------------------------------------------------
> kernel panic: fatal exception in interrupt
> In interrupt handler - not syncing
> EIP is at uhci_remove_pending_qhs+0x61/0xc0 [uhci_hcd]
> ----------------------------------------------------------------------
>
> When I start computer, hci0 is down. I run hciconfig hci0 up.
> After this I have in dmesg this:
> -----------------------------------------------------------------------
> drivers/usb/core/urb.c: usb_submit_urb: bogus endpoint 3-IN on
> usb-0000:00:07.3-1 (bad maxpacket 0)
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb c71c1a14 err -90
> drivers/usb/core/urb.c: usb_submit_urb: bogus endpoint 3-IN on
> usb-0000:00:07.3-1 (bad maxpacket 0)
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb c71c1a14 err -90
> -----------------------------------------------------------------------



-------------------------------------------------------
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-20 23:49:53

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] MSI 6970 removing - kernel freeze

Hi Pavel,

> When I have hci0 up and I remove my USB MSI 6970 dongle, then kernel freezes.
>
> This is copied from the screen:
> ----------------------------------------------------------------------
> kernel panic: fatal exception in interrupt
> In interrupt handler - not syncing
> EIP is at uhci_remove_pending_qhs+0x61/0xc0 [uhci_hcd]
> ----------------------------------------------------------------------

this is a known problem with UHCI USB host controllers, but not our
problem. Alan Stern has patches and fixes for it and I think at least
with 2.6.4 this problem should be gone. See the BlueZ and USB mailing
list archives for more details.

> When I start computer, hci0 is down. I run hciconfig hci0 up.
> After this I have in dmesg this:
> -----------------------------------------------------------------------
> drivers/usb/core/urb.c: usb_submit_urb: bogus endpoint 3-IN on
> usb-0000:00:07.3-1 (bad maxpacket 0)
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb c71c1a14 err -90
> drivers/usb/core/urb.c: usb_submit_urb: bogus endpoint 3-IN on
> usb-0000:00:07.3-1 (bad maxpacket 0)
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb c71c1a14 err -90
> -----------------------------------------------------------------------

This one is new and Todd E. Johnson looked at it, but I have no time to
investigate on this problem. The only solution I can tell you is to
disable CONFIG_BT_HCIUSB_SCO.

> I have linux Mandrake 9.2 with vanilla kernel 2.6.2.

Try 2.6.3. Maybe it is already fixed.

> Is this kernel or hardware bug?

It's a kernel problem.

> Is this problem of USB or Bluetooth kernel module?

I am quite sure that this is an USB problem.

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