lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 24 Oct 2006 10:09:05 -0400 (EDT)
From:	Alan Stern <stern@...land.harvard.edu>
To:	Helge Hafting <helge.hafting@...el.hist.no>
cc:	"Christopher \"Monty\" Montgomery" <xiphmont@...il.com>,
	Paolo Ornati <ornati@...twebnet.it>,
	Kernel development list <linux-kernel@...r.kernel.org>,
	USB development list <linux-usb-devel@...ts.sourceforge.net>
Subject: Re: [linux-usb-devel] 2.6.19-rc1-mm1 - locks when using "dd bs=1M"
 from card reader

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ