So, mount is acting funny.
Symptoms:
This uses 100% CPU and does not exit. Happens with any CD, and the CD spins out while mount is still running. It does not happen with DVDs.
Code:
$ mount -f -v /mnt/cdrom
/dev/hda on /mnt/cdrom type auto (rw,noexec,nosuid,nodev)
Here, the -f switch means "fake" and -v "verbose". The manpage says "do everything except for the actual system call". This exits fine.
fstab: (device, mountpoint, filesystem, flags)
Code:
/dev/hda /mnt/cdrom auto noauto,user 0 0
This happened... somewhere between yesterday and the day before, and all I did was run emerge --upgrade --newuse --ask --deep world overnight. The packages updated were these:
4 days ago:
Code:
./media-gfx:inkscape-0.45.1:20070628-004747.log
./dev-java:sun-jdk-1.4.2.14:20070628-001128.log
./media-sound:amarok-1.4.6-r1:20070627-084233.log
./dev-java:sun-jdk-1.4.2.14:20070628-001223.log
./media-libs:raptor-1.4.15:20070628-001236.log
./media-libs:tunepimp-0.5.3:20070628-001906.log
./media-sound:vorbis-tools-1.1.1-r4:20070628-001350.log
./app-crypt:gnupg-2.0.4-r1:20070628-004542.log
./media-gfx:inkscape-0.45.1:20070628-010328.log
./media-sound:ardour-0.99.3:20070628-003227.log
./dev-lang:php-5.2.2-r1:20070628-001916.log
./media-libs:liblrdf-0.4.0:20070628-001506.log
./media-libs:tunepimp-0.5.3:20070628-001537.log
3 days ago:
Code:
./sys-apps:less-406:20070629-072901.log
./media-sound:alsa-utils-1.0.14:20070629-073659.log
./media-sound:amarok-1.4.6-r1:20070628-082006.log
./media-sound:alsa-headers-1.0.14:20070629-072730.log
./media-libs:alsa-lib-1.0.14a:20070629-072816.log
./media-sound:alsa-driver-1.0.14:20070629-073442.log
./media-sound:amarok-1.4.6-r1:20070628-084406.log
./media-sound:alsa-driver-1.0.14_rc3:20070629-073655.log
./sys-fs:udev-113:20070629-073115.log
./dev-util:flawfinder-1.27:20070629-073757.log
./sys-fs:device-mapper-1.02.19-r1:20070629-072749.log
./sys-apps:kbd-1.13:20070629-073008.log
./media-libs:alsa-lib-1.0.14a:20070629-073219.log
./net-misc:dhcpcd-3.0.18:20070629-072843.log
./app-office:openoffice-2.2.1:20070628-010414.log
2 days ago:
Code:
./media-gfx:fontforge-20070607:20070629-073803.log
./net-irc:kvirc-3.2.6_pre20070628:20070629-074413.log
./dev-java:sun-jdk-1.4.2.15:20070629-074312.log
./dev-java:sun-jdk-1.4.2.14:20070629-074408.log
1 day ago:
Code:
./sys-apps:portage-2.1.3_rc6:20070701-073411.log
./app-admin:eselect-emacs-1.1:20070701-073554.log
./app-arch:cpio-2.9:20070701-073432.log
./sys-libs:com_err-1.40:20070701-073559.log
What I have tried:
Recompiling mount (actually, recompiling coreutils)
Recompiling the current kernel (gentoo-2.6.21-r2)
Compiling a newer kernel (now have gentoo-2.6.21-r3)
Recompiling udev and device-mapper
Restarting the system several times between software changes (as if it works for linux...)
My guesses:
mount gets stuck in the system call (since mount -v -f exits)
It's a problem with iso9660 filesystem kernel module (since all other mounts work OK, even DVDs)
What stands out in the 3 days ago box are a new udev and a new device mapper.