Web Projects Outsourcing

Udev Downgrade to Solve CD Automont Problem in Fedora 11

This is free software, mate, quite a good pretext for “good people”, and we have to know the ways to make it work. The below partially solves the problem we faced here, but only partially.

The problem faced: no CD/DVD automount in Fedora 11
Solution: downgrade of udev
Result: kinda ambiguous, just read on…

After quite a lot of googling, I came to the conclusion it must be something udev-related (thanx to some Arch Linux and Ubuntu-related forum, however they were not giving any clear answer), thus udev-141-4 to be replaced with udev-141-3. The solution (DISCLAIMER: the below may damage your installation, do at your own risk):

  1. Update kernel as described here:
sudo yum update kernel kernel-devel kernel-headers kmod-nvidia ntfs-3g *virt*

Update all

sudo yum update
  1. Get the needed package from page //fedora-arm.wantstofly.org/koji/buildinfo?buildID=12875 (version 141-3 is workable), download the src.rpm to ~/software
  2. Build the package

sudo yum -y install libselinux-static libsepol-static
sudo rpmbuild --rebuild ~/software/udev-141-3.fc11.src.rpm
cd  /home/USERNAME/rpmbuild/RPMS/x86_64/
sudo yum downgrade --nogpgcheck udev-141-3.fc11.x86_64.rpm libvolume_id-141-3.fc11.x86_64.rpm  libudev0-141-3.fc11.x86_64.rpm
  1. Now comes the funny stuff (the whole thing does not work without that), open two files and watch that:
  • /boot/grub/grub.conf does not contain “combined_mode=libata” in the kernel string, like:

kernel /vmlinuz-2.6.29.6-213.fc11.x86_64 ro root=UUID=41232f93-89f8-41ab-8b38-0d2133d8d2cd vga=791 rhgb quiet
  • /etc/fstab has /dev/sr0 line (normally previously required) commented out, like :
#/dev/sr0 /mnt/cdrom udf,iso9660 user,unhide,noauto,owner,ro,users,iocharset=utf8

Reboot

Results I could test within the shortest time:

  • mounts a blank DVD (writing not tested, almost sure it works)
  • mounts an Audio CD (you can copy files with drag-drop); playing the CD does not work due to the beautiful pulseaudio (this is another bug!)
  • mounts a factory data DVD, copying possible
  • does not mount a user-written  mutlisession DVD (which was the purpose of the time spent for the above), inserting ends up with the following error:

org.freedesktop.DeviceKit.Disks.Error.Failed: Error mounting: mount exited with exit code 32: mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog – try
dmesg | tail or so

Sad!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.