After upgrading to 11.4 no drives will auto-mount

I was using 11.3, everything worked fine
Upgraded to 11.4, now no drives will automount. As a result applications like Nero and K3B cannot find my DVD drive.
I can access the drives from an application like VLC where I can enter the device path /dev/dvd

Dmesg and tail -f /var/log/messages output the following error:
118.604577] udisks-daemon[6574]: segfault at 18 ip 00007f5597c6b990 sp 00007fffd2e65470 error 4 in libdbus-glib-1.so.2[7f5597c60000+20000]
118.757166] udisks-daemon[6580]: segfault at 18 ip 00007f557b302990 sp 00007fff8d0b6580 error 4 in libdbus-glib-1.so.2[7f557b2f7000+20000]
118.907891] udisks-daemon[6586]: segfault at 18 ip 00007fc9d760d990 sp 00007fff325449f0 error 4 in libdbus-glib-1.so.2[7fc9d7602000+20000]
119.057879] udisks-daemon[6592]: segfault at 18 ip 00007f327704d990 sp 00007fffd2319350 error 4 in libdbus-glib-1.so.2[7f3277042000+20000]
119.208674] udisks-daemon[6598]: segfault at 18 ip 00007fd7c2a49990 sp 00007fff4c2b1a90 error 4 in libdbus-glib-1.so.2[7fd7c2a3e000+20000]
119.358082] udisks-daemon[6604]: segfault at 18 ip 00007f404b0d7990 sp 00007fff3a4926a0 error 4 in libdbus-glib-1.so.2[7f404b0cc000+20000]
119.509471] udisks-daemon[6610]: segfault at 18 ip 00007fc35abbb990 sp 00007fff196ee0f0 error 4 in libdbus-glib-1.so.2[7fc35abb0000+20000]
119.551032] udisks-daemon[6616]: segfault at 18 ip 00007f8687818990 sp 00007fff8324c1f0 error 4 in libdbus-glib-1.so.2[7f868780d000+20000]
119.701658] udisks-daemon[6622]: segfault at 18 ip 00007ff29fb26990 sp 00007fff785736f0 error 4 in libdbus-glib-1.so.2[7ff29fb1b000+20000]
119.851642] udisks-daemon[6628]: segfault at 18 ip 00007f3acd6c3990 sp 00007fff7b88fd70 error 4 in libdbus-glib-1.so.2[7f3acd6b8000+20000]
123.773293] show_signal_msg: 19 callbacks suppressed

I tried replacing the libdbus-glib-1 file.
Added myself to the cdrom and disks groups

I suspect there is a bug or incompatablitiy with HAL/dbus/udisks but I cannot track it down.

Any advice?

On 2011-03-14 03:36, Randy1979 wrote:

> Dmesg and tail -f /var/log/messages output the following error:
> 118.604577] udisks-daemon[6574]: segfault at 18 ip 00007f5597c6b990 sp
> 00007fffd2e65470 error 4 in libdbus-glib-1.so.2[7f5597c60000+20000]

Bugzilla.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Did you check the settings ?

Personal Settings -> Removable Devices -> (check) Enable automatic mounting of removable devices

Yes automounting is on.
This also happens when Im logged in as root. I tried chmod 777 /dev/dvd/ also.

On 2011-03-14 20:36, Randy1979 wrote:
>
> Yes automounting is on.
> This also happens when Im logged in as root. I tried chmod 777
> /dev/dvd/ also.

All that is useless if one of the tools is crashing with a segfault.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Just a thought.
Do you see your drives in /media/ instead of /dev/?

That’s where everything is in both my 11.3 and 11.4.

I’m suspecting your 11.3 is actually an upgrade from an earlier version supporting the /dev/ path for backwards compatibility.

Also, IIRC earlier than 11.3 also supported Hotplug which has been deprecated in favor of udev for device recognition and mounting, also in 11.4 elimination of HAL which could have dropped Hotplug support finally and completely (Everyone is dropping HAL, not just openSUSE).

Tony

No they show up in /dev

Yes it is an upgrade. My system is still running HAL… so 11.4 shouldn’t even have that?

I downgraded udisks to 1.0.0.1-2, the newest version from 11.3, and now the drive detection and hot plug works.

Is the best solution to do a clean install of 11.4?

On 2011-03-15 15:06, Randy1979 wrote:

> I downgraded udisks to 1.0.0.1-2, the newest version from 11.3, and now
> the drive detection and hot plug works.

Check in YaST package management how many packages show in red. I’ll bet
you have a few.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

I went through and removed them except Kdenlive… I didnt remove it yet.
I installed the newest version of udisks again and the crash was back.

I disabled haldaemon and everything seems to work with out it. I thought that was related, but it doesnt seem to try and use it. I did not uninstall it however because it wanted to change all programs to i586 architecture vs 86_64 for some reason.

I guess for now I will leave it with the older udisks. I dont notice any performance problems or anything.

Is there a way to stop the sytem from auto-updating just udisks? It keeps trying to install the broken version.

You can blacklist packages from Yast right click the package and select the appropriate selection.

On 2011-03-15 19:36, Randy1979 wrote:
>
> I went through and removed them except Kdenlive…

Removed? You were supposed to upgrade things. Unless you mean packages that
are not in any repo, they remain from the previous version.

> Is there a way to stop the sytem from auto-updating just udisks? It
> keeps trying to install the broken version.

Better solve the inconsistencies in packages. Packages that were not
upgraded (blue), packages possibly downgraded (red)…


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Yeah the only ones in red had no repro, they could not be upgraded. I just removed them.
All packages should be updated, did zypper update and zypper dup. Then just removed the ones in red, they were things like ATM drivers which I have no use for.

Still got the segfault. Like I said Kdenlive is still in red I will try to remove it.

I notice laptop-mode-tools uses HAL and pm-profiler use that faulting library. I got rid of pm-profiler. Laptop-mode tools I set not to manage HAL. I havent tried re-upgrading udisks after that.

On 2011-03-16 16:36, Randy1979 wrote:
>
> robin_listas;2305568 Wrote:

> Still got the segfault. Like I said Kdenlive is still in red I will try
> to remove it.

Well, if it is udisks which is segfaulting, and it is the old version, you
have to upgrade it to the current version, or remove it.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

No the new version segfaults still. The old one is OK
I ran a strace in hopes of getting more info. Nothing stands out to me.
However it does not mount the DVD and USB disks. They show up in /media. K3B and device notifier don’s see it, and I get constant segfaults…

I’ll use the old version until I track down what it doesn’t like on my system.

>strace udisks --mount /dev/dvd
execve("/usr/bin/udisks", “udisks”, “–mount”, “/dev/dvd”], /* 84 vars */]) = 0
brk(0) = 0x60b000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f84d8b0e000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3

open("/usr/lib/locale/en_US.UTF-8/LC_TELEPHONE", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/en_US.utf8/LC_TELEPHONE", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=59, …}) = 0
mmap(NULL, 59, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f84d8b04000
close(3)

poll({fd=5, events=POLLIN}], 1, 24520) = 1 ({fd=5, revents=POLLIN}])
recvmsg(5, {msg_name(0)=NULL, msg_iov(1)={“l\2\1\1\30\0\0\0\23\0\0\0000\0\0\0\6\1s\0\7\0\0\0:1.1640\0”…, 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 88
recvmsg(5, 0x7fff97641d30, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f84d897f000
write(1, “Mounted /org/freedesktop/UDisks/”…, 67Mounted /org/freedesktop/UDisks/devices/sr0 at /media/STORYTELLING
) = 67
exit_group(0)

On 2011-03-17 03:06, Randy1979 wrote:
>
> No the new version segfaults still. The old one is OK
> I ran a strace in hopes of getting more info. Nothing stands out to
> me.

Mmm… if all your libraries are 11.4, you should report the segfault in
bugzilla. This should not happen.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)