LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-16-2003, 02:06 PM   #1
briaric
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
Need help mounting Lexar 256M Jumpdrive


Some reason I have not been able to get this new Lexar 256M Jumpdrive to work on my machine. I have Suse 8.2 with a newer 2.4.22 kernel.

I plug the flash drive into the USB slot and hwinfo shows

/usr/sbin/hwinfo --usb
03: USB 101.0: 10a00 Hub
[Created at usb.100]
Unique ID: B3Fu.q_6b19oiG+7
Hardware Class: hub
Model: "Linux 2.4.22 ehci_hcd nVidia Corporation nForce2 USB Controller"
Hotplug: USB
Vendor: "Linux 2.4.22 ehci_hcd"
Device: "nVidia Corporation nForce2 USB Controller"
Revision: "2.04"
Serial ID: "00:02.2"
USB GUID: 000000000000000fffffffe2
USB Device status: driver active ("hub")
Speed: 1.5 Mbps
Config Status: cfg=no, avail=yes, need=no

04: USB 201.0: 10a00 Hub
[Created at usb.100]
Unique ID: B3Fu.BELHVDE51y9
Hardware Class: hub
Model: "USB OHCI Root Hub"
Hotplug: USB
Device: "USB OHCI Root Hub"
Serial ID: "f89fc000"
USB GUID: 0000000000000000f89fc000
USB Device status: driver active ("hub")
Speed: 1.5 Mbps
Config Status: cfg=new, avail=yes, need=no

05: USB 202.0: 10900 Printer
[Created at usb.100]
Unique ID: Kns9.FXatIZUiItA
Hardware Class: printer
Model: "hp deskjet 5100"
Hotplug: USB
Vendor: usb 0x03f0 "HP"
Device: usb 0x6204
SubVendor: "hp"
SubDevice: "deskjet 5100"
Revision: "1.00"
Serial ID: "MY37I3P3GX7A"
USB GUID: 03f06204000162372393217a
USB Device status: driver active ("usblp")
Device File: /dev/usb/lp0
Speed: 1.5 Mbps
Config Status: cfg=yes, avail=yes, need=no
Attached to: #4 (Hub)

06: SCSI 206.0: 10600 Disk
[Created at usb.100]
Unique ID: B3Fu.QpXo+x2b4l9
Hardware Class: disk
Model: "LEXAR JUMPDRIVE"
Hotplug: USB
Vendor: "LEXAR"
Device: "JUMPDRIVE"
Revision: "1.20"
Serial ID: "H541090107090"
USB GUID: 05dc00800011541090107090
Driver: "usb-storage"
Device File: /dev/sda
Speed: 1.5 Mbps
Drive status: no medium
Config Status: cfg=no, avail=yes, need=no
Attached to: #4 (Hub)

07: USB 301.0: 10a00 Hub
[Created at usb.100]
Unique ID: B3Fu.zMt_PxYY8k4
Hardware Class: hub
Model: "USB OHCI Root Hub"
Hotplug: USB
Device: "USB OHCI Root Hub"
Serial ID: "f89fe000"
USB GUID: 0000000000000000f89fe000
USB Device status: driver active ("hub")
Speed: 1.5 Mbps
Config Status: cfg=no, avail=yes, need=no

When I plug the drive in I get these messages in /var/log/messages

Nov 16 14:03:09 linux kernel: hub.c: new USB device 00:02.0-3, assigned address 7
Nov 16 14:03:09 linux kernel: WARNING: USB Mass Storage data integrity not assured
Nov 16 14:03:09 linux kernel: USB Mass Storage device found at 7
Nov 16 14:03:12 linux modprobe: modprobe: Can't locate module char-major-9
Nov 16 14:03:12 linux last message repeated 7 times
Nov 16 14:03:12 linux modprobe: modprobe: Can't locate module block-major-8
Nov 16 14:03:12 linux modprobe: modprobe: Can't locate module block-major-8
Nov 16 14:03:13 linux /etc/hotplug/usb.agent[6435]: Can't ignore signal CHLD, forcing to default.
Nov 16 14:03:13 linux modprobe: modprobe: Can't locate module block-major-8

Doing a mount -t vfat /dev/sda1 /mnt/flash I get:

mount -t vfat /dev/sda1 /mnt/flash
mount: /dev/sda1 is not a valid block device


Ok, any ideas? what is the Can't locate module block-major-8 tied to? Do I need to fix that?

Thanks,

Brian
 
Old 11-17-2003, 01:58 AM   #2
ixtequatl
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
This worked for me on a jumpdrive trio ymmv:

Use sg_utils-1.04, compile and install

as root: ./sg_scan -i
this will output where the scsi device resides (eg. /dev/sg2)

then, ./sg_map
this will map /dev/sg2 (or whatever) to /dev/sda (or something similar)

Then mount the device:

mount -t msdos /dev/sda1 /mnt/jumpdrive


Hope that helps...
 
Old 11-17-2003, 07:23 AM   #3
briaric
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Figured it out

Thanks,

It finally occured to me what was wrong and it turned out that I did not have the SCSI drive support enabled as a module and it was trying to load sd_mod. Enabled that using make xconfig, recompiled the kernel and modules and it works now.

Brian
 
  


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
Lexar Jumpdrive Secure Maintech Linux - Hardware 1 12-23-2004 01:46 PM
Lexar Jumpdrive Secure Maintech Mandriva 0 12-23-2004 11:24 AM
Mounting a lexar usb jumpdrive fcnewbie Fedora 4 10-27-2004 10:38 PM
Lexar jumpdrive and mandrake 10.0 dalesan Linux - Hardware 0 09-07-2004 02:09 PM
usb jumpdrive of lexar, i need help PaAaScAl Linux - Hardware 0 10-21-2003 09:50 PM

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

All times are GMT -5. The time now is 12:13 AM.

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