LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 12-09-2004, 01:19 PM   #1
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Rep: Reputation: 15
USB Memory Stick


I dont know how to use a usb memory stick with linux, ive looked at some other threads, but i'm too new to know what most of them were talking about. so a basic description / solution would be much appreciated.
Using Mandrake 10.0

Last edited by coal-fire-ice; 12-09-2004 at 01:21 PM.
 
Old 12-09-2004, 01:29 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
at a basic level, plug it in and run "mount /dev/sda1 /mnt/a-directory-that-already-exists-here" if that doesn't work stright off, see what dmesg says when you plug it in, maybe it's assigning a different device name.
 
Old 12-09-2004, 01:37 PM   #3
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
Im a complete newbie - having only installed linux successfully for the first time today, and i dont know how to run anything, so where do i go to run that please?
 
Old 12-09-2004, 01:39 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
any terminal emulator / console as root. type "su" and then your password to become root if this isn't abstracted for you already by some fancy gui.
 
Old 12-09-2004, 01:44 PM   #5
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
If you're using Madrake's defaults, you should be working in KDE, so look on your task bar (called kicker) for a black icon named 'konsole'. Click on it and there you can type what acid_kewpie suggested.

Just to add: maybe i'm wrong but i remember that mdk 10 mounts usb storage devices automatically, and must appear an icon on your desktop when you plug in your usb drive

Hope this helps
 
Old 12-09-2004, 01:47 PM   #6
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
Attached scsi removable disk sde at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg4 at scsi1, channel 0, id 0, lun 0, type 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
usb 5-6.4: USB disconnect, address 3
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: hub_port_status failed (err = -32)
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: hub_port_status failed (err = -32)
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: hub_port_status failed (err = -71)
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: hub_port_status failed (err = -32)
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: hub_port_status failed (err = -71)
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: hub_port_status failed (err = -32)
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: hub_port_status failed (err = -71)
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: hub_port_status failed (err = -32)
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: hub_port_status failed (err = -32)
hub 5-6:1.0: hub_port_status failed (err = -71)
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: hub_port_status failed (err = -32)
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 5-6:1.0: hub_port_status failed (err = -71)
hub 5-6:1.0: connect-debounce failed, port 4 disabled
usb 5-6.2: USB disconnect, address 4
drivers/usb/core/hub.c: USB device not accepting new address (error=-71)
usb 5-6: USB disconnect, address 2
ehci_hcd 0000:00:10.4: qh f71c4080 (#0) state 1


now what?
 
Old 12-09-2004, 01:50 PM   #7
Xolo
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Mandrake, Knoppix, Coyote Linux, RedHat
Posts: 354
Blog Entries: 3

Rep: Reputation: 31
I don't think you have to run anything from a console to use an USB stick in MDK10.0,
just go ahead and plug it in and an icon should appear on the desktop
(I'm thinking KDE here which is often the default desktop on MDK)
if that doesn't happen, then poke about in a terminal..

dmesg > dmesg.txt (because dmesg can get large, and this way you'll be able to read
it all with a text editor, the file will appear in your home directory. and this is also a
nice way to save dmesg in case you want to post it here later)

mount
will give a list of mounted devices. if the stick is inserted but no icon appears, you can
check here to see if it got automounted at all. I believe hotplug should manage usb
devices nowadays but i'm not sure.

Third, if i'm not mistaking there is an 'usbview' utility present in the default install of
MDK that allows you to see and identify whatever you plugged into your USB port.
It should reside under the Configuration menu in KDE.
 
Old 12-09-2004, 01:56 PM   #8
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
i managed to mount the drive thanks, i used another thread by another user in conjunction to yours to work out that i had to put vfat after what you put above, the mem stick doesnt seem to work in the usb sockets on the front of the pc though, is that just a hardware problem

normally windows read things from the front socket. Although ocasionally it would not recognize a device plugged in there and would only work use that socket after restarting
 
Old 12-09-2004, 02:48 PM   #9
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Actually you normally do NOT have to do anything with Mandrake 10.x.

Merely inserting the stick should cause a desktop icon for it to appear.

This may not happen if you've disabled the automounter, or if the device into which the stick is plugged into, is not recognized and configured during the installation.
 
Old 12-09-2004, 02:57 PM   #10
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
thanks everyone - it works now - and ive already started learning things
 
Old 12-09-2004, 08:46 PM   #11
boydasilva
LQ Newbie
 
Registered: Nov 2004
Location: Manchester
Distribution: Suse 10.0
Posts: 27

Rep: Reputation: 15
I find that I can't write to the usb stick at all. i get a "writing to devices is not supported" error message. I can read files from the stick, but I can't save anything to it.
 
Old 12-09-2004, 11:59 PM   #12
Damitha
LQ Newbie
 
Registered: Dec 2004
Distribution: Mandrake 10.1
Posts: 7

Rep: Reputation: 0
Well I too had the same problem with my Pen drive mdk 10.1 doesn't recognize it.And what I did was I plugged it in while i Installing a fresh copy And now it works but the Problem is now I can't unmount it.All the time it says device is busy...!!!!
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing memory in USB stick, flash memory, removable hd etc bamboo_spider Linux - Newbie 3 06-14-2006 05:39 PM
USB Memory Stick Link_420 Linux - Hardware 2 11-19-2004 01:09 AM
USB Memory Stick freddie_leaf Slackware 15 11-09-2004 01:41 AM
usb memory stick amadkow Linux - Newbie 4 06-14-2004 05:21 PM
USB Memory Stick jmdlcar Linux - Hardware 1 01-09-2004 07:03 PM


All times are GMT -5. The time now is 03:40 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