All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Mansfield <patmans@us.ibm.com>
To: Aleksey Nogin <aleksey@nogin.org>
Cc: Alan Stern <stern@rowland.harvard.edu>,
	USB development list <linux-usb-devel@lists.sourceforge.net>,
	SCSI development list <linux-scsi@vger.kernel.org>,
	john stultz <johnstul@us.ibm.com>
Subject: Re: [linux-usb-devel] Numerous problems, partial success getting FujiFilm Finepix 3800 to work under 2.6.
Date: Wed, 21 Apr 2004 17:39:53 -0700	[thread overview]
Message-ID: <20040421173952.A22730@beaverton.ibm.com> (raw)
In-Reply-To: <4086D17C.2050407@nogin.org>; from aleksey@nogin.org on Wed, Apr 21, 2004 at 12:54:36PM -0700

On Wed, Apr 21, 2004 at 12:54:36PM -0700, Aleksey Nogin wrote:
> On 21.04.2004 07:43, Alan Stern wrote:
> 
> > On Tue, 20 Apr 2004, Aleksey Nogin wrote:
> > 
> > 
> >>Thanks a lot for your feedback. Unfortunately, your patch does not seem 
> >>to affect anything.
> > 
> > 
> > Yes, now you come to mention it, I see there isn't any code in there to 
> > retry the INQUIRY command after a Unit Attention!  All right, try this 
> > patch instead.
> 
> This works, thanks!
> 
> However, is still only works when connected directly. If connected 
> through a hub, when I start copying files, after transferring in the 
> range of 100-500KB, the system thinks that the hub was disconnected, 
> data transfer gets stuck, then it thinks that the mouse (that is 
> attached to the hub) is disconnected, then it thinks that the mouse is 
> back, then everything becomes stuck. If I turn the camera off at this 
> point, it results in a kernel oops...

Where's the oops? This sounds like a badness John sent to me about a USB
cdrom device that gets an error, and when it is later removed hits a
WARN_ON in scsi_device_set_state.

Here's the back trace:

sr 7:0:0:0: Illegal state transition offline->cancel
Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1640
Call Trace:
 [<c02b20e5>] scsi_device_set_state+0xbe/0x10b
 [<c02ac93b>] scsi_device_cancel+0x29/0xf4
 [<c02acad5>] scsi_device_cancel_cb+0x0/0x1c
 [<c0238dd7>] device_for_each_child+0x3e/0x6e
 [<c02acb27>] scsi_host_cancel+0x36/0xab
 [<c02acad5>] scsi_device_cancel_cb+0x0/0x1c
 [<c0344af1>] usb_buffer_free+0x45/0x47
 [<c02acbb7>] scsi_remove_host+0x1b/0x5c
 [<c0360bf1>] storage_disconnect+0x39/0x49
 [<c0343b64>] usb_unbind_interface+0x7a/0x7c
 [<c0239b46>] device_release_driver+0x64/0x66
 [<c0239c6d>] bus_remove_device+0x56/0x98
 [<c0238d40>] device_del+0x5f/0x95
 [<c0238d89>] device_unregister+0x13/0x23
 [<c03495f5>] usb_disable_device+0x71/0xac
 [<c0344451>] usb_disconnect+0x9c/0xe9
 [<c0346482>] hub_port_connect_change+0x282/0x287
 [<c0345e39>] hub_port_status+0x45/0xb0
 [<c03467a9>] hub_events+0x322/0x36e
 [<c0346826>] hub_thread+0x31/0xd1
 [<c0111f86>] default_wake_function+0x0/0x12
 [<c03467f5>] hub_thread+0x0/0xd1
 [<c0102209>] kernel_thread_helper+0x5/0xb

-- Patrick Mansfield

  reply	other threads:[~2004-04-22  0:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <40856AFF.7070002@nogin.org>
2004-04-20 19:41 ` Numerous problems, partial success getting FujiFilm Finepix 3800 to work under 2.6 Alan Stern
2004-04-20 20:11   ` Pete Zaitcev
2004-04-21  5:00   ` [linux-usb-devel] " Aleksey Nogin
2004-04-21 14:43     ` Alan Stern
2004-04-21 19:54       ` Aleksey Nogin
2004-04-22  0:39         ` Patrick Mansfield [this message]
2004-04-22  1:30           ` Aleksey Nogin

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=20040421173952.A22730@beaverton.ibm.com \
    --to=patmans@us.ibm.com \
    --cc=aleksey@nogin.org \
    --cc=johnstul@us.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.