LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-30-2005, 11:19 AM   #1
yyang
LQ Newbie
 
Registered: Aug 2005
Location: Salt Lake City, Utah
Distribution: mandrake 10.1
Posts: 8

Rep: Reputation: 0
usb memory stick (cruzer mini) problem on mandrake10.1


I have a usb memory stick issue on linux. Monday, I plug it in to my office machine (mandraklinux10.1 version) and worked on some files and saved them under /mnt/removable/. In evening, I took it to my home and plug it into my home machine (mandrakelinux10.0 version) and worked on these files and saved them under /mnt/removable/ which do the same as daytime I did. Next day, I got back to office and plug it to my office machine. Strangely I could not find these folders and files under /mnt/removable/. I use "ls /mnt/removable/" and it is empty. But I can see these folders and files in memory stick from a Windows XP machine. Does any one know this issue?
-yanping
 
Old 08-30-2005, 01:47 PM   #2
SMiTTY_Cali
LQ Newbie
 
Registered: Aug 2005
Location: Brentwood, CA
Posts: 3

Rep: Reputation: 0
Ok....I gotta ask.

Did you umount /mnt/removable/ before you unplugged?
 
Old 08-31-2005, 12:05 PM   #3
yyang
LQ Newbie
 
Registered: Aug 2005
Location: Salt Lake City, Utah
Distribution: mandrake 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
Sorry, I did not do umount at that time before I removed the stick. right now, I cannot use this memory stick on my office pc, but it can be used on other machines including my home pc. so far, I understand that I need to issue umount command to unmount the device before remove it. I can successfully unmount it from other machine and use it repeately exception for my office machine. I don't know how to fix it in my office PC. Thank you for your reply.
 
Old 09-01-2005, 05:18 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 09-01-2005, 11:19 PM   #5
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
As Smitty said, did you make sure to mount and unmount it both times? You may not have mounted it the second time at work, in which case the folder /mnt/removeable would still be there, but would be empty. I don't trust autoanything (ie: automount), so mount /mnt/removeable and umount /mnt/removeable get the job done, and are simple to do (especially if you have the information already in fstab).
 
Old 09-02-2005, 05:24 PM   #6
yyang
LQ Newbie
 
Registered: Aug 2005
Location: Salt Lake City, Utah
Distribution: mandrake 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks any way, I got my memory stick back to work on my office PC, which I just plug it and reboot the system, after then it was recognized as /mnt/removable and works. next time I always use umount command before unplug it.
By the way, I am wondering how to meet these Linux professional or experts in the local area. or become a member of the newsgroup of linux in the region or nation wide. I am living Salt Lake City, Utah and I am plenty new to Linux programming environmental although I worked on embedded system programming few years. I have a lot of question related to Linux system or kernel level device driver. I use Mandrake linux 10.1 which is kernel 2.6.8 and I have a book, Linux Programming Unleashed, Sams version, which has some sample code about device driver, but when I compile one of module of driver, it pop out a lot of compile errors. I do not have ideal what is going on there. My friend told me that sample code from book may be under version 2.4 kernel. I don't understand why Linux does not backward compatible. Thanks.
 
Old 09-02-2005, 08:09 PM   #7
SMiTTY_Cali
LQ Newbie
 
Registered: Aug 2005
Location: Brentwood, CA
Posts: 3

Rep: Reputation: 0
Quote:
Originally posted by yyang
Thanks any way, I got my memory stick back to work on my office PC, which I just plug it and reboot the system, after then it was recognized as /mnt/removable and works. next time I always use umount command before unplug it.
Ok. Linux Lesson #1....Reboots are a very last resort. I'm certain your problem could have been fixed with out it.

As Vgui said. /mnt/removable was prob still mounted.

Linux Lesson #2 ... The man pages are your friend. Oh yeah and google

Just kidding...Good to see another convert.

- SMiTTY
 
Old 09-03-2005, 04:06 PM   #8
yyang
LQ Newbie
 
Registered: Aug 2005
Location: Salt Lake City, Utah
Distribution: mandrake 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
Yes, you are right. The reboot is a last choice. But before, I cannot see the memory stick there although I issueed mount /mnt/removable or /mnt/memstick and got error message said there is no list name match the device. Right now, the situation is when the memory stick was plugged in, the desk top will show an icon, SanDisk Cruzer Mini, and it is automatically mounted and I don't issue any mount command any more, but when I took it out I always issue umount /mnt/removable any time. That works fine so far.
 
Old 09-13-2005, 04:39 PM   #9
eka
Member
 
Registered: Jul 2005
Location: Bulgaria Plovdiv
Distribution: Mandriva 2006
Posts: 104

Rep: Reputation: 15
I have a similar problem whit my GSM Motorola E398 which is seen in XP like removable disk.I tried many ways to solve the problem,but no result.It gives a error -1 or -71.Then I compile a new kernel 2.6.13(whit many errors and bugs) but when I plug the phone it was recognized from the system.So I think problem is in kernel 2.6.8.Is there someone who knows where do we can find newer kernel to Mandrake 10.1 in rpm format.I try to install 2.6.11 but it tells me bad SDA key.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Cruzer Mini NetRAVEN5000 Linux - Hardware 6 08-09-2005 04:47 PM
USB Memory Stick Problem... mac57 Mandriva 3 01-06-2005 09:48 AM
How to mount USB FlashDisk: SanDisk Cruzer Mini? acer_peri Linux - Hardware 5 09-29-2004 03:22 AM
SanDisk Mini Cruzer (USB Pen Drive) Blaa269 Linux - Hardware 18 03-27-2004 03:03 PM
Can't do I/O to my USB Zip Drive & Cruzer mini johntjet Linux - Laptop and Netbook 0 10-15-2003 12:48 PM


All times are GMT -5. The time now is 10:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration