URN Logo
UNIX Resources » Linux » Linux Forum » Linux Human Interface Devices Support » Page.3 » Pen Drive Trouble
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
Pen Drive Trouble
Subject: Pen Drive Trouble
Author: adssse    Posted: 2005-05-12 23:24:08    Length: 2,166 byte(s)
[Original] [Print] [Top]
I have been trying for a while now to get my pen drive working. I have searched around the net on the subject but have gotten nowhere. I restarted before doing any of the following.
When I run 'lsusb' it shows the following:
Bus 003 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0ea0:2168 Ours Technology, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

And when I enter 'dmesg | grep -i "SCSI device" ' I get
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)

using 'cfdisk /dev/sda' gives me:
ERROR: Bad primary partition 0: Partition begins after end-of-disk
Press any key to exit cfdisk
or
FATAL ERROR: Cannot open disk drive
Press any key to exit cfdisk

I used 'mount /dev/sda /mnt/sda' because it said sda in the previous part and it mounted fine (always seems to work on first try after restart). I then used 'umount /mnt/sda' to unmount. I mounted and unmounted in the same fashion without unplugging the usb drive. During this time the small light on my usb drive was blinking green. I than unplugged it and tried the same thing again. This time the light stayed solid and when I tried to mount it gave me the following message:
'mount: /dev/sda is not a valid block device'

When I used 'dmesg | grep -i "SCSI device" ' again after unplugging and reinserting I received 2 lines instead of one like before:
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)

so it seems like as soon as I unplug it, plug it back in and try again it gives me the preceeding message but if I dont unplug it it seems to keep working. I also tried sda1 instead and it also gave me the same mount error. Also sometimes the light on the usb drive does not come on at all but still shows up if I use 'lusb'.

I am not really familier with linux to know how to use many commands but I thought if I shared this information someone may be able to help. Any help is appreciated.
[Original] [Print] [Top]
Subject: Pen Drive Trouble
Author: adssse    Posted: 2005-05-13 08:32:47    Length: 2,875 byte(s)
[Original] [Print] [Top]
Just a note, I am using Damn Small Linux. Someone suggested to me to try the following so I will post these results also in hopes that someone can make sense of this. I ran them once each with the drive not plugged in and once each with the drive connected.
Here are my results:
cat /proc/partitions (without usb drive plugged in):
major     minor     #blocks     name
    8          0         256000      sda
    8          1       84344761     sda1
    8          2      934940732     sda2
    8          4     1717556736    sda4
    3          0          2062368     hda
    3          1            249952     hda1
    3          2          1812384     hda2

ls /mnt (without usb plugged in):
auto  floppy  hda   sda   sda2   sdb1
cdrom   hd    hda2   sda1   sda4

cat /proc/partitions (with usb drive plugged in):
major     minor     #blocks     name
    8          0         256000      sda
    8          1       84344761     sda1
    8          2      934940732     sda2
    8          4     1717556736    sda4
    3          0          2062368     hda
    3          1            249952     hda1
    3          2          1812384     hda2

ls /mnt (with usb plugged in):
auto  floppy  hda   sda   sda2   sdb1
cdrom   hd    hda2   sda1   sda4

so it shows the same whether the drive is plugged in or not, even though 'lsusb' see's it. I am not sure what this means. All of the folders set up under /mnt were done by the system so I am not sure why there are so many. I also noticed that under /mnt/auto there is 'floppy' & 'cdrom'. I would appreciate the help because all of this is still confusing to me.
[Original] [Print] [Top]
Subject: Pen Drive Trouble
Author: SuseUX    Posted: 2005-05-13 09:01:00    Length: 88 byte(s)
[Original] [Print] [Top]
what is your lsmod readout, And what does your fstab say when your drive is plugged in?
----
[Original] [Print] [Top]
« Previous thread
Firewire
Linux Human Interface Devices Support
Page. 3
Next thread »
Mounting A Usb Hd
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 11:54:05, cost 0.02386999130249 ms.