Menu

Just updated to 1.0.2 on Fedora 16 and mounting is a problem

Help
Stuart
2012-06-11
2012-06-23
  • Stuart

    Stuart - 2012-06-11

    Now when I mount a share for the first time I get two messages one saying it mounted OK and the other that it failed, however the mount works and I can access the share. When I unmount the share I get also get two notifications one that it works and another the failure. After this unmount I have to Scan Computer again to get the share to mount. So it works kin d of and is usable with a bit of fiddling.

    Is this a known issue? If not what can I do to help debug?

    Stuart

     
    • Alexander Reinholdt

      The Fedora packager also notified me that he got the notification that mounting failed while the mount actually worked. At the moment, it seems that only Fedora is affected...

      Can you please give me the error message that was returned by mount.cifs and is attached to the notification? Or did the notification only read "Mounting the share //SERVER//Share failed."?

       
  • Stuart

    Stuart - 2012-06-12

    All I get in the notification is that mounting failed as you said. Messages log shows

    Jun 12 07:54:08 crowhill1 dbus[1096]: [system] Activating service name='de.berlios.smb4k.mounthelper' (using servicehelper)
    Jun 12 07:54:08 crowhill1 dbus-daemon[1096]: dbus[1096]: [system] Activating service name='de.berlios.smb4k.mounthelper' (using servicehelper)
    Jun 12 07:54:09 crowhill1 dbus[1096]: [system] Successfully activated service 'de.berlios.smb4k.mounthelper'
    Jun 12 07:54:09 crowhill1 dbus-daemon[1096]: dbus[1096]: [system] Successfully activated service 'de.berlios.smb4k.mounthelper'

    Is that any help?

    Stuart

     
    • Alexander Reinholdt

      Looking at the code, the only possibility that an error message like this can occur is that output was received on stderr that only contains spaces... I will take a look at this. Would you be willing to test a version with a potential fix?

       
  • Stuart

    Stuart - 2012-06-14

    Alexander I'll give it a go if/when you come up with something.

    Stuart

     
    • Alexander Reinholdt

      I hope my guess was right and the attached patch fixes the problem. Can you please try it and give me some feedback?

       

      Last edit: Alexander Reinholdt 2012-06-16
  • Stuart

    Stuart - 2012-06-18

    Well I just gave it a go this morning, not sure if I did it right as I am not very familiar with generating stuff like this, however it seemed to compile OK but I still have the problem with the same symptoms.

    Running from the command line I see the following messages come up when trying to mount a share:-

    smb4k(5653)/kdeui (KIconLoader) KIconLoaderPrivate::normalizeIconMetadata: Neither size nor group specified!
    smb4k(5653)/kdeui (KIconLoader) KIconLoaderPrivate::normalizeIconMetadata: Neither size nor group specified!

    have no idea if this helps or not!

    Stuart

     
  • Stuart

    Stuart - 2012-06-18

    Been double checking everything and now tested again, still fails. Meesages log shows this series of 4 messages on each attempt to mount or unmount the share:-

    Jun 18 10:13:01 crowhill1 dbus[1108]: [system] Activating service name='de.berlios.smb4k.mounthelper' (using servicehelper)
    Jun 18 10:13:01 crowhill1 dbus-daemon[1108]: dbus[1108]: [system] Activating service name='de.berlios.smb4k.mounthelper' (using servicehelper)
    Jun 18 10:13:01 crowhill1 dbus[1108]: [system] Successfully activated service 'de.berlios.smb4k.mounthelper'
    Jun 18 10:13:01 crowhill1 dbus-daemon[1108]: dbus[1108]: [system] Successfully activated service 'de.berlios.smb4k.mounthelper'

    To a layman like me it might seem like the mount and unmount is issued twice so the 1st works and the second fails.

    Stuart

     

    Last edit: Stuart 2012-06-18
    • Alexander Reinholdt

      I need to investigate this further. In my /var/log/syslog each message only occurs once and not twice... Maybe it's best to install Fedora 17 in Virtualbox, install Smb4K and see how it behaves there.

       
  • Stuart

    Stuart - 2012-06-19

    Same thing happens in Fedora 17 in Virtualbox two sets of messages. This is using the distibution version of SMB4K not the modified version.

    Stuart

     

    Last edit: Stuart 2012-06-19
    • Alexander Reinholdt

      Thank you for the information. I won't be able to investigate this issue before the weekend, but I hope will be able to find a solution then.

       
  • Stuart

    Stuart - 2012-06-21

    Thanks, its not a huge problem more of an annoyance....

    Stuart

     
  • Alexander Reinholdt

    I found and fixed the problem(s). See attached patch. I will release Smb4K 1.0.3 shortly.

     
  • Stuart

    Stuart - 2012-06-23

    Thanks Alexander.... I'll give a recompile a go later.

    Stuart

     
  • Stuart

    Stuart - 2012-06-23

    Alexander I did a new compile on a fresh copy of the source with this latest patch and all is working perfectly. Thanks for your effort here...

    Stuart

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.