Re: Device lockup when copying a large file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 04, 2009 at 03:54:40PM -0500, Praveen G K wrote:
> On Tue, Aug 4, 2009 at 3:46 PM, Alan Stern<stern@xxxxxxxxxxxxxxxxxxx> wrote:
> > On Tue, 4 Aug 2009, Praveen G K wrote:
> >
> >> Hello all,
> >>
> >> I have connected the device to windows xp through mass storage and am
> >> copying a 1GB file from windows to the device.  After some time, I get
> >> the error message
> >>
> >> "Cannot find the specified file
> >> Make sure you specify the correct path and file name"
> >
> > Although you didn't say, I'm guessing this error message appears on the
> > Windows system and not on the device.  Therefore it indicates a problem
> > with Windows, not a problem with the device.
> Yes, that is true.  The message appears on a windows system.
> 
> >> This locks up the device completely, I am not even able to use the
> >> magic sysrq keys to determine the Program counter location.  I
> >> connected the device to the debugger, but I am still not able to know
> >> where it is getting locked up.
> >>
> >> Could this be due to a corrupt fat file system? What is a possible
> >> workaround to avoid this error message?
> >>
> >> (Initially I thought that this issue was related to the bad usb cable
> >> issue I posted earlier!!)
> >
> > You should give us more complete information.  Which version of Linux
> > are you running on the device?  What kind of device is it?  What
> > command do you use to load g_file_storage?  How do you initiate the
> > file copy?  And so on...
> I am using 2.6.22 kernel version on the device.  I use
> modprobe g_file_storage file='vfat-parition-address' removable=y stall=1

You do realize that a few hundred-thousand changes have happend since
the 2.6.22 kernel was released?

You might work to narrow down just what is happening in your target
device, random guesses on our part isn't going to help much.

good luck,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux