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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-31-2009, 02:19 PM
|
#1
|
Member
Registered: Dec 2005
Posts: 143
Rep:
|
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
|
|
|
02-02-2009, 05:13 AM
|
#2
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639
Rep: 
|
Hmm. What permissions does the device have? Is it mounted in /etc/fstab?
|
|
|
02-02-2009, 11:07 AM
|
#3
|
Member
Registered: Dec 2005
Posts: 143
Original Poster
Rep:
|
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
|
|
|
02-03-2009, 04:00 AM
|
#4
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639
Rep: 
|
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...
|
|
|
02-03-2009, 10:39 AM
|
#5
|
Member
Registered: Dec 2005
Posts: 143
Original Poster
Rep:
|
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
|
|
|
02-04-2009, 01:34 AM
|
#6
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639
Rep: 
|
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").
|
|
|
02-04-2009, 10:48 AM
|
#7
|
Member
Registered: Dec 2005
Posts: 143
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|