Jump to content

usb flash drive [solved]


shaner
 Share

Recommended Posts

Hey everyone,

 

I have searched the forum, read the usb fixes, and come up empty handed. Sorry if I missed something. I have a no name usb flash drive, says "Geek Squad" on it from Best Buy, but no manufacturer name. When I plug it in, it doesn't work. I have tried several fixes from other posts, but don't really know what I am doing. How can I get this to work? I'm using KDE. I'm used to plug it in and it works kind of stuff. It's a XP thing.

 

Thanks.

Shane

 

Sorry forgot to add I'm using 10.1 Community

Edited by shaner
Link to comment
Share on other sites

one suggestiont hat will almost certainly fix it, is to upgrae to the latest version of mandrake, now called Mandriva Limited Edition 2005. They have updated and changed the way that things like USB flash drives are handled and it's WAY better.

 

As for a fix in 10.1, I've got that for you too.

 

The usual reason, and you can see for your self if this is the case with your flash drive, is the lack of partition table.

 

Let me explain. Frequently, things like pen drives are simply formatted. They aren't actualy partitioned. Try plugging it in, and opening up the mandrake control center, and going to partitions. you'll see hda, and then sda (or sdb or sdc and so on). sdx is for scsi devices like flash drives. My guess is that it will be formatted fat32, or fat16, but won't actualy have any partitions. What you can do, is partition it with one big fat32 partition, and then mandrake 10.1 'should' automount it. You might have to reboot afterwards.

 

If that doesn't work, I say go for my first suggestion. My generic pen drive, formatted only, no partitions, work great for the first time in 10.2 (aka Mandriva le 2005)

Link to comment
Share on other sites

Thanks VeeDubb, and MrMad,

 

I was thinking of upgrading, anyway, but didn't see the point in it. If USB works that much better I may give that a whirl maybe tonight. :thumbs: If not, I will be back posting here to get this thing straightened out. :juggle: Thanks again for your help.

 

Shane

Link to comment
Share on other sites

Ok, updated and went very smoothly. Wow that was really nice. Now I'm running 2005. So I plugged it in, and presto....... nothing. Didn't work. Probably if I had done a new install it would have worked, but nothing. Ok, one detail, My Cd2 was bad and so I didn't get anything from CD2 installed. 3 was fine. I'm going to run the update and then retry and then if not, I will post again. Thanks for the help.

 

Shane

Link to comment
Share on other sites

The CD's should contain everything that has to do with the handling of USB flash drives, but if CD2 was borked, you've got a lot of really important stuff missing, and media handling may be some of that.

Link to comment
Share on other sites

VeeDubb,

 

I can re-burn that CD tonight when I go back to the office, and then run through the install process again, can't hurt anything. Wouldn't I be able to get anything missing on CD2 through the updates? I'm updating now, I have DSL, but wouldn't call it fast. Thanks.

 

Shane

Link to comment
Share on other sites

Ok, here is the deal, I re-installed and CD 2 worked this time!!! :cheesy: so I plugged it in, and presto..... nothing. I know one of these post will be presto ..... IT WORKED. but we aren't there yet. Now I'm at a loss. I'm urpmi-ing, but don't really see how this will solve my problem. I tried the trail -f/var/log/messages but it just said to try trail --help, and that gave me a bunch of help info, but not system info. I'm at a loss. Any ideas??? :help: Thanks in advance.

 

Shane

 

Ok, didn't work now I really need help. I plug it in and nothing happens. I don't have any sda devices. I don't have any in my fstab either. I don't know what to put there.

Edited by shaner
Link to comment
Share on other sites

You should issue the tail -f /var/log/messages as root in console.

Also you can try the dmesg .

Look for mesages related to USB and SCSI - paste the result here ....

Another way (but less helpful) is go to the control center - hardware - and there

please take a look where Your device is listed.

 

We need to see the log to help You ... without it is hopeless....

 

:deal:

Link to comment
Share on other sites

Thanks MrMad,

 

Ok, it worked this time. I don't know if I was logged in as root last time, or typed wrong. :oops: None the less the results are: :deal:

 

May 19 08:28:57 mandrake kernel: hub 4-0:1.0: hub_port_status failed (err = -32)

May 19 08:28:57 mandrake kernel: usb 4-5: new high speed USB device using ehci_hcd and address 10

May 19 08:28:58 mandrake kernel: usb 4-5: device not accepting address 10, error -71

May 19 08:28:58 mandrake kernel: usb 4-5: new high speed USB device using ehci_hcd and address 11

May 19 08:28:58 mandrake kernel: ehci_hcd 0000:00:1d.7: port 5 reset error -110

May 19 08:28:58 mandrake kernel: hub 4-0:1.0: hub_port_status failed (err = -32)

May 19 08:28:58 mandrake kernel: usb 4-5: device descriptor read/64, error -71

May 19 08:28:59 mandrake kernel: usb 4-5: device descriptor read/64, error -71

May 19 08:29:05 mandrake su(pam_unix)[8262]: session opened for user root by (uid=501)

May 19 08:29:12 mandrake hal.hotplug[8257]: timout(10000 ms) waiting for /devices/pci0000:00/0000:00:1d.7/usb4/4-5

 

I really appreciate your help.

 

 

Shane

Link to comment
Share on other sites

May 19 08:28:58 mandrake kernel: usb 4-5: device not accepting address 10, error -71

May 19 08:28:58 mandrake kernel: usb 4-5: new high speed USB device using ehci_hcd and address 11

May 19 08:28:58 mandrake kernel: ehci_hcd 0000:00:1d.7: port 5 reset error -110

May 19 08:28:58 mandrake kernel: hub 4-0:1.0: hub_port_status failed (err = -32)

 

pretty sure that's the problem. IF I'm reading that right, and lord knows I may not be, the problem is with the port you're plugging it into. Or, it might be that the flash drive itself it dead. Do you have access to another computer? Might be worth checking.

Link to comment
Share on other sites

VeeDubb,

 

I use it with Windows all the time, so I know the drive is good. I also know the USB port is good because I'm dual booting, and don't have a problem with that port. I use the Flash Drive with XP in that same port, which eliminates all hardware, it is a setup problem. Thanks for the thought though! I guess if I had mentioned some of that earlier, it may have made it easier on everyone. Sorry. I messed up with my partitioning, and now want to transfer files via my USB drive. I work on about 3 different computers in different locations, so my USB is like my briefcase. :puter:

 

Shane

 

Also I have a 4 port USB hub. It is generic and gives me 4 other USB ports since I only have 3 on my laptop. That is the excessive amount of USB's you see. My printer, Palm (when not running doesn't effect nothing) are plugged into the hub, my mouse is direct to the USB on the computer and the Flash Drive is plugged directly to the computer's USB port.

Link to comment
Share on other sites

Hmm .. I'm not an expert too but for me:

 

May 19 08:28:58 mandrake kernel: usb 4-5: device descriptor read/64, error -71

May 19 08:28:59 mandrake kernel: usb 4-5: device descriptor read/64, error -71

 

looks like a serious problem - device descriptor can;'t be accessed.

Hmm ...

Can You paste here the result (as root of course) of lsmod and lsusb -v ?

Link to comment
Share on other sites

MrMad,

 

Ok this is really crazy. In windows I reformated the drive to eliminate any errors there. I unplugged everything from the USB to eliminate problems there. In the command line I tried the tail -f/var/log/messages line again, and it didn't work!!! :wall: I wanted to see if that eliminated some of the errors. Ok, so here is the lsmod:

 

Module                  Size  Used by
appletalk              30420  2
ax25                   55852  2
ipx                    24048  2
binfmt_misc             8744  1
speedstep-lib           3428  0
raw                     6720  4
i915                   17280  1
drm                    58164  2 i915
md5                     3648  1
ipv6                  232320  12
snd-seq-dummy           2596  0
snd-seq-oss            31584  0
snd-seq-midi-event      6208  1 snd-seq-oss
snd-seq                47472  5 snd-seq-dummy,snd-seq-oss,snd-seq-midi-event
snd-seq-device          6796  3 snd-seq-dummy,snd-seq-oss,snd-seq
snd-pcm-oss            49056  0
snd-mixer-oss          17248  1 snd-pcm-oss
snd-intel8x0           29184  1
snd-ac97-codec         75256  1 snd-intel8x0
snd-pcm                80712  3 snd-pcm-oss,snd-intel8x0,snd-ac97-codec
snd-timer              20324  2 snd-seq,snd-pcm
snd-page-alloc          7428  2 snd-intel8x0,snd-pcm
snd                    46980  11 snd-seq-oss,snd-seq,snd-seq-device,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-pcm,snd-timer
soundcore               7104  1 snd
parport_pc             31588  0
lp                      9864  0
parport                31624  2 parport_pc,lp
af_packet              16232  2
pcmcia                 18632  2
yenta_socket           19720  1
rsrc_nonstatic          9056  1 yenta_socket
pcmcia_core            41504  3 pcmcia,yenta_socket,rsrc_nonstatic
eth1394                17160  0
8139too                21376  0
mii                     4224  1 8139too
ide-cd                 36772  0
ohci1394               30916  0
ieee1394              292088  2 eth1394,ohci1394
loop                   13544  0
nls_iso8859-1           3744  1
ntfs                  205176  1
intel-agp              19996  1
agpgart                28168  3 drm,intel-agp
usblp                  10752  0
ehci-hcd               28456  0
tsdev                   6016  0
evdev                   7744  1
usbmouse                4608  0
usbhid                 43648  0
uhci-hcd               28816  0
usbcore               105880  6 usblp,ehci-hcd,usbmouse,usbhid,uhci-hcd

 

and the lsusb -v:

 

Bus 004 Device 001: ID 0000:0000
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass            9 Hub
 bDeviceSubClass         0 Unused
 bDeviceProtocol         1 Single TT
 bMaxPacketSize0         8
 idVendor           0x0000
 idProduct          0x0000
 bcdDevice            2.06
 iManufacturer           3 Linux 2.6.11-6mdk-i686-up-4GB ehci_hcd
 iProduct                2 EHCI Host Controller
 iSerial                 1 0000:00:1d.7
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           25
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0xe0
     Self Powered
     Remote Wakeup
   MaxPower                0mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass         9 Hub
     bInterfaceSubClass      0 Unused
     bInterfaceProtocol      0
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0002  1x 2 bytes
       bInterval              12
Hub Descriptor:
 bLength               9
 bDescriptorType      41
 nNbrPorts             6
 wHubCharacteristic 0x0008
   Ganged power switching
   Per-port overcurrent protection
   TT think time 8 FS bits
 bPwrOn2PwrGood       10 * 2 milli seconds
 bHubContrCurrent      0 milli Ampere
 DeviceRemovable    0xb7
 PortPwrCtrlMask    0xc0
Hub Port Status:
  Port 1: 0000.0100 power
  Port 2: 0000.0100 power
  Port 3: 0001.0000 C_CONNECT
  Port 4: 0000.0100 power
  Port 5: 0000.0501 highspeed power connect
  Port 6: 0000.0100 power

Bus 003 Device 001: ID 0000:0000
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               1.10
 bDeviceClass            9 Hub
 bDeviceSubClass         0 Unused
 bDeviceProtocol         0
 bMaxPacketSize0         8
 idVendor           0x0000
 idProduct          0x0000
 bcdDevice            2.06
 iManufacturer           3 Linux 2.6.11-6mdk-i686-up-4GB uhci_hcd
 iProduct                2 UHCI Host Controller
 iSerial                 1 0000:00:1d.2
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           25
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0xc0
     Self Powered
   MaxPower                0mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass         9 Hub
     bInterfaceSubClass      0 Unused
     bInterfaceProtocol      0
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0002  1x 2 bytes
       bInterval             255
Hub Descriptor:
 bLength               9
 bDescriptorType      41
 nNbrPorts             2
 wHubCharacteristic 0x000a
   No power switching (usb 1.0)
   Per-port overcurrent protection
 bPwrOn2PwrGood        1 * 2 milli seconds
 bHubContrCurrent      0 milli Ampere
 DeviceRemovable    0xb7
 PortPwrCtrlMask    0xc0
Hub Port Status:
  Port 1: 0000.0100 power
  Port 2: 0000.0100 power

Bus 002 Device 003: ID 04b4:aef6 Cypress Semiconductor Corp.
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               1.10
 bDeviceClass            0 (Defined at Interface level)
 bDeviceSubClass         0
 bDeviceProtocol         0
 bMaxPacketSize0         8
 idVendor           0x04b4 Cypress Semiconductor Corp.
 idProduct          0xaef6
 bcdDevice            0.01
 iManufacturer           1 Magic ball Mouse
 iProduct                2 Magic ball Mouse
 iSerial                 0
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           34
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          4 Magic ball Mouse
   bmAttributes         0xa0
     Remote Wakeup
   MaxPower               26mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass         3 Human Interface Devices
     bInterfaceSubClass      1 Boot Interface Subclass
     bInterfaceProtocol      2 Mouse
     iInterface              0
       HID Device Descriptor:
         bLength                 9
         bDescriptorType        33
         bcdHID               1.10
         bCountryCode            0 Not supported
         bNumDescriptors         1
         bDescriptorType        34 Report
         wDescriptorLength      72
        Report Descriptors:
          ** UNAVAILABLE **
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0004  1x 4 bytes
       bInterval              10

Bus 002 Device 001: ID 0000:0000
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               1.10
 bDeviceClass            9 Hub
 bDeviceSubClass         0 Unused
 bDeviceProtocol         0
 bMaxPacketSize0         8
 idVendor           0x0000
 idProduct          0x0000
 bcdDevice            2.06
 iManufacturer           3 Linux 2.6.11-6mdk-i686-up-4GB uhci_hcd
 iProduct                2 UHCI Host Controller
 iSerial                 1 0000:00:1d.1
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           25
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0xc0
     Self Powered
   MaxPower                0mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass         9 Hub
     bInterfaceSubClass      0 Unused
     bInterfaceProtocol      0
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0002  1x 2 bytes
       bInterval             255
Hub Descriptor:
 bLength               9
 bDescriptorType      41
 nNbrPorts             2
 wHubCharacteristic 0x000a
   No power switching (usb 1.0)
   Per-port overcurrent protection
 bPwrOn2PwrGood        1 * 2 milli seconds
 bHubContrCurrent      0 milli Ampere
 DeviceRemovable    0xb7
 PortPwrCtrlMask    0xc0
Hub Port Status:
  Port 1: 0000.0303 lowspeed power enable connect
  Port 2: 0000.0100 power

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               1.10
 bDeviceClass            9 Hub
 bDeviceSubClass         0 Unused
 bDeviceProtocol         0
 bMaxPacketSize0         8
 idVendor           0x0000
 idProduct          0x0000
 bcdDevice            2.06
 iManufacturer           3 Linux 2.6.11-6mdk-i686-up-4GB uhci_hcd
 iProduct                2 UHCI Host Controller
 iSerial                 1 0000:00:1d.0
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           25
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0xc0
     Self Powered
   MaxPower                0mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass         9 Hub
     bInterfaceSubClass      0 Unused
     bInterfaceProtocol      0
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0002  1x 2 bytes
       bInterval             255
Hub Descriptor:
 bLength               9
 bDescriptorType      41
 nNbrPorts             2
 wHubCharacteristic 0x000a
   No power switching (usb 1.0)
   Per-port overcurrent protection
 bPwrOn2PwrGood        1 * 2 milli seconds
 bHubContrCurrent      0 milli Ampere
 DeviceRemovable    0xb7
 PortPwrCtrlMask    0xc0
Hub Port Status:
  Port 1: 0000.0100 power
  Port 2: 0000.0100 power
[root@mandrake shane]#  

 

 

Aha! Got it, I wasn't leaving a space after the -f here is the tail -f /var/log/messages:

 

May 20 07:31:39 mandrake su(pam_unix)[8112]: session closed for user root
May 20 07:31:52 mandrake su(pam_unix)[9101]: session opened for user root by (uid=501)
May 20 07:32:25 mandrake nmbd[6917]: [2005/05/20 07:32:25, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
May 20 07:32:25 mandrake nmbd[6917]:   *****
May 20 07:32:25 mandrake nmbd[6917]:
May 20 07:32:25 mandrake nmbd[6917]:   Samba name server SAMBA is now a local master browser for workgroup HOME on subnet 192.168.10.2
May 20 07:32:25 mandrake nmbd[6917]:
May 20 07:32:25 mandrake nmbd[6917]:   *****
May 20 07:32:58 mandrake su(pam_unix)[9101]: session closed for user root
May 20 07:33:06 mandrake su(pam_unix)[9506]: session opened for user root by (uid=501)

 

This is with all the usb items unplugged except the mouse and the usb drive. seems to eliminate the errors from before, or maybe it was the formatting? Thanks.

 

Shane

 

a side question, why is it, when I close the command line, I get these little messages saying closed with signal 9, or something like that?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...