Bug 591654 - usb did not get a mount point when plugged in
Summary: usb did not get a mount point when plugged in
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Milestone 4
Hardware: x86-64 Other
: P5 - None : Critical with 10 votes (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on: 615632
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-27 12:21 UTC by Forgotten User Si7ddX0wxG
Modified: 2010-06-20 13:36 UTC (History)
7 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
hwinfo content (595.89 KB, text/plain)
2010-03-27 12:23 UTC, Forgotten User Si7ddX0wxG
Details
Problem confirmed on eMachines 250-1162 netbook - opensuse 11.3 M4 (228.20 KB, text/plain)
2010-04-08 04:24 UTC, David Bailey
Details
default settings (55.26 KB, image/png)
2010-06-18 12:59 UTC, Forgotten User Si7ddX0wxG
Details
Instruction how to enable popup, if hal is already installed. (3.94 MB, video/ogg)
2010-06-19 14:25 UTC, Mindaugas Baranauskas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User Si7ddX0wxG 2010-03-27 12:21:29 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100206 SUSE/2.0.3-3.1 SeaMonkey/2.0.3

usb did not get a mount point when plugged in, it showed in dmesg,  but no mount point done

I had to do this from the command line
# mount /dev/sdb1 /media/disk


# dmesg 

[  151.848794] usb 1-1.4: new high speed USB device using ehci_hcd and address 6
[  151.944272] usb 1-1.4: New USB device found, idVendor=04fc, idProduct=0c25
[  151.944280] usb 1-1.4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[  151.944286] usb 1-1.4: Product: USB to Serial-ATA bridge
[  151.944290] usb 1-1.4: Manufacturer: Sunplus Technology Inc.
[  151.944294] usb 1-1.4: SerialNumber: ST31500341            9VS1LSAC
[  151.976570] Initializing USB Mass Storage driver...
[  151.976922] scsi8 : usb-storage 1-1.4:1.0
[  151.977080] usbcore: registered new interface driver usb-storage
[  151.977082] USB Mass Storage support registered.
[  152.981154] scsi 8:0:0:0: Direct-Access     ST315003 41AS                  PQ: 0 ANSI: 2
[  152.981530] sd 8:0:0:0: Attached scsi generic sg2 type 0
[  152.983865] sd 8:0:0:0: [sdb] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB)
[  152.986121] sd 8:0:0:0: [sdb] Write Protect is off
[  152.986131] sd 8:0:0:0: [sdb] Mode Sense: 38 00 00 00
[  152.986136] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[  152.994638] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[  152.994655]  sdb: sdb1
[  161.682142] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[  161.682155] sd 8:0:0:0: [sdb] Attached SCSI disk
[  946.921876] REISERFS (device sdb1): found reiserfs format "3.6" with standard journal
[  946.921944] REISERFS (device sdb1): using ordered data mode
[  946.921948] reiserfs: using flush barriers
[  946.940150] REISERFS (device sdb1): journal params: device sdb1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
[  946.942254] REISERFS (device sdb1): checking transaction log (sdb1)
[  947.006276] REISERFS (device sdb1): Using r5 hash to sort names
[13113.772047] do_trap: 8 callbacks suppressed
[13113.772053] seamonkey-bin[6818] trap int3 ip:7f6fa8d35ec9 sp:7fffb83e8700 error:0
[21613.032126] SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:23:5a:b6:25:47:00:04:ed:ae:0d:89:08:00 SRC=192.168.1.254 DST=192.168.1.1 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID=38633 PROTO=UDP SPT=67 DPT=68 LEN=308 
[24706.747458] seamonkey-bin[10271] trap int3 ip:7f6ac7279ec9 sp:7fff7f82d2d0 error:0
[26944.967888] seamonkey-bin[16954] trap int3 ip:7f24fa39bec9 sp:7fff15c85910 error:0


Reproducible: Always

Steps to Reproduce:
1. Plug in usb device
2. no mount point shows up

Actual Results:  
no mount point shows up

Expected Results:  
create mount point /media/disk and should show up
Comment 1 Forgotten User Si7ddX0wxG 2010-03-27 12:23:26 UTC
Created attachment 350997 [details]
hwinfo content
Comment 2 David Bailey 2010-04-08 04:24:43 UTC
Created attachment 353028 [details]
Problem confirmed on eMachines 250-1162 netbook - opensuse 11.3 M4
Comment 3 Harry Phoon 2010-06-18 04:03:53 UTC
Problem confirmed on Sony VGN-A19GP Laptop - OpenSuse 11.3 RC 1
Comment 4 Greg Kroah-Hartman 2010-06-18 04:15:59 UTC
The kernel finds this device just fine, something else must not be mounting
it, it's not the kernel's job to do so.

Reassigning...
Comment 5 Mindaugas Baranauskas 2010-06-18 09:39:20 UTC
This is related to KDE. openSUSE 11.3 RC1 installed from GNOME LiveCD works fine.
Comment 6 Petr Uzel 2010-06-18 10:22:06 UTC
I don't think this is mount(8) related. Reassigning to KDE maintainers.
Comment 7 Christian Trippe 2010-06-18 11:17:36 UTC
I am not sure KDE is configured to automount removable devices. You can configure this behaviour in systemsettings -> Removable Devices (in the Advanced tab).

Normally you should be notified about a new connect device via the device notifier, but this was missing in the default configuration (bug 597162).

So does it work for you if you configure KDE to automount devices or do you get notfied if you add the device notifier to the system tray?
Comment 8 Forgotten User Si7ddX0wxG 2010-06-18 12:55:03 UTC
Now using 11.3 rc1
Enable automatic mounting of removable media was NOT ticked.
Should that ne enabled by default.
Comment 9 Forgotten User Si7ddX0wxG 2010-06-18 12:59:25 UTC
Created attachment 370080 [details]
default settings
Comment 10 Petri Järvenpää 2010-06-18 13:36:10 UTC
(In reply to comment #8)
> Now using 11.3 rc1
> Enable automatic mounting of removable media was NOT ticked.
> Should that ne enabled by default.

I can confirm that after installing from KDE livecd the automatic mounting is not ticked on. This should definately be fixed!
Comment 11 Lubos Lunak 2010-06-18 15:12:45 UTC
We do not mount removable media by default, they are shown in a popup from the device notifier. Did the popup show up for you? Is the hal package installed? Is the problem fixed if you install it, in case it's not?
Comment 12 Mindaugas Baranauskas 2010-06-18 21:42:25 UTC
Related topic in forum: 
http://forums.opensuse.org/get-help-here/pre-release-beta/440532-usb-devices-unabe-mount-when-plugged-11-3-rc1.html
(people says, it works after hal package installation)

For me, there is no reaction after inserting USB stick (hal not installed).
Comment 13 Mindaugas Baranauskas 2010-06-18 22:47:24 UTC
After hal installation – it works!
Comment 14 Forgotten User Si7ddX0wxG 2010-06-19 03:50:13 UTC
> Did the popup show up for you?
no

> Is the hal package installed?
this version 
# rpm -qa | grep -i hal
hal-0.5.14-6.6.x86_64
Comment 15 Mindaugas Baranauskas 2010-06-19 05:38:20 UTC
Glenn, do you rebooted system after hal installation?
Hal installation and reboot helped for me in 32 bit system.
My hal is:
~> rpm -qa | grep -i hal
hal-0.5.14-6.6.i586
gimp-module-hal-2.6.8-4.6.i586

I see, that you have 64 bit system.
Comment 16 Mindaugas Baranauskas 2010-06-19 05:40:40 UTC
Glenn, do you see your attached media in Dolphin?
Comment 17 Mindaugas Baranauskas 2010-06-19 05:46:26 UTC
(In reply to comment #13)
> After hal installation – it works!
That meens – shows popup, I can see media in Dolphin. 
It don't mounts (and it shouldn't).
Comment 18 Forgotten User Si7ddX0wxG 2010-06-19 07:26:51 UTC
re comment 6
> do you see your attached media in Dolphin?

It shows up in dolphin but there is NO popup telling you a new device is attached because of the settings in comment 9

- dmesg shows the following

[  144.198855] usb 1-1.4: new low speed USB device using ehci_hcd and address 5
[  144.326070] usb 1-1.4: new high speed USB device using ehci_hcd and address 6
[  144.415013] usb 1-1.4: New USB device found, idVendor=04fc, idProduct=0c25
[  144.415023] usb 1-1.4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[  144.415029] usb 1-1.4: Product: USB to Serial-ATA bridge
[  144.415033] usb 1-1.4: Manufacturer: Sunplus Technology Inc.
[  144.415038] usb 1-1.4: SerialNumber: ST31500341            9VS1LSAC
[  144.440573] Initializing USB Mass Storage driver...
[  144.440731] scsi8 : usb-storage 1-1.4:1.0
[  144.440904] usbcore: registered new interface driver usb-storage
[  144.440907] USB Mass Storage support registered.
[  145.447092] scsi 8:0:0:0: Direct-Access     ST315003 41AS                  PQ: 0 ANSI: 2
[  145.447495] sd 8:0:0:0: Attached scsi generic sg2 type 0
[  145.456329] sd 8:0:0:0: [sdb] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB)
[  145.458927] sd 8:0:0:0: [sdb] Write Protect is off
[  145.458932] sd 8:0:0:0: [sdb] Mode Sense: 38 00 00 00
[  145.458936] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[  145.462930] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[  145.462944]  sdb: sdb1
[  154.158380] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[  154.158387] sd 8:0:0:0: [sdb] Attached SCSI disk


Now using 11.3 rc1
Enable automatic mounting of removable media was NOT ticked, see settings settings in comment 9

Should that be enabled by default ?
There is NO popup telling you a new device is attached.
Comment 19 Mindaugas Baranauskas 2010-06-19 14:25:23 UTC
Created attachment 370283 [details]
Instruction how to enable popup, if hal is already installed.

This is cosmetic bug:
Popup will appear after you enable an appropriate KDE widget, 
wich is not enabled by default in openSUSE 11.3 RC1.
See video – an attachment.
Comment 20 Mindaugas Baranauskas 2010-06-19 14:48:53 UTC
Glenn, 

If you confirm, that enabling of „Device Notifer“ helps for you, 
we will close this bug, because „Device Notifer“ will be by default in RC2 (see [url=https://bugzilla.novell.com/show_bug.cgi?id=597162]BUG#597162[/url])
Comment 21 Mindaugas Baranauskas 2010-06-19 14:50:05 UTC
ups... BUG#597162
Comment 22 Petri Järvenpää 2010-06-19 16:03:17 UTC
(In reply to comment #20)
> Glenn, 
> 
> If you confirm, that enabling of „Device Notifer“ helps for you, 
> we will close this bug, because „Device Notifer“ will be by default in RC2 (see
> [url=https://bugzilla.novell.com/show_bug.cgi?id=597162]BUG#597162[/url])

Hi,
I have clean install from openSUSE 11.3 RC1 KDE Live CD. Simply adding the Device Notifier widget does NOT help. It is missing true, but adding it does not show the popup, or anything else, when USB stick is connected. The media is not even shown in Dolphin.

I think the problem might be that the HAL is not installed by default?
linux-sljx:~ # zypper se hal
Loading repository data...
Reading installed packages...

S | Name                      | Summary                                | Type   
--+---------------------------+----------------------------------------+--------
  | gimp-module-hal           | The GNU Image Manipulation Program --> | package
  | gstreamer-0_10-plugin-hal | GStreamer Streaming-Media Framework -> | package
  | hal                       | Daemon for Collecting Hardware Infor-> | package
  | hal-32bit                 | Daemon for Collecting Hardware Infor-> | package
  | hal-devel                 | Developer package for HAL              | package
  | hal-devel-32bit           | Developer package for HAL              | package
  | hal-doc                   | Daemon for Collecting Hardware Infor-> | package


SO there seems multiple problems, one is missing Device Notifier plasmoid, second seems to be missing HAL.
Comment 23 Petri Järvenpää 2010-06-19 16:07:01 UTC
(In reply to comment #22)
> (In reply to comment #20)

Hi again, I can confirm that doing "zypper in hal" (installing hal), adding the Device Notifier plasmoid and then rebooting solves the problem. After those steps the Device Notifier shows popup correctly and drive is mountable by clicking it. This should be fixed for the openSUSE 11.1 final release.
Comment 24 Forgotten User xnWyJO8MVA 2010-06-20 08:45:11 UTC
I have the same problem openSUSE 11.3 RC1 KDE 4.4.3 after installation is missing Device Notifier plasmoid
Comment 25 Robert Ish 2010-06-20 09:24:11 UTC
I'm using RC1 KDE 4.4.3 I have installed the HAL yet still USB sticks are not mounted here is the dmesg:
 860.782013] usb 1-6: new high speed USB device using ehci_hcd and address 4
[  860.896889] usb 1-6: New USB device found, idVendor=0781, idProduct=5406
[  860.896895] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  860.896899] usb 1-6: Product: U3 Cruzer Micro
[  860.896901] usb 1-6: Manufacturer: SanDisk
[  860.896903] usb 1-6: SerialNumber: 1739600EF19311AA
[  860.899068] scsi6 : usb-storage 1-6:1.0
[  861.905582] scsi 6:0:0:0: Direct-Access     SanDisk  U3 Cruzer Micro  8.02 PQ: 0 ANSI: 0 CCS
[  861.907063] sd 6:0:0:0: Attached scsi generic sg6 type 0
[  861.907594] scsi 6:0:0:1: CD-ROM            SanDisk  U3 Cruzer Micro  8.02 PQ: 0 ANSI: 0
[  861.909453] sd 6:0:0:0: [sdf] 3915775 512-byte logical blocks: (2.00 GB/1.86 GiB)
[  861.910706] sd 6:0:0:0: [sdf] Write Protect is off
[  861.910713] sd 6:0:0:0: [sdf] Mode Sense: 45 00 00 08
[  861.910716] sd 6:0:0:0: [sdf] Assuming drive cache: write through
[  861.912205] sr1: scsi3-mmc drive: 48x/48x tray
[  861.912348] sr 6:0:0:1: Attached scsi CD-ROM sr1
[  861.912431] sr 6:0:0:1: Attached scsi generic sg7 type 5
[  861.916316] sd 6:0:0:0: [sdf] Assuming drive cache: write through
[  861.916327]  sdf: sdf1
[  861.919316] sd 6:0:0:0: [sdf] Assuming drive cache: write through
[  861.919323] sd 6:0:0:0: [sdf] Attached SCSI removable disk
Comment 26 Robert Ish 2010-06-20 09:39:38 UTC
My above post was in error I needed to restart after the installation of HAL.
I did not do a restart until after I wrote the above post. Once that was done cd/dvd and usb works.
All in all installing hal is what is needed. The possible fix a default install of HAL?
Comment 27 Andrey Karepin 2010-06-20 10:25:13 UTC
I have started haldemon as is written here 
https://bugzilla.novell.com/show_bug.cgi?id=613898
and this problem has disappeared
Comment 28 Mindaugas Baranauskas 2010-06-20 13:36:10 UTC
(In reply to bug#613898 comment #23)
> I think, there is already some fix in factory as hal is installed and running
> when installing with post-RC1
> http://download.opensuse.org/factory/iso/openSUSE-KDE-LiveCD-x86_64-Build0679-Media.iso
> 
> A workaround for those who installed MS7/RC1, could be thus:
> sudo zypper in hal ; sudo /sbin/insserv haldaemon ; sudo /sbin/reboot

I close this bug