Temat: EXT4-fs (sda2): corrupt root inode

Witam!

Mam problem z extrootem / montowaniem partycji. O dziwo SWAP zamontował się bez problemów.
Podczas montowania otrzymuję komunikat w dmesg:

Adding 1028120k swap on /dev/sda1.  Priority:-1 extents:1 across:1028120k 
------------[ cut here ]------------
WARNING: at fs/inode.c:1265 0x800ee608()
Modules linked in: nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc ath9k ath9k_common ath9k_hw ath mac80211 crc_ccitt cfg80211 compat arc4 aes_generic deflate ecb cbc usb_storage ohci_hcd ehci_hcd sd_mod ext4 jbd2 usbcore scsi_mod nls_base mbcache crc16 leds_gpio button_hotplug gpio_buttons input_polldev input_core
Call Trace:[<8007f22c>] 0x8007f22c
[<80069378>] 0x80069378
[<80069378>] 0x80069378
[<8007e138>] 0x8007e138
[<800ee608>] 0x800ee608
[<800ee608>] 0x800ee608
[<81b82880>] 0x81b82880
[<80197d8c>] 0x80197d8c
[<800ef728>] 0x800ef728
[<81b96948>] 0x81b96948
[<81b39e74>] 0x81b39e74
[<80106cdc>] 0x80106cdc
[<80173750>] 0x80173750
[<800dcb7c>] 0x800dcb7c
[<800dd138>] 0x800dd138
[<800f3324>] 0x800f3324
[<81b92548>] 0x81b92548
[<81b94a1c>] 0x81b94a1c
[<800dbe98>] 0x800dbe98
[<800dbf94>] 0x800dbf94
[<800f467c>] 0x800f467c
[<800f4794>] 0x800f4794
[<80062544>] 0x80062544

---[ end trace 321f6fa78f93a5cb ]---
------------[ cut here ]------------
WARNING: at fs/inode.c:1270 0x800ee640()
Modules linked in: nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc ath9k ath9k_common ath9k_hw ath mac80211 crc_ccitt cfg80211 compat arc4 aes_generic deflate ecb cbc usb_storage ohci_hcd ehci_hcd sd_mod ext4 jbd2 usbcore scsi_mod nls_base mbcache crc16 leds_gpio button_hotplug gpio_buttons input_polldev input_core
Call Trace:[<80069378>] 0x80069378
[<80069378>] 0x80069378
[<8007e138>] 0x8007e138
[<800ee640>] 0x800ee640
[<800ee640>] 0x800ee640
[<81b82880>] 0x81b82880
[<80197d8c>] 0x80197d8c
[<800ef728>] 0x800ef728
[<81b96948>] 0x81b96948
[<81b39e74>] 0x81b39e74
[<80106cdc>] 0x80106cdc
[<80173750>] 0x80173750
[<800dcb7c>] 0x800dcb7c
[<800dd138>] 0x800dd138
[<800f3324>] 0x800f3324
[<81b92548>] 0x81b92548
[<81b94a1c>] 0x81b94a1c
[<800dbe98>] 0x800dbe98
[<800dbf94>] 0x800dbf94
[<800f467c>] 0x800f467c
[<800f4794>] 0x800f4794
[<80062544>] 0x80062544

---[ end trace 321f6fa78f93a5cc ]---
------------[ cut here ]------------
WARNING: at fs/inode.c:1277 0x800ee6dc()
Modules linked in: nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc ath9k ath9k_common ath9k_hw ath mac80211 crc_ccitt cfg80211 compat arc4 aes_generic deflate ecb cbc usb_storage ohci_hcd ehci_hcd sd_mod ext4 jbd2 usbcore scsi_mod nls_base mbcache crc16 leds_gpio button_hotplug gpio_buttons input_polldev input_core
Call Trace:[<8007f22c>] 0x8007f22c
[<80069378>] 0x80069378
[<80069378>] 0x80069378
[<8007e138>] 0x8007e138
[<800ee6dc>] 0x800ee6dc
[<800ee6dc>] 0x800ee6dc
[<81b82880>] 0x81b82880
[<80197d8c>] 0x80197d8c
[<800ef728>] 0x800ef728
[<81b96948>] 0x81b96948
[<81b39e74>] 0x81b39e74
[<80106cdc>] 0x80106cdc
[<80173750>] 0x80173750
[<800dcb7c>] 0x800dcb7c
[<800dd138>] 0x800dd138
[<800f3324>] 0x800f3324
[<81b92548>] 0x81b92548
[<81b94a1c>] 0x81b94a1c
[<800dbe98>] 0x800dbe98
[<800dbf94>] 0x800dbf94
[<800f467c>] 0x800f467c
[<800f4794>] 0x800f4794
[<80062544>] 0x80062544

---[ end trace 321f6fa78f93a5cd ]---
EXT4-fs (sda2): corrupt root inode, run e2fsck
EXT4-fs (sda2): mount failed

Dysk Samsung 200GB w obudowie Unitek Y-3351 USB 3.0.
Router to: TL-WR1043ND z OpenWrt Backfire (10.03.1, r30807) skompilowany przeze mnie (config ze strony http://downloads.openwrt.org/backfire/1 … 1xx/config z dodaną opcją CONFIG_BUSYBOX_CONFIG_INOTIFYD i ustawionym targetem CONFIG_TARGET_ar71xx_TLWR1043NDV1).

Próbowałem już e2fsck:

root@OpenWrt:~# e2fsck /dev/sda2
e2fsck 1.41.11 (14-Mar-2010)
/dev/sda2: clean, 11/12148736 files, 777643/48582568 blocks
root@OpenWrt:~# e2fsck /dev/sda2 -f
e2fsck 1.41.11 (14-Mar-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda2: 11/12148736 files (0.0% non-contiguous), 777643/48582568 blocks

Utworzyłem na nowo partycje (wcześniej utworzone w ubuntu za pomocą gparted):

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xda8cda8c

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         128     1028128+  82  Linux swap / Solaris
/dev/sda2             129       24321   194330272+  83  Linux

I sformatowałem jeszcze raz partycję /dev/sda2:

root@OpenWrt:~# mkfs.ext4 -O ^has_journal,extent /dev/sda2
mke2fs 1.41.11 (14-Mar-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
12148736 inodes, 48582568 blocks
2429128 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
1483 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
    4096000, 7962624, 11239424, 20480000, 23887872

Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

I dalej nic. Nie wiem czy brakuje mi jakiejś paczki, czy może coś jest nie tak z moją kompilacją.
Spis zainstalowanych paczek:

root@OpenWrt:~# opkg list-installed
base-files - 43.33-r30807
block-extroot - 0.0.1-2.1
block-mount - 0.1.0-2.2
busybox - 1.15.3-3.4
crda - 1.1.1-1
dnsmasq - 2.55-6.1
dropbear - 0.53.1-6
e2fsprogs - 1.41.11-1
fdisk - 2.13.0.1-4
firewall - 2-34.9
hotplug2 - 1.0-beta-3
iptables - 1.4.6-3.1
iptables-mod-conntrack - 1.4.6-3.1
iptables-mod-nat - 1.4.6-3.1
iw - 0.9.22-2
kernel - 2.6.32.27-1
kmod-ath - 2.6.32.27+2011-12-01-1
kmod-ath9k - 2.6.32.27+2011-12-01-1
kmod-ath9k-common - 2.6.32.27+2011-12-01-1
kmod-button-hotplug - 2.6.32.27-1
kmod-cfg80211 - 2.6.32.27+2011-12-01-1
kmod-crc-ccitt - 2.6.32.27-1
kmod-crc16 - 2.6.32.27-1
kmod-crypto-aes - 2.6.32.27-1
kmod-crypto-arc4 - 2.6.32.27-1
kmod-crypto-core - 2.6.32.27-1
kmod-fs-ext4 - 2.6.32.27-1
kmod-fs-mbcache - 2.6.32.27-1
kmod-input-core - 2.6.32.27-1
kmod-input-gpio-buttons - 2.6.32.27-1
kmod-input-polldev - 2.6.32.27-1
kmod-ipt-conntrack - 2.6.32.27-1
kmod-ipt-core - 2.6.32.27-1
kmod-ipt-nat - 2.6.32.27-1
kmod-ipt-nathelper - 2.6.32.27-1
kmod-leds-gpio - 2.6.32.27-1
kmod-mac80211 - 2.6.32.27+2011-12-01-1
kmod-nls-base - 2.6.32.27-1
kmod-ppp - 2.6.32.27-1
kmod-pppoe - 2.6.32.27-1
kmod-scsi-core - 2.6.32.27-1
kmod-usb-core - 2.6.32.27-1
kmod-usb-ohci - 2.6.32.27-1
kmod-usb-storage - 2.6.32.27-1
kmod-usb2 - 2.6.32.27-1
libblkid - 1.41.11-1
libc - 0.9.30.1-43.33
libext2fs - 1.41.11-1
libgcc - 4.3.3+cs-43.33
libip4tc - 1.4.6-3.1
libiwinfo - 18.2
libiwinfo-lua - 18.2
liblua - 5.1.4-7
libnl-tiny - 0.1-1
libpthread - 0.9.30.1-43.32
librt - 0.9.30.1-43.32
libuci - 12012009.7-4
libuci-lua - 12012009.7-4
libuuid - 1.41.11-1
libxtables - 1.4.6-3.1
lua - 5.1.4-7
luci - 0.10+svn8349-1
luci-app-firewall - 0.10+svn8349-1
luci-i18n-english - 0.10+svn8349-1
luci-lib-core - 0.10+svn8349-1
luci-lib-ipkg - 0.10+svn8349-1
luci-lib-lmo - 0.10+svn8349-1
luci-lib-nixio - 0.10+svn8349-1
luci-lib-sys - 0.10+svn8349-1
luci-lib-web - 0.10+svn8349-1
luci-mod-admin-core - 0.10+svn8349-1
luci-mod-admin-full - 0.10+svn8349-1
luci-proto-core - 0.10+svn8349-1
luci-proto-ppp - 0.10+svn8349-1
luci-sgi-cgi - 0.10+svn8349-1
luci-theme-base - 0.10+svn8349-1
luci-theme-openwrt - 0.10+svn8349-1
mtd - 13
opkg - 576-2
ppp - 2.4.4-16.1
ppp-mod-pppoe - 2.4.4-16.1
swconfig - 9
uci - 12012009.7-4
udevtrigger - 106-1
uhttpd - 28.1
wireless-tools - 29-4
wpad-mini - 20111103-3

2

Odp: EXT4-fs (sda2): corrupt root inode

Coś psuje Ci ten system plików. Żeby się nie okazało że ten mostek niekoniecznie chce działać z routerem.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: EXT4-fs (sda2): corrupt root inode

Cezary napisał/a:

Coś psuje Ci ten system plików. Żeby się nie okazało że ten mostek niekoniecznie chce działać z routerem.

Ale czemu e2fsck nic nie pokazuje?
Może coś skopałem przy kompilacji. Zedytowałem tylko plik .config, żeby miał INOTIFYD. Robiąc to przez make menuconfig cała konfiguracja się zmieniała, mimo że chciałem tylko zmienić target i ustawić INOTIFYD.
Teraz zauważyłem, że te obudowy zniknęły z Allegro, a producent ma na stronie tylko model Y-3352. Może rzeczywiście jest coś nie tak.

4

Odp: EXT4-fs (sda2): corrupt root inode

Zrobiłem mały test z pendrivem 2GB, który wcześniej montował się bez problemów (na oryginalnym Backfire 10.03.1). Otrzymałem te same komunikaty w dmesg. Coś musi być nie tak z firmwarem, który skompilowałem albo paczki, które doinstalowałem. Co mogłem zepsuć przy kompilacji? Które paczki mogę spróbować przeinstalować? Ewentualnie gdzie mogę ściągnąć domyślny config Backfire 10.03.1 z dodanym INOTIFYD?

5

Odp: EXT4-fs (sda2): corrupt root inode

Nie ma jeszcze oficjalnej wersji. Dodali to już swego czasu, a będzie w 10.03.2.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

6

Odp: EXT4-fs (sda2): corrupt root inode

Tak jak myślałem, coś zepsułem przy kompilacji. Po sysupgrade do Backfire by obsy (stąd http://ecco.selfip.net/backfire/ar71xx/), wszystko ruszyło jak za dotknięciem magicznej różdżki.