USB devices unabe to mount when plugged in (11.3 RC1)

Hi guys, I have issues accessing my external storage whether it is a portable harddrive, SD card for my mobile phone. They used to work well in 11.2. I am using a Sony Vaio VGN-A19GP laptop.

The results below show what happens when my usb mass storage device is connected
lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
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

df -Th

Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/sda1     ext4     54G  3.6G   48G   8% /
devtmpfs  devtmpfs    246M  268K  245M   1% /dev
tmpfs        tmpfs    250M  144K  250M   1% /dev/shm

su -c ‘fdisk -l’

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x120d120d

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        7111    57119076   83  Linux
/dev/sda2            7112        7296     1486012+   5  Extended
/dev/sda5            7112        7296     1485981   82  Linux swap / Solaris

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbcd2f2e0

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       38914   312568832    7  HPFS/NTFS

cat /etc/fstab

/dev/disk/by-id/ata-HITACHI_DK23FA-60_3W1535-part5 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-HITACHI_DK23FA-60_3W1535-part1 /                    ext4       acl,user_xattr        1 1
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

Expert Partitioner Screenshot
http://j.imagehost.org/t/0905/demo.jpg](http://j.imagehost.org/view/0905/demo)

What about a USB pen drive/flash drive?

Here are the results are plugging in the thumbdrive

lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0781:5530 SanDisk Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
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

df -Th

Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/sda1     ext4     54G  3.6G   48G   8% /
devtmpfs  devtmpfs    246M  264K  245M   1% /dev
tmpfs        tmpfs    250M  144K  250M   1% /dev/shm

su -c ‘fdisk -l’

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x120d120d

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        7111    57119076   83  Linux
/dev/sda2            7112        7296     1486012+   5  Extended
/dev/sda5            7112        7296     1485981   82  Linux swap / Solaris

Disk /dev/sdb: 8036 MB, 8036285952 bytes
255 heads, 63 sectors/track, 977 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         976     7839698    b  W95 FAT32

cat /etc/fstab

/dev/disk/by-id/ata-HITACHI_DK23FA-60_3W1535-part5 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-HITACHI_DK23FA-60_3W1535-part1 /                    ext4       acl,user_xattr        1 1
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

Expert Partitioner Screenshot
http://a.imagehost.org/t/0863/demo1.jpg](http://a.imagehost.org/view/0863/demo1)

Hi guys, I managed to resolve the issue by downloading the HAL daemon from the online update through YaST. Apparently it was unchecked, btw i was using the KDE version LiveCD. I hope this issue does not carry on to RC2. Thanks

Thanks for the update! Do you know the exact name of the package?

I took a look at the snapshot repos for 11.3 RC1:

http://download.opensuse.org/factory-snapshot/repo/oss/suse/

I noted these hal packages in that repos:

gimp-module-hal-2.6.8-4.6.x86_64.rpm
hal-0.5.14-6.6.x86_64.rpm  349K
hal-32bit-0.5.14-6.6.x86_64.rpm
hal-doc-0.5.14-6.2.x86_64.rpm

I assume it is one of those packages that you are refering to ? I’m not at a linux PC right now so I can not check (what is installed on the 11.3 RC1 liveCD) but I assume it is one of the packages that I quoted that is missing?

If you type:

rpm -qa --last | grep hal

it should tell you the date in which any package with “hal” in the package name was installed and that might help confirm the exact name of the package that was recently installed.

I installed RC2 from KDE liveCD and have nodisk information in KDE utilities and no notification of USB on hotplug.

Thanks for the warning. What do you mean by online update? The Yast > … >Online Update uses a repo that contains only sample update package for development testing. :\

So, what do you mean? What’s the package name?

oldcpu, I just installed the “hal” package. It’s described as the hal daemon. It installls gimp-module-hal by dependency. I’m on 64bit, see here:

gimp-module-hal-2.6.8-4.6                     Fri 18 Jun 2010 11:37:30 BST
hal-0.5.14-6.6                                Fri 18 Jun 2010 11:37:29 BST

After re-boot, it fixed the missing disk information, and the usb hotplug which now appears in the kickoff menu>Computer - click on it to mount. I don’t have a KDE notifier icon in the panel, and I don’t know if there should be one as it was missing in M7 as well.

ok … thanks … does USB hot plug automounting now work ?

oldcpu, I edited the post with the following probably after you saw it:

After re-boot, it fixed the missing disk information, and the usb hotplug which now appears in the kickoff menu>Computer - click on it to mount. I don’t have a KDE notifier icon in the panel, and I don’t know if there should be one as it was missing in M7 as well.

Hey there, the information are as follows:

gimp-module-hal-2.6.8-4.6                     Fri 18 Jun 2010 05:10:07 PM SGT
hal-doc-0.5.14-6.2                            Fri 18 Jun 2010 05:10:02 PM SGT
hal-0.5.14-6.6                                Fri 18 Jun 2010 05:03:05 PM SGT

Interesting, as I’m on Gnome, RC1 64-bit, I tested to disable the haldaemon, everything works including usb hotplug, and boot time is at par with Ubuntu 10.04.
Not a big issue for me on a desktop, but maybe something to consider for those running 11.3 Gnome on a laptop!

Hank, lucky you, (as you may know) the devs have been talking on a mailing list of dropping HAL and some seemed keen to do it for 11.3, even in these late stages. After review of risks, IIRC Gnome was clear of HAL but KDE probably wasn’t, and clearly by the posts in this forum, KDE isn’t free of HAL yet.

I don’t know whether the missing packages from the KDE liveCD install is “coq-up or conspiracy”. lol!

On my 32-bit RC1 freshly installed,

SuLinux:~ # rpm -qa --last | grep hal
phalanx-22-649.9                              Mon Jun 14 16:00:31 2010

And the three packages quoted above, none (repeat, none) show as installed in YAST Software Management.

My USB flash drive(s) mount and unmount, and a USB printer is recognized, although I still need to sort th driver from Lexmark. I will try an external HD after the Slovenia/USA match concludes ;).

Thanks. I note from your sig that you are another Gnome user. Hence it appears this problem may be specific to KDE users as consused assessed.

On 06/18/2010 12:46 PM, oldcpu wrote:
>
> SeanMc98;2177857 Wrote:
>> And the three packages quoted above, none (repeat, none) show as
>> installed in YAST Software Management.
>>
>> My USB flash drive(s) mount and unmount, and a USB printer is
>> recognized,Thanks. I note from your sig that you are another Gnome user. Hence it
> appears this problem may be specific to KDE users as consused assessed.

But not all KDE users. I get a popup with KDE whenever I plug in a USB
flash drive.

Is that with gimp-module-hal, and hal not installed? Because KDE users (for whom this originall did not work) then report popup works once those two apps are installed.

What type of install and source, please?

My USB flash drive(s) mount and unmount, and a USB printer is recognized, although 
I still need to sort th driver from Lexmark. I will try an external HD after the Slovenia/USA match concludes . 

As promised earlier, I mounted an external HD (actually, an NTFS partitioned HD in a USB enclosure), which was immediately recognized (both partitions), opening two (2) file browser windows. Unmounting/safely removing however was problematical. The first removal(s) functioned correctly. On the second mounting, request(s) for removal presented drive(s) in use by “tracker-extract” (a relative of “Beagle” ?). Eventually, the drive(s) did unmount for safe removal.

USB flash drives mount/unmount with ease. Next, two cameras, the separate “SD” cards and a TomTom

I can confirm that, my external usb drive with one fat32 partition and one ext3 partition mounts without problem, but note that’s within Gnome!

I never got a popup on hotplug, but found the USB device in K Menu>Computer where I clicked to mount.

I have dicovered (KDE) System Settings>Advanced>Removable Devices with options and overrides section greyed out. I just ticked the box to enable. The help explains very well the options and overrides.

Now I will re-test hotplug. :slight_smile: