Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030318AbWJXOJJ (ORCPT ); Tue, 24 Oct 2006 10:09:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030262AbWJXOJI (ORCPT ); Tue, 24 Oct 2006 10:09:08 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:29201 "HELO iolanthe.rowland.org") by vger.kernel.org with SMTP id S1030337AbWJXOJG (ORCPT ); Tue, 24 Oct 2006 10:09:06 -0400 Date: Tue, 24 Oct 2006 10:09:05 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Helge Hafting cc: "Christopher \"Monty\" Montgomery" , Paolo Ornati , Kernel development list , USB development list Subject: Re: [linux-usb-devel] 2.6.19-rc1-mm1 - locks when using "dd bs=1M" from card reader In-Reply-To: <453DE80E.8090607@aitel.hist.no> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1054 Lines: 26 On Tue, 24 Oct 2006, Helge Hafting wrote: > I just tested this. 2.6.18 does not crash. I still get tons of errors, > and no data. Copying using 1MB chunks or 4kB chunks > don't matter, it doesn't work. So card, reader or driver must be faulty. > The card works in a windows machine though. > > 2.6.19-rc1 gets data with 4kB chunks, and BUGs with 1M chunks. It would be interesting to compare 2.6.18 with 2.6.19-rc to see why the first gets only errors while the second is able to transfer some data using 4 KB chunks. (By the way, what do you mean by 4 KB chunks or 1 MB chunks? Does this refer to the bs= option for dd? That has almost nothing to do with the size of the transfers actually sent to the device.) But the log will be useless unless you turn on CONFIG_USB_STORAGE_DEBUG. Alan Stern - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/