LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-02-2007, 03:00 AM   #1
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Rep: Reputation: 31
mount /mnt/cdrom uses 100% CPU and does not exit - possibly stuck in syscall


So, mount is acting funny.

Symptoms:
Code:
$ mount /mnt/cdrom
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.
 
Old 07-04-2007, 09:23 AM   #2
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Had similar problem.

Instead of auto, had to use ISO9660,udf to get it to work properly on mine with gentoo. Something weird was happening with the auto detection.
 
Old 07-04-2007, 09:30 AM   #3
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Original Poster
Rep: Reputation: 31
Thanks for replying.

Something weird indeed is happening to autodetection. If I specify iso9660 as the only filesystem possible, the CD mounts without a hitch. iso9660,udf wants to mount it as UDF, however, and of course fails.

Any thoughts?
 
Old 07-04-2007, 09:46 AM   #4
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Particular drive?

Is this drive just a cd-rom rw dvdrw etc..?

Edit: Check to see if udf is loaded (modprobe udf) or just modprobe to look at the list.

Last edited by Hern_28; 07-04-2007 at 09:48 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount point /mnt/cdrom does not exist. njbrain Linux - General 4 02-13-2007 07:01 PM
cpu usage stuck to 100% all the time mohama Linux - Software 0 03-05-2006 01:12 PM
XMMS get stuck when 100% CPU is used after ALSA installation Artik Debian 4 07-17-2005 04:13 PM
Allowing anyone to mount /mnt/cdrom ToothlessRebel Linux - Newbie 6 06-15-2005 09:29 PM
what are other mount options for vcd for /mnt/cdrom? sirpelidor Linux - General 4 12-04-2003 03:25 PM


All times are GMT -5. The time now is 02:09 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration