[clug-talk] Flash drive problem
Richard Carter
carter.r.a.l at gmail.com
Thu May 7 07:41:06 PDT 2009
Hi Mark,
As you suggested, after rebooting my debian box I can read the flash drive
and no data has been lost. And I can still write to it from my kubuntu
laptop. Also I mounted it on my wife's xp laptop and renamed it to "dane16"
so there is no longer a blank in the name.
I'm busy getting ready to return to Cochrane from Ont. so I'll have to set
this project aside for a while.
Thanks to everyone for your help.
Robin
On Thu, May 7, 2009 at 12:46 AM, Mark Carlson <carlsonmark at gmail.com> wrote:
> Hello Robin,
>
> It should be fixed again by re-insering the kernel module (or rebooting):
> modprobe ehci_hcd
>
> Then plug the drive back in. No data should have been lost, unless
> you were writing to it while you removed the ehci_hcd module.
>
> There are a few things you could try, here:
>
> http://forums.debian.net/viewtopic.php?p=218599&sid=73be386f7f4007004695b527e968cdcc#p218599
>
> But it's very similar to what I just described.
>
> -Mark C.
>
> On 5/6/09, Richard Carter <carter.r.a.l at gmail.com> wrote:
> > Hi Mark,
> >
> > Thanks for the tip. I did what you suggest but now the flash drive
> won't
> > mount!
> > I'm glad there was nothing on that I needed to keep.
> >
> > Robin
> >
> >
> > On Wed, May 6, 2009 at 5:52 PM, Mark Carlson <carlsonmark at gmail.com>
> wrote:
> >
> > >
> > >
> > >
> > >
> > > On 5/6/09, Richard Carter <carter.r.a.l at gmail.com> wrote:
> > > > Hi Folks,
> > > >
> > > > I have 2 USB flash drives with details below:
> > > >
> > > > redcube:~# df -Th
> > > > Filesystem Type Size Used Avail Use% Mounted on
> > > > /dev/hda1 ext3 142G 46G 89G 34% /
> > > > tmpfs tmpfs 976M 0 976M 0% /lib/init/rw
> > > > udev tmpfs 10M 100K 10M 1% /dev
> > > > tmpfs tmpfs 976M 0 976M 0% /dev/shm
> > > > /dev/hdc iso9660 3.1G 3.1G 0 100% /media/cdrom0
> > > > /dev/sda1 vfat 7.7G 8.0K 7.7G 1% /media/PATRIOT
> > > > /dev/sdb1 vfat 16G 461M 16G 3% /media/USB DISK
> > > >
> > > > Under kubuntu 9.04 both PATRIOT and USB DISK are mounted as
> read/write
> > so
> > > > I am able to copy files to and from either one. But under debian 5.0
> > only
> > > > PATRIOT is mounted as read/write while USB DISK is mounted as write
> only
> > so
> > > > I am unable to copy file to USB DISK.
> > > >
> > > > I suspect this has something to do with /etc/fstab on the system
> running
> > > > debian but I don't know what I should do so that both flash drives
> > always
> > > > mount as read/write on that system.
> > > >
> > > > I realize that this is somewhat related to an earlier thread. I'm
> sorry
> > but
> > > > I'm a slow learner.
> > > >
> > > > Robin
> > >
> > > Give this a try:
> > > - Remove the flash drives
> > > - Run this as root:
> > > modprobe -r ehci_hcd
> > > - Plug the flash drives back in
> > >
> > > If it works now, then you may have be experiencing a bug related to
> > > the USB 2.0 driver (and your hardware) in Debian.
> > >
> > > -Mark C.
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > clug-talk mailing list
> > > clug-talk at clug.ca
> > > http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> > > Mailing List Guidelines
> > (http://clug.ca/ml_guidelines.php)
> > > **Please remove these lines when replying
> > >
> >
> >
> > _______________________________________________
> > clug-talk mailing list
> > clug-talk at clug.ca
> > http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> > Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> > **Please remove these lines when replying
> >
>
> _______________________________________________
> clug-talk mailing list
> clug-talk at clug.ca
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://clug.ca/pipermail/clug-talk_clug.ca/attachments/20090507/bf60d538/attachment.html>
More information about the clug-talk
mailing list