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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-03-2004, 08:37 AM
|
#1
|
LQ Newbie
Registered: Dec 2004
Location: Houston, Texas, USA
Distribution: Redhat
Posts: 3
Rep:
|
Mounting USB Memorex 512MB Thumbdrive
Problem mounting usb Memorex 512MB Thumbdrive:
Mounts ok on Windows XP and Redhat FC2, but I'm forced to use Redhat 9.0 release at work.
A co-worker's Cruzer Mini 512MB thumbdrive mounts ok on my Redhat 9.0 system.
- fdisk -l /dev/sd? shows the Cruzer drive partition table on /dev/sda
- fdisk -l /dev/sd? does not show the Memorex 512MB drive
usbview, lsusb, and cat /proc/scsi/usb-storage-0/0 shows the device as attached:
Host scsi0: usb-storage
Vendor: Memorex
Product: TD 2C
Serial Number: 27C1BA409179
Protocol: Transparent SCSI
Transport: Bulk
GUID: 08ec0008000027c1ba409179
Attached: Yes
But cat /proc/scsi/scsi reports "Attached devices: none"
dmesg and messages reports finding the usb memorex device, but does not show a scsi device:
Dec 3 08:20:48 houdesk110 devlabel: devlabel service started/restarted
Dec 3 08:20:53 houdesk110 kernel: hub.c: new USB device 00:1d.7-6, assigned address 13
Dec 3 08:20:57 houdesk110 /etc/hotplug/usb.agent: Setup usb-storage for USB product 8ec/8/100
Dec 3 08:20:57 houdesk110 devlabel: devlabel service started/restarted
dmesg messages reports finding the usb cruzer device and does show the scsi device:
Dec 2 13:06:29 houdesk110 kernel: hub.c: new USB device 00:1d.7-5, assigned address 2
Dec 2 13:06:29 houdesk110 kernel: usb.c: USB device 2 (vend/prod 0x781/0x5150) is not claimed by any active driver.
Dec 2 13:06:32 houdesk110 /etc/hotplug/usb.agent: Setup usb-storage for USB product 781/5150/10
Dec 2 13:06:32 houdesk110 kernel: SCSI subsystem driver Revision: 1.00
Dec 2 13:06:32 houdesk110 kernel: Initializing USB Mass Storage driver...
Dec 2 13:06:32 houdesk110 kernel: usb.c: registered new driver usb-storage
Dec 2 13:06:32 houdesk110 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Dec 2 13:06:32 houdesk110 kernel: Vendor: SanDisk Model: Cruzer Mini Rev: 0.1
Dec 2 13:06:32 houdesk110 kernel: Type: Direct-Access ANSI SCSI revision: 02
Dec 2 13:06:32 houdesk110 kernel: USB Mass Storage support registered.
Dec 2 13:06:32 houdesk110 devlabel: devlabel service started/restarted
Dec 2 13:07:03 houdesk110 kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Dec 2 13:07:03 houdesk110 kernel: SCSI device sda: 1000944 512-byte hdwr sectors (512 MB)
Dec 2 13:07:03 houdesk110 kernel: sda: Write Protect is off
Dec 2 13:07:03 houdesk110 kernel: sda: sda1
How do I get the scsi driver to recognize the Memory 512MB thumbdrive?
|
|
|
12-03-2004, 01:29 PM
|
#2
|
Senior Member
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197
Rep:
|
Re: Mounting USB Memorex 512MB Thumbdrive
Quote:
Originally posted by ckovacs
Dec 2 13:07:03 houdesk110 kernel: sda: sda1
|
At the risk of stating the obvious -- Did you try mount -t msdos /dev/sda1 /mnt
P.S. I'm assuming FAT16/32. If it's not, substitute your fstype
|
|
|
12-03-2004, 03:56 PM
|
#3
|
LQ Newbie
Registered: Dec 2004
Location: Houston, Texas, USA
Distribution: Redhat
Posts: 3
Original Poster
Rep:
|
That didn't help --> mount: /dev/sda1 is not a valid block device
fdisk /dev/sda --> Unable to open /dev/sda (ditto for sd[b-z])
fdisk -l /dev/sd? --> no partition tables for sd[a-z] were found.
More info:
There's another Redhat 9 system in the office that does recognize the thumbdrive, but I cannot find out why it works on the other system and not my system.
I've check out the differences between the following, but could not see anything that would cause the problem:
lsmod
lsusb
/etc/hotplug
rpm -aq
Snip-it output from the message files:
The system that recognizes the thumbdrive:
Dec 3 13:39:49 houdesk103 kernel: hub.c: new USB device 00:1d.7-6, assigned address 2
Dec 3 13:39:49 houdesk103 kernel: usb.c: USB device 2 (vend/prod 0x8ec/0x8) is not claimed by any active driver.
Dec 3 13:39:53 houdesk103 /etc/hotplug/usb.agent: Setup usb-storage for USB product 8ec/8/100
Dec 3 13:39:53 houdesk103 kernel: SCSI subsystem driver Revision: 1.00
Dec 3 13:39:53 houdesk103 kernel: Initializing USB Mass Storage driver...
Dec 3 13:39:53 houdesk103 kernel: usb.c: registered new driver usb-storage
Dec 3 13:39:53 houdesk103 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Dec 3 13:39:53 houdesk103 kernel: Vendor: Memorex Model: TD 2C Rev: 1.00
Dec 3 13:39:53 houdesk103 kernel: Type: Direct-Access ANSI SCSI revision: 02
Dec 3 13:39:53 houdesk103 kernel: USB Mass Storage support registered.
Dec 3 13:39:54 houdesk103 devlabel: devlabel service started/restarted
Dec 3 13:40:57 houdesk103 kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Dec 3 13:40:57 houdesk103 kernel: SCSI device sda: 974848 512-byte hdwr sectors (499 MB)
Dec 3 13:40:57 houdesk103 kernel: sda: Write Protect is on
Dec 3 13:40:57 houdesk103 kernel: sda: sda1
Dec 3 13:42:24 houdesk103 kernel: usb.c: USB disconnect on device 00:1d.7-6 address 2
The system that did not recognize the thumbdrive:
Nov 29 09:22:36 houdesk110 kernel: hub.c: new USB device 00:1d.7-5, assigned address 2
Nov 29 09:22:36 houdesk110 kernel: usb.c: USB device 2 (vend/prod 0x8ec/0x8) is not claimed by any active driver.
Nov 29 09:22:39 houdesk110 /etc/hotplug/usb.agent: Setup usb-storage for USB product 8ec/8/100
Nov 29 09:22:39 houdesk110 kernel: SCSI subsystem driver Revision: 1.00
Nov 29 09:22:39 houdesk110 kernel: Initializing USB Mass Storage driver...
Nov 29 09:22:39 houdesk110 kernel: usb.c: registered new driver usb-storage
Nov 29 09:22:39 houdesk110 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Nov 29 09:22:39 houdesk110 kernel: USB Mass Storage support registered.
Nov 29 09:22:39 houdesk110 kernel: usb.c: USB disconnect on device 00:1d.7-5 address 2
Nov 29 09:22:39 houdesk110 devlabel: devlabel service started/restarted
Nov 29 09:22:39 houdesk110 devlabel: devlabel service started/restarted
Since there're kernel differences, I will upgrade the kernel and see if it fixes the problem:
System that works --> 2.4.20-31.9
System that does not work --> 2.4.20-8smp
|
|
|
12-06-2004, 10:33 AM
|
#4
|
LQ Newbie
Registered: Dec 2004
Location: Houston, Texas, USA
Distribution: Redhat
Posts: 3
Original Poster
Rep:
|
The newer kernel (2.4.20-31.9) fixed the problem.
|
|
|
All times are GMT -5. The time now is 02:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|