I have gentoo installed on my PowerMac G5. I noticed that when I would insert a cd into the drive that gentoo would not mount the cd. Also when I tried to eject the command gave me the error of /dev/cdrom not found. This is the troubleshooting I have done so far. 1. discovered that the rules in /lib/udev/rules.d were looking for block devices marked as "sr*" to symlink to /dev/cdrom. It did not create the symlink, becasue my cdom is identified /dev/hda. So I added this to /etc/udev/rules.d/10-local.rules: SUBSYSTEM=="block", KERNEL=="hda", SYMLINK+="cdrom", GROUP="cdrom" I then reloaded the rules with 'udevadm control -R', the symlink was created and I was open the drive with the eject command. 2. I tried to mount the cdrom with udisksctl command and recieved the following error: G5-Gentoo rican-linux # udisksctl mount -b /dev/cdrom Object /org/freedesktop/UDisks2/block_devices/hda is not a mountable filesystem. This is where I am stuck Thanks! Herminio
G5-Gentoo rican-linux # emerge --info Portage 2.2.26 (python 3.4.3-final-0, default/linux/powerpc/ppc64/13.0/32bit-userland/desktop, gcc-4.9.3, glibc-2.22-r4, 4.1.15-gentoo-r1 ppc64) ================================================================= System uname: Linux-4.1.15-gentoo-r1-ppc64-PPC970,_altivec_supported-with-gentoo-2.2 KiB Mem: 4007816 total, 21116 free KiB Swap: 2097148 total, 2096924 free Timestamp of repository gentoo: Tue, 07 Jun 2016 00:30:01 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r1::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 rican-linux location: /usr/local/portage masters: gentoo ACCEPT_KEYWORDS="ppc" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=970" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -mcpu=970" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://gentoo.mirrors.tera-byte.com/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://lug.mtu.edu/gentoo/ http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ http://mirrors.rit.edu/gentoo/ http://mirror.iawnet.sandia.gov/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://mirror.lug.udel.edu/pub/gentoo/ http://cosmos.illinois.edu/pub/gentoo/ http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl alsa altivec berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gcc64 gdbm gif glamor gpm gtk iconv introspection ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp openssl pam pango pcre pdf png policykit ppc ppds pulseaudio qt3support qt4 readline sdl session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_PPC="32" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="radeon fbdev" XFCE_PLUGINS="brightness clock trash multiload-nandhp power" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
I think your kernel is mis-configured. /dev/hda is a block device provided by the IDE driver, which has long been obsolete and is unsupported by modern udev rules. You should disable CONFIG_IDE, and instead enable the corresponding CONFIG_ATA_* options.
I will try and report back this week. Thanks!
I made the changes to the kernel and did a reboot. Now the cdrom is shown as sr0. rican-linux@G5-Gentoo ~ $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 149.1G 0 disk ├─sda1 8:1 0 31.5K 0 part ├─sda2 8:2 0 800K 0 part ├─sda3 8:3 0 2G 0 part [SWAP] └─sda4 8:4 0 147.1G 0 part / sr0 11:0 1 169.2M 0 rom However it will not automount and I am still getting the following error rican-linux@G5-Gentoo ~ $ sudo udisksctl mount -b /dev/cdrom Object /org/freedesktop/UDisks2/block_devices/sr0 is not a mountable filesystem. Also I am seeing this in dmesg rican-linux@G5-Gentoo ~ $ dmesg | grep sr0 [ 1.749715] sr 4:0:0:0: [sr0] scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray [ 1.749994] sr 4:0:0:0: Attached scsi CD-ROM sr0 [ 101.449219] sr 4:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 101.449229] sr 4:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] [ 101.449237] sr 4:0:0:0: [sr0] tag#0 Add. Sense: Illegal mode for this track [ 101.449243] sr 4:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 01 52 68 00 00 02 00 [ 101.449248] blk_update_request: I/O error, dev sr0, sector 346528 [ 102.885203] sr 4:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 102.885211] sr 4:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] [ 102.885220] sr 4:0:0:0: [sr0] tag#0 Add. Sense: Illegal mode for this track [ 102.885226] sr 4:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 01 52 68 00 00 02 00 [ 102.885230] blk_update_request: I/O error, dev sr0, sector 346528 [ 102.885235] Buffer I/O error on dev sr0, logical block 43316, async page read [ 147.720338] sr 4:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 147.720347] sr 4:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] [ 147.720355] sr 4:0:0:0: [sr0] tag#0 Add. Sense: Illegal mode for this track [ 147.720361] sr 4:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 01 52 68 00 00 02 00 [ 147.720364] blk_update_request: I/O error, dev sr0, sector 346528 [ 149.153140] sr 4:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 149.153149] sr 4:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] [ 149.153156] sr 4:0:0:0: [sr0] tag#0 Add. Sense: Illegal mode for this track [ 149.153162] sr 4:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 01 52 68 00 00 02 00 [ 149.153167] blk_update_request: I/O error, dev sr0, sector 346528 [ 149.153171] Buffer I/O error on dev sr0, logical block 43316, async page read
Well, that just looks like you have a bad CD in the drive or your drive is dying.
I could beleieve that the cdrom is dying. However I can manually mount and ls the drive rican-linux@G5-Gentoo ~ $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 149.1G 0 disk ├─sda1 8:1 0 31.5K 0 part ├─sda2 8:2 0 800K 0 part ├─sda3 8:3 0 2G 0 part [SWAP] └─sda4 8:4 0 147.1G 0 part / sr0 11:0 1 169.2M 0 rom rican-linux@G5-Gentoo ~ $ sudo mount /dev/sr0 /mnt/cdrom/ Password: mount: /dev/sr0 is write-protected, mounting read-only rican-linux@G5-Gentoo ~ $ ls /mnt/cdrom/ boot etc image.squashfs livecd README.txt rican-linux@G5-Gentoo ~ $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 149.1G 0 disk ├─sda1 8:1 0 31.5K 0 part ├─sda2 8:2 0 800K 0 part ├─sda3 8:3 0 2G 0 part [SWAP] └─sda4 8:4 0 147.1G 0 part / sr0 11:0 1 169.2M 0 rom /mnt/cdrom
Hmm. It would be interesting to know what exactly udisks is doing differently from /bin/mount. I'm not quite sure how to determine that, but maybe the udisks maintainer(s) have an idea.
So I ran 'udisksctl monitor' then ran the following commands rican-linux@G5-Gentoo ~ $ sudo umount /dev/cdrom Password: rican-linux@G5-Gentoo ~ $ eject rican-linux@G5-Gentoo ~ $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 149.1G 0 disk ├─sda1 8:1 0 31.5K 0 part ├─sda2 8:2 0 800K 0 part ├─sda3 8:3 0 2G 0 part [SWAP] └─sda4 8:4 0 147.1G 0 part / sr0 11:0 1 169.2M 0 rom rican-linux@G5-Gentoo ~ $ sudo umount /dev/cdrom umount: /dev/cdrom: not mounted rican-linux@G5-Gentoo ~ $ sudo mount /dev/cdrom /mnt/cdrom/ mount: /dev/sr0 is write-protected, mounting read-only rican-linux@G5-Gentoo ~ $ sudo umount /dev/cdrom rican-linux@G5-Gentoo ~ $ eject I got the following output rican-linux@G5-Gentoo ~ $ sudo udiksctl monitor Password: sudo: udiksctl: command not found rican-linux@G5-Gentoo ~ $ su Password: G5-Gentoo rican-linux # udisk udiskie udiskie-mount udiskie-umount udisksctl G5-Gentoo rican-linux # udisk udiskie udiskie-mount udiskie-umount udisksctl G5-Gentoo rican-linux # udisksctl monitor Monitoring the udisks daemon. Press Ctrl+C to exit. 13:28:06.254: The udisks-daemon is running (name-owner :1.41). 13:28:06.528: /org/freedesktop/UDisks2/drives/ST3160023AS_3JS2D41Y: org.freedesktop.UDisks2.Drive.Ata: Properties Changed SmartUpdated: 1465849686 13:28:44.331: /org/freedesktop/UDisks2/block_devices/sr0: Removed interface org.freedesktop.UDisks2.Filesystem 13:28:49.057: /org/freedesktop/UDisks2/drives/HL_DT_ST_RW_2fDVD_GCC_4480B_HL_DT_ST_RW_DVD_GCC_4480B: org.freedesktop.UDisks2.Drive: Properties Changed TimeMediaDetected: 0 OpticalNumDataTracks: 0 OpticalNumTracks: 0 OpticalNumSessions: 0 Optical: false Media: MediaCompatibility: optical_cd optical_cd_r optical_cd_rw optical_dvd MediaAvailable: false Size: 0 13:28:49.068: /org/freedesktop/UDisks2/block_devices/sr0: org.freedesktop.UDisks2.Block: Properties Changed Size: 0 13:29:03.148: /org/freedesktop/UDisks2/drives/HL_DT_ST_RW_2fDVD_GCC_4480B_HL_DT_ST_RW_DVD_GCC_4480B: org.freedesktop.UDisks2.Drive: Properties Changed TimeMediaDetected: 1465849743143820 OpticalNumDataTracks: 1 OpticalNumTracks: 1 OpticalNumSessions: 1 Optical: true Media: optical_cd_r MediaAvailable: true Size: 177426432 13:29:03.150: /org/freedesktop/UDisks2/block_devices/sr0: org.freedesktop.UDisks2.Block: Properties Changed Size: 177426432 13:30:36.787: /org/freedesktop/UDisks2/block_devices/sr0: Added interface org.freedesktop.UDisks2.Filesystem MountPoints: /mnt/cdrom 13:31:12.702: /org/freedesktop/UDisks2/block_devices/sr0: Removed interface org.freedesktop.UDisks2.Filesystem 13:31:29.413: /org/freedesktop/UDisks2/drives/HL_DT_ST_RW_2fDVD_GCC_4480B_HL_DT_ST_RW_DVD_GCC_4480B: org.freedesktop.UDisks2.Drive: Properties Changed TimeMediaDetected: 0 OpticalNumDataTracks: 0 OpticalNumTracks: 0 OpticalNumSessions: 0 Optical: false Media: MediaAvailable: false Size: 0 13:31:29.423: /org/freedesktop/UDisks2/block_devices/sr0: org.freedesktop.UDisks2.Block: Properties Changed Size: 0 I inserted the disk again and only got this 13:35:53.485: /org/freedesktop/UDisks2/drives/HL_DT_ST_RW_2fDVD_GCC_4480B_HL_DT_ST_RW_DVD_GCC_4480B: org.freedesktop.UDisks2.Drive: Properties Changed TimeMediaDetected: 1465850153480497 OpticalNumDataTracks: 1 OpticalNumTracks: 1 OpticalNumSessions: 1 Optical: true Media: optical_cd_r MediaAvailable: true Size: 177426432 13:35:53.488: /org/freedesktop/UDisks2/block_devices/sr0: org.freedesktop.UDisks2.Block: Properties Changed Size: 177426432 It does not appear the udisk2 is trying to mount. Right now I have the /dev/cdrom line in /etc/fstab commented out because I did not think udisk2 needed it. SHould I uncomment, reboot and try again?
I uncommented my /dev/cdrom line in /etc/fstab (see below). I then rebooted and ran 'udisksctl monitor'. I inserted the cd and udisk recoginsed this then did nothing. I then manually mounted and unmounted the drive and udisk again recorded these actions. So it appears from some reason udisk can see the drive and know there is media in it, but it is not auto mounting. rican-linux@G5-Gentoo ~ $ cat /etc/fstab # /etc/fstab: static file system information. # # noatime turns off atimes for increased performance (atimes normally aren't # needed); notail increases performance of ReiserFS (at the expense of storage # efficiency). It's safe to drop the noatime options if you want and to # switch between notail / tail freely. # # The root filesystem should have a pass number of either 0 or 1. # All other filesystems should have a pass number of 0 or greater than 1. # # See the manpage fstab(5) for more information. # # <fs> <mountpoint> <type> <opts> <dump/pass> # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. #/dev/BOOT /boot ext2 noauto,noatime 1 2 /dev/sda4 / ext4 noatime,defaults 0 1 /dev/sda3 none swap sw 0 0 /dev/cdrom /mnt/cdrom auto noauto,ro,user 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0
Just to clear something up: udisks2 doesn't automount things by itself. If just provides a dbus interface that other programs can monitor for changes and can call to mount volumes as an unprivileged user. It should be automatically probing for a filesystem and adding that org.freedesktop.UDisks2.Filesystem interface. From your udisksctl monitor output, that doesn't seem to be happening, and that probably causes udisksctl mount to fail.
I see so udisks relies on other programs to mount devices via system call. So as a test I plugged in my USB and 'udisksctl monitor' running. When I clicked on the USB icon in Thunar I saw this entry 20:35:58.311: Added /org/freedesktop/UDisks2/jobs/0 org.freedesktop.UDisks2.Job: Bytes: 0 Cancelable: true ExpectedEndTime: 0 Objects: ['/org/freedesktop/UDisks2/block_devices/sdb1'] Operation: filesystem-mount Progress: 0.0 ProgressValid: false Rate: 0 StartTime: 1465875358299696 StartedByUID: 1000 20:35:58.333: /org/freedesktop/UDisks2/block_devices/sdb1: org.freedesktop.UDisks2.Filesystem: Properties Changed MountPoints: /run/media/rican-linux/4078-EED2 20:35:58.370: /org/freedesktop/UDisks2/jobs/0: org.freedesktop.UDisks2.Job::Completed (true, '') 20:35:58.374: Removed /org/freedesktop/UDisks2/jobs/0 So if I am understanding you udisks made a call to run the operation filesystem-mount? If so then the issue is why is this not happening when a cd is inserted?
In your example, the USB stick was not mounted until Thunar told udisks to mount it when you clicked on the icon. Nothing was automounted by udisks; rather it was requested to mount the device by your file manager. And again, I do not know why this does not work for your CD drive. I'm just clarifying exactly what udisks does.
Ok hmm so let me ask is udisk what create the USB icon in Thunar? Something is present the USB as mountable and displaying it in the file manager.
Thunar creates the icon, in response to a dbus message it receives from udisks. As I said in comment 10, udisks should be probing for a filesystem, but it does not seem to be doing that.
Thank you for the clarification.
I have finally found the fix! My cdrom automounts and is seen in Thunar. There are two things I did. The first I am not sure helped but I know the second one did. 1. I found a related bug report in redhat here: https://bugzilla.redhat.com/show_bug.cgi?id=1234317 They were reporting the same issues as I was and the fix was upgrading to verstion 2.28 of linux utils. So I upgraded to sys-apps/util-linux-2.28. This did nothing. I recieved the same erros in dmesg. 2. I have Debian and Gentoo dual booting on my PowerBook G4 for testing and comparssion. I examined how my /etc/fstab was set up under debian and matched the /dev/sr0 line with Gentoo /dev/sr0 /media/cdrom udf,iso9660 noauto,ro,user 0 0 I inserted the cdrom again and Thunar recognised it right away and I was able to browse. rican-linux@G5-Gentoo ~ $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 149.1G 0 disk ├─sda1 8:1 0 31.5K 0 part ├─sda2 8:2 0 800K 0 part ├─sda3 8:3 0 2G 0 part [SWAP] └─sda4 8:4 0 147.1G 0 part / sr0 11:0 1 310.9M 0 rom /media/cdrom ----from udevadm monitor--------- 12:44:48.672: /org/freedesktop/UDisks2/block_devices/sr0: org.freedesktop.UDisks2.Block: Properties Changed Configuration: [('fstab', {'fsname': <b'/dev/sr0'>, 'dir': <b'/media/cdrom'>, 'type': <b'udf,iso9960'>, 'opts': <b'noauto,ro,user'>, 'freq': <0>, 'passno': <0>})] 12:45:30.609: /org/freedesktop/UDisks2/block_devices/sr0: org.freedesktop.UDisks2.Block: Properties Changed Configuration: [('fstab', {'fsname': <b'/dev/sr0'>, 'dir': <b'/media/cdrom'>, 'type': <b'udf,iso9660'>, 'opts': <b'noauto,ro,user'>, 'freq': <0>, 'passno': <0>})] 12:45:49.190: /org/freedesktop/UDisks2/drives/HL_DT_ST_RW_2fDVD_GCC_4480B_HL_DT_ST_RW_DVD_GCC_4480B: org.freedesktop.UDisks2.Drive: Properties Changed TimeMediaDetected: 0 OpticalNumDataTracks: 0 OpticalNumTracks: 0 OpticalNumSessions: 0 Optical: false Media: MediaAvailable: false Size: 0 12:45:49.190: /org/freedesktop/UDisks2/block_devices/sr0: org.freedesktop.UDisks2.Block: Properties Changed Size: 0 12:46:07.848: /org/freedesktop/UDisks2/drives/HL_DT_ST_RW_2fDVD_GCC_4480B_HL_DT_ST_RW_DVD_GCC_4480B: org.freedesktop.UDisks2.Drive: Properties Changed TimeMediaDetected: 1466019967844441 OpticalNumDataTracks: 1 OpticalNumTracks: 1 OpticalNumSessions: 1 Optical: true Media: optical_cd_r MediaAvailable: true Size: 326017024 12:46:07.851: /org/freedesktop/UDisks2/block_devices/sr0: org.freedesktop.UDisks2.Block: Properties Changed Size: 326017024 12:46:17.527: /org/freedesktop/UDisks2/block_devices/sr0: Added interface org.freedesktop.UDisks2.Filesystem MountPoints: /media/cdrom ------------------------------------------------------------------------------ I still ahve nore work to do on the PowerBook. When I ever I disable CONFIG_IDE and rebuild the kernel I cannot boot and need to roll back. However the PowerMac G5 is now good!
One odd thing when I eject it from Thunar it ask for my password.
This can be closed. Thank you for you help and patience. In case you run into this again, This is everything I did to get automounting cdrom. *Note on G4 mcahines trying to disable IDE drivers in the kernel will cause the system not to boot. 1. added this udev rule SUBSYSTEM=="block", KERNEL=="hdc", SYMLINK+="cdrom", GROUP="cdrom" 2. Verified this line in fstab /dev/cdrom /media/cdrom udf,iso9660 noauto,user 0 0 3. added the following polkit rules polkit.addRule(function(action, subject) { if (action.id == "org.freedesktop.udisks2.filesystem-unmount-others" && subject.user == "rican-linux") { return "yes"; } }); polkit.addRule(function(action, subject) { if (action.id == "org.freedesktop.udisks2.filesystem-fstab" && subject.user == "rican-linux") { return "yes"; } }); polkit.addRule(function(action, subject) { if (action.id == "org.freedesktop.udisks2.eject-media" && subject.user == "rican-linux") { return "yes"; } }); reboot and I was done. again thanks
Thanks for feedback