Sometimes, when I reboot, I notice the following messages on boot: Starting XFS recovery on filesystem: sda2 (dev: sda2) Ending XFS recovery on filesystem: sda2 (dev: sda2) This happens even with a clean shutdown, so it seems the driver is not flushing buffers to disk on shutdown. The system is otherwise very stable, no problems whatsoever. Never noticed any disk corruption while running, but xfs_check/xfs_repair does find some errors when I run it with a LiveCD (but I never lost any important files). Curiously, the same thing was happening in Windows XP Pro, but I think it's fixed now. Reproducible: Sometimes Steps to Reproduce: 1. Reboot 2. Wait 3. Voil
Sometimes, when I reboot, I notice the following messages on boot: Starting XFS recovery on filesystem: sda2 (dev: sda2) Ending XFS recovery on filesystem: sda2 (dev: sda2) This happens even with a clean shutdown, so it seems the driver is not flushing buffers to disk on shutdown. The system is otherwise very stable, no problems whatsoever. Never noticed any disk corruption while running, but xfs_check/xfs_repair does find some errors when I run it with a LiveCD (but I never lost any important files). Curiously, the same thing was happening in Windows XP Pro, but I think it's fixed now. Reproducible: Sometimes Steps to Reproduce: 1. Reboot 2. Wait 3. Voilà Actual Results: Starting XFS recovery on filesystem: sda2 (dev: sda2) Ending XFS recovery on filesystem: sda2 (dev: sda2) Expected Results: XFS mounting filesystem sda2 Ending clean XFS mount for filesystem: sda2 My current kernel is gentoo-dev-sources-2.6.9-r12 in x86_64 mode, the system board is an Asus K8V SE Deluxe with a VIA chipset (running latest BIOS), cpu is an AMD Athlon 64 3000+, the SATA disk is a Seagate Barracuda 120 GB. The driver is compiled in the kernel, it is not in module. emerge info output: wizy root # emerge info PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES. PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES. Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r12 x86_64) ================================================================= System uname: 2.6.9-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r2 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks gpg sandbox strict" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 2 X aac aalib acpi adns alsa apache2 arts audiofile avi berkdb bitmap-fonts bzlib cdparanoia cdr crypt cups curl dga divx4linux dvd dvdr dvdread edl emul-linux-x86 encode ex exif f77 fastcgi flac fortran ftp gd gdbm gif gmp gnutls gphoto2 gpm gtk gtk2 hotplug icq imagemagick imap imlib ipv6 jabber java javascript jp2 jpeg kde lesstif libwww lirc live lzo lzw lzw-tiff mad maildir maildrop mbox md5sum mikmod mime mmap mng motif mozilla mp3 mpeg msn multilib ncurses nptl ntlm nut offensive oggvorbis openal opengl oscar oss pam pdflib php plotutils png postgres ppds python qt quicktime readline real remote rtc samba sasl scanner sdl slang slp sockets socks5 ssl stats svg tcltk theora tiff timidity transcode truetype truetype-fonts type1-fonts unicode uptimed usb userlocalesv4l v4l2 wmf wxwindows xine xinerama xml xml2 xmms xosd xpm xrandr xv xvid zlib"
Created attachment 48268 [details] Kernel .config
Just a link to a similar report with a fix for Win XP: http://forums.viaarena.com/messageview.cfm?catid=15&threadid=53400 Apparently this fixes the problem in Windows by adding a 10 second delay on shutdown. It would be great to have a patch that produces the same effect in Linux, even if there's a better way to fix it..
Could you please test with 2.6.10?
2.6.11-rc1 may also be worth testing
I'm using gentoo-dev-sources-2.6.10-r5 now. So far I only rebooted once with the new kernel, and there was no problem. That doesn't necessarily mean it's fixed, of course. Unfortunately, I can't reboot more often, but when/if the problem shows up again, I'll let you know.
Ok, thanks. Please reopen if you get the issue again and I'll tell you what you can do next.