URN Logo
UNIX Resources » Linux » Linux Forum » Linux Data Storage Support » Page.14 » Problem With Usb Memory Stick
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
   
Problem With Usb Memory Stick
Subject: Problem With Usb Memory Stick
Author: soenderup    Posted: 2004-10-15 10:56:16    Length: 4,853 byte(s)
[Original] [Print] [Top]
Hi there

I bought a SWISSBIT  Twist memory stick recently, but I cannot get it to work. I have looked through other toppics, and done what was recommended there, but no success.

I am using SuSE Linux 9.0.

At first, I followed the USB Flash Memory HOWTO by Niko Sauer. It all worked fine up to point 7.3:
7.1 Quick Check: # mount gave the following output:
/dev/hda2 on / type reiserfs (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
tmpfs on /dev/shm type tmpfs (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
//SERVER/user on /mnt/user type smbfs (0)
none on /proc/bus/usb type usbfs (rw)

7.2: Probing the /proc filesystem: ls -l /proc/bus/usb gave this output:
total 0
dr-xr-xr-x    1 root     root            0 2004-10-15 16:11 .
dr-xr-xr-x    5 root     root            0 2004-10-15 14:50 ..
dr-xr-xr-x    1 root     root            0 2004-10-15 16:11 001
dr-xr-xr-x    1 root     root            0 2004-10-15 16:11 002
dr-xr-xr-x    1 root     root            0 2004-10-15 16:11 003
dr-xr-xr-x    1 root     root            0 2004-10-15 16:11 004
-r--r--r--    1 root     root            0 2004-10-15 16:11 devices
-r--r--r--    1 root     root            0 2004-10-15 16:11 drivers

7.3: Mounting the USB filesystem: I tried # mount /dev/sda1 /mnt/usbdisk/ and got:
mount: /dev/sda1 is not a valid block device

Then I tried all possible device names, i.e. sda2, sda, etc.

Then I followed "Problem with mounting a Memory Stick" by gEnTi, 4 October 2004. So I tried  dmesg and got (among other things) this output:

hub.c: new USB device 00:10.3-4, assigned address 2
usb.c: USB device 2 (vend/prod 0x1370/0x2168) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor: SWISSBIT  Model: Twist             Rev: 2.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sense key Unit Attention
Additional sense indicates Not ready to ready change,medium may have changed
sda : block size assumed to be 512 bytes, disk size 1GB.
 sda:usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb-storage: host_reset() requested but not implemented
scsi: device set offline - command error recover failed: host 1 channel 0 id 0 lun 0
SCSI disk error : host 1 channel 0 id 0 lun 0 return code = 6050000
 I/O error: dev 08:00, sector 2097144
 I/O error: dev 08:00, sector 2097145
 I/O error: dev 08:00, sector 2097144
 I/O error: dev 08:00, sector 0
 I/O error: dev 08:00, sector 0
 unable to read partition table
usb.c: USB disconnect on device 00:10.3-4 address 2
hub.c: new USB device 00:10.3-4, assigned address 3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
lvm-mp: allocating 42 lowmem entries at c2313000
LVM version 1.0.5+(mp-v6d)(22/07/2002) module loaded


Then I tried # fdisk /dev/sda, and got:
Unable to open /dev/sda

I also tried #  mkdosfs -F 32 -n SWISSBIT /dev/sda1 (again, with different device names), and got:
mkdosfs 2.9 (15 May 2003)
/dev/sda1: No such device or address

So I feel rather stuck. I have tried the stick under WindowsXP on someone elses computer, and there it works. So it is not the stick. Or is it?

Can anyone help me, please?
Many thanks
[Original] [Print] [Top]
Subject: Problem With Usb Memory Stick
Author: soenderup    Posted: 2004-10-15 11:12:52    Length: 3,155 byte(s)
[Original] [Print] [Top]
Me again - I just saw that people would like to see the output of
cat /etc/fstab
cat /etc/mtab
cat /proc/mounts
and fstab -l

so here you are:

cat /etc/fstab

/dev/hda2            /                    reiserfs   defaults              1 1
/dev/hda1            swap                 swap       pri=42                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
proc                 /proc                proc       defaults              0 0
usbdevfs             /proc/bus/usb        usbdevfs   noauto                0 0
/dev/cdrecorder      /media/cdrecorder    auto       ro,noauto,user,exec   0 0
/dev/cdrom           /media/cdrom         auto       ro,noauto,user,exec   0 0
/dev/dvd             /media/dvd           auto       ro,noauto,user,exec   0 0
/dev/fd0             /media/floppy        auto       noauto,user,sync      0 0


cat /etc/mtab

/dev/hda2 / reiserfs rw 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
tmpfs /dev/shm tmpfs rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
//SERVER/user /mnt/user smbfs 0 0 0
//SERVER/Everyone /mnt/Everyone smbfs 0 0 0
none /proc/bus/usb usbfs rw 0 0

cat /proc/mounts

rootfs / rootfs rw 0 0
/dev/root / reiserfs rw 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
//SERVER/user /mnt/user smbfs rw,uid=500,gid=500,file_mode=0755,dir_mode=0755 0 0
//SERVER/Everyone /mnt/Everyone smbfs rw,uid=500,gid=500,file_mode=0755,dir_mode=0755 0 0
none /proc/bus/usb usbfs rw 0 0

fdisk -l

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1        64    514048+  82  Linux swap
/dev/hda2   *        65      4865  38564032+  83  Linux
 
[Original] [Print] [Top]
« Previous thread
Need Help With Data Recovery
Linux Data Storage Support
Page. 14
Next thread »
Usb Storage Device
     

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:50, cost 0.052003145217896 ms.