Problem with USB mass storage device not mounting

I am currently using opensuse 11.2 with kde 4.3.1.

I am having a problem when I connect my samsung R450. It will not mount or show up as a usable device in either Dolphin, Amarok, or on the device notifier. I have tried manually mounting but I get an error saying it cannot find such device. I did not have any issues using it in 11.1 with KDE 4.2. It is being recognized by my system, but not allowing it to show up as a storage device or being mounted.

output of dmesg:

 2524.677585] usb 1-2.2: new full speed USB device using uhci_hcd and address 25
 2524.819535] usb 1-2.2: New USB device found, idVendor=05c6, idProduct=1000
 2524.835299] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
 2524.850997] usb 1-2.2: Product: USB MMC Storage
 2524.866565] usb 1-2.2: Manufacturer: Qualcomm, Incorporated
 2524.882126] usb 1-2.2: SerialNumber: 000000000002
 2524.897924] usb 1-2.2: configuration #1 chosen from 1 choice
 2524.927562] scsi12 : SCSI emulation for USB Mass Storage devices
 2524.948693] usb-storage: device found at 25
 2524.948702] usb-storage: waiting for device to settle before scanning

output of lsusb:

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 001 Device 006: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 001 Device 025: ID 05c6:1000 Qualcomm, Inc.

When I shut of the usb mass storage on the samsung R450 it switches to modem and is properly detected and usable as modem by my system.I don’t have any other problems with other usb devices, such as a digital camera or flash drives, so I don’t know if I just missing a system setting or configuring something wrong.

Can someone help please?

Whats the file system on your storage? Linux can mount only supported filesystems.

From a terminal as root:

tail -f /var/log/messages

Now, remove and again insert the USB drive.
From the messages, see if you can determine the device. (Otherwise, post the output here).
Once the device is identified, see if you can mount it.

I’m using EXT4 on all of my partitions, I don’t think it is a filesystem type related error because I did not have this problem in 11.1/KDE4.2 and it is a usb mass storage device so it should be mounting as such. The last line of the following output “waiting for device to settle before scanning” seems to be the problem.

Result of /var/log/messages

Nov 23 00:27:53 dimension kernel: [46723.002045] usb 1-2.2: new full speed USB device using uhci_hcd and address 19
Nov 23 00:27:53 dimension kernel: [46723.128062] usb 1-2.2: New USB device found, idVendor=05c6, idProduct=1000
Nov 23 00:27:53 dimension kernel: [46723.128123] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 23 00:27:53 dimension kernel: [46723.128145] usb 1-2.2: Product: USB MMC Storage
Nov 23 00:27:53 dimension kernel: [46723.128162] usb 1-2.2: Manufacturer: Qualcomm, Incorporated
Nov 23 00:27:53 dimension kernel: [46723.128181] usb 1-2.2: SerialNumber: 000000000002
Nov 23 00:27:53 dimension kernel: [46723.128503] usb 1-2.2: configuration #1 chosen from 1 choice
Nov 23 00:27:53 dimension kernel: [46723.136417] scsi7 : SCSI emulation for USB Mass Storage devices
Nov 23 00:27:53 dimension kernel: [46723.137190] usb-storage: device found at 19
Nov 23 00:27:53 dimension kernel: [46723.137199] usb-storage: waiting for device to settle before scanning

Yes, you are right. You should get more lines there. It should finally identify the mapped USB device and the partition on it.

Can you see if this is now usable on any other machine? I have a feeling that something is wrong with that stick.

I just plugged it into my laptop which has opensuse 11.1 with kde 4.2 and it was mounted automatically and all files were accessible.:expressionless:

Are you able to use any other USB device on that port?

Yes I have used a usb connection for my camera on all of my ports along with two other usb flash drives and haven’t encountered any problems yet. I have even tried switching the samsung R450 to other ports and still get the same result. I was also beginning to think that it was the device itself until I tried in on my laptop and did not get any errors, so now I’m completely stumpped.:open_mouth:

That’s strange. We have to wait for help from some USB/hot-plug experts in the forum.

Well hopefully someone can help. Thank you for all your help. I am impressed with 11.2 and KDE 4.3.1 overall and I think it has breathed a little more life in to my pc, so other than this issue I really have no complaints so far.

ext4 on your usb mass storage device?

The /var/log/messages shows that it hasn’t reached that stage of checking the file system.

It is a FAT filesystem on the usb device, but it is not getting that far to even check the filesystem, which is the problem.

The same situation is on my case, Transcend MP850 is not mounted, but detected. On other systems/computers doesn’t have problems (and on opensuse 11.1 this device worked fine)

In my case I’ve uninstalled package usb_modeswitch and mine mp3 player was detected as usually. But problem was just in graphical mode, because in console detection work well.

When I switch to console (in example tty1: Ctrl+Alt+F1) from graphical mode, and reconnect my device (Transcend MP850): device is connected normally (and I don’t have in this case error like usb-storage: waiting for device to settle before scanning ).
Code from file /var/log/messages when I reconnect device:

 
kernel:  4854.446046] usb 1-1: new high speed USB device using ehci_hcd and address 15
kernel:  4854.563557] usb 1-1: New USB device found, idVendor=0402, idProduct=5668
kernel:  4854.563592] usb 1-1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
kernel:  4854.563607] usb 1-1: Product: MP850
kernel:  4854.563618] usb 1-1: Manufacturer: Transcend
kernel:  4854.563629] usb 1-1: SerialNumber: 10003000030287063700
kernel:  4854.563874] usb 1-1: configuration #1 chosen from 1 choice
kernel:  4854.564962] scsi19 : SCSI emulation for USB Mass Storage devices
kernel:  4854.565237] usb-storage: device found at 15
kernel:  4854.565246] usb-storage: waiting for device to settle before scanning
kernel:  4855.567373] scsi 19:0:0:0: Direct-Access     MP       850                   PQ: 0 ANSI: 0 CCS
kernel:  4855.567799] sd 19:0:0:0: Attached scsi generic sg4 type 0
kernel:  4855.571305] usb-storage: device scan complete
kernel:  4855.575105] sd 19:0:0:0: [sdd] 16380928 512-byte logical blocks: (8.38 GB/7.81 GiB)
kernel:  4855.576805] sd 19:0:0:0: [sdd] Write Protect is off
kernel:  4855.576838] sd 19:0:0:0: [sdd] Mode Sense: 3b 00 00 00
kernel:  4855.576844] sd 19:0:0:0: [sdd] Assuming drive cache: write through
kernel:  4855.581253] sd 19:0:0:0: [sdd] Assuming drive cache: write through
kernel:  4855.581318]  sdd: sdd1
kernel:  4855.601409] sd 19:0:0:0: [sdd] Assuming drive cache: write through
kernel:  4855.601450] sd 19:0:0:0: [sdd] Attached SCSI removable disk
hald: mounted /dev/sdd1 on behalf of uid 1000

And the situation, when i connect device form graphical mode, code from /var/log/messages:


gnome-keyring-daemon[14263]: removing removable location: /media/disk
gnome-keyring-daemon[14263]: no volume registered at: /media/disk
hald: unmounted /dev/sdd1 from '/media/disk' on behalf of uid 1000
kernel:  5561.621098] usb 1-1: USB disconnect, address 15
kernel:  5568.156070] usb 1-1: new high speed USB device using ehci_hcd and address 16
kernel:  5568.273019] usb 1-1: New USB device found, idVendor=0402, idProduct=5668
kernel:  5568.273055] usb 1-1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
kernel:  5568.273071] usb 1-1: Product: MP850
kernel:  5568.273082] usb 1-1: Manufacturer: Transcend
kernel:  5568.273093] usb 1-1: SerialNumber: 10003000030287063700
kernel:  5568.273341] usb 1-1: configuration #1 chosen from 1 choice
kernel:  5568.277237] scsi20 : SCSI emulation for USB Mass Storage devices
kernel:  5568.282984] usb-storage: device found at 16
kernel:  5568.282991] usb-storage: waiting for device to settle before scanning

You can see that when swithing to console device was scanned and mounted, but this operation is stopped in graphical mode. And the quetion is why operation is not completed in graphical mode?
Regards …

For certain this should not happen. So no matter if you find a work around/resolution, you SHOULD write a bug report. Submitting Bug Reports - openSUSE

What desktop are you using? Gnome or KDE ? You state it worked fine on 11.1. Does that mean you are using 11.2 (I know you probably think this is obvious, but one needs to be certain) ?

If using Gnome, did you try boot to an openSUSE-11.2 ( ? ) KDE4 live CD and see if hot plug auto mounting works there? If using KDE did you try booting to an openSUSE-11.2 ( ? ) Gnome live CD and see if hot plug automounting works there?

How about opening a terminal, under your X window graphical desktop, with your external drive plugged in (and presumeably you are not able to access per the above) and type:

df -Th
su -c 'fdisk -l'
cat /etc/fstab

and provide here the output ?

Did you try to do a manual mount from a terminal with X window running?

Sorry, I didn’t provide sufficient information. Now I use openSUSE 11.2, with KDE 4.3.3. I’ve tried in KDE 4.3.1 and in Gnome 2.28, nothing changed, device is not mounted (log provided above show that device is not scanned). In openSUSE 11.1 all worked fine, and without problem. I didn’t try live CD, but in KDE 3.5 this device - Transcend MP850 is mounted well (in usb mode, not tried in mtp).
The output from console (from user, locale is ru.RU-UTF8, I didn’t translate anything):
I’ve plugged in device in graphical mode (interface is KDE 4.3.3):

df -Th
Ф. система    Тип     Разм  Исп  Дост  Исп% смонтирована на
/dev/sdc5     ext4     19G  9,6G  7,9G  55% /
udev         tmpfs    2,0G  272K  2,0G   1% /dev
/dev/sdc6     ext4     29G   17G   11G  63% /home
/dev/sdc1  fuseblk     49G   35G   15G  72% /windows/C
/dev/sdb1  fuseblk    299G  291G  7,9G  98% /windows/D
/dev/sda1  fuseblk    187G  161G   27G  86% /windows/E
/dev/sdc8  fuseblk    201G  123G   78G  62% /windows/F
su -c 'fdisk -l'
Пароль:

Диск /dev/sda: 200.0 ГБ, 200049647616 байт
255 heads, 63 sectors/track, 24321 cylinders
Units = цилиндры of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8d78770e

Устр-во Загр     Начало       Конец       Блоки   Id  Система
/dev/sda1   *           1       24321   195358401    7  HPFS/NTFS

Диск /dev/sdb: 320.1 ГБ, 320072933376 байт
255 heads, 63 sectors/track, 38913 cylinders
Units = цилиндры of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7e9b5359

Устр-во Загр     Начало       Конец       Блоки   Id  Система
/dev/sdb1   *           1       38913   312568641    7  HPFS/NTFS

Диск /dev/sdc: 320.1 ГБ, 320072933376 байт
255 heads, 63 sectors/track, 38913 cylinders
Units = цилиндры of 16065 * 512 = 8225280 bytes
Disk identifier: 0x27ce27cd

Устр-во Загр     Начало       Конец       Блоки   Id  Система
/dev/sdc1               1        6391    51335676    7  HPFS/NTFS
/dev/sdc2   *        6392       38913   261232965    5  Расширенный
/dev/sdc5            6392        8814    19462716   83  Linux
/dev/sdc6            8815       12633    30676086   83  Linux
/dev/sdc7           12634       12768     1084356   82  Linux своп / Solaris
/dev/sdc8           12769       38913   210009681    7  HPFS/NTFS
cat /etc/fstab
/dev/disk/by-id/ata-ST3320620AS_9QF6ES4Q-part7 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-ST3320620AS_9QF6ES4Q-part5 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-ST3320620AS_9QF6ES4Q-part6 /home                ext4       acl,user_xattr        1 2
/dev/disk/by-id/ata-ST3320620AS_9QF6ES4Q-part1 /windows/C           ntfs-3g    users,gid=users,umask=0,locale=ru_RU.UTF-8 0 0
/dev/disk/by-id/ata-ST3320620AS_9QF6A6X6-part1 /windows/D           ntfs-3g    users,gid=users,umask=0,locale=ru_RU.UTF-8 0 0
/dev/disk/by-id/ata-ST3200822A_3LJ1QG5E-part1 /windows/E           ntfs-3g    users,gid=users,umask=0,locale=ru_RU.UTF-8 0 0
/dev/disk/by-id/ata-ST3320620AS_9QF6ES4Q-part8 /windows/F           ntfs-3g    users,gid=users,umask=0,locale=ru_RU.UTF-8 0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

cat /var/log/messages


kernel: [11065.432063] usb 1-1: new high speed USB device using ehci_hcd and address 18
kernel: [11065.550094] usb 1-1: New USB device found, idVendor=0402, idProduct=5668
kernel: [11065.550130] usb 1-1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
kernel: [11065.550145] usb 1-1: Product: MP850
kernel: [11065.550156] usb 1-1: Manufacturer: Transcend
kernel: [11065.550167] usb 1-1: SerialNumber: 10003000030287063700
kernel: [11065.550422] usb 1-1: configuration #1 chosen from 1 choice
kernel: [11065.559811] scsi22 : SCSI emulation for USB Mass Storage devices
kernel: [11065.651609] usb-storage: device found at 18
kernel: [11065.651612] usb-storage: waiting for device to settle before scanning


And you are certain the drive was plugged in when you typed:
su -c ‘fdisk -l’
Because under fdisk I was expecting to see sdd and sdd1 when the drive was plugged in, and I do not see that.

That does not bode well.

I think it means “hal” is not able to detect your drive.

We need a hal guru here, who can possible suggest an edit to the config files associated with that, so that it recognizes your external drive.

Don’t forget to file a bug report.

JeremiahMosser wrote:

>
> It is a FAT filesystem on the usb device, but it is not getting that
> far to even check the filesystem, which is the problem.
>
Just a comment. I have two usb drives ( 1TB My Book and a 230GB Maxtor
in a external IDE to USB case I bought) The MyBook has two partitions
(100GB - Fat and 400GB EXT4) and the other is all EXT3) Both work on
11.2 and have since MS2 and the Maxtor on both 11.2 and 11.1).


Russ
[openSUSE 11.2 (2.6.31.5-0.1-desktop, x86_64] KDE 4.3.3 release 3,
Intel Core 2 Dual E7200, 4 GB DDR III, GeForce 8400 GS, 320GB Disc (2)