:Pengy:
hi i've followed all of the instructions given QUOTE]We need to add a line to this file that reads:[/QUOTE] etc yet my USB stick still doesn't work. I get an error saying cannot mount usbstick as it is not a valid block drive. Whats the problem? I'm running Mandrake 9.1 (Bamboo) on an Acer Aspire 1353XC Laptop. Please reply ASAP! cheers, Brad. |
Please post the results of 'tail -s 3 -f /var/log/messages' when you plugged in the device. Also post the results of 'lsusb -v'.
Thanks. |
I'm getting that same 'not a valid block device' message.
Bought a Sandisk Cruzer Mini 128 today. Stuck it in my W2Kmachine - poof - it was available and I threw a file on it. Decided to try it on my Red Hat 8 machine, but first... check LQ for threads. Found this thread. Stepped through the steps. Tried /dev/sda1, sda, sdb1, sdc1, etc etc... This was from that tail command: Jan 12 21:12:26 localhost su(pam_unix)[2268]: session opened for user root by (uid=500) Jan 12 21:13:13 localhost kernel: Initializing USB Mass Storage driver... Jan 12 21:13:13 localhost kernel: usb.c: registered new driver usb-storage Jan 12 21:13:13 localhost kernel: USB Mass Storage support registered. This happened when I did the 'insmod usb-storage', and got the same thing earlier when I used 'modprobe usb-storage'. When I stick the drive in the usb slot, nothing happens. Here's that lsusb -v: Code:
[root@localhost /]# lsusb -v Code:
[root@localhost /]# fdisk -l mount: /dev/sda1 is not a valid block device And, like I said, I also went through the whole process for sdb, sdc, sdd... The little light on the end of the little 'drive' never comes on in the linux machine. How can I determine which device is associated with the thing?? Thanks for any additional info. |
oops... never mind!!!
I guess I didn't connect up the usb ports on the front of this machine. It works in the ports on the back... Sorry about that... Should've checked on that before posting. the dufus. |
oops... never mind!!!
Well, I plugged the stupid thing into the back usb port and got the light on the device, but nothing works to get it to mount or to be available. As a matter of fact the computer completely locked up a couple of times. :scratch: I undid everything in the original steps, rebooted, started over... now the dang light doesn't even come on when I plug it in. Well, that's enough for me for one wasted 4 hour session. |
Well, I'm having a similar problem. I have the Sandisk Cruzer Mini 256 and I'm having problems connecting it to my Redhat Linux 9 system. The usb-storage module loads fine, but the system locks solid each time I connect the cruzer. When I first tried to connect the stick (pre reading this howto), it did the same thing. I checked /var/log/messages and nothing is in there that might give a clue. The last entry before my last reboot was that the USB Storage module was successfully loaded. Any thoughts?
Alex |
Interesting enough, I have 2 memory sticks. One is a PNY Attache 128 Meg, the other is a SanDisk Cruzer mini, 256 Meg.
The PNY works just fine, with this tutorial. However, I can't seem to get the Cruzer working. I wonder if it has to do with it being a Cruzer, or the capacity. Anyone know? I'm running RH AS 3. |
Please post the results of 'tail -s 3 -f /var/log/messages' when you plugged in the device. Also post the results of 'lsusb -v' .
Thanks. |
:eek:
Quote:
|
Nice info on USB drives as i just purchased one a few days ago. All the info i needed is right here.
'nbd' did raise a question that didnt seem to get answered, and i was wondering about the same thing. refering to the fact that is is possible for auto mounting when you plug in the device and un-mounting when you unplug the device. "No USB attached -> no /dev/sda1 (or similar) icon on the desktop Attach USB -> /dev/sda1 icon appears on the desktop Remove USB -> /dev/sda1 icon disappears from the desktop" --nbd I am sure you can put a small script somewhere that does this for you since my system already loads 'usb-storage' module automaically once the device is plugged in. Right now all i have to do is 'mount -t vfat /dev/sda1 /mnt/usbkey' As stated above, i was wondering if the process could be furthur automated by having the key auto mount / unmount as you plugin the usb-key. I'm Using Slackware 9.1. |
Red Hat 9
Comapq Armada M700 Sandisk Cruzer Mini I plug in the flash drive and messages returns the following: Feb 7 21:59:52 JimNote kernel: hub.c: new USB device 00:07.2-1, assigned address 8 Feb 7 21:59:55 JimNote /etc/hotplug/usb.agent: Setup usb-storage for USB product 781/7101/102 Feb 7 21:59:58 JimNote devlabel: devlabel service started/restarted /etc/fstab has the following: LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda5 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 /dev/sde1 /mnt/usbstick vfat user,noauto,umask=0 0 0 I try to mount it: [jim@JimNote mnt]$ mount /mnt/usbstick mount: mount point /mnt/usbstick does not exist [jim@JimNote mnt]$ What am I doing wrong? |
I got it... I needed to
mkdir /mnt/usbstick and I changed fstab from e1 back to a1. :) |
Here is the tail output and the lsusb -v output. The error I get when trying to mount the thumbdrive is:
root@slacker:/home/chuck# mount /mnt/thumb mount: /dev/sda1 is not a valid block device fstab looks like: root@slacker:/home/chuck# cat /etc/fstab /dev/hda2 swap swap defaults 0 0 /dev/hda1 / ext3 defaults 1 1 /dev/hdb1 /mnt/nt ntfs noexec,auto,user,rw,uid=1000 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/dvd /mnt/dvd iso9660 noauto,users,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 proc /proc proc defaults 0 0 /dev/sda1 /mnt/thumb vfat user,noauto,umask=0 0 0 Feb 8 09:00:57 slacker kernel: usb 1-1: USB disconnect, address 2 Feb 8 09:01:05 slacker kernel: hub 1-0:1.0: new USB device on port 1, assigned address 3 Feb 8 09:01:05 slacker kernel: usb 1-1: Product: JUMPDRIVE Feb 8 09:01:05 slacker kernel: usb 1-1: Manufacturer: LEXAR MEDIA Feb 8 09:01:05 slacker kernel: usb 1-1: SerialNumber: L137142325060 Feb 8 09:01:06 slacker modprobe: FATAL: Module usb_storage already in kernel. Feb 8 09:01:06 slacker kernel: scsi1 : SCSI emulation for USB Mass Storage devi ces Feb 8 09:01:06 slacker scsi.agent[1501]: bogus sysfs DEVPATH=/devices/pci0000:0 0/0000:00:1f.2/usb1/1-1/1-1:1.0/host1/1:0:0:0 Feb 8 09:01:06 slacker kernel: Vendor: LEXAR Model: JUMPDRIVE Rev : 1.11 Feb 8 09:01:06 slacker kernel: Type: Direct-Access ANS I SCSI revision: 02 Unknown line at line 1809 Duplicate HUT Usage Spec at line 2650 Bus 002 Device 001: ID 0000:0000 Virtual Hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 Virtual idProduct 0x0000 Hub bcdDevice 2.06 iManufacturer 3 Linux 2.6.1 uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1f.4 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x40 Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type none wMaxPacketSize 2 bInterval 255 Language IDs: (length=4) 0409 English(US) Bus 001 Device 003: ID 05dc:0080 Lexar Media, Inc. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 Interface bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x05dc Lexar Media, Inc. idProduct 0x0080 bcdDevice 0.01 iManufacturer 1 LEXAR MEDIA iProduct 2 JUMPDRIVE iSerial 3 L137142325060 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 MaxPower 90mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type none wMaxPacketSize 64 bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 2 Transfer Type Bulk Synch Type none wMaxPacketSize 64 bInterval 0 Language IDs: (length=4) 0409 English(US) Bus 001 Device 001: ID 0000:0000 Virtual Hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 Virtual idProduct 0x0000 Hub bcdDevice 2.06 iManufacturer 3 Linux 2.6.1 uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1f.2 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x40 Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type none wMaxPacketSize 2 bInterval 255 Language IDs: (length=4) 0409 English(US) Thanks for any info to help make this thumbdrive work! |
Usb key setup problem
Hi there,
I followed the instructions and here's what happened at the point where i plug in the usb key(i am using fedora core 1)... root$ tail -s 3 -f /var/log/messages Feb 8 22:48:23 localhost kernel: emu10k1: Audigy rev 4 model 0x1007 found, IO at 0xdf00-0xdf3f, IRQ 5 Feb 8 22:48:23 localhost kernel: ac97_codec: AC97 Audio codec, id: 0x8384:0x7609 (SigmaTel STAC9721/23) Feb 8 22:48:23 localhost modprobe: modprobe: Can't locate module sound-service-0-0 Feb 8 22:49:44 localhost kernel: Initializing USB Mass Storage driver... Feb 8 22:49:44 localhost kernel: usb.c: registered new driver usb-storage Feb 8 22:49:44 localhost kernel: USB Mass Storage support registered. Feb 8 22:51:37 localhost kernel: hub.c: new USB device 00:1d.7-6, assigned address 2 Feb 8 22:51:37 localhost kernel: usb.c: USB device not accepting new address=2 (error=-71) Feb 8 22:51:37 localhost kernel: hub.c: new USB device 00:1d.7-6, assigned address 3 Feb 8 22:51:37 localhost kernel: usb.c: USB device not accepting new address=3 (error=-71) Anyone know how to resolve this ?:scratch: |
Multipe USB Flash Device Conflicts in RH9?
Hey guys.
I just recently updated to RH9, previously running RH8. I've got two USB Flash Drives, a PNY Attache 64MB and a ghetto cheap one I picked up for free (16MB). Before the upgrade, I had read the how-to in this thread and had managed to get both drives to work beautifully. But post-update, I can only get the ghetto cheap drive to work (and it works fine), but I'm a bit constricted by the relative small size. Is there any reason that one should work and the other wouldn't? My /etc/fstab file: Code:
LABEL=/ / ext3 defaults 1 1 Code:
Feb 9 19:34:13 SplicedBox su(pam_unix)[23245]: session opened for user root by csplice(uid=500) Moving on, here's the output for the non-working Attache: Code:
Feb 9 19:39:55 SplicedBox kernel: hub.c: new USB device 00:07.2-2, assigned address 17 Code:
[root@SplicedBox root]# mount /mnt/usbstick Any help is greatly appreciated. *edit* After viewing a post here, I typed the following at the command line: Code:
[root@SplicedBox root]# fdisk -l /dev/sd[a-z] Guidance, please? |
All times are GMT -5. The time now is 11:24 PM. |