Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-11-24 Thread Alan Stern
On Sat, 24 Nov 2007, RTE wrote: > On Sat, 24 Nov 2007 07:39:13 +0300, Alan Stern wrote: > > > You might also want to test this patch. It should automatically set > > max_sectors to 64 -- that's lower than you need but it should work > > without errors. (The patch is against 2.6.24-rc3, so you m

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-11-24 Thread RTE
On Sat, 24 Nov 2007 07:39:13 +0300, Alan Stern wrote: > You might also want to test this patch. It should automatically set > max_sectors to 64 -- that's lower than you need but it should work > without errors. (The patch is against 2.6.24-rc3, so you may have to > merge it by hand into the sour

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-11-23 Thread Alan Stern
On Fri, 23 Nov 2007, RTE wrote: > On Wed, 21 Nov 2007 00:26:26 +0300, Alan Stern wrote: > > Okay, here's a version of the patch for 2.6.23 and without the > > debugging information. > > Many thanks to you for the help! :) > In 2.6.23 patch works perfectly. Errors are not present. > > > My guess

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-11-23 Thread RTE
On Wed, 21 Nov 2007 00:26:26 +0300, Alan Stern wrote: > Okay, here's a version of the patch for 2.6.23 and without the > debugging information. Many thanks to you for the help! :) In 2.6.23 patch works perfectly. Errors are not present. > My guess is that if you decrease max_sectors to 184 (to ma

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-11-20 Thread Alan Stern
On Tue, 20 Nov 2007, RTE wrote: > On Mon, 19 Nov 2007 23:17:17 +0300, Alan Stern wrote: > > > Below is another test patch for 2.6.17-git22. It includes new code to > > try and fix the problem. > > it works :) > no errors in the copied data Great! Okay, here's a version of the patch for 2.6.23

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-11-20 Thread RTE
On Mon, 19 Nov 2007 23:17:17 +0300, Alan Stern wrote: > Below is another test patch for 2.6.17-git22. It includes new code to > try and fix the problem. it works :) no errors in the copied data 2.6.17-git22 with patch after copying 700 MB file from flash to HDD /var/log/kernel/info: 23:22:02 l

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-11-19 Thread Alan Stern
On Mon, 19 Nov 2007, RTE wrote: > On Fri, 16 Nov 2007 22:31:20 +0300, Alan Stern wrote: > > > Okay, that's good. Now here's a comparable patch for 2.6.17-git22 > > > 2.6.17-git22 with patch > after copying 700 MB file from flash to HDD > the copied file contains errors > /var/log/kernel/info:

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-11-19 Thread RTE
On Fri, 16 Nov 2007 22:31:20 +0300, Alan Stern wrote: > Okay, that's good. Now here's a comparable patch for 2.6.17-git22 2.6.17-git22 with patch after copying 700 MB file from flash to HDD the copied file contains errors /var/log/kernel/info: 19:49:01 localhost kernel: usb 5-8: new high speed

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-11-16 Thread Alan Stern
On Fri, 16 Nov 2007, RTE wrote: > On Fri, 12 Oct 2007 00:18:11 +0400, Alan Stern <[EMAIL PROTECTED]> wrote: > > I'd like you to try some more experiments > > sorry for the long period of silence - not enough free time :( > > 2.6.17-git21 whith patch > after copying 700 MB file from flash to HDD

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-11-16 Thread RTE
On Fri, 12 Oct 2007 00:18:11 +0400, Alan Stern <[EMAIL PROTECTED]> wrote: > I'd like you to try some more experiments sorry for the long period of silence - not enough free time :( 2.6.17-git21 whith patch after copying 700 MB file from flash to HDD errors in the copied file are not present /var

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-10-12 Thread Alan Stern
On Fri, 12 Oct 2007, Dominique Dumont wrote: > Alan Stern <[EMAIL PROTECTED]> writes: > > > Okay. That narrows it down to a single patch, this one: > > > > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=03aba2f79594ca94d159c8bab454de9bcc385b76 > > There's a weir

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-10-12 Thread Dominique Dumont
Alan Stern <[EMAIL PROTECTED]> writes: > Okay. That narrows it down to a single patch, this one: > > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=03aba2f79594ca94d159c8bab454de9bcc385b76 There's a weird line in this patch: - if (scsi_end_request(

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-10-11 Thread Alan Stern
On Thu, 11 Oct 2007, RTE wrote: > On Fri, 31 Aug 2007 22:39:40 +0400, Alan Stern wrote: > > > There's a good chance that your problem isn't caused by anything in the > > USB stack, but rather by a change somewhere else. > > I did not use Git (150 MB is too much for my unstable internet connectio

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-09-01 Thread RTE
> Do you use Bluetooth or have the hci_usb module loaded? No, I don't > It's possible for you to get hold of the individual patches between > those two kernel versions, so you can try to figure out exactly which > one was responsible for the problem. OK, I'll try it. --

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-08-31 Thread Alan Stern
On Fri, 31 Aug 2007, RTE wrote: > > How about the various kernels between 2.6.17 and 2.6.18-rc1: > > 2.6.17-git1 through 2.6.17-git9? You can find the various sources, > > patches, and incremental patches under > > > > http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/old/ > > Thanks for

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-08-31 Thread RTE
> How about the various kernels between 2.6.17 and 2.6.18-rc1: > 2.6.17-git1 through 2.6.17-git9? You can find the various sources, > patches, and incremental patches under > > http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/old/ Thanks for help. It seems that I have localized the pro

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-08-24 Thread Alan Stern
On Sat, 25 Aug 2007, RTE wrote: > > Do you encounter actual read errors (that is, error messages in the > > system log), or do you find that the reads appear to succeed but return > > incorrect data? > Yes, the reads succeed but return incorrect data > > > If you write data under 2.6.22 and then

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-08-24 Thread RTE
> Do you encounter actual read errors (that is, error messages in the > system log), or do you find that the reads appear to succeed but return > incorrect data? Yes, the reads succeed but return incorrect data > If you write data under 2.6.22 and then read it back with 2.6.17, does > it come out

Re: [Linux-usb-users] Read errors on Flash Drive Transcend TS1GJF2A

2007-08-18 Thread Alan Stern
On Sat, 18 Aug 2007, RTE wrote: > 1GB USB2.0 Flash Drive Transcend TS1GJF2A > Motherboard ASUS P4P800 SE (Intel 865PE) > > Windows XP- works fine > Linux 2.6.17 - works fine > Linux 2.6.18 - 2.6.22.3 - writes fine, reads with errors (wrong crc, md5 > mismatch, etc.) > Tested on Fedora Core 6 and