LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-23-2005, 10:54 PM   #1
FreeThinkerJim
Member
 
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129

Rep: Reputation: 15
Udev upgrade breaks automounting memory cards on Gentoo


About a week ago I updated my Gentoo system by doing a emerge -u system. After I worked out the small upgrade hiccups, I noticed that gnome-volume-manager wasn't mounting my memory cards like it used to. After doing some digging, I think a udev upgrade was the culprit. (It upgraded from 045 to 068). If I plug in a card, dbus-monitor doesn't pick up anything as it did before the upgrade. I did find some references to /etc/hotplug.d and /etc/dev.d in the new udev rules file:

Code:
# be backward compatible for a while with the /etc/dev.d and /etc/hotplug.d/ systems
# run /etc/hotplug.d/ stuff only if we came from a hotplug event, not for udevstart
ENV{UDEVD_EVENT}=="1", RUN+="/sbin/udev_run_hotplugd"

# always run /etc/dev.d/ stuff for now.
RUN+="/sbin/udev_run_devd"
Apparently this is supposed to make sure that the hotplug stuff (like HAL and such) still works with newer udev versions, but it doesn't seem to be working for me. HAL doesn't even seem to even pick up the reader when it's plugged in. I figured those rules weren't doing their jobs, so I created this file:

Code:
RUN+="/etc/hotplug.d/default/default.hotplug"
RUN+="/etc/hotplug.d/default/20-hal.hotplug"
RUN+="/etc/dev.d/default/10-hal.dev"
I named this file 30-udev.rules, so that it would run before the default rules. With this rules file, dbus-monitor shows that hal picks up the memory card reader, so I think I'm getting close, but I'm not quite there yet. The problem is that it doesn't pick up the media like it used to. And gnome-volume-manager is configured to mount removable media. Has anyone ever seen something like this and fixed it?

Thanks in advance

EDIT: I fixed this by downgrading to udev 058. Still don't have a clue what's up with newer udev's though!

Last edited by FreeThinkerJim; 10-23-2005 at 11:27 PM.
 
Old 10-24-2005, 12:22 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
I've ran into a few bugs like that and went back a version or two to get something to work. If you put it in your package.mask file it will upgrade when a new version comes out and it may work then. May be something specific to that version and will be fixed later. I had to do that with Mozilla a while back. I assume you checked on the Gentoo forums to see if anyone else had a problem.

Also, be carefull when you do that etc-update, it can mess you up. I had my update last night to mess up my rsync server. I told it to change and it did. I should have looked more closely at what it wanted to change.

Glad you got it sorted.

 
Old 05-27-2006, 10:41 AM   #3
mangolicious
Member
 
Registered: Sep 2004
Location: Nowhere Special (if you don't get it, rent Blazing Saddles)
Distribution: Gentoo Linux
Posts: 63

Rep: Reputation: 15
I am having similar troubles with gnome volume manager. It won't mount anything automatically and I don't know why. It will update the "my computer" section in nautilus to display the new devices though, but when I double click on one to mount it, it gets mounted read-only. The usb drive in question is a sandisk cruzer micro 128 MB. It has two partitions on it: /dev/sda1 is vfat and /dev/sda2 is ext2. My user is in both the usb and plugdev groups, and the volume manager has been configured to automount removable media. Do you have any idea what's going on here or where I should look next to fix this problem?
 
  


Reply



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
automounting, udev, etc. mekoc Slackware 1 11-08-2005 06:38 AM
upgrade breaks phpldapadmin gdsword Debian 2 11-04-2005 03:41 AM
automounting usbkey using udev bbenn Linux - Software 0 10-04-2005 04:16 AM
AutoMounting/AutoPlugging for usb memory stick magnetoza Fedora 2 10-08-2004 02:33 PM
Mozilla upgrade to 1.7 breaks slack! slackhack Slackware 12 07-26-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:52 AM.

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