From: Jakub Bogusz <qboosh@pld-linux.org>
To: linux-kernel@vger.kernel.org
Subject: 2.6.4: Oops on rmmod uhci-hcd when device is still accessed
Date: Thu, 18 Mar 2004 00:22:03 +0100 [thread overview]
Message-ID: <20040317232203.GA3510@satan.blackhosts> (raw)
I just gave 2.6.4 a try (after 102 days of uptime on 2.6.0-test11
- "almost stable" if I knew what not to do ;) - but now I experienced
some strange deadlocks in programs accessing some resource, probably
memory, so I had to reboot).
When shutting down 2.6.0-test11 I noticed oops message on stopping
hotplug service - and this bug is still present in Linux 2.6.4.
Oops occurs on "rmmod uhci-hcd" when device connected to USB is still
accessed by modem_run program (it's Alcatel Speedtouch ADSL modem).
dmesg then contains:
uhci_hcd 0000:00:07.2: remove, state 1
usb usb1: USB disconnect, address 1
usb 1-2: USB disconnect, address 2
usbfs: USBDEVFS_CONTROL failed cmd modem_run dev 2 rqt 192 rq 18 len 1 ret -19
usbfs: usb_submit_urb returned -19
Unable to handle kernel NULL pointer dereference at virtual address 0000000c
printing eip:
d884c3c8
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
CPU: 0
EIP: 0060:[<d884c3c8>] Not tainted
EFLAGS: 00010246
EIP is at releaseintf+0x68/0x80 [usbcore]
eax: 00000000 ebx: d6101824 ecx: d6101824 edx: 00000000
esi: d6101800 edi: 00000000 ebp: d6213ac0 esp: d1653f30
ds: 007b es: 007b ss: 0068
Process modem_run (pid: 4022, threadinfo=d1652000 task=d17e4c00)
Stack: d6213ac0 00000000 d7fe4600 d1625540 d884c796 d194bc00 00000000 c014bf8f
d1c37a40 d194bc00 00000000 d1fb1200 00000001 c014a6df ffffffff 00000001
00000006 d1fb1200 c011ba89 d1fb1200 d2804ba0 d17e4c00 0000ff00 c011c5fd
Call Trace:
[<d884c796>] usbdev_release+0xa6/0xb0 [usbcore]
[<c014bf8f>] __fput+0xff/0x110
[<c014a6df>] filp_close+0x4f/0x80
[<c011ba89>] put_files_struct+0x59/0xb0
[<c011c5fd>] do_exit+0x18d/0x3f0
[<c011c902>] do_group_exit+0x32/0xa0
[<c0108c5b>] syscall_call+0x7/0xb
Code: 8b 54 90 0c b8 a0 8a 85 d8 e8 2a 7f ff ff eb c6 90 8d b4 26
<6>uhci_hcd 0000:00:07.2: USB bus 1 deregistered
uhci_hcd 0000:00:07.3: remove, state 1
usb usb2: USB disconnect, address 1
uhci_hcd 0000:00:07.3: USB bus 2 deregistered
It's in drivers/usb/core/devio.c:388:
| down(&dev->serialize);
| if (test_and_clear_bit(intf, &ps->ifclaimed)) {
| iface = dev->actconfig->interface[intf];
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| usb_driver_release_interface(&usbdevfs_driver, iface);
| err = 0;
| }
| up(&dev->serialize);
and looks like dev->actconfig is NULL
My USB-related configuration options:
CONFIG_USB=m
CONFIG_USB_DEVICEFS=y
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_SPEEDTOUCH=m
(the rest is not set)
Whole .config is available at
http://cyber.cs.net.pl/~qboosh/misc/kernel-2.6.4.config
--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
next reply other threads:[~2004-03-17 23:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-17 23:22 Jakub Bogusz [this message]
2004-03-19 1:12 ` Greg KH
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=20040317232203.GA3510@satan.blackhosts \
--to=qboosh@pld-linux.org \
--cc=linux-kernel@vger.kernel.org \
/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
Powered by JetHome