From: David Brownell <david-b@pacbell.net>
To: linux-kernel@vger.kernel.org
Cc: linux-usb-devel@lists.sourceforge.net
Subject: Re: [linux-usb-devel] USB oops Linux 2.4.2ac6
Date: Wed, 28 Feb 2001 18:48:21 -0800 [thread overview]
Message-ID: <113501c0a1fa$1499e5e0$6800000a@brownell.org> (raw)
In-Reply-To: <E14XuMy-0004ZW-00@the-village.bc.nu> <3A9D4E46.C1660841@cypress.com>
> Tbird-700 on MSI-6167 (Viper based) board.
> from dmesg
> -------------
> usb.c: registered new driver usbdevfs
> usb.c: registered new driver hub
> usb-ohci.c: USB OHCI at membase 0xd3874000, IRQ 11
> usb-ohci.c: usb-00:07.4, Advanced Micro Devices [AMD] AMD-756 [Viper]
> USB
Note that there's a chip erratum (#4 I think) on the AMD-756 that
makes it handle lowspeed devices wrong ... AMD told me I'd need
an NDA to learn their workaround, and I've not pursued it. (Does
anyone already know what kind of NDA they use?)
> --------------
> If I boot with my mouse plugged in, or plug it in after the system
> is up, I get an oops.
> While I was buildong the kernel I got a message from the kernel
> --------
> Feb 28 10:03:07 tedpc kernel: usb-ohci.c: bogus NDP=242 for OHCI
> usb-00:07.4
> Feb 28 10:03:07 tedpc kernel: usb-ohci.c: rereads as NDP=4
> -----
These are symptoms of that erratum. Don't plug lowspeed devices
(like, probably, your mouse) into the root hub ... something about
that makes some of the registers read wrong. Like telling you
that you've got 242 downstream ports. At least this time it was
a clearly bogus value.
Since the second register read was correct, I've sometimes thought
maybe it'd work better if you just redefined readl() to do each read
twice ... might be worth the experiment, since you have the hardware.
> ----
> kernel BUG at slab.c:1398!
> ----
Something went wrong ... :-) Hard to say who without
at least a stacktrace.
- Dave
next prev parent reply other threads:[~2001-03-01 2:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-28 0:21 Alan Cox
2001-02-28 0:51 ` J . A . Magallon
2001-02-28 5:02 ` Reserved memory for highmem bouncing Marcelo Tosatti
2001-02-28 19:15 ` USB oops Linux 2.4.2ac6 Thomas Dodd
2001-03-01 2:48 ` David Brownell [this message]
2001-03-01 12:38 ` [linux-usb-devel] " Alan Cox
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='113501c0a1fa$1499e5e0$6800000a@brownell.org' \
--to=david-b@pacbell.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
/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®