Not sure exactly what causes this, but ivman attempts to mount removable media (at least CDs, and DVDs) snip of /var/log/messages: -------------------------- Jan 1 20:23:13 linux ivman: New Device: /org/freedesktop/Hal/devices/volume_part_1_size_593623040 Jan 1 20:23:13 linux ivman: UDI /org/freedesktop/Hal/devices/volume_part_1_size_593623040 is device /dev/hdb Jan 1 20:23:13 linux ivman: Device /dev/hdb appears to be mountable Jan 1 20:23:13 linux ivman: Giving other programs a chance to mount... Jan 1 20:23:18 linux ivman: Attempting to mount device /dev/hdb Jan 1 20:23:18 linux ivman: Warning: nonexistent HAL property encountered, NULL substituted for value! Jan 1 20:23:18 linux ivman: Running: pmount -u 007 '/dev/hdb' 'NULL' Jan 1 20:23:18 linux UDF-fs: No VRS found Jan 1 20:23:18 linux ISO 9660 Extensions: Microsoft Joliet Level 1 Jan 1 20:23:18 linux ISOFS: changing to secondary root Jan 1 20:23:19 linux ivman: Checking for video DVD in device '/dev/hdb' mounted at '/media/NULL' Jan 1 20:23:19 linux ivman: /dev/hdb does not look like a video DVD Jan 1 20:23:19 linux ivman: UDI /org/freedesktop/Hal/devices/volume_part_1_size_593623040 is device /dev/hdb Jan 1 20:23:19 linux ivman: Device /dev/hdb appears to be mountable Jan 1 20:23:19 linux ivman: Mounted: /org/freedesktop/Hal/devices/volume_part_1_size_593623040 Jan 1 20:23:19 linux ivman: Devices table has 1 entries Jan 1 20:23:19 linux ivman: "/org/freedesktop/Hal/devices/volume_part_1_size_593623040" "/dev/hdb" Jan 1 20:23:19 linux ivman: UDI /org/freedesktop/Hal/devices/volume_part_1_size_593623040 is device /dev/hdb Jan 1 20:23:19 linux ivman: Device /dev/hdb appears to be mountable ---------------------------- [ebuild R ] sys-fs/udev-079 [ebuild R ] sys-apps/hal-0.5.5.1-r3 [ebuild R ] sys-apps/ivman-0.6.6 [ebuild R ] sys-apps/pmount-0.9.6
emerge info Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14-gentoo-r2.0 x86_64) ================================================================= System uname: 2.6.14-gentoo-r2.0 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.0_pre12 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/ http://mirror.espri.arizona.edu/gentoo/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 X a52 aac alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 crypt cups curl dbus divx4linux dts dv dvd dvdread eds emboss encode exif expat fam fame ffmpeg fftw flac foomaticdb fortran gd gdbm gif glut gmp gpm gstreamer gtk gtk2 hal howl idn ieee1394 imagemagick imlib java jpeg kde kdeenablefinal lcms lzw lzw-tiff mad ming mng mozilla mp3 mpeg mpeg4 mysql ncurses nls nptl ogg oggvorbis pam pcre pdflib perl php png python qt quicktime readline samba sdl server spell sql sqlite ssl subtitles tcpd theora tidy tiff transcode truetype truetype-fonts type1-fonts udev usb userlocales v4l vorbis wmf xine xml xml2 xpm xv xvid zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Can you please try to add a mountpoint for hdb to the fstab?
Mounting at /media/NULL occurs when HAL doesn't provide a desired mount point for a volume. Ivman should definitely handle this in a more friendly fashion. It's on my todo list :-) In the meantime, as Stefan suggested, add an fstab entry for that device. I recommend that you have fstab entries for all CD/DVD drives. If /media/NULL is used for devices besides CD/DVD drives, then check your HAL config files, as the default HAL config on Gentoo is supposed to provide desired mount points for (I think) all mountable devices.
I'll do that Stefan, but the problem is this same drive USED to be mounted as /media/cdrom with earlier versions of hal, ivman, et al.. This change was due to an upgrade, although I'm not sure what package caused it to start mounting with NULL. Also, as Rohan states: > the default HAL config on Gentoo is supposed to provide desired mount points > for (I think) all mountable devices As I'm using the default HAL config, why is it mounting at NULL all of a sudden?
Ok, did a little investigation, and it seems to be introduced in ivman-0.6.5 Downgrading to ivman-0.6.4 gives the correct behavior, but 0.6.5 or 0.6.6 mount at NULL.
Ivman 0.6.8 is out ( http://ivman.sf.net/ ). It now tries to mount as follows: 1) if volume to mount has 'volume.policy.desired_mount_point' set, use it. 2) if device 'block.storage_device' has 'storage.policy.desired_mount_point' set, use it 3) if neither, call pmount without a desired mount point; generally this means the device will be mounted at e.g. /media/sda1, if device is /dev/sda1 . Nathan, I'm pretty sure your CD/DVD drives will fall under category 2). So, with Ivman 0.6.8, your drive should once again be mounted at /media/cdrom or /media/cdrecorder or similar, without the need for an fstab entry. Stefan, if you will be so kind as to bump ivman in portage :-)
I added the new version to portage, thanks