Updated: Thu Mar 11, 2010 (07:00), A PHP / MySQL professional (10 yrs.exp.) is seeking employment outside Ukraine, CV and contact pages available at this site.

Welcome!

Contains materials for dummies This blog is for Linux dummies as just I am.

This blog contains various solutions and how-toes on the current release of Fedora Linux distribution and several Linux articles and tutorials.

View a PHP / MySQL / AJAX / JAVASCRIPT Freelancer Programmer profile on LinkedIn Follow me on twitter

Fedora Availability

Historically Test and General Availability releases happen at 10:00am Eastern US Time...

Announcement

A php/mysql freelancer programmer since 2001 is looking for contract work. Please use contact form at this page.

The full resume with examples of PHP/MySQL/Javascript projects, working experience and recommendations is available online from this page.

Get ioncube encoder

Ioncube encoder is the best solution for php developers

Ioncube encoder is the best solution for a php developer

Path: Blog > Linux > Hardware > Udev Downgrade to Solve CD Automont Problem in Fedora 11

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

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

4. 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

5. 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!

Support this site:        

Leave a comment

You must be logged in to post a comment.

Get a Free Web Project Quote from a PHP Freelancer Consultant


 
 
 
 

Fight Spam!   Add to Technorati Favorites Programming Blogs - BlogCatalog Blog Directory       Programming Blog Directory
Software   Top Blogs

blogarama - the blog directory