LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 08-09-2009, 10:18 PM   #1
MALDATA
Member
 
Registered: Mar 2005
Posts: 157

Rep: Reputation: 19
Gnome automount and udev confusion


I'm having some trouble with my fresh Gentoo install. I'm running Gnome, kernel 2.6.30 on a Core i7. Everything's pretty standard and most of it works fine. However, the Gnome automount doesn't work. I use USB drives constantly and it's really a hassle.

The problem is that I've been using Fedora for a few years, so I'm not used to setting these things up myself. The kernel is compiled properly according to http://www.gentoo.org/doc/en/udev-guide.xml and udev is installed. However, I noticed that udev wasn't in my default runlevel, so when I tried to run "/etc/init.d/udev start" I got this:

* The udev init-script is written for baselayout-2!
* Please do not use it with baselayout-1!.

So I started wondering if that had something to do with it. I could be completely wrong. Anyone got some ideas to nudge me in the right direction?

Thanks
 
Old 08-09-2009, 11:00 PM   #2
MALDATA
Member
 
Registered: Mar 2005
Posts: 157

Original Poster
Rep: Reputation: 19
Also, the "emerge --info"

Code:
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30 x86_64)
=================================================================
System uname: Linux-2.6.30-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sun, 09 Aug 2009 01:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -msse4 -msse4.1 -msse4.2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa amd64 bash-completion berkdb branding bzip2 bzlib cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emacs emboss encode esd evo fam ffmpeg fftw firefox flac fortran fuse gdbm gif gnome gnome-keyring gnomecd gnuplot gpm gstreamer gtk hal iconv id3tag ipv6 isdnlog jack java jpeg lapack latex libnotify libsamplerate mad mikmod mmx mp3 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl plotutils png ppds pppd python qt3 qt4 readline reflection samba sdl session smp spell spl sse sse2 ssl svg sysfs tcpd theora threads tiff truetype twolame unicode usb v4l v4l2 vorbis wxwidgets wxwindows xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
 
Old 08-10-2009, 09:18 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I haven't ever see this problem, but what the error tells you is that baselayout is too old, for whatever reason. You could update it, but I'd rather try to discover why the heck is udev pulling an unstable dependency. What version of udev are you using?

Code:
emerge -pv udev
 
Old 08-10-2009, 03:29 PM   #4
MALDATA
Member
 
Registered: Mar 2005
Posts: 157

Original Poster
Rep: Reputation: 19
emerge -pv udev

Code:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-fs/udev-141  USE="(-selinux)" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Also, everything is up-to-date as of last night. I did an emerge --sync and updated everything to the latest version.
 
Old 08-10-2009, 04:22 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by MALDATA View Post
Also, everything is up-to-date as of last night. I did an emerge --sync and updated everything to the latest version.
Yes, and I see you are in stable, so there's either strange here or I am missing something simple. Either way, udev is the default way to manage everything now, so you shouldn't really need to do anything special to set it up. devfs is deprecated so unless you are managing your /dev statically yourself you are into udev as far as I understand it.

A simple way to tell if you are running it is this:

Code:
ps -A|grep udevd
If the output is not empty, then it's running and you shouldn't need to worry about anything else. Anything having to do with gnome probably is either related to hal or gnome-vfs, which is the gnome sus--system which handles all the mounting and that stuff.
 
Old 08-10-2009, 06:17 PM   #6
MALDATA
Member
 
Registered: Mar 2005
Posts: 157

Original Poster
Rep: Reputation: 19
Yeah, udevd is running. I'm not sure where to go from here. Anything else I can try?

Thanks!
 
Old 08-10-2009, 06:24 PM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I am not sure, I am not a gnome user so I can't really speak from experience or test things for you to try.

You can try recompiling gnome-vfs. I also remember that somewhere in gnome you could find a place to configure the gnome-vfs stuff, but it's been years since I have that window in front of my face.

All I can tell you is that I see similar complains from time to time from gnome users, there seem to be something wrong with gnome (I can't tell you if only in Gentoo or if it's a common thing). On a quick search I found this one, but I am sure that you can find many more.

http://forums.gentoo.org/viewtopic-t...automount.html

Maybe there's something in that thread that can help you, I don't know.
 
Old 08-10-2009, 07:27 PM   #8
MALDATA
Member
 
Registered: Mar 2005
Posts: 157

Original Poster
Rep: Reputation: 19
SOLVED by general cleanup

Don't know exactly what fixed it by I did

Code:
emerge --update --deep --newuse world
emerge --depclean
revdep-rebuild
as suggested here

http://www.gentoo.org/doc/en/handboo...?part=2&chap=1

And after a reboot I got automounts working just fine, both CD and USB drives.
 
Old 08-10-2009, 07:36 PM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Hehe, sometimes magic happens

A possible cause could be that some package broke when updating some other, like hal or udev.

As a rule of thumb, to preserve the system health, always run "revdep-rebuild" after updating anything. If those three commands are everything you ran, it's very probable that it was the revdep-rebuild which fixed your 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
Automount - HAL - udev - Xfce - Konqueror - Slackware - help requested Linux.tar.gz Linux - Hardware 5 06-19-2008 09:49 AM
Modifying mount options (ro/rw etc.) during automount via udev kamal.n2 Linux - Laptop and Netbook 8 12-14-2006 02:19 PM
confusion on automount of USB pen drive with hotplug krmane Linux - Hardware 1 07-12-2006 06:47 PM
Tricky automount of USB HDU - udev is tough! laan97ac Linux - Hardware 6 12-02-2005 09:29 AM
automount cd and usb memory in gnome 2.8 testing sarge with gnome-volume-manager gvm pevelius Debian 0 12-20-2004 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 12:32 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