VFS: busy inodes on changed media.

Bug #198666 reported by Joolz
120
This bug affects 24 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

After loading and unloading a CD the system log is flooded with these messages:

VFS: busy inodes on changed media.

A machine that has this issue spontaniously restarted. I used this workaround http://ubuntuforums.org/archive/index.php/t-529096.html

1. Open Terminal
2. sudo eject
3. Let it eject and then push the button on your drive to pull the empty CD tray back in.
4. sudo eject -t
5. exit

which will stop the flooding. IMHO this is a major problem, Ubuntu restarting for nothing is Not A Good Thing(tm)

Revision history for this message
Joolz (joolz) wrote :

I forgot:

Gutsy amd64 2.6.22-14-generic #1 SMP Tue Feb 12 02:46:46 UTC 2008 x86_64 GNU/Linux

Changed in devfsd:
status: New → Confirmed
Revision history for this message
Sebastien Wains (sebastienw-deactivatedaccount) wrote :

$ grep "busy inodes on" /var/log/syslog | wc -l
5774

... in less than 2 hours.

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

This problem occurs when e.g. a CD is removed without umounting it. Maybe hal can check whether a CD is still loaded and then umount it.

Revision history for this message
Paul D (smith-paul74) wrote :

Just started doing this. I was using Ubuntu 9.10 for a few weeks now, then out of the blue the busy inodes message started flooding the log. I checked the log to see if I was still getting the pulseaudio[5406]: ratelimit.c: 173 events suppressed messages. The log instead was swamped full of the inodes deal. I used the CD infrequently, but did so a few hours ago.
I am used to using the drawer button on the CD/DVD player.

Revision history for this message
starslights (starslights) wrote :

Hello,

I run kubuntu karmic 9.10 on x86 64 and i see that i have almost the same message but i don't have use any cd or DvD.

Linux moon 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux

I have non stop:

2009-12-29 00:49:51 moon kernel [542025.919150] VFS: busy inodes on changed media or resized disk sr0
2009-12-29 00:49:51 moon kernel [542025.929163] VFS: busy inodes on changed media or resized disk sr0
2009-12-29 00:49:53 moon kernel [542027.915942] VFS: busy inodes on changed media or resized disk sr0
2009-12-29 00:49:53 moon kernel [542027.918976] VFS: busy inodes on changed media or resized disk sr0
2009-12-29 00:49:53 moon kernel [542027.933602] VFS: busy inodes on changed media or resized disk sr0

$ grep "busy inodes on" /var/log/syslog | wc -l
90450

The only program who run are Virtualbox OSE compiling something. I must say that's the first time that i see this warning.

Revision history for this message
starslights (starslights) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.10
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: hal 0.5.13-1ubuntu8
PackageArchitecture: amd64
ProcEnviron:
 SHELL=/bin/bash
 LANG=fr_CH.UTF-8
 LANGUAGE=
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
Uname: Linux 2.6.31-17-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

tags: added: apport-collected
Revision history for this message
Juan Báez (juanbaez-deactivatedaccount) wrote :

I solved this problem by commenting the cdrom mounting line on the /etc/fstab file

Revision history for this message
Juan Báez (juanbaez-deactivatedaccount) wrote :

Just to clarify, your cdrom/dvd will work just fine if you comment the /dev/sr0 line on the /etc/fstab file

Revision history for this message
starslights (starslights) wrote :

today i have burn a dvd with k3b and see this evening that the "VFS: busy inodes" comming non stop again.

To stop it i have needed to put a disc into my player and it stoped to make this message.

Revision history for this message
Mikkel Christensen (mbc-baekhoej) wrote :

I got this too on Ubuntu Karmic 9.10. I stopped the message flood just by clicking eject on the dvd icon that was still in Nautilus although there was no DVD in the drive. I wouldn't have noticed it if I hadn't been looking for another error in the logs. I don't think it makes any sense for this message to be repeated many times per second. I think that the eject button on the drive ought to work without causing problems like this.

Revision history for this message
u2ix (u2ix) wrote :

I have this problem here too on lucid. 32bit

Revision history for this message
Gregor Flesch (mac-gflash) wrote :

I can confirm and reproduce this bug on Lucid 32bit.

1. Boot Ubuntu
2. Insert DVD
3. Remove DVD by pushing the hardware button on the DVD-ROM
4. Inserting another DVD triggers the bug. I can get rid of it by restarting Ubuntu

If I click on the eject-Button in Nautilus instead the hardware button, everything works fine. It seems that the DVD isn't unmounted correctly when using the hardware button.

Revision history for this message
Toby Murray (toby-murray) wrote :

I just ran into this problem on Lucid 64 bit.

The workaround using eject does not seem to work for me. Looks like a reboot is the only way to get use of my CD drive back.

Revision history for this message
Toby Murray (toby-murray) wrote :

Actually it turns out this problem does eventually fix itself. I didn't reboot last week after all and now everything is working again. I'm assuming something times out after several hours.

Revision history for this message
Phillip Susi (psusi) wrote :

This isn't related to hal.

Changed in hal (Ubuntu):
status: New → Invalid
Revision history for this message
Phillip Susi (psusi) wrote :

devfsd isn't a real package and isn't used anymore... this is a kernel issue.

affects: devfsd (Ubuntu) → linux (Ubuntu)
Phillip Susi (psusi)
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Benjamin Tayehanpour (konaya) wrote :

This affects me on 11.04. Even worse, it also affects those pesky usb thumb drives that for some reason also emulates a CD-ROM drive, rendering the entire drive unusable until you "eject" the emulated CD-ROM drive.

Shouldn't there be a time factor in deciding importance of bugs? Seeing as this one is well over three years old I mean :)

Revision history for this message
subvertbeats (subvertbeats) wrote :

Same experience on Natty here Benjamin

Revision history for this message
mancio984 (matteo-mancini) wrote :

Same problem for me on Natty.
I have a usb pen drive that emulates a CD-ROM drive that gives this message. After ejecting the drive the flood stops, but no usb drive is automatically recognized anymore, you have to mount them manually or reboot the system. VERY BAD BUG!

Matteo

Revision history for this message
penalvch (penalvch) wrote :

Joolz, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available (not the daily folder, but the one at the top) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.13-rc4

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

no longer affects: hal (Ubuntu)
tags: added: needs-kernel-logs needs-upstream-testing
removed: apport-collected
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.