View previous topic :: View next topic |
Author |
Message |
hothead Apprentice
Joined: 02 Jul 2004 Posts: 277 Location: /dev/core
|
Posted: Mon Mar 21, 2005 7:54 pm Post subject: kde-3.4.0 media ioslave problem [solved] |
|
|
You need to install pmount in order to get the media:/ ioslave to work properly
an ebuild is available at https://bugs.gentoo.org/show_bug.cgi?id=69575
When trying to access a unmounted cd/dvd via the media ioslave
"I get a popup message "The process for the media protocol died unexpectedly."
Anyway the media seemed to get mounted. When I access the media for a second time after closing the popup message and the stalled mount window the contend of the media content is shown as expected. When I mount the device before accessing it there is no error message.
Does somebody has the same problem or better a solution?
Regards
hothead _________________ Got a question? - http://justfuckinggoogleit.com/
Last edited by hothead on Tue Mar 22, 2005 7:09 pm; edited 1 time in total |
|
Back to top |
|
|
taiwan n00b
Joined: 16 Apr 2002 Posts: 51
|
Posted: Mon Mar 21, 2005 8:15 pm Post subject: |
|
|
I have the same probleme .
no solution for the moment . |
|
Back to top |
|
|
noergeli Apprentice
Joined: 05 Oct 2004 Posts: 205 Location: Hamburg, Gemany
|
Posted: Tue Mar 22, 2005 12:42 pm Post subject: |
|
|
I have the same problem and also noticed that Video-DVDs are always shown as mounted (even when they're not). Choosing "open in new window" mounts them with the same pop-up error message. Hope that gets fixed in 3.4.1 |
|
Back to top |
|
|
hothead Apprentice
Joined: 02 Jul 2004 Posts: 277 Location: /dev/core
|
Posted: Tue Mar 22, 2005 4:44 pm Post subject: |
|
|
Quote: | I have the same problem and also noticed that Video-DVDs are always shown as mounted (even when they're not). Choosing "open in new window" mounts them with the same pop-up error message. Hope that gets fixed in 3.4.1 |
That's funny. For me it's exactly the other way around. Video-DVDs are always shown as unmounted (even when they are).
Could it be that it is a Gentoo specific problem?
Have you used the split ebuilds?
Maybe it's due to the split ebuilds or a wrong version of hal, when compiling kde?
I tried to recompile kdebase-kioslaves after emerging the newest hal - doesn't solve this problem. _________________ Got a question? - http://justfuckinggoogleit.com/ |
|
Back to top |
|
|
Epyon l33t
Joined: 11 Sep 2003 Posts: 754 Location: NJ, USA
|
Posted: Tue Mar 22, 2005 4:50 pm Post subject: |
|
|
I've got the same problem with the thing dying. Annoying. |
|
Back to top |
|
|
superstoned Guru
Joined: 17 Dec 2004 Posts: 432
|
Posted: Tue Mar 22, 2005 6:19 pm Post subject: |
|
|
is there already a bug on bugs.kde.org? if not, considder creating one... (after checking this problem also exists on eg a kubuntu livecd) |
|
Back to top |
|
|
noergeli Apprentice
Joined: 05 Oct 2004 Posts: 205 Location: Hamburg, Gemany
|
Posted: Tue Mar 22, 2005 6:26 pm Post subject: |
|
|
Well, i found a way to fix it. Reading a few posts on kde-bugs it seems that kded requires a binary called pmount. I couldn't find it in portage, so i got it from here. It needs sysfsutils to compile.
Don't know if it's a good solution, but at least it makes the media ioslave work without those errors. My Video-DVDs are still shown as mounted.
@hothead: I didn't use the split builds. I used the "DO_NOT_COMPILE" option on some packages, but not on kdebase, which seems to be the only relevant package to this issue. |
|
Back to top |
|
|
hothead Apprentice
Joined: 02 Jul 2004 Posts: 277 Location: /dev/core
|
|
Back to top |
|
|
hothead Apprentice
Joined: 02 Jul 2004 Posts: 277 Location: /dev/core
|
|
Back to top |
|
|
Garak128 Tux's lil' helper
Joined: 12 Mar 2004 Posts: 93
|
Posted: Tue Mar 22, 2005 10:54 pm Post subject: |
|
|
I emerge pmount, but it did nothing to help the problem.
So i read the manual. Ran a test mount with the command.. Then it worked next time..
But do i have to run it each time i boot? how does it work to fix that bug?
Eject command for kde ioslaves still won't work tho =/.
Works fine in console, but nothing happens for the rclick one. |
|
Back to top |
|
|
hothead Apprentice
Joined: 02 Jul 2004 Posts: 277 Location: /dev/core
|
|
Back to top |
|
|
Garak128 Tux's lil' helper
Joined: 12 Mar 2004 Posts: 93
|
Posted: Tue Mar 22, 2005 11:28 pm Post subject: |
|
|
actualy now it works, weird.
good enough heh.
version anyways:
Code: | Omega / # emerge -pv hal
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] sys-apps/hal-0.4.7 -debug -doc -pcmcia 0 kB
Total size of downloads: 0 kB
Omega / # emerge -pv dbus
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] sys-apps/dbus-0.23.4 [0.23.2-r1] +X -debug +gtk (-mono) +python +qt +xml2 1,258 kB
Total size of downloads: 1,258 kB
|
|
|
Back to top |
|
|
kmare l33t
Joined: 20 Nov 2004 Posts: 619 Location: Thessaloniki, Greece
|
Posted: Tue Mar 22, 2005 11:58 pm Post subject: |
|
|
hi,
I have the following problem. I can't see devices in media:/
although if I plug in a (eg) usb stick it shows up in media:/ and on the desktop... so it seems like hal/dbus is working just fine. Is there something I should do with fstab maybe?
thanx for any help |
|
Back to top |
|
|
hothead Apprentice
Joined: 02 Jul 2004 Posts: 277 Location: /dev/core
|
Posted: Wed Mar 23, 2005 1:16 am Post subject: |
|
|
Are you sure dbus and hald are running?
ps -A | grep dbu
ps -A | grep hald
a fstab edited by fsab-sync should look like that
Code: | # This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hdd /media/cdrecorder auto user,exec,noauto,managed 0 0 |
no need to do anything manually to fstab since fstab-sync should care. _________________ Got a question? - http://justfuckinggoogleit.com/ |
|
Back to top |
|
|
kmare l33t
Joined: 20 Nov 2004 Posts: 619 Location: Thessaloniki, Greece
|
Posted: Wed Mar 23, 2005 2:11 am Post subject: |
|
|
yes... dbus and hal are running... also the /etc/fstab is edited by fstab-sync... it's just that media:/ doesn't want to show anything. Only devices that I plug after the system is booted... no partition or dvdrom devices... thanx though
PS: I have hal and dbus to boot at the "default" runlevel. Should I put them at the "boot" maybe?
EDIT: there's no "managed" in fstab... I think that there should be a managed entry for each device handled by fstab-sync, right? |
|
Back to top |
|
|
hothead Apprentice
Joined: 02 Jul 2004 Posts: 277 Location: /dev/core
|
Posted: Wed Mar 23, 2005 1:12 pm Post subject: |
|
|
the case is that fstab-sync should do that for you.
Do you use udev? hald needs an udev enabled system. _________________ Got a question? - http://justfuckinggoogleit.com/ |
|
Back to top |
|
|
kmare l33t
Joined: 20 Nov 2004 Posts: 619 Location: Thessaloniki, Greece
|
Posted: Wed Mar 23, 2005 6:18 pm Post subject: |
|
|
yes... udev is installed and running...and I also disabled devfs... I really don't know what else to do... I read a lot about the subject and everything seems to be running as it should but I don't get my media:/ btw: when I had devfs enabled together with udev the devices were there, but I was getting some strange kernel messages. Reading someone's post the solution was to disable devfs, as I did...
anyway thank you for helping... |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Thu Apr 07, 2005 5:45 am Post subject: |
|
|
Got everything to work with default settings, all i had to do is add messagebus and haldaemon to my user's groups. |
|
Back to top |
|
|
yanos Tux's lil' helper
Joined: 11 Sep 2003 Posts: 149 Location: montreal, canada
|
Posted: Thu Apr 07, 2005 8:20 pm Post subject: |
|
|
The only thing not working for me is the eject command. It unmounts the cdrom but never eject it and then I have to switch to a console to 'eject /dev/hdwhatever'. Will we be able in the near future to simply push the eject button on the drive to get the disc back with the dbus-hal-media-slave scheme? |
|
Back to top |
|
|
davecs Guru
Joined: 08 Nov 2003 Posts: 436 Location: Dagenham, GB
|
Posted: Sat Apr 09, 2005 5:50 pm Post subject: |
|
|
I have installed pmount-0.7.1 alongside hal and dbus and it seems to work well. It produces an icon in konqueror "media:/" when you plug in USB storage or load an optical disk. By setting KDE background to display all devices except hard drives, both mounted and unmounted, everything is smooth. I particularly like that I get an unmounted icon when inserting a device, which I can then mount, unmount as required which disappears when I eject/remove the device.
yanos wrote: | The only thing not working for me is the eject command. It unmounts the cdrom but never eject it and then I have to switch to a console to 'eject /dev/hdwhatever'. Will we be able in the near future to simply push the eject button on the drive to get the disc back with the dbus-hal-media-slave scheme? |
I can only eject in two stages, one, unmount, two, eject. But I'm not complaining about that, I actually find that quite good.
My only problem with this is that I would like to name my devices that pop up, they seem to get named according to the volume label of the media, which I can rename, but next time if I have a different media in the same optical drive or card reader, I will have to rename it all over again. Also I do not seem to able to control the actual symbol the icon uses. I have named all my plug-in devices using udev, and I would like them to have icons of my choice, which I could select the symbol and label according to each device name (eg /dev/usbstorage/usbkey). I'm sure I am missing something simple. Is there a file I can edit to make this happen? _________________ Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a ) |
|
Back to top |
|
|
Loke Apprentice
Joined: 25 May 2002 Posts: 274 Location: Norway
|
Posted: Tue Apr 12, 2005 6:51 pm Post subject: |
|
|
In my opinion, pmount is *not* needed. I can view both mounted/unmounted cdroms, dvds and usbsticks through my media:/ protocol and on the desktop. And I can eject/umount/safely remove the hardware in any order I feel like also. And I do not have pmount installed on my system. My hotplugging is now working better than it ever has on any system Ive tried. You need the following packages: hal, udev and dbus. You should *not* use ivman together with KDE. Search the forums for an answer to why not.
Also, the following USE-flags are needed: USE="hal udev usb -devfsd" You might also throw in the following USE-flags, since they will provide alot of fun later on: USE="zeroconf kdeenablefinal" You will need to use KDE3.4 and recompile parts of KDE after adding hal and udev to your USE-flags, possibly kdelibs and kdebase.
Edit: You will also have to create a /media directory on the root filesystem. Your /etc/fstab should be automatically updated when plugging in the appropriate hardware, so it is no need to add an entry for removable medias (like cdroms, floppies, usbsticks etc) in /etc/fstab. _________________ I'm not saying there should be capital punishment for stupidity, I'm saying why don't we take the warning labels off of everything, and let the problem take care of itself? |
|
Back to top |
|
|
davecs Guru
Joined: 08 Nov 2003 Posts: 436 Location: Dagenham, GB
|
Posted: Wed Apr 13, 2005 5:15 pm Post subject: |
|
|
Loke wrote: | In my opinion, pmount is *not* needed. |
Maybe you're right, but I can only see as I find.
Before installing pmount, when I plugged in a storage device it mounted automatically, and I could not unmount it except as root. No problem for read-only sources, big problem for writeable storage devices.
Before installing pmount, my fstab file kept getting altered. Now it doesn't.
The only gripe I have is that I cannot give each icon popping up on the desktop the name and symbol I want. I can amend the name, and it stays amended when I reinsert, but if I put a different disk into the DVD drive (or a different card into the card reader) then I have to amend that name too, and so on...
That aside I like what's happening. Put something in, up pops an icon. Mount it, unmount it as much as you like. Pull it out, icon disappears. That is exactly what I wanted to happen. _________________ Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a ) |
|
Back to top |
|
|
superstoned Guru
Joined: 17 Dec 2004 Posts: 432
|
Posted: Sat Apr 16, 2005 3:09 pm Post subject: |
|
|
davecs wrote: | That aside I like what's happening. Put something in, up pops an icon. Mount it, unmount it as much as you like. Pull it out, icon disappears. That is exactly what I wanted to happen. |
It is wonderful, isn't it? I love it
pop in usb stick - icon appears on my desktop and in my taskbar. klik it, a window opens with its contents (you can even drop files directly on the icon!!! So I just select some files in amarok, drag'n'drop them on the usbstick icon on the kicker, and pop, they are copied!!! Love you, Aaron Seigo!). klik it and choose "remove safely" and pull out the plug. yep, won't get any better |
|
Back to top |
|
|
aries Tux's lil' helper
Joined: 03 May 2004 Posts: 127 Location: Sliedrecht the Netherlands
|
Posted: Tue May 10, 2005 7:23 pm Post subject: |
|
|
Maybe a bit off topic, but I have a question about ivman and pmount:
If I want to automount my USB harddisk or memorystick without KDE and without using a kind of fstab-sync (no window manager used, booted in the shell),
is that possible with HAL / udev / pmount and ivman?
Or does ivman always use fstab-sync? |
|
Back to top |
|
|
superstoned Guru
Joined: 17 Dec 2004 Posts: 432
|
Posted: Wed May 11, 2005 7:37 am Post subject: |
|
|
aries wrote: | Maybe a bit off topic, but I have a question about ivman and pmount:
If I want to automount my USB harddisk or memorystick without KDE and without using a kind of fstab-sync (no window manager used, booted in the shell),
is that possible with HAL / udev / pmount and ivman?
Or does ivman always use fstab-sync? |
why not use supermount. |
|
Back to top |
|
|
|