From: "Colin Leroy" <colin@colino.net>
To: "Alan Stern" <stern@rowland.harvard.edu>
Cc: <linux-kernel@vger.kernel.org>, <linux-usb-devel@lists.sf.net>
Subject: Re: [linux-usb-devel] Re: [OOPS] reproducible oops with 2.6.5-rc2-bk3
Date: Thu, 25 Mar 2004 16:20:38 +0100 [thread overview]
Message-ID: <138101c4127c$ba50f910$3cc8a8c0@epro.dom> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0403250936480.1023-100000@ida.rowland.org>
Hi,
> That's right. However, the oops you saw shouldn't happen so long as
> intf->cur_altsetting points to something valid. I got the impression
that
> in the cdc-acm probe routine maybe it was a null pointer.
Yes, i think so too.
> Can you insert
> a statement in the cdc-acm probe function to print out the values of
ifcom
> and ifdata, to check that they aren't NULL?
Already done, that's what helped me find this was related to altsettings
stuff. I didn't check to see if cur_altsetting was null, but a dev_dbg()
at the beginnning of the function was appearing, and not the dev_dbg() I
had put after this block.
> > I'm not sure the change in cdc-acm (which no longer uses index 0
> > altsetting) is correct. Or is this another bug in my phone (motorola
C350)
> > which should be handled differently than other cdc-acm devices ?
>
> It's hard to say without more information. The contents of
> /proc/bus/usb/devices or the output of lsusb with the phone plugged in
> would help.
Ok, I'll try to do that tonight.
--
Colin
next prev parent reply other threads:[~2004-03-25 15:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <136101c4126d$c0bc5600$3cc8a8c0@epro.dom>
2004-03-25 14:44 ` Alan Stern
2004-03-25 15:20 ` Colin Leroy [this message]
2004-03-25 16:40 ` Colin Leroy
2004-03-25 16:56 ` Alan Stern
2004-03-25 17:26 ` Colin Leroy
2004-03-25 17:46 ` [PATCH] " Colin Leroy
2004-03-25 18:46 ` Alan Stern
2004-03-25 19:11 ` Colin Leroy
2004-03-25 20:22 ` Alan Stern
2004-03-25 20:01 ` Colin Leroy
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='138101c4127c$ba50f910$3cc8a8c0@epro.dom' \
--to=colin@colino.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sf.net \
--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®