LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-29-2003, 02:47 PM   #1
Slebine
LQ Newbie
 
Registered: Mar 2003
Distribution: Slack 10, Open Zaurus 3.2
Posts: 28

Rep: Reputation: 15
Lexar Jump Drive


I just went out and picked up a 128mb Lexar Jump Drive, plugged it into one of my USB ports on my box, and went hunting. I'm having trouble finding the exact device name that linux is giving it.

I was looking around and found info on the device in /proc/scsi/usb-storage-0 where it says:
Code:
 Host scsi0: usb-storage
       Vendor: LEXAR MEDIA
      Product: JUMPDRIVE
Serial Number: 0000000125005
     Protocol: Transparent SCSI
    Transport: Bulk
         GUID: 05dc00800000000000125005
     Attached: Yes
now i'm wondering...where should I look to mount the device? I've seen something about sda on a laptop, i've searched through my /dev/usb, cat points to scsi0, but the device does not exist.

Any Ideas?
Thanks!
 
Old 05-29-2003, 03:05 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
I also have RH9, and it sees mine as /dev/sda1 .
 
Old 05-29-2003, 03:16 PM   #3
rmartine
Member
 
Registered: Dec 2002
Location: San Luis Obispo, CA
Distribution: Fedora Core 3
Posts: 618

Rep: Reputation: 30
mount /dev/scd1 /mnt/jump
 
Old 05-29-2003, 08:51 PM   #4
Slebine
LQ Newbie
 
Registered: Mar 2003
Distribution: Slack 10, Open Zaurus 3.2
Posts: 28

Original Poster
Rep: Reputation: 15
It works!
Thanks Everyone!
 
Old 07-08-2003, 12:05 AM   #5
tc2037
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Rep: Reputation: 0
Mine also shows up with the same info in /proc/scsi/usb-storage-0

HOWEVER:

It refuses to allow me to mount the device, even as root with the reply "...Not a valid Block device." I even went so far as to specify -o fat=16. Any ideas?
 
Old 07-10-2003, 02:38 AM   #6
tc2037
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Rep: Reputation: 0
*bump*
 
Old 07-15-2003, 11:30 PM   #7
tc2037
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Rep: Reputation: 0
Okay, apparently Im the only one in the world still having a problem with this. Does anyone agree with me that it could be a different revision of the product?
 
Old 07-16-2003, 07:29 AM   #8
plehman
LQ Newbie
 
Registered: Jul 2003
Location: Durham, NC
Distribution: Fedora Core 2
Posts: 23

Rep: Reputation: 15
Don't know if I can help, but I'll try. I'm still very much a newbie, but have spent a large amount of time getting my Lexar 64MB JumpDrive working in RH9. Unfortunately I forgot to bring it to work this morning.

I'm not 100% positive, but I seem to remember that my device too showed up in /proc/scsi/usb-storage-0, but this was more informational than useful for getting it mounted and useable. I needed to find what device it was mapped to.

If you type 'dmesg' from the shell with the device plugged into the USB port, it should somewhere list that the device is actually mapped somewhere (in my case, /dev/sda1).

When I got my JumpDrive, it was already formatted for fat32, so unless you reformatted yours for fat16 (because you were using it with win98/me), I would think its still a fat32 partition. That being the case, your mount command should be something like the following:

mount -t vfat /dev/sda1 /mnt/flash

where /mnt/flash is the mountpoint (change to whatever directory you want). Depending on your system setup, you may have to be root to mount and unmount drives.

If you did reformat it to fat16, then maybe try '-t msdos' or '-t umsdos' instead of -t vfat in the mount command. (Just a guess from looking at the man page for the mount command)
 
Old 08-04-2003, 11:38 AM   #9
ksnash
Member
 
Registered: Jul 2003
Location: Pensacola,Florida
Distribution: Mandrake 9.1
Posts: 41

Rep: Reputation: 15
I have been using a San disk cf reader and a jump drive. Sometimes the drive as it says jumps around. Check both /dev/sda and /dev/sdb.
 
Old 08-04-2003, 11:44 AM   #10
plehman
LQ Newbie
 
Registered: Jul 2003
Location: Durham, NC
Distribution: Fedora Core 2
Posts: 23

Rep: Reputation: 15
And probably /dev/sdc, etc. as its probably related to the order in which they are attached/detected by the usb host.
 
Old 08-04-2003, 02:05 PM   #11
tc2037
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Rep: Reputation: 0
Well, I've about given up on it. /proc/scsi/usb-storage-0/0 says its mounted with scd0, but when I Try to mount it it says "Invalid Block Device."

I wonder if its RH9?
 
Old 08-04-2003, 03:27 PM   #12
plehman
LQ Newbie
 
Registered: Jul 2003
Location: Durham, NC
Distribution: Fedora Core 2
Posts: 23

Rep: Reputation: 15
I apologize if this seems redundant, but could you include the output the parts of the 'dmesg' program for us. On my system, which is RH9, if I plug in the USB drive, and type 'dmesg' on the command line, it will output a bunch of stuff, and somewhere in that output it will describe the LEXAR device (My flash drive, your brand may vary) and somewhere else it will assign the scsi ID (scsi0, scsi1, etc.).

With my drive plugged in, but not mounted, the output I get for it shows the following:

scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: LEXAR Model: DIGITAL FILM Rev: /W1.
Type: Direct Access ANSI SCSI revision: 02

Note that on my notebook, scsi0 is the CD-RW drive. I believe that since the type is Direct Access, it gets an sdx device ID.
 
Old 08-04-2003, 10:10 PM   #13
tc2037
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Rep: Reputation: 0
dmesg? no problem:

scsi0: SCSI emulation for USB Mass Storage devices
Vendor: LEXAR Model: DIGITAL FILM Rev: W1
Type: Direct Access ANSI SCSI revision: 02

..... Though the kernel doesnt seem to think there is any device present taking up the SCSI0 dev.
 
Old 08-05-2003, 07:27 AM   #14
plehman
LQ Newbie
 
Registered: Jul 2003
Location: Durham, NC
Distribution: Fedora Core 2
Posts: 23

Rep: Reputation: 15
I am fast depleting my limited knowledge on the subject. Since you are using RH9 like myself, open the "Hardware Browser" from the "System Tools" menu and click on Hard Drives.

On my system, without the device mounted, I see that /dev/sda is already assigned to the flash drive. My systems lists the Hard Drive Info as the following:

/dev/hda
hda4 3206 4864 13014 Extended
hda5 3206 4701 11735 ext3
hda6 4702 4864 1279 linux-swap
hda1 1 5 39 fat16
hda2 6 18 102 ext3
hda2 19 3205 25000 ntfs
/dev/sda
sda1 1 983 61 fat32
984 984 <1 Free space

This might provide some insight if it for some reason was assigned elsewhere. Have you ever re-formatted the flash drive? If so, was it reformatted for fat, fat16, or fat32?
 
Old 08-05-2003, 05:58 PM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,696

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
tc2037,
scsi0 isn't the device but the bus. It should be /dev/sda if its the only SCSI disk device (real or emulated) on your system.

It appears that all of the modules for SCSI and USB mass storage are being loaded. You might want to list the output of the command lsmod.

Another check is to look at the output the command
cdrecord --scanbus

i.e. if cdrecord is installed on your PC.
 
  


Reply



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
Jump Drive dudeman41465 Linux - Hardware 3 06-28-2005 12:31 AM
jump drive kingcobrawoods Linux - General 2 01-04-2005 02:23 PM
Lexar USB Jump drive mounts read only qaball Linux - Hardware 7 02-06-2004 07:22 AM
Lexar Jump Drive help and followup Campitor Linux - Newbie 3 10-24-2003 12:42 PM
lexar jump drive not working with linux Derek-kun Linux - Newbie 1 09-22-2003 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:15 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration