Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[UDEV] No automount in gnome 2.30 (solved)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
gregool
Guru
Guru


Joined: 26 Nov 2007
Posts: 336
Location: Lille

PostPosted: Thu Jun 24, 2010 6:06 pm    Post subject: [UDEV] No automount in gnome 2.30 (solved) Reply with quote

Hi guys,

since i upgraded udev to : sys-fs/udev-157:0

automount doesn't work anymore in gnome 2.30

when i plug a pendrive dmesg returns me that:

Code:
[ 1565.413144] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0004
[ 1565.413156] ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT
[ 1565.413165] hub 2-0:1.0: port 2, status 0501, change 0001, 480 Mb/s
[ 1565.516541] hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501
[ 1565.567661] ehci_hcd 0000:00:1d.7: port 2 high speed
[ 1565.567665] ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT
[ 1565.618363] usb 2-2: new high speed USB device using ehci_hcd and address 4
[ 1565.680360] ehci_hcd 0000:00:1d.7: port 2 high speed
[ 1565.680363] ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT
[ 1565.800334] usb 2-2: default language 0x0409
[ 1565.823149] usb 2-2: udev 4, busnum 2, minor = 131
[ 1565.823152] usb 2-2: New USB device found, idVendor=0930, idProduct=6534
[ 1565.823155] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1565.823159] usb 2-2: Product: USB Flash Memory
[ 1565.823212] PM: Adding info for usb:2-2
[ 1565.823241] usb 2-2: usb_probe_device
[ 1565.823246] usb 2-2: configuration #1 chosen from 1 choice
[ 1565.834374] usb 2-2: adding 2-2:1.0 (config #1, interface 0)
[ 1565.834392] PM: Adding info for usb:2-2:1.0
[ 1565.834423] usb-storage 2-2:1.0: usb_probe_interface
[ 1565.834433] usb-storage 2-2:1.0: usb_probe_interface - got id
[ 1565.834563] scsi11 : usb-storage 2-2:1.0
[ 1565.834571] PM: Adding info for scsi:host11
[ 1565.834594] PM: Adding info for No Bus:host11
[ 1565.834642] PM: Adding info for No Bus:ep_81
[ 1565.834648] PM: Adding info for No Bus:ep_02
[ 1565.834654] PM: Adding info for No Bus:ep_83
[ 1565.834657] drivers/usb/core/inode.c: creating file '004'
[ 1565.834673] PM: Adding info for No Bus:ep_00
[ 1566.843168] scsi 11:0:0:0: Direct-Access              USB Flash Memory 1.00 PQ: 0 ANSI: 2
[ 1566.843187] PM: Adding info for scsi:target11:0:0
[ 1566.843226] PM: Adding info for scsi:11:0:0:0
[ 1566.843270] PM: Adding info for No Bus:11:0:0:0
[ 1566.843300] PM: Adding info for No Bus:11:0:0:0
[ 1566.843340] PM: Adding info for No Bus:sg3
[ 1566.843350] sd 11:0:0:0: Attached scsi generic sg3 type 0
[ 1566.843367] PM: Adding info for No Bus:11:0:0:0
[ 1566.850780] sd 11:0:0:0: [sdc] 2002944 512-byte logical blocks: (1.02 GB/978 MiB)
[ 1566.851375] sd 11:0:0:0: [sdc] Write Protect is off
[ 1566.851378] sd 11:0:0:0: [sdc] Mode Sense: 0b 00 00 08
[ 1566.851380] sd 11:0:0:0: [sdc] Assuming drive cache: write through
[ 1566.851407] PM: Adding info for No Bus:sdc
[ 1566.859571] sd 11:0:0:0: [sdc] Assuming drive cache: write through
[ 1566.859575]  sdc: sdc1
[ 1566.860635] PM: Adding info for No Bus:sdc1
[ 1566.860767] PM: Adding info for No Bus:8:32
[ 1566.868423] sd 11:0:0:0: [sdc] Assuming drive cache: write through
[ 1566.868427] sd 11:0:0:0: [sdc] Attached SCSI removable disk


here are the relevant part of org.freedesktop.udisks.policy:

Code:
<action id="org.freedesktop.udisks.filesystem-mount">
    <description>Mount a device</description>
    <message>Authentication is required to mount the device</message>
    <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>



emerge --info

Code:
vesta gregool # emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.3.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 24 Jun 2010 16:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.3-r2, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
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"
PORTDIR_OVERLAY="/var/lib/layman/desktop-effects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 archive autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cups custom-optimization cxx dbus dhcpcd dri dts dvd dvdr eds emboss emerald encode esd evdev evo exif extras fam ffmpeg firefox flac fortran fuse gdbm gdu gif git gnome gnome-keyring gphoto2 gpm gstreamer gtk hddtemp iconv ipod ipv6 java jpeg lcms ldap lib32 libnotify lm_sensors mad matroska mbrola mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl php png policykit ppds pppd python qt qt3support qt4 readline reflection samba sdl session spell spl sqlite sse sse2 ssl startup-notification svg symlink sysfs tcpd threads tiff totem truetype type1 udev unicode usb v4l vdpau video vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 proxy" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="ruby18" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



rc-update show

Code:
vesta gregool # rc-update show
                 udev |                       sysinit
           vixie-cron | default                     
                 fsck |                  boot       
                 mtab |                  boot       
             bootmisc |                  boot       
           udev-mount |                       sysinit
            alsasound | default                     
               procfs |                  boot       
              modules |                  boot       
             mount-ro |         shutdown             
                devfs |                       sysinit
                 swap |                  boot       
                local | default                     
             hostname |                  boot       
             iptables | default                     
           localmount |                  boot       
            syslog-ng | default                     
                 sshd | default                     
                  mpd | default                     
              urandom |                  boot       
               sysctl |                  boot       
            killprocs |         shutdown             
         termencoding |                  boot       
       udev-postmount | default          boot       
              keymaps |                  boot       
              hwclock |                  boot       
                 dbus | default                     
                  xdm | default                     
            savecache |         shutdown             
               esound | default                     
              openvpn | default                     
             fail2ban | default                     
                samba | default                     
           consolekit |                  boot       
             netmount | default                     
                dmesg |                       sysinit
                 root |                  boot


is there any mistakes in all of this?

thx


Last edited by gregool on Fri Jun 25, 2010 4:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
gulivert
l33t
l33t


Joined: 17 Jun 2004
Posts: 863
Location: Switzerland

PostPosted: Fri Jun 25, 2010 10:19 am    Post subject: Reply with quote

Hi guy,

Same problem here, when I plug my external hard drive by USB, the automount not work.
I think that my problem is udev aren't create /dev/sdb1 because if I make a ls -l /dev/sdb* I have just /dev/sdb but not /dev/sdb and sdb1 for the first partition.
I don't understand why it's not properly create a nod in /dev/

Sorry for my bad English I start the learning :oops:

Precision : if I use the terminal to mount manual, I don't mount again for the same problem, the nod sdb1 is not create.

Thanks in advance for your help.
_________________
Macbook Pro Unibody 9.1 - Kernel 4.4.6 - Awesome 3.5
Back to top
View user's profile Send private message
monsm
Guru
Guru


Joined: 26 Sep 2007
Posts: 467
Location: London, UK

PostPosted: Fri Jun 25, 2010 1:23 pm    Post subject: Reply with quote

Hi,
last time I had a problem with automount, when installing Gnome 2.30 it was in fact caused by my kernel config. I had this message when emerging udev:
Code:
* CONFIG_IDE: should not be set. But it is.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.


In the kernel config there is this section to do with IDE devices:
device drivers->ATA/ATAPI/MFM/RLL
This section (CONFIG_IDE) is being depreciated. With the latest kernels (mine is 2.6.32-r7) you are supposed to use:
device-drivers->Serial ATA (prod) and Parallel ATA (experimental) drivers

This last one is the CONFIG_ATA section. So although my hd is a sata drive, my DVDrom and burner drives are IDE. IDE is now called PATA, so I just had to select AMD/Nvidia pata from the menu under config_ata in addition to my sata driver and deselecting the old ATA (config_ide) stuff.

You should also stick to the stable dbus and maybe look at removing hal. This depends on which xorg server you are using. I am running xorg-server 1.7.6 which still needs hal for keyboard and mouse. Nothing else needs hal, so I have set -hal in the global use flags and enabled it again in my package.use file for xorg-server. xorg-server 1.8x has done away with hal completely.

So it is possible your automount issue is not caused by udev...

Mons
Back to top
View user's profile Send private message
gregool
Guru
Guru


Joined: 26 Nov 2007
Posts: 336
Location: Lille

PostPosted: Fri Jun 25, 2010 4:34 pm    Post subject: Reply with quote

ok that's weird but it's working again... i didn't change anything, it happens that automount just work again...

i was looking on this for a couple of days without any luck, i guess i just needed to ask here :lol:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum