From: Oliver Neukum <oliver@neukum.org>
To: Alex Riesen <raa.lkml@gmail.com>
Cc: linux-usb@vger.kernel.org, Oliver Neukum <oliver@neukum.name>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"Greg Kroah-Hartman" <greg@kroah.com>,
Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: Oops in CDC ACM after an Openmoko phone (neo1973) changes its usb interface from ACM to Ethernet
Date: Sun, 2 Aug 2009 19:19:10 +0200 [thread overview]
Message-ID: <200908021919.11169.oliver@neukum.org> (raw)
In-Reply-To: <81b0412b0908020940l3fcb2c2ds184fa87df82b5730@mail.gmail.com>
Am Sonntag, 2. August 2009 18:40:56 schrieb Alex Riesen:
> [ 75.453444] Call Trace:
> [ 75.453444] [<ffffffff812a77b2>] usb_autopm_get_interface+0xe/0x10
> [ 75.453444] [<ffffffffa0072e19>] acm_port_down+0x3f/0x1bb [cdc_acm]
> [ 75.453444] [<ffffffff811f0af1>] ? tty_port_close_start+0xc1/0x153
> [ 75.453444] [<ffffffffa0073258>] acm_tty_close+0x3d/0x83 [cdc_acm]
> [ 75.453444] [<ffffffff811eaca7>] tty_release_dev+0x1bf/0x4e8
> [ 75.453444] [<ffffffffa00732c3>] ? acm_tty_open+0x25/0x2ae [cdc_acm]
This can happen only if acm_port_down() fails to detect that the device has
been disconnected, as it calls usb_autopm_get_interface()
only if acm->dev != NULL.
This however should not happen if acm_disconnect runs.
Can you put a printk into acm_disconnect and recompile with CONFIG_USB_DEBUG?
Regards
Oliver
next prev parent reply other threads:[~2009-08-02 17:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-02 16:40 Oops in CDC ACM after an Openmoko phone (neo1973) changes its usb interface from ACM to Ethernet Alex Riesen
2009-08-02 17:19 ` Oliver Neukum [this message]
2009-08-02 18:25 ` Alex Riesen
2009-08-02 20:39 ` Alex Riesen
2009-08-02 20:50 ` Alan Stern
2009-08-02 21:09 ` Alex Riesen
2009-08-02 21:22 ` Oliver Neukum
2009-08-02 21:25 ` Alex Riesen
2009-08-03 9:17 ` Alex Riesen
2009-08-03 13:04 ` Oliver Neukum
2009-08-03 13:22 ` Alex Riesen
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=200908021919.11169.oliver@neukum.org \
--to=oliver@neukum.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=oliver@neukum.name \
--cc=raa.lkml@gmail.com \
/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