I decided to install XFS as the root file system on my recently
purchased home desktop computer. At this point I would greatly
appreciate any information or advice regarding how to overcome the
following problem.
Symptoms: sometimes, but not always, after a shutdown and reboot of
the system, XFS reports in the kernel log that recovery is required on
the readonly file system (presumably the root file system); it then
proceeds with this recovery. So far, this has only occurred after a
shutdown -h (not a reboot, i.e., shutdown -r).
Kernel version: 2.4.14 (downloaded as a tar file from a kernel.org
mirror)., with SGI's XFS 1.0.2 patch for kernel 2.4.14 applied. Note
that the patch applied cleanly.
Linux distribution: Debian Woody, installed from the November 2001
unofficial pre-release CD-ROM set.
Compiler: gcc 2.95.4 included on the Debian Woody CD.
I should also add that with the same kernel, but compiled on my laptop
under gcc 2.95.2 and then transferred to the desktop machine, the
problem did not occur. However, in recompiling the kernel on the
desktop machine, I also enabled apm support (the desktop system uses
apm for suspend mode and "power off" after shutdown). So far, the
problem has only arisen after a shutdown. During the shutdown
sequence, file systems are (supposedly) unmounted, then apm is used to
cut the power to the system.
My interpretation would be that the root file system is not always
being unmounted cleanly.
I have time this week during which to attempt to track down and
eliminate the problem.
Suggestions would be most welcome.
|