Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde-3.4.0 media ioslave problem [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Mon Mar 21, 2005 7:54 pm    Post subject: kde-3.4.0 media ioslave problem [solved] Reply with quote

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
View user's profile Send private message
taiwan
n00b
n00b


Joined: 16 Apr 2002
Posts: 51

PostPosted: Mon Mar 21, 2005 8:15 pm    Post subject: Reply with quote

I have the same probleme .
no solution for the moment .
Back to top
View user's profile Send private message
noergeli
Apprentice
Apprentice


Joined: 05 Oct 2004
Posts: 205
Location: Hamburg, Gemany

PostPosted: Tue Mar 22, 2005 12:42 pm    Post subject: Reply with 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
Back to top
View user's profile Send private message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Tue Mar 22, 2005 4:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Epyon
l33t
l33t


Joined: 11 Sep 2003
Posts: 754
Location: NJ, USA

PostPosted: Tue Mar 22, 2005 4:50 pm    Post subject: Reply with quote

I've got the same problem with the thing dying. Annoying.
Back to top
View user's profile Send private message
superstoned
Guru
Guru


Joined: 17 Dec 2004
Posts: 432

PostPosted: Tue Mar 22, 2005 6:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
noergeli
Apprentice
Apprentice


Joined: 05 Oct 2004
Posts: 205
Location: Hamburg, Gemany

PostPosted: Tue Mar 22, 2005 6:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Tue Mar 22, 2005 7:00 pm    Post subject: Reply with quote

I already commited a bug to the kde bugtracker as well as to the gentoo bugtracker
http://bugs.kde.org/show_bug.cgi?id=102086

Maybe you want also take a look at a interesting howto I found at the gentoo wiki.
http://wiki.kde.org/tiki-index.php?page=DBUS

At the momement I try out this article and pmount.
https://bugs.gentoo.org/show_bug.cgi?id=69575
_________________
Got a question? - http://justfuckinggoogleit.com/
Back to top
View user's profile Send private message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Tue Mar 22, 2005 7:05 pm    Post subject: Reply with quote

Just emerge pmount and mount like magic!!
_________________
Got a question? - http://justfuckinggoogleit.com/
Back to top
View user's profile Send private message
Garak128
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 93

PostPosted: Tue Mar 22, 2005 10:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Tue Mar 22, 2005 11:21 pm    Post subject: Reply with quote

what version of hald / dbus do you have?
_________________
Got a question? - http://justfuckinggoogleit.com/
Back to top
View user's profile Send private message
Garak128
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 93

PostPosted: Tue Mar 22, 2005 11:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
kmare
l33t
l33t


Joined: 20 Nov 2004
Posts: 619
Location: Thessaloniki, Greece

PostPosted: Tue Mar 22, 2005 11:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Wed Mar 23, 2005 1:16 am    Post subject: Reply with quote

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
View user's profile Send private message
kmare
l33t
l33t


Joined: 20 Nov 2004
Posts: 619
Location: Thessaloniki, Greece

PostPosted: Wed Mar 23, 2005 2:11 am    Post subject: Reply with quote

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
View user's profile Send private message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Wed Mar 23, 2005 1:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
kmare
l33t
l33t


Joined: 20 Nov 2004
Posts: 619
Location: Thessaloniki, Greece

PostPosted: Wed Mar 23, 2005 6:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Thu Apr 07, 2005 5:45 am    Post subject: Reply with quote

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
View user's profile Send private message
yanos
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2003
Posts: 149
Location: montreal, canada

PostPosted: Thu Apr 07, 2005 8:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Sat Apr 09, 2005 5:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Loke
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 274
Location: Norway

PostPosted: Tue Apr 12, 2005 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Wed Apr 13, 2005 5:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
superstoned
Guru
Guru


Joined: 17 Dec 2004
Posts: 432

PostPosted: Sat Apr 16, 2005 3:09 pm    Post subject: Reply with quote

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 :D

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 :D
Back to top
View user's profile Send private message
aries
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2004
Posts: 127
Location: Sliedrecht the Netherlands

PostPosted: Tue May 10, 2005 7:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
superstoned
Guru
Guru


Joined: 17 Dec 2004
Posts: 432

PostPosted: Wed May 11, 2005 7:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum