From: "Michael Teichgräber" <mt@wmipf.in-berlin.de>
To: 9fans@cse.psu.edu
Subject: [9fans] usb panic
Date: Mon, 11 Sep 2006 20:06:55 +0200 [thread overview]
Message-ID: <87u03ei8g0.fsf@wmipf.in-berlin.de> (raw)
Hi,
accidently I started usb/usbmouse a second time, when one copy was
already running and handling an (the only) USB mouse. As a result I
got the following panic message:
panic: kernel fault: no user process pc=0xf010051a addr=0x0000003c
dumpstack disabled
cpu0: exiting
I can reproduce it easily on two different machines with the following
steps, even without starting usbmouse a second time, just writing to
the `ctl' file:
% usb/usbd
% usb/usbmouse
The `usbmouse' process is now reading from e.g. /dev/usb1/1/ep1data
% cd /dev/usb1/1
% echo 'ep 1 bulk r 3 32' > ctl # from /sys/src/cmd/usb/misc/usbmouse.c
The `echo' simulates the accidently restarted usb/usbmouse program, it
tries to reconfigure endpoint 1, which is already used by a running program.
An error message: "write error: permission denied" occurs immediately,
and the ep1data file vanished.
If the mouse has not been moved so far, the system is still
running. If I now move the mouse a bit, i.e. generate some traffic on
the endpoint, the panic message occures and the system is halted.
What does this message mean? Is there a way to debug this? (I have not
much experience with debugging on plan 9 so far.)
Michael
next reply other threads:[~2006-09-11 18:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-11 18:06 Michael Teichgräber [this message]
2006-09-11 20:48 ` geoff
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=87u03ei8g0.fsf@wmipf.in-berlin.de \
--to=mt@wmipf.in-berlin.de \
--cc=9fans@cse.psu.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;
as well as URLs for NNTP newsgroup(s).