FS#26621 - Usb drive Mount problem

Attached to Project: Arch Linux
Opened by Osman Alperen Elhan (alperenel) - Wednesday, 26 October 2011, 00:29 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 01 November 2011, 15:59 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Archlinux won't mount my usb device. It mounts in other distros. I tried different ports still same problem.

Additional info:
* config and/or log files etc.
dmesg output :
[ 3581.549074] sd 18:0:0:0: [sdb] Write Protect is off
[ 3581.549077] sd 18:0:0:0: [sdb] Mode Sense: 45 00 00 08
[ 3581.552074] sd 18:0:0:0: [sdb] No Caching mode page present
[ 3581.552077] sd 18:0:0:0: [sdb] Assuming drive cache: write through
[ 3581.565099] sd 18:0:0:0: [sdb] No Caching mode page present
[ 3581.565102] sd 18:0:0:0: [sdb] Assuming drive cache: write through
[ 3581.574104] sdb: sdb1 sdb4
[ 3581.593087] sd 18:0:0:0: [sdb] No Caching mode page present
[ 3581.593090] sd 18:0:0:0: [sdb] Assuming drive cache: write through
[ 3581.593092] sd 18:0:0:0: [sdb] Attached SCSI removable disk

sudo fdisk -l:
Disk /dev/sda: 400.1 GB, 400088457216 bytes
13 heads, 48 sectors/track, 1252280 cylinders, total 781422768 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6d59a773

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 718847 358400 7 HPFS/NTFS/exFAT
/dev/sda2 718848 143362047 71321600 7 HPFS/NTFS/exFAT
/dev/sda3 143362048 279894015 68265984 83 Linux
/dev/sda4 279896062 781422591 250763265 5 Extended
/dev/sda5 279896064 406847487 63475712 83 Linux
/dev/sda6 406847551 602165757 97659103+ 83 Linux
/dev/sda7 605370368 774166527 84398080 83 Linux
/dev/sda8 774168576 781422591 3627008 82 Linux swap / Solaris

lsusb:
Bus 003 Device 003: ID 05ca:183e Ricoh Co., Ltd Visual Communication Camera VGP-VCC9 [R5U870]
Bus 004 Device 003: ID 0609:0338 SMK Manufacturing, Inc.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 147e:1000 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 008 Device 003: ID 044e:3017 Alps Electric Co., Ltd BCM2046 Bluetooth Device
Bus 006 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 007 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 007 Device 006: ID 0781:5566 SanDisk Corp.

cat /proc/scsi/scsi
Attached devices:
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: PIONEER Model: BD-RW BDR-TD01 Rev: 1.03
Type: CD-ROM ANSI SCSI revision: 05
Host: scsi6 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: TOSHIBA MK4058GS Rev: FF01
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi18 Channel: 00 Id: 00 Lun: 00
Vendor: SanDisk Model: Cruzer Slice Rev: 8.02
Type: Direct-Access ANSI SCSI revision: 00

I added gnome-disk-utility and nautilus screenshots.


Steps to reproduce:
plug the usb in.

Expected result:
it mounts an show the files.
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Tuesday, 01 November 2011, 15:59 GMT
Reason for closing:  Works for me
Additional comments about closing:  "i solved the problem it was a rule. But i dont know where it came from."
Comment by Jelle van der Waa (jelly) - Wednesday, 26 October 2011, 08:51 GMT
What if you mount it by hand?
mount /dev/foo /mnt/disk
Comment by Osman Alperen Elhan (alperenel) - Wednesday, 26 October 2011, 14:23 GMT
└─(17:20)─> sudo mount /dev/sdb /mnt
Password:
mount: no medium found on /dev/sdb


└─(17:20)─> sudo mount /dev/sdb1 /mnt
mount: special device /dev/sdb1 does not exist


└─(17:21)─> sudo mount /dev/sdb4 /mnt
mount: special device /dev/sdb4 does not exist

cant find the disk also this output shows sdb plugged in:

└─(17:23)─> ls -laR /dev/disk
/dev/disk:
total 0
drwxr-xr-x 6 root root 120 Oct 26 06:44 ./
drwxr-xr-x 17 root root 5.4K Oct 26 17:20 ../
drwxr-xr-x 2 root root 620 Oct 26 17:20 by-id/
drwxr-xr-x 2 root root 140 Oct 26 06:44 by-label/
drwxr-xr-x 2 root root 260 Oct 26 17:20 by-path/
drwxr-xr-x 2 root root 180 Oct 26 06:44 by-uuid/

/dev/disk/by-id:
total 0
drwxr-xr-x 2 root root 620 Oct 26 17:20 ./
drwxr-xr-x 6 root root 120 Oct 26 06:44 ../
lrwxrwxrwx 1 root root 9 Oct 26 03:45 ata-PIONEER_BD-RW_BDR-TD01 -> ../../sr0
lrwxrwxrwx 1 root root 9 Oct 26 12:05 ata-TOSHIBA_MK4058GSX_Y8GAP0F9T -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 26 03:45 ata-TOSHIBA_MK4058GSX_Y8GAP0F9T-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 26 03:45 ata-TOSHIBA_MK4058GSX_Y8GAP0F9T-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 26 03:45 ata-TOSHIBA_MK4058GSX_Y8GAP0F9T-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Oct 26 03:45 ata-TOSHIBA_MK4058GSX_Y8GAP0F9T-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Oct 26 03:45 ata-TOSHIBA_MK4058GSX_Y8GAP0F9T-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Oct 26 03:45 ata-TOSHIBA_MK4058GSX_Y8GAP0F9T-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Oct 26 03:45 ata-TOSHIBA_MK4058GSX_Y8GAP0F9T-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Oct 26 03:45 ata-TOSHIBA_MK4058GSX_Y8GAP0F9T-part8 -> ../../sda8
lrwxrwxrwx 1 root root 9 Oct 26 12:05 scsi-SATA_TOSHIBA_MK4058G_Y8GAP0F9T -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 26 03:45 scsi-SATA_TOSHIBA_MK4058G_Y8GAP0F9T-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 26 03:45 scsi-SATA_TOSHIBA_MK4058G_Y8GAP0F9T-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 26 03:45 scsi-SATA_TOSHIBA_MK4058G_Y8GAP0F9T-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Oct 26 03:45 scsi-SATA_TOSHIBA_MK4058G_Y8GAP0F9T-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Oct 26 03:45 scsi-SATA_TOSHIBA_MK4058G_Y8GAP0F9T-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Oct 26 03:45 scsi-SATA_TOSHIBA_MK4058G_Y8GAP0F9T-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Oct 26 03:45 scsi-SATA_TOSHIBA_MK4058G_Y8GAP0F9T-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Oct 26 03:45 scsi-SATA_TOSHIBA_MK4058G_Y8GAP0F9T-part8 -> ../../sda8
lrwxrwxrwx 1 root root 9 Oct 26 17:20 usb-SanDisk_Cruzer_Slice_0774720314206289-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 9 Oct 26 12:05 wwn-0x5000039162603f2b -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 26 03:45 wwn-0x5000039162603f2b-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 26 03:45 wwn-0x5000039162603f2b-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 26 03:45 wwn-0x5000039162603f2b-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Oct 26 03:45 wwn-0x5000039162603f2b-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Oct 26 03:45 wwn-0x5000039162603f2b-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Oct 26 03:45 wwn-0x5000039162603f2b-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Oct 26 03:45 wwn-0x5000039162603f2b-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Oct 26 03:45 wwn-0x5000039162603f2b-part8 -> ../../sda8

/dev/disk/by-label:
total 0
drwxr-xr-x 2 root root 140 Oct 26 06:44 ./
drwxr-xr-x 6 root root 120 Oct 26 06:44 ../
lrwxrwxrwx 1 root root 10 Oct 26 03:45 ArchLinux -> ../../sda6
lrwxrwxrwx 1 root root 10 Oct 26 03:45 Backtrack -> ../../sda7
lrwxrwxrwx 1 root root 10 Oct 26 03:45 Pardus -> ../../sda3
lrwxrwxrwx 1 root root 10 Oct 26 03:45 System\x20Reserved -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 26 03:45 Ubuntu -> ../../sda5

/dev/disk/by-path:
total 0
drwxr-xr-x 2 root root 260 Oct 26 17:20 ./
drwxr-xr-x 6 root root 120 Oct 26 06:44 ../
lrwxrwxrwx 1 root root 9 Oct 26 17:20 pci-0000:00:1d.7-usb-0:3:1.0-scsi-0:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root 9 Oct 26 03:45 pci-0000:00:1f.2-scsi-1:0:0:0 -> ../../sr0
lrwxrwxrwx 1 root root 9 Oct 26 12:05 pci-0000:00:1f.2-scsi-4:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 26 03:45 pci-0000:00:1f.2-scsi-4:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 26 03:45 pci-0000:00:1f.2-scsi-4:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 26 03:45 pci-0000:00:1f.2-scsi-4:0:0:0-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Oct 26 03:45 pci-0000:00:1f.2-scsi-4:0:0:0-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Oct 26 03:45 pci-0000:00:1f.2-scsi-4:0:0:0-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Oct 26 03:45 pci-0000:00:1f.2-scsi-4:0:0:0-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Oct 26 03:45 pci-0000:00:1f.2-scsi-4:0:0:0-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Oct 26 03:45 pci-0000:00:1f.2-scsi-4:0:0:0-part8 -> ../../sda8

/dev/disk/by-uuid:
total 0
drwxr-xr-x 2 root root 180 Oct 26 06:44 ./
drwxr-xr-x 6 root root 120 Oct 26 06:44 ../
lrwxrwxrwx 1 root root 10 Oct 26 03:45 28612fb0-a49a-4ab0-8f2d-2b8fff52f828 -> ../../sda5
lrwxrwxrwx 1 root root 10 Oct 26 03:45 29251fb2-3887-4022-9203-af954d80d897 -> ../../sda3
lrwxrwxrwx 1 root root 10 Oct 26 03:45 33bf0ac9-f8f0-4d7b-8e53-f2213f6a8c99 -> ../../sda7
lrwxrwxrwx 1 root root 10 Oct 26 03:45 38503FAD503F712C -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 26 03:45 3a3cef59-b5a6-4a54-b367-befd0cba835d -> ../../sda8
lrwxrwxrwx 1 root root 10 Oct 26 03:45 86724A79724A6E4D -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 26 03:45 fd6ed350-66a3-44bb-88f7-805f719d1265 -> ../../sda6

Comment by Jelle van der Waa (jelly) - Wednesday, 26 October 2011, 14:41 GMT
Does it work in a live cd?
Comment by Osman Alperen Elhan (alperenel) - Wednesday, 26 October 2011, 15:45 GMT
didnt try in arch linux live cd but it works in other distros.
Comment by Osman Alperen Elhan (alperenel) - Sunday, 30 October 2011, 23:30 GMT
i think i solved the problem everything works fine now. I found a rule in /etc/udev/rules.d/ directory, backed it up and removed it, now everything is fine. Here is the rule:

9-cdrom.rules:


#
# udev rules file
#
#

#SUBSYSTEM!="usb_device", GOTO="phone_rules_end"
#ACTION!="add", GOTO="phone_rules_end"KERNEL=="sr*",SUBSYSTEMS=="scsi"
#ACTION!="remove", GOTO="phone_rules_end",KERNEL=="scd*",NAME="%k", ACTION=="add",
#################
#################
#autorun#
SUBSYSTEMS=="usb", ACTION=="add", SYSFS{idVendor}=="19d2",SYSFS{idProduct}=="2000", MODE="0666", RUN+="/bin/launch-gui.sh"
SUBSYSTEMS=="usb", ACTION=="add", SYSFS{idVendor}=="19d2",SYSFS{idProduct}=="0053", MODE="0666", RUN+="/bin/launch-gui.sh"
SUBSYSTEMS=="usb", ACTION=="remove", RUN+="/bin/launch-gui.sh"
#################
#################


#################
#################
#guolv driver
SUBSYSTEM=="block", \
SYSFS{idVendor}=="19d2", \
SYSFS{idProduct}=="0053", \
SYMLINK+="ZTECdrom",\
RUN+="/usr/bin/eject /dev/ZTECdrom"

SUBSYSTEM=="block", \
SYSFS{idVendor}=="19d2", \
SYSFS{idProduct}=="2000", \
SYMLINK+="ZTECdrom",\
RUN+="/usr/bin/eject /dev/ZTECdrom"
#################
#################


#################
#################
#create MODEMCONNECTION
BUS=="usb",KERNEL=="sr[0-9]*", GROUP="cdrom",SYSFS{idVendor}=="19d2", SYSFS{idProduct}=="2000",SYMLINK+="MODEMCONNECTION",MODE="0666", RUN+=""
BUS=="usb",KERNEL=="sr[0-9]*", GROUP="cdrom",SYSFS{idVendor}=="19d2", SYSFS{idProduct}=="0053",SYMLINK+="MODEMCONNECTION",MODE="0666", RUN+=""
#################
#################

LABEL="phone_rules_end"

Loading...