You are not logged in.

#1 2009-06-03 15:32:49

feralert
Member
Registered: 2007-03-21
Posts: 12

"FILESYSTEM CHECK FAILED" after pacman -Syu

Hi all,

After a sucessfull 'pacman -Syu' (in which i didnt see any 'todo' messages but it did have a kernel upgrade) archlinux cannot start and i just get to a message similar talking about my root partition (ext3):

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

******************* FILESYSTEM CHECK FAILED *************
* Please repair manually and reboot. Note that the root *
* filesystem is currently mounted read-only. To remount *
* it read-write type: mount -n -o remount,rw /          *
* When you exit the mantenance shel the system will     *
* reboot automatically.                                 *
*********************************************************

I restarted with a livecd and 'e2fscked' the partition (which btw found many errors that were corrected by it) but archlinux still gives me the same message. I have checked the partition again and again a thousand times but it always comes up clean, im even able to mount it from the different livecds i have tried and can read and create files on it so im pretty sure it is fine.

And so my question is, does anyone know why this is happening? How comes archlinux keeps seeing a problem in this partition when others dont? What am i doing wrong?

An y answer appreciated.

Last edited by feralert (2009-06-03 20:15:23)

Offline

#2 2009-06-03 20:13:44

feralert
Member
Registered: 2007-03-21
Posts: 12

Re: "FILESYSTEM CHECK FAILED" after pacman -Syu

Hi again,

I have done some testing, maybe it will help.
After the failure message i put roots password and i got dropped to a shell, if i try to find the root partition (eg. ls /dev/sda) gives an error cause it sda doesnt exists.
If i edit rc.sysinit with a livecd and remove the fsck part i get a few diferent errors, some about partitions not being found and similar stuff. In my little knowledge of linux it ooks to me like it doesnt load the sata module or somethig...


I copy here the pacman.log file, i remember that the update was a huge one, around 400 Mbytes if i remember correctly:

[2009-05-30 22:20] synchronizing package lists
[2009-05-30 22:21] starting full system upgrade
[2009-05-30 22:23] synchronizing package lists
[2009-05-30 22:23] starting full system upgrade
[2009-05-30 23:29] upgraded alacarte (0.11.10-1 -> 0.12.1-1)
[2009-05-30 23:29] upgraded kernel-headers (2.6.27.6-2 -> 2.6.29.3-1)
[2009-05-30 23:29] upgraded tzdata (2009f-1 -> 2009g-1)
[2009-05-30 23:29] warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
[2009-05-30 23:29] Generating locales...
[2009-05-30 23:29]   es_ES.UTF-8... done
[2009-05-30 23:29]   es_ES.ISO-8859-1... done
[2009-05-30 23:29]   es_ES.ISO-8859-15@euro... done
[2009-05-30 23:29] Generation complete.
[2009-05-30 23:29] upgraded glibc (2.9-4 -> 2.10.1-2)
[2009-05-30 23:29] upgraded alsa-lib (1.0.19-1 -> 1.0.20-1)
[2009-05-30 23:29] upgraded alsa-utils (1.0.19-1 -> 1.0.20-1)
[2009-05-30 23:29] upgraded binutils (2.19.1-1 -> 2.19.1-3)
[2009-05-30 23:29] upgraded geoip (1.4.5-1 -> 1.4.6-1)
[2009-05-30 23:29] upgraded gcc-libs (4.3.3-1 -> 4.4.0-2)
[2009-05-30 23:29] upgraded libdrm (2.4.9-1 -> 2.4.11-2)
[2009-05-30 23:29] upgraded libgl (7.4.1-1 -> 7.4.2-2)
[2009-05-30 23:29] upgraded mesa (7.4.1-1 -> 7.4.2-1)
[2009-05-30 23:29] upgraded wxgtk (2.8.9.2-1 -> 2.8.10-1)
[2009-05-30 23:29] upgraded amule (2.2.4-1 -> 2.2.5-2)
[2009-05-30 23:29] upgraded x264 (20090216-1 -> 20090416-1)
[2009-05-30 23:29] upgraded avidemux (2.4.4-2 -> 2.4.4-3)
[2009-05-30 23:29] upgraded bin86 (0.16.17-3 -> 0.16.17-4)
[2009-05-30 23:29] upgraded gmp (4.2.4-1.1 -> 4.3.1-2)
[2009-05-30 23:29] upgraded coreutils (7.2-1 -> 7.4-1)
[2009-05-30 23:29] upgraded dbus-core (1.2.4.4permissive-1 -> 1.2.14-1)
[2009-05-30 23:29] upgraded glib2 (2.20.1-1 -> 2.20.2-1)
[2009-05-30 23:29] upgraded bluez (4.37-1 -> 4.39-1)
[2009-05-30 23:29] upgraded gstreamer0.10 (0.10.22-1 -> 0.10.23-1)
[2009-05-30 23:29] upgraded gstreamer0.10-base (0.10.22-1 -> 0.10.23-1)
[2009-05-30 23:29] upgraded gstreamer0.10-base-plugins (0.10.22-1 -> 0.10.23-1)
[2009-05-30 23:29] upgraded brasero (2.26.1-2 -> 2.26.2-1)
[2009-05-30 23:29] upgraded policykit (0.9-7 -> 0.9-9)
[2009-05-30 23:29] upgraded consolekit (0.3.0-3 -> 0.3.0-5)
[2009-05-30 23:29] upgraded cpio (2.9-3 -> 2.9-5)
[2009-05-30 23:29] upgraded curl (7.19.4-1 -> 7.19.5-2)
[2009-05-30 23:29] upgraded dbus (1.2.4.4permissive-1 -> 1.2.14-1)
[2009-05-30 23:29] upgraded dcron (3.2-3 -> 3.2-4)
[2009-05-30 23:29] upgraded dhcpcd (4.0.12-1 -> 5.0.4-1)
[2009-05-30 23:29] upgraded dmapi (2.2.9-1 -> 2.2.10-1)
[2009-05-30 23:29] upgraded docbook-xml (4.5-1 -> 4.5-2)
[2009-05-30 23:29] upgraded gconf (2.26.0-3 -> 2.26.2-1)
[2009-05-30 23:29] upgraded gnome-desktop (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:29] upgraded gdbm (1.8.3-5 -> 1.8.3-6)
[2009-05-30 23:29] upgraded sqlite3 (3.6.13-1 -> 3.6.14.1-1)
[2009-05-30 23:29] upgraded python (2.6.1-1 -> 2.6.2-1)
[2009-05-30 23:29] upgraded eog (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:30] upgraded epiphany (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:30] upgraded poppler (0.10.6-1 -> 0.10.7-1)
[2009-05-30 23:30] upgraded poppler-glib (0.10.6-1 -> 0.10.7-1)
[2009-05-30 23:30] upgraded evince (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:30] upgraded libsoup (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:30] upgraded evolution-data-server (2.26.1.1-1 -> 2.26.2-1)
[2009-05-30 23:30] upgraded ffmpeg (20090217-1 -> 0.5-1)
[2009-05-30 23:30] upgraded file (5.00-1 -> 5.03-2)
[2009-05-30 23:30] upgraded file-roller (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:30] upgraded findutils (4.4.0-1 -> 4.4.1-2)
[2009-05-30 23:30] upgraded gcalctool (5.26.1-1 -> 5.26.2-1)
[2009-05-30 23:30] installed ppl (0.10.2-2)
[2009-05-30 23:30] installed cloog-ppl (0.15.3-1)
[2009-05-30 23:30] upgraded gcc (4.3.3-1 -> 4.4.0-2)
[2009-05-30 23:30] upgraded gtksourceview2 (2.6.1-1 -> 2.6.2-1)
[2009-05-30 23:30] upgraded gedit (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:30] upgraded glproto (1.4.9-1 -> 1.4.10-1)
[2009-05-30 23:30] upgraded gnome-games (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:30] upgraded whois (4.7.33-1 -> 4.7.33-2)
[2009-05-30 23:30] upgraded gnome-nettool (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:30] upgraded policykit-gnome (0.9.2-3 -> 0.9.2-4)
[2009-05-30 23:30] upgraded gnome-panel (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:31] upgraded gnome-power-manager (2.26.1-1 -> 2.26.1-2)
[2009-05-30 23:31] upgraded vte (0.20.1-1 -> 0.20.2-1)
[2009-05-30 23:31] upgraded gnome-terminal (2.26.1-1 -> 2.26.2-2)
[2009-05-30 23:31] upgraded gtk-engines (2.18.1-1 -> 2.18.2-1)
[2009-05-30 23:31] upgraded gnome-themes (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:31] upgraded gnome2-user-docs (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:31] upgraded gparted (0.4.4-2 -> 0.4.5-1)
[2009-05-30 23:31] upgraded gstreamer0.10-bad (0.10.11-1 -> 0.10.12-1)
[2009-05-30 23:31] upgraded libraw1394 (1.3.0-2 -> 2.0.2-1)
[2009-05-30 23:31] installed libusb1 (1.0.0-1)
[2009-05-30 23:31] upgraded libdc1394 (2.0.3-1 -> 2.1.0-1)
[2009-05-30 23:31] upgraded libdvdread (0.9.7-2 -> 4.1.3-1)
[2009-05-30 23:31] upgraded libdvdnav (0.1.10-3 -> 4.1.3-1)
[2009-05-30 23:31] upgraded neon (0.28.3-2 -> 0.28.4-1)
[2009-05-30 23:31] installed liblrdf (0.4.0-6)
[2009-05-30 23:31] upgraded gstreamer0.10-bad-plugins (0.10.11-3 -> 0.10.12-1)
[2009-05-30 23:31] upgraded gstreamer0.10-good (0.10.14-1 -> 0.10.15-1)
[2009-05-30 23:31] upgraded libavc1394 (0.5.3-2 -> 0.5.3-3)
[2009-05-30 23:31] upgraded libiec61883 (1.1.0-1 -> 1.2.0-1)
[2009-05-30 23:31] installed libcaca (0.99.beta16-1)
[2009-05-30 23:31] upgraded gstreamer0.10-good-plugins (0.10.14-1 -> 0.10.15-1)
[2009-05-30 23:31] upgraded gstreamer0.10-ugly-plugins (0.10.11-1 -> 0.10.11-2)
[2009-05-30 23:31] upgraded gtkhtml (3.26.1.1-1 -> 3.26.2-1)
[2009-05-30 23:31] upgraded gucharmap (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:31] upgraded libarchive (2.6.2-1 -> 2.7.0-1)
[2009-05-30 23:31] NOTE
[2009-05-30 23:31] ----
[2009-05-30 23:31] Add your user to group 'camera' to use camera devices.
[2009-05-30 23:31] upgraded libgphoto2 (2.4.4-1 -> 2.4.6-1)
[2009-05-30 23:31] upgraded gvfs (1.2.2-1 -> 1.2.3-1)
[2009-05-30 23:31] upgraded gzip (1.3.12-4 -> 1.3.12-6)
[2009-05-30 23:31] upgraded jfsutils (1.1.13-1 -> 1.1.14-1)
[2009-05-30 23:31] upgraded libsndfile (1.0.19-1 -> 1.0.20-1)
[2009-05-30 23:31] upgraded sox (14.2.0-2 -> 14.2.0-3)
[2009-05-30 23:31] installed ilmbase (1.0.1-1)
[2009-05-30 23:31] installed openexr (1.6.1-1)
[2009-05-30 23:31] upgraded libpng (1.2.35-1 -> 1.2.36-1)
[2009-05-30 23:31] upgraded qt (4.5.0-5 -> 4.5.1-3)
[2009-05-30 23:31] installed xine-lib (1.1.16.3-3)
[2009-05-30 23:31] installed phonon (4.3.1-2)
[2009-05-30 23:31] installed clucene (0.9.21b-1)
[2009-05-30 23:31] installed exiv2 (0.18-1)
[2009-05-30 23:31] installed strigi (0.6.4-2)
[2009-05-30 23:31] installed soprano (2.2.3-1)
[2009-05-30 23:31] installed xdg-utils (1.0.2-1)
[2009-05-30 23:31] installed kdelibs (4.2.3-1)
[2009-05-30 23:31] installed kdebase-runtime (4.2.3-1)
[2009-05-30 23:31] installed fftw (3.2.1-1)
[2009-05-30 23:31] installed libofa (0.9.3-2)
[2009-05-30 23:31] installed tunepimp (0.5.3-6)
[2009-05-30 23:31] installed kdemultimedia (4.2.3-1)
[2009-05-30 23:31] installed polkit-qt (0.9.2-1)
[2009-05-30 23:31] upgraded k3b (1.0.5-2 -> 1.66.0alpha2-1)
[2009-05-30 23:32] upgraded qt3 (3.3.8-10 -> 3.3.8-11)
[2009-05-30 23:32] upgraded kdelibs3 (3.5.10-2 -> 3.5.10-3)
[2009-05-30 23:32] >>> Updating module dependencies. Please wait ...
[2009-05-30 23:32] >>> MKINITCPIO SETUP
[2009-05-30 23:32] >>> ----------------
[2009-05-30 23:32] >>> If you use LVM2, Encrypted root or software RAID,
[2009-05-30 23:32] >>> Ensure you enable support in /etc/mkinitcpio.conf .
[2009-05-30 23:32] >>> More information about mkinitcpio setup can be found here:
[2009-05-30 23:32] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
[2009-05-30 23:32] 
[2009-05-30 23:32] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2009-05-30 23:32] ==> Building image "default"
[2009-05-30 23:32] ==> Running command: /sbin/mkinitcpio -k 2.6.29-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
[2009-05-30 23:32] :: Begin dry run
[2009-05-30 23:32] :: Parsing hook [base]
[2009-05-30 23:32] :: Parsing hook [udev]
[2009-05-30 23:32] :: Parsing hook [autodetect]
[2009-05-30 23:32] :: Parsing hook [sata]
[2009-05-30 23:32] :: Parsing hook [keymap]
[2009-05-30 23:32] :: Parsing hook [filesystems]
[2009-05-30 23:32] :: Generating module dependencies
[2009-05-30 23:32] :: Generating image '/boot/kernel26.img'...SUCCESS
[2009-05-30 23:32] ==> SUCCESS
[2009-05-30 23:32] ==> Building image "fallback"
[2009-05-30 23:32] ==> Running command: /sbin/mkinitcpio -k 2.6.29-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
[2009-05-30 23:32] :: Begin dry run
[2009-05-30 23:32] :: Parsing hook [base]
[2009-05-30 23:32] :: Parsing hook [udev]
[2009-05-30 23:32] :: Parsing hook [sata]
[2009-05-30 23:32] :: Parsing hook [keymap]
[2009-05-30 23:32] :: Parsing hook [filesystems]
[2009-05-30 23:33] :: Generating module dependencies
[2009-05-30 23:33] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
[2009-05-30 23:33] ==> SUCCESS
[2009-05-30 23:33] upgraded kernel26 (2.6.29.2-1 -> 2.6.29.4-1)
[2009-05-30 23:33] upgraded klibc (1.5.15-1 -> 1.5.15-2)
[2009-05-30 23:33] upgraded klibc-extras (2.5-2 -> 2.5-3)
[2009-05-30 23:33] upgraded klibc-kbd (1.15.20080312-8 -> 1.15.20080312-9)
[2009-05-30 23:33] upgraded klibc-module-init-tools (3.5-1 -> 3.5-2)
[2009-05-30 23:33] upgraded klibc-udev (141-1 -> 141-2)
[2009-05-30 23:33] upgraded libdownload (1.3-1 -> 1.3-3)
[2009-05-30 23:33] upgraded libgsf (1.14.12-1 -> 1.14.13-1)
[2009-05-30 23:33] upgraded libsasl (2.1.22-7 -> 2.1.22-8)
[2009-05-30 23:33] upgraded lsof (4.81-1 -> 4.82-1)
[2009-05-30 23:33] upgraded lzo2 (2.02-3 -> 2.03-1)
[2009-05-30 23:33] upgraded man-pages (3.20-2 -> 3.21-1)
[2009-05-30 23:33] upgraded metacity (2.26.0-1 -> 2.26.0-2)
[2009-05-30 23:33] upgraded mlocate (0.21.1-1 -> 0.22-1)
[2009-05-30 23:33] upgraded mplayer (28347-4 -> 29318-1)
[2009-05-30 23:33] upgraded mtools (4.0.10-1 -> 4.0.10-2)
[2009-05-30 23:33] upgraded nautilus (2.26.2-1 -> 2.26.3-1)
[2009-05-30 23:33] upgraded net-tools (1.60-13 -> 1.60-14)
[2009-05-30 23:33]  * relogin or source /etc/profile.d/openoffice.sh
[2009-05-30 23:33]  * see http://wiki.archlinux.org/index.php/Openoffice
[2009-05-30 23:33]    how to use extensions, e.g. for spell checking
[2009-05-30 23:33]    see /opt/openoffice/share/extension/install what
[2009-05-30 23:33]    is shipped with this package
[2009-05-30 23:33] upgraded openoffice-base (3.0.1-1 -> 3.1.0-1)
[2009-05-30 23:33] upgraded openoffice-es (3.0.1-1 -> 3.1.0-1)
[2009-05-30 23:33] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[2009-05-30 23:33] upgraded pacman-mirrorlist (20090405-1 -> 20090509-1)
[2009-05-30 23:33] upgraded pango (1.24.1-1 -> 1.24.2-1)
[2009-05-30 23:33] upgraded pidgin (2.5.5-2 -> 2.5.6-1)
[2009-05-30 23:33] upgraded tcp_wrappers (7.6-8 -> 7.6-9)
[2009-05-30 23:33] upgraded portmap (6.0-2 -> 6.0-3)
[2009-05-30 23:33] upgraded ppp (2.4.4-7 -> 2.4.4-8)
[2009-05-30 23:33] upgraded procps (3.2.7-5 -> 3.2.8-1)
[2009-05-30 23:33] upgraded psmisc (22.6-2 -> 22.7-1)
[2009-05-30 23:33] upgraded pycairo (1.8.2-1 -> 1.8.4-1)
[2009-05-30 23:33] upgraded pygobject (2.16.1-1 -> 2.18.0-1)
[2009-05-30 23:33] upgraded python-gdata (1.3.0-1 -> 1.3.1-1)
[2009-05-30 23:33] upgraded python-nose (0.10.4-3 -> 0.11.0-1)
[2009-05-30 23:33] upgraded python-numpy (1.3.0-1 -> 1.3.0-2)
[2009-05-30 23:33] upgraded rsync (3.0.5-1 -> 3.0.6-1)
[2009-05-30 23:34] upgraded seahorse (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:34] upgraded seahorse-plugins (2.26.1-1 -> 2.26.2-1)
[2009-05-30 23:34] upgraded sysfsutils (2.1.0-4 -> 2.1.0-5)
[2009-05-30 23:34] upgraded syslinux (3.75-4 -> 3.80-1)
[2009-05-30 23:34] upgraded sysvinit (2.86-4 -> 2.86-5)
[2009-05-30 23:34] upgraded tomboy (0.14.1-1 -> 0.14.2-1)
[2009-05-30 23:34] upgraded transmission-gtk (1.42-1 -> 1.60-1)
[2009-05-30 23:34] upgraded unrar (3.9.1-1 -> 3.9.3-1)
[2009-05-30 23:34] upgraded usbutils (0.81-1 -> 0.82-1)
[2009-05-30 23:35] upgraded vlc (0.9.9a-1 -> 0.9.9a-4)
[2009-05-30 23:35] upgraded wireless_tools (29-2 -> 29-3)
[2009-05-30 23:35] upgraded xfsprogs (3.0.0-1 -> 3.0.1-1)
[2009-05-30 23:35] upgraded xkeyboard-config (1.5-1 -> 1.6-1)
[2009-05-30 23:35] upgraded xorg-server-utils (7.4-5 -> 7.4-6)
[2009-05-30 23:35] upgraded xorg-server (1.6.1-1 -> 1.6.1.901-1)

Offline

#3 2009-06-04 23:32:58

JF
Member
From: France
Registered: 2009-03-27
Posts: 39

Re: "FILESYSTEM CHECK FAILED" after pacman -Syu

HI feralert,

I don't know if in this case fsck always complains about an ext2 partition, but since yours is supposed to be ext3, maybe there's an error in your /etc/fstab, can you post the line about your root partition ?

About the sata module and /dev/sda not found, did you try to boot the "Archlinux fallback" in case there's a problem with the new ramdisk generated by the kernel upgrade ?

Offline

#4 2009-06-05 00:11:25

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 752

Re: "FILESYSTEM CHECK FAILED" after pacman -Syu

Might wanna try booting arch cd and executing

fsck -t ext3 /dev/sdxy

where sdxy is your root partition.
(partition has to be unmounted, so arch cd, or any linux, is used)

If any partition errors fsck should be able to fix them....

Offline

Board footer

Powered by FluxBB