LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-31-2009, 03:19 PM   #1
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Rep: Reputation: 15
Suse 11.0, DVD loading error: org.freedesktop.Hal.Device.PermissionDeniedByPolicy.


Hi,
Every time I load a DVD, either a movie or a data DVD I have burned myself (so no DRM), Dolphin V1.1 on KDE 4.1.3 on Suse 11.1, 64 bit always gives me the same error:
An error occurred while accessing 'dvd_label', the system responded:
org.freedesktop.Hal.Device.PermissionDeniedByPolicy:
org.freedesktop.hal.storage.mount-removable
auth_admin_keep_always <-- (action, result).

I can't even look at my old data backup DVDs. What' the scoop?

Thank you,
BrianP
 
Old 02-02-2009, 06:13 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,623

Rep: Reputation: Disabled
Hmm. What permissions does the device have? Is it mounted in /etc/fstab?
 
Old 02-02-2009, 12:07 PM   #3
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Original Poster
Rep: Reputation: 15
dvd device permissions and fstab

JZL240I-U,
Is this what you need?
Thank you,
BrianP

godzilla2:/tera # cat /etc/fstab
#//godzilla/godzilla_d /mnt/godzilla_d smbfs defaults 0 0
#//godzilla/godzilla_t /mnt/godzilla_t smbfs defaults 0 0


/dev/disk/by-id/ata-WDC_WD3000GLFS-01F8U0_WD-WXL308003092-part3 swap swap defaults 0 0
/dev/disk/by-id/ata-Hitachi_HUA721010KLA330_GTE005PBG81J2L-part3 swap swap defaults 0 0
/dev/disk/by-id/ata-SAMSUNG_HD103UJ_S13PJDWQ800578-part2 swap swap defaults 0 0
/dev/disk/by-id/ata-Hitachi_HUA721010KLA330_GTE005PBG81J2L-part1 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD3000GLFS-01F8U0_WD-WXL308003092-part4 /home ext3 defaults 1 2
/dev/disk/by-id/usb-ST340063_3A_354E46325631544B-0:0-part1 /mnt/BrianPBarnz ntfs-3g defaults,force 0 0
UUID=909803B698039A3C /mnt/extera ntfs-3g defaults,force 0 0

#/dev/disk/by-id/ata-SAMSUNG_HD103UJ_S13PJDWQ800578-part1 /mnt/extera ntfs-3g defaults,force 0 0
#/dev/disk/by-id/ata-SAMSUNG_HD103UJ_S13PJDWQ800578-part1 /mnt/extera ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
#/dev/disk/by-id/scsi-1AMCC_PAKWE2YLE7C84C00E1BC-part1 /r5 ext3 defaults 1 2
/dev/disk/by-id/ata-Hitachi_HUA721010KLA330_GTE005PBG81J2L-part2 /tera ext2 defaults 1 2
/dev/disk/by-id/ata-WDC_WD3000GLFS-01F8U0_WD-WXL308003092-part2 /usys ext3 defaults 1 2
/dev/disk/by-id/ata-ST3640323AS_5VK00TJX-part5 /windows/c ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-ST3640323AS_5VK00TJX-part2 /windows/d ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-ST3640323AS_5VK00TJX-part3 /windows/e ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-ST3640323AS_5VK00TJX-part4 /windows/f ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
godzilla2:/tera # ls -al /media/
total 12
drwxr-xr-x 3 root root 4096 2009-02-01 13:09 .
drwxr-xr-x 25 root root 4096 2009-02-02 11:00 ..
drwxr-xr-x 2 root root 4096 2009-01-31 20:34 dvd
-rw------- 1 root root 0 2009-02-01 13:09 .hal-mtab-lock
 
Old 02-03-2009, 05:00 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,623

Rep: Reputation: Disabled
Thanks, so it is not mounted by fstab (dear me, you sure do have a lot of disks).

Now comes the part where I'm not really an expert. HAL is the hardware abstraction layer, which to my knowledge knows no policy by itself. That is usually the domain of "udev". Have a look at

http://www.reactivated.net/writing_udev_rules.html
http://gentoo-wiki.com/HOWTO_Customizing_UDEV
http://linuxcommand.org/man_pages/udev8.html
http://ftp.kernel.org/pub/linux/util...tplug/udev-FAQ
http://www.linuxfromscratch.org/lfs/...er07/udev.html

But maybe, just maybe, it is faster to have a look at your file ".hal-mtab-lock". What does it contain? "cat /etc/mtab" lists the mounted devices as you probably know. Why not renaming that ".hal-mtab-lock" for a test and try to access your DVD-drive...
 
Old 02-03-2009, 11:39 AM   #5
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Original Poster
Rep: Reputation: 15
DVD automount/umount problem solved!!!

JZL240I-U,

I looked at my working Ubuntu fstab and it had 1 /dev/cdrom0 device in it. Suse didn't think I needed any. Suse apparently calls them "SR"s (whatever that is). By monkeying around with my fstab and adding these 2 lines, I slam a dvd in and it mounts. I hit the eject button on the drive or drive->right_click->eject from dolphin, and (within a few seconds) it pops out.

/dev/sr0 /media/bluray udf,iso9660 user,noauto,exec,utf8,ro 0 0
/dev/sr1 /media/dvd udf,iso9660 user,noauto,exec,utf8,ro 0 0

godzilla2:/home/brianp/download # grep media /etc/mtab
/dev/sr1 /media/dvd iso9660 ro,nosuid,nodev,utf8,user=brianp 0 0
/dev/sr0 /media/bluray udf ro,nosuid,nodev,utf8,user=brianp 0 0

I wonder why a fresh install of Suse 11.1 didn't find and install them. The Blu-Ray is a SATA device whereas the dvd is a dumb old 16x, IDE writer, a master on the PATA controller. Hmmm.

In the voice of Ricky Ricardo, "SuuuSeee, you got a lot a splainin to do!"

Thanks for your help,

BrianP
 
Old 02-04-2009, 02:34 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,623

Rep: Reputation: Disabled
Hi Brian, glad you solved it.

SuSE doesn't put it into fstab just because they do use udev (that's why I mentioned it in my earlier post). udev has an auto-recognition (or whatever they call it). When I pop in a CD or an USB-stick it gets mounted automatically and I get within a few seconds a window asking me what to do, ignore, open in Konqueror, starting K3b, getting pictures with digicam... It is even context sensitive insofar as it won't offer digicam, when there are no pictures or no K3b with no audio.

sr means just a SCSI device, removable media are considered to be of that type, why ever...

Btw you mounted them read only, that might cause problems when / if you want to burn something.

And just to satisfy my curiosity ... what is really in ".hal-mtab-lock"? Did you try and rename it (don't forget to comment out those lines in fstab and call "mount -a").
 
Old 02-04-2009, 11:48 AM   #7
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Original Poster
Rep: Reputation: 15
udev and .hal-mtab-lock

JZL240I-U,
I do have a udevd daemon (or maybe it is a gremlin) running. Strangely enough, Dolphin can sort of see my Razr phone, but I get the same old, dumb errors when I try to access it. I just use the usb to charge it anyway and I can use my laptop to read/write to it.

Come to think of it Ubuntu 8.10 never worked right with my D700 camera. It would show thumbnails in f-spot and then core dump as soon as I tried to download the pix. I just open my xp laptop, plug it in there and use my Samba map to dump it here on Godzilla. I have xp setup to just treat usb devs as plain old directories rather than pestering me to launch some funky app to manage it for me.

It would be nice, I suppose, to have a mount command for my phone and camera so I can at least hack them in by hand if necessary. I installed Floola and KMobile Tools, but they don't work. I realize that I do have somewhat bleeding edge hardware with the P45, DDR3 chipset. Linux tends to work better on 5+ year old, pedestrian hardware. Drat!

The .hal-mtab* files are gone. As I recall, they had 0 bytes. I did nuke it as root to try to fix the problem or possibly exacerbate it. It came right back.

I can burn DVDs with no problem with K3b. I just burned a Mondo .iso of my root and home dirs.

Thank you for your help,

Brian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
freedesktop.org down? Brent74 Linux - Software 6 06-19-2017 07:29 PM
hacking the /org/freedesktop/hal/udev_event socket arvind.ayyangar Linux - Networking 1 08-17-2006 05:19 PM
hacking the /org/freedesktop/hal/udev_event socket arvind.ayyangar Programming 1 08-17-2006 04:11 PM
Freedesktop.org grassmunk Slackware 3 06-18-2004 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration