VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: [solved] mounting usb stick  (Read 1935 times)

MarkGrieveson

  • Vectorian
  • ****
  • Posts: 531
[solved] mounting usb stick
« on: April 14, 2012, 10:20:53 am »

Hello.  I have two usb sticks.  One is 4 GB while the other is 8 GB.  The 4 GB stick is automatically mounted, and appears on the desktop, but not the 8 GB stick.  Anyone have any speculation about this?
« Last Edit: May 11, 2012, 10:07:05 am by MarkGrieveson »
Logged
I am using VL7.0 standard with XFCE

bigpaws

  • Vectorian
  • ****
  • Posts: 1869
Re: mounting usb stick
« Reply #1 on: April 14, 2012, 02:24:45 pm »

open a console log in as root. Then type:
tail -f dmesg

Plug in your usb key. See if there are any errors. You can
also look at lsusb after you plug in the key.

Bigpaws
Logged

MarkGrieveson

  • Vectorian
  • ****
  • Posts: 531
Re: mounting usb stick
« Reply #2 on: April 16, 2012, 11:00:23 am »

Code: [Select]
vector://home/mark
root:# tail -f dmesg
tail: cannot open `dmesg' for reading: No such file or directory
vector://home/mark
root:#
Code: [Select]
vector://home/mark
root:# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0424:2504 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 003: ID 05e3:0605 Genesys Logic, Inc. USB 2.0 Hub [ednet]
Bus 001 Device 004: ID 03f0:0201 Hewlett-Packard ScanJet 6200c
Bus 001 Device 005: ID 04e8:3272 Samsung Electronics Co., Ltd
Bus 001 Device 006: ID 19d2:0011 ONDA Communication S.p.A.
Bus 001 Device 007: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
vector://home/mark
root:#
It still is not finding the 8 GB stick (but it does find the 4 GB stick).  I tested the 8 GB stick in a Windows XP machine, and it was found there.
Logged
I am using VL7.0 standard with XFCE

bigpaws

  • Vectorian
  • ****
  • Posts: 1869
Re: mounting usb stick
« Reply #3 on: April 16, 2012, 11:36:38 am »

Sorry,

As root

tail -f /var/log/messages

then plug in your USB key.

Do you know what filesystem is used for that USB key?

Bigpaws
Logged

MarkGrieveson

  • Vectorian
  • ****
  • Posts: 531
Re: mounting usb stick
« Reply #4 on: April 16, 2012, 01:58:05 pm »

When I did that, I got the following result, which went on forever until I pressed Ctrl-C:

Code: [Select]
Apr 16 17:10:13 vector kernel: [11529.912086] sd 5:0:0:0: [sdb]  Result: hostbyte=0x00 driverbyte=0x08
Apr 16 17:10:13 vector kernel: [11529.912093] sd 5:0:0:0: [sdb]  Sense Key : 0x2 [current]
Apr 16 17:10:13 vector kernel: [11529.912106] sd 5:0:0:0: [sdb]  <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
Apr 16 17:10:13 vector kernel: [11529.912115] sd 5:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 00 08 00 00 08 00
Apr 16 17:10:14 vector kernel: [11530.945977] sd 5:0:0:0: [sdb] Device not ready
Apr 16 17:10:14 vector kernel: [11530.945988] sd 5:0:0:0: [sdb]  Result: hostbyte=0x00 driverbyte=0x08
Apr 16 17:10:14 vector kernel: [11530.945996] sd 5:0:0:0: [sdb]  Sense Key : 0x2 [current]
Apr 16 17:10:14 vector kernel: [11530.946058] sd 5:0:0:0: [sdb]  <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
Apr 16 17:10:14 vector kernel: [11530.946067] sd 5:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 00 08 00 00 08 00
Apr 16 17:10:15 vector kernel: [11531.979791] sd 5:0:0:0: [sdb] Device not ready
Apr 16 17:10:15 vector kernel: [11531.979802] sd 5:0:0:0: [sdb]  Result: hostbyte=0x00 driverbyte=0x08
Apr 16 17:10:15 vector kernel: [11531.979810] sd 5:0:0:0: [sdb]  Sense Key : 0x2 [current]
Apr 16 17:10:15 vector kernel: [11531.979822] sd 5:0:0:0: [sdb]  <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
Apr 16 17:10:15 vector kernel: [11531.979832] sd 5:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 00 08 00 00 08 00
Apr 16 17:10:16 vector kernel: [11533.014602] sd 5:0:0:0: [sdb] Device not ready
Apr 16 17:10:16 vector kernel: [11533.014613] sd 5:0:0:0: [sdb]  Result: hostbyte=0x00 driverbyte=0x08
Apr 16 17:10:16 vector kernel: [11533.014620] sd 5:0:0:0: [sdb]  Sense Key : 0x2 [current]
Apr 16 17:10:16 vector kernel: [11533.014633] sd 5:0:0:0: [sdb]  <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
Apr 16 17:10:16 vector kernel: [11533.014642] sd 5:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 00 08 00 00 08 00
Apr 16 17:10:17 vector kernel: [11534.047453] sd 5:0:0:0: [sdb] Device not ready
Apr 16 17:10:17 vector kernel: [11534.047465] sd 5:0:0:0: [sdb]  Result: hostbyte=0x00 driverbyte=0x08
Apr 16 17:10:17 vector kernel: [11534.047472] sd 5:0:0:0: [sdb]  Sense Key : 0x2 [current]
Apr 16 17:10:17 vector kernel: [11534.047485] sd 5:0:0:0: [sdb]  <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
Apr 16 17:10:17 vector kernel: [11534.047495] sd 5:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 00 18 00 00 08 00
Apr 16 17:10:18 vector kernel: [11535.081270] sd 5:0:0:0: [sdb] Device not ready
Apr 16 17:10:18 vector kernel: [11535.081282] sd 5:0:0:0: [sdb]  Result: hostbyte=0x00 driverbyte=0x08
Apr 16 17:10:18 vector kernel: [11535.081289] sd 5:0:0:0: [sdb]  Sense Key : 0x2 [current]
Apr 16 17:10:18 vector kernel: [11535.081302] sd 5:0:0:0: [sdb]  <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
Apr 16 17:10:18 vector kernel: [11535.081311] sd 5:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 00 18 00 00 08 00
Apr 16 17:10:19 vector kernel: [11536.114177] sd 5:0:0:0: [sdb] Device not ready
Apr 16 17:10:19 vector kernel: [11536.114188] sd 5:0:0:0: [sdb]  Result: hostbyte=0x00 driverbyte=0x08
Apr 16 17:10:19 vector kernel: [11536.114195] sd 5:0:0:0: [sdb]  Sense Key : 0x2 [current]
Apr 16 17:10:19 vector kernel: [11536.114208] sd 5:0:0:0: [sdb]  <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
Apr 16 17:10:19 vector kernel: [11536.114217] sd 5:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 00 18 00 00 08 00
Apr 16 17:10:20 vector kernel: [11537.146886] sd 5:0:0:0: [sdb] Device not ready
Apr 16 17:10:20 vector kernel: [11537.146895] sd 5:0:0:0: [sdb]  Result: hostbyte=0x00 driverbyte=0x08
Apr 16 17:10:20 vector kernel: [11537.146903] sd 5:0:0:0: [sdb]  Sense Key : 0x2 [current]
Apr 16 17:10:20 vector kernel: [11537.146916] sd 5:0:0:0: [sdb]  <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
Apr 16 17:10:20 vector kernel: [11537.146925] sd 5:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 00 18 00 00 08 00
Apr 16 17:10:22 vector kernel: [11538.180694] sd 5:0:0:0: [sdb] Device not ready
Apr 16 17:10:22 vector kernel: [11538.180703] sd 5:0:0:0: [sdb]  Result: hostbyte=0x00 driverbyte=0x08
Apr 16 17:10:22 vector kernel: [11538.180711] sd 5:0:0:0: [sdb]  Sense Key : 0x2 [current]
Apr 16 17:10:22 vector kernel: [11538.180724] sd 5:0:0:0: [sdb]  <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
Apr 16 17:10:22 vector kernel: [11538.180733] sd 5:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 00 38 00 00 08 00
Apr 16 17:10:23 vector kernel: [11539.213586] sd 5:0:0:0: [sdb] Device not ready
Apr 16 17:10:23 vector kernel: [11539.213597] sd 5:0:0:0: [sdb]  Result: hostbyte=0x00 driverbyte=0x08
Apr 16 17:10:23 vector kernel: [11539.213604] sd 5:0:0:0: [sdb]  Sense Key : 0x2 [current]
Apr 16 17:10:23 vector kernel: [11539.213617] sd 5:0:0:0: [sdb]  <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
Apr 16 17:10:23 vector kernel: [11539.213627] sd 5:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 00 00 38 00 00 08 00
Apr 16 17:10:24 vector kernel: [11540.247421] sd 5:0:0:0: [sdb] Device not ready

I think it is FAT32.
Logged
I am using VL7.0 standard with XFCE

MarkGrieveson

  • Vectorian
  • ****
  • Posts: 531
Re: mounting usb stick
« Reply #5 on: April 17, 2012, 08:51:16 am »

I installed usbview, and here's the readout I get from it:
Code: [Select]
Mass Storage Device
Manufacturer: Generic
Serial Number: 058F63666433
Speed: 12Mb/s (full)
USB Version:  2.00
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 058f
Product Id: 6366
Revision Number:  1.00

Config Number: 1
Number of Interfaces: 1
Attributes: 80
MaxPower Needed: 100mA

Interface Number: 0
Name: usb-storage
Alternate Number: 0
Class: 08(stor.)
Sub Class: 06
Protocol: 50
Number of Endpoints: 2

Endpoint Address: 01
Direction: out
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms

Endpoint Address: 82
Direction: in
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms
However, as mentioned previously, I can't seem to access it.  It doesn't show up on my desktop or within Thunar.
Logged
I am using VL7.0 standard with XFCE

bigpaws

  • Vectorian
  • ****
  • Posts: 1869
Re: mounting usb stick
« Reply #6 on: April 17, 2012, 09:15:45 am »

The problem is with the USB key.

The error may occur if you did not remove the
key properly.

One thing to try would be to run a scan from Windows
to check for any errors on the drive.

The other possibility is to save your data and reformat
the USB key.

Bigpaws
Logged

MarkGrieveson

  • Vectorian
  • ****
  • Posts: 531
Re: mounting usb stick
« Reply #7 on: April 18, 2012, 07:05:35 pm »

I tried scandisk in a Windows XP machine, but it didn't have that program.  I then tried chkdsk, which told me that the stick had no problem.  I also tried the defragmenter, and it said the usb stick did not need to be defragmented.  I made sure to remove it properly.  I also tried a different 8 GB stick, and the same issue occurred.

I'm wondering if my hardware is the problem.  It's only got usb 1, rather than two or three.  Does usb 1 not handle sticks over 4 GB?
Logged
I am using VL7.0 standard with XFCE

MarkGrieveson

  • Vectorian
  • ****
  • Posts: 531
Re: mounting usb stick
« Reply #8 on: April 19, 2012, 06:49:01 am »

In retesting stuff, I did discover that the new 8GB stick does in fact work with Vector.  The other 8 GB stick I still can't get to work, however.  It does work in Windows (XP), but not in Vector.  I reformatted it as FAT 32, and tried it, but it still doesn't work in Vector.  Mystery.

I'm going to chalk it down as a faulty stick.  So, this thread is solved.
« Last Edit: May 11, 2012, 10:06:44 am by MarkGrieveson »
Logged
I am using VL7.0 standard with XFCE