[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1003291237480.27175@p34.internal.lan>
Date: Mon, 29 Mar 2010 12:38:53 -0400 (EDT)
From: Justin Piszcz <jpiszcz@...idpixels.com>
To: Alan Stern <stern@...land.harvard.edu>
cc: Kernel development list <linux-kernel@...r.kernel.org>,
USB list <linux-usb@...r.kernel.org>,
Alan Piszcz <ap@...arrain.com>
Subject: Re: 2.6.33: Xorg+khubd lockup (D-state) BUG / ioctl EVIOCGNAME
failed: Inappropriate ioctl for device / PreInit returned NULL
On Mon, 29 Mar 2010, Justin Piszcz wrote:
>
>
> On Mon, 29 Mar 2010, Alan Stern wrote:
> For your patch, what does this patch against? It does not apply cleanly
> for 2.6.33.
It also fails against 2.6.34-rc2, can you diff -u and show the patch so
I can patch manually or include a patch against 2.6.33 or 2.6.34-rc2?
Thanks.
>
>>
>> Alan Stern
>>
>>
>> Index: usb-2.6/drivers/usb/host/ohci-hcd.c
>> ===================================================================
>> --- usb-2.6.orig/drivers/usb/host/ohci-hcd.c
>> +++ usb-2.6/drivers/usb/host/ohci-hcd.c
>> @@ -290,6 +290,8 @@ static int ohci_urb_dequeue(struct usb_h
>> */
>> urb_priv = urb->hcpriv;
>> if (urb_priv) {
>> + ohci_info(ohci, "start unlink urb %p, ed %p\n",
>> + urb, urb_priv->ed);
>> if (urb_priv->ed->state == ED_OPER)
>> start_ed_unlink (ohci, urb_priv->ed);
>> }
>> @@ -324,6 +326,9 @@ ohci_endpoint_disable (struct usb_hcd *h
>>
>> if (!ed)
>> return;
>> + ohci_info(ohci, "disable ed %p (#%02x) state %d%s\n",
>> + ed, ep->desc.bEndpointAddress, ed->state,
>> + list_empty(&ed->td_list) ? "" : " (has tds)");
>>
>> rescan:
>> spin_lock_irqsave (&ohci->lock, flags);
>> @@ -770,6 +775,10 @@ static irqreturn_t ohci_irq (struct usb_
>> return IRQ_HANDLED;
>> }
>>
>> + ohci_info(ohci, "int %x enable %x rm_list %p\n", ints,
>> + ohci_readl(ohci, ®s->intrenable),
>> + ohci->ed_rm_list);
>> +
>> /* We only care about interrupts that are enabled */
>> ints &= ohci_readl(ohci, ®s->intrenable);
>>
>>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists