From: Duncan Sands <baldrick@wanadoo.fr>
To: Fredrik Noring <noring@nocrew.org>
Cc: Linux Kernel Development <linux-kernel@vger.kernel.org>,
Alan Stern <stern@rowland.harvard.edu>,
Johannes Erdfelt <johannes@erdfelt.com>,
linux-usb-devel@lists.sourceforge.net
Subject: Re: 2.6.0-test4: uhci-hcd.c: "host controller process error", slab call trace
Date: Sun, 31 Aug 2003 12:40:55 +0200 [thread overview]
Message-ID: <200308311240.55716.baldrick@wanadoo.fr> (raw)
In-Reply-To: <1062323761.3036.31.camel@h9n1fls20o980.bredband.comhem.se>
On Sunday 31 August 2003 11:56, Fredrik Noring wrote:
> sön 2003-08-31 klockan 01.36 skrev Duncan Sands:
> > Does the attached patch help?
>
> Yes, I did some quick tests and the "host controller" error appears to
> be gone. Thanks! There are a few other problems, probably unrelated to
> this patch:
Yes, they seem unrelated. I don't know anything about bluetooth, sorry.
By the way, let me explain what the problem was with uhci-hcd. The usb
hardware directly accesses your computers memory. The bug is that it
could still be accessing a bit of memory after uhci-hcd thought it had
finished with it and freed up the memory. This bug has always existed,
and I guess led to occasional mysterious data corruption, when some
other part of the kernel started using that bit of memory while the usb
hardware was still playing with it. You turned on the "slab debugging"
option, right? With this turned on, when uhci-hcd frees the memory it
gets filled with some garbage values. The usb hardware reads this
garbage and barfs, giving a "process error". In short, you can also
get rid of the process error messages by turning off slab debugging,
then the data corruption will be silent again!
> 1. Broadcom Bluetooth USB device initialization is unreliable. When it
> fails, the following is logged. Rebooting the system and trying again
> helps.
>
> /etc/hotplug/usb.agent: Setup bluefw for USB product a5c/2033/a0
> /etc/hotplug/usb.agent: Module setup bluefw for USB product a5c/2033/a0
> bluefw[3079]: Loading firmware to usb device 0a5c:2033
> kernel: usb 1-2: bulk timeout on ep1in
> bluefw[3079]: Intr read #1 failed. Connection timed out (110)
> usbfs: USBDEVFS_BULK failed dev 3 ep 0x81 len 10 ret -110
>
> 2. The system sometimes locks up in a complete freeze when an external
> Bluetooth device tries to connect. I'm not sure what happens and the
> only message I've seen is this and it might be unrelated:
>
> dund[3932]: MSDUN failed. Protocol error(71)
>
> 3. The following messages are still logged:
>
> kernel: l2cap_recv_acldata: Frame is too short (len 1)
> kernel: l2cap_recv_acldata: Unexpected continuation frame (len 124)
> kernel: l2cap_recv_acldata: Unexpected continuation frame (len 102)
>
> Fredrik
Duncan.
next prev parent reply other threads:[~2003-08-31 10:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-30 22:16 Fredrik Noring
2003-08-30 23:36 ` Duncan Sands
2003-08-31 2:58 ` Alan Stern
2003-08-31 9:15 ` Duncan Sands
2003-08-31 9:56 ` Fredrik Noring
2003-08-31 10:40 ` Duncan Sands [this message]
2003-09-02 21:19 ` Greg KH
2003-09-02 21:22 ` Johannes Erdfelt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200308311240.55716.baldrick@wanadoo.fr \
--to=baldrick@wanadoo.fr \
--cc=johannes@erdfelt.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=noring@nocrew.org \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®