Re: xhci_hcd - bug: unable to handle kernel NULL pointer dereference (ring_doorbell_for_active_rings)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Wed, 20 Jun 2012 14:49:10 -0300,
Sergio Correia wrote:
> 
> Hi people,
> 
> I am getting this BUG in ring_doorbell_for_active_rings+0xa8/0xd0
> [xhci_hcd] (see the attached screenshots), when I have my USB wireless
> headset connected to the xHCI port. Usually it happens just after the
> boot process finishes, before even starting X; sometimes it takes a
> little longer (but not too much longer).

The Oops itself looks rather like an issue in xhci at a quick glance.
Does this problem happen on USB2 ports, too?

In anyway, please give lsusb -v output with the device.  If it oops at
connection time, you can remove snd-usb-audio module temporarily
(lsusb itself doesn't require the driver).


thanks,

Takashi

> 
> I am able to reproduce it with
> 2fe8ac608bf1a9c947f03f5d8cbf25c91b4f1a7c, the last revision I tested.
> I tried bisecting and it gave me
> 
> c75a8a7ae565d7cd9baa87a504ba9162e355b4b0 as the first bad commit
> 
> commit c75a8a7ae565d7cd9baa87a504ba9162e355b4b0
> Author: Daniel Mack <zonque@xxxxxxxxx>
> Date:   Thu Apr 12 13:51:14 2012 +0200
> 
>     ALSA: snd-usb: add support for implicit feedback
> 
>     Implicit feedback is a streaming mode that does not rely on dedicatedis
>     sync endpoints but uses the information provided by record streams to
>     clock output streams. Now that the streaming logic is decoupled from the
>     PCM streams, this is easy to implement.
> 
>     Signed-off-by: Daniel Mack <zonque@xxxxxxxxx>
>     Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
> 
> 
> I wasn't able to just revert it to check whether it would solve the
> problem with current mainline, but let me know if you have any
> ideas/patches to try out.
> 
> Sarah, I also see messages like these on the dmesg output:
> 
>  input: Sony Computer Entertainment Wireless Stereo Headset as
> /devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb3/3-1/3-1:1.3/input/input10
>  hid-generic 0003:12BA:0030.0005: input,hiddev0,hidraw2: USB HID v1.01
> Device [Sony Computer Entertainment Wireless Stereo Headset
>  usbcore: registered new interface driver snd-usb-audio
>  xhci_hcd 0000:04:00.0: ERROR Transfer event for disabled endpoint or
> incorrect stream ring
>  xhci_hcd 0000:04:00.0: @00000000a683f620 9ed7c580 00000000 1a000000 02058001
>  xhci_hcd 0000:04:00.0: ERROR Transfer event for disabled endpoint or
> incorrect stream ring
>  xhci_hcd 0000:04:00.0: @00000000a683f6b0 9ed7caa0 00000000 1a000000 02058001
>  sock: process `skype' is using obsolete setsockopt SO_BSDCOMPAT
>  xhci_hcd 0000:04:00.0: ERROR Transfer event for disabled endpoint or
> incorrect stream ring
>  xhci_hcd 0000:04:00.0: @00000000a683f450 a6932410 00000000 1a000000 02058000
>  xhci_hcd 0000:04:00.0: ERROR Transfer event for disabled endpoint or
> incorrect stream ring
>  xhci_hcd 0000:04:00.0: @00000000a683f600 a6854580 00000000 1a000000 02058000
>  xhci_hcd 0000:04:00.0: ERROR Transfer event for disabled endpoint or
> incorrect stream ring
>  xhci_hcd 0000:04:00.0: @00000000a683f550 a6854810 00000000 1a000000 02058001
>  xhci_hcd 0000:04:00.0: WARN Set TR Deq Ptr cmd failed due to
> incorrect slot or ep state.
> 
> 
> Sorry, I don't have the headset with me right now to provide
> additional info, but let me know what else I could provide and I will
> send it back later on today. I also realized I missed the "Code" part
> of the BUG report; I can get it later on as well.
> 
> thanks,
> Sergio
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux