You are not logged in.

#1 2009-06-27 21:46:52

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Serious issue with ext4

Hi there, I report a problem I have had recently with my ext4 partition. I plan to report it directly to kernel developers, but in the meantime I would like to know if any other archer experienced something like this.

During a pacman update (pacman was installing the updated go-openoffice from the testing repo) everything stopped working properly. The installation of the package stopped around 40% and any other command in the terminal emulator returned an input/output error, including the shutdown command.
So the only solution has been an hard reboot, but after that grub stopped working with a 25 error. I booted the archlinux installation disk but it was impossible to mount my ext4 root partition in the HD (the error was: no superblock). I tried to force a fsck for that partition, but also this failed due to "no superblock".

However I have been able to chroot to my Zenwalk installation in another partition and to install lilo from there. Then I booted Zenwalk and I retried to fsck the archlinux ext4 root partition from Zenwalk. This time the check worked, displaying lots of errors about files and directories (mostly files connected with the packages which pacman was updating previously). Then I have been able to reinstall grub and to reboot in archlinux. I got tons of strange errors concerning the shell and the fonts and I had to reinstall many packages (bash, zsh, many fonts) with pacman in order to solve them. Now I think that everything is working properly.

This is what I found in the system logs:

Jun 27 16:12:04 clarabella kernel: EXT4-fs error (device sda2): mb_free_blocks: double-free of inode 0's block 664279(bit 8919 in group 20)
Jun 27 16:12:16 clarabella kernel: BUG: unable to handle kernel paging request at ffff88004d8eee00
Jun 27 16:12:16 clarabella kernel: IP: [<ffffffffa0154c06>] ext4_mb_load_buddy+0x66/0x390 [ext4]
Jun 27 16:12:16 clarabella kernel: PGD 202063 PUD 0 
Jun 27 16:12:16 clarabella kernel: Oops: 0000 [#1] PREEMPT SMP 
Jun 27 16:12:16 clarabella kernel: CPU 0 
Jun 27 16:12:16 clarabella kernel: Modules linked in: usblp cpufreq_ondemand cpufreq_powersave ipv6 reiserfs sr_mod cdrom snd_seq_dummy snd_seq_oss snd_hda_codec_realtek snd_seq_midi_event snd_seq snd_seq_device snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_hwdep uvcvideo pcmcia arc4 snd_pcm videodev ecb snd_timer snd soundcore joydev btusb bluetooth v4l1_compat v4l2_compat_ioctl32 usb_storage ohci1394 sony_laptop snd_page_alloc iwl3945 ricoh_mmc iTCO_wdt yenta_socket rsrc_nonstatic pcmcia_core ieee1394 psmouse iTCO_vendor_support iwlcore rfkill mac80211 led_class serio_raw sg uhci_hcd cfg80211 sky2 i2c_i801 ehci_hcd usbcore evdev thermal fan button battery ac acpi_cpufreq freq_table processor fuse rtc_cmos rtc_core rtc_lib ext4 mbcache jbd2 crc16 sd_mod ata_piix libata scsi_mod i915 i2c_algo_bit video output drm i2c_core intel_agp
Jun 27 16:12:16 clarabella kernel: Pid: 18117, comm: pdflush Not tainted 2.6.30-ARCH #1 VGN-TZ21MN_N
Jun 27 16:12:16 clarabella kernel: RIP: 0010:[<ffffffffa0154c06>]  [<ffffffffa0154c06>] ext4_mb_load_buddy+0x66/0x390 [ext4]
Jun 27 16:12:16 clarabella kernel: RSP: 0018:ffff880022607900  EFLAGS: 00010206
Jun 27 16:12:16 clarabella kernel: RAX: ffff88003d8ef000 RBX: ffff880022607970 RCX: 0000000001ffffc0
Jun 27 16:12:16 clarabella kernel: RDX: 00000000ffffe014 RSI: 0000000000000080 RDI: ffff88003e4a6400
Jun 27 16:12:16 clarabella kernel: RBP: ffff88003e4a6400 R08: ffff8800226079c4 R09: 0000000000000000
Jun 27 16:12:16 clarabella kernel: RBP: ffff88003e4a6400 R08: ffff8800226079c4 R09: 0000000000000000
Jun 27 16:12:16 clarabella kernel: R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
Jun 27 16:12:16 clarabella kernel: R13: ffff88003ed8c7f0 R14: 00000000ffffe014 R15: 00000000ffffc028
Jun 27 16:12:16 clarabella kernel: FS:  0000000000000000(0000) GS:ffff88000100a000(0000) knlGS:0000000000000000
Jun 27 16:12:16 clarabella kernel: CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
Jun 27 16:12:16 clarabella kernel: CR2: ffff88004d8eee00 CR3: 0000000000201000 CR4: 00000000000006e0
Jun 27 16:12:16 clarabella kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jun 27 16:12:16 clarabella kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Jun 27 16:12:16 clarabella kernel: Process pdflush (pid: 18117, threadinfo ffff880022606000, task ffff88003f2acbc0)
Jun 27 16:12:16 clarabella kernel: Stack:
Jun 27 16:12:16 clarabella kernel: 0000000000000000 0000000000000246 0000000100001d81 00000000d8e1d43b
Jun 27 16:12:16 clarabella kernel: ffff88000f449cc0 ffff880003f75820 ffff880022607990 ffff88003e4a6400
Jun 27 16:12:16 clarabella kernel: ffff880030be6408 ffff8800226079b0 ffff880022607970 ffffffffa01574b1
Jun 27 16:12:16 clarabella kernel: Call Trace:
Jun 27 16:12:16 clarabella kernel: [<ffffffffa01574b1>] ? ext4_discard_preallocations+0x1e1/0x450 [ext4]
Jun 27 16:12:16 clarabella kernel: [<ffffffff802c226e>] ? mempool_alloc+0x5e/0x160
Jun 27 16:12:16 clarabella kernel: [<ffffffffa013adae>] ? ext4_get_blocks_wrap+0x2de/0x360 [ext4]
Jun 27 16:12:16 clarabella kernel: [<ffffffffa013c84b>] ? mpage_da_map_blocks+0xdb/0x730 [ext4]
Jun 27 16:12:16 clarabella kernel: [<ffffffff802ca33c>] ? pagevec_lookup_tag+0x2c/0x50
Jun 27 16:12:16 clarabella kernel: [<ffffffff802c7c89>] ? write_cache_pages+0x119/0x470
Jun 27 16:12:16 clarabella kernel: [<ffffffffa013d450>] ? __mpage_da_writepage+0x0/0x1b0 [ext4]
Jun 27 16:12:16 clarabella kernel: [<ffffffffa013d181>] ? ext4_da_writepages+0x2e1/0x4b0 [ext4]
Jun 27 16:12:16 clarabella kernel: [<ffffffff802c8082>] ? do_writepages+0x32/0x60
Jun 27 16:12:16 clarabella kernel: [<ffffffff803217f0>] ? __writeback_single_inode+0xc0/0x4f0
Jun 27 16:12:16 clarabella kernel: [<ffffffff803b3439>] ? _atomic_dec_and_lock+0x79/0xa0
Jun 27 16:12:16 clarabella kernel: [<ffffffff80322083>] ? generic_sync_sb_inodes+0x193/0x530
Jun 27 16:12:16 clarabella kernel: [<ffffffff80322695>] ? writeback_inodes+0x65/0x120
Jun 27 16:12:16 clarabella kernel: [<ffffffff802c82f6>] ? wb_kupdate+0xc6/0x160
Jun 27 16:12:16 clarabella kernel: [<ffffffff802c96ab>] ? pdflush+0x16b/0x2a0
Jun 27 16:12:16 clarabella kernel: [<ffffffff802c9540>] ? pdflush+0x0/0x2a0
Jun 27 16:12:16 clarabella kernel: [<ffffffff8026c0b4>] ? kthread+0x64/0xc0
Jun 27 16:12:16 clarabella kernel: [<ffffffff8024ae30>] ? schedule_tail+0x30/0x80
Jun 27 16:12:16 clarabella kernel: [<ffffffff8020d4fa>] ? child_rip+0xa/0x20
Jun 27 16:12:16 clarabella kernel: [<ffffffff8026c050>] ? kthread+0x0/0xc0
Jun 27 16:12:16 clarabella kernel: [<ffffffff8020d4f0>] ? child_rip+0x0/0x20
Jun 27 16:12:16 clarabella kernel: Code: 00 00 48 f7 77 18 44 89 f2 8b 8e 90 00 00 00 4c 8b ae 28 02 00 00 49 89 c4 44 89 f0 d3 e8 89 c1 48 8b 86 20 02 00 00 48 8b 76 30 <48> 8b 04 c8 48 83 ee 01 48 21 d6 48 8b 3c f0 0f b6 45 20 44 89 
Jun 27 16:12:16 clarabella kernel: RIP  [<ffffffffa0154c06>] ext4_mb_load_buddy+0x66/0x390 [ext4]
Jun 27 16:12:16 clarabella kernel: RSP <ffff880022607900>
Jun 27 16:12:16 clarabella kernel: CR2: ffff88004d8eee00
Jun 27 16:12:16 clarabella kernel: ---[ end trace a148b2c5eaf36580 ]---

Mortuus in anima, curam gero cutis

Offline

#2 2009-06-28 14:20:32

goran'agar
Member
From: Nothern Italy
Registered: 2009-05-19
Posts: 171

Re: Serious issue with ext4

This look like a ext4-related kernel bug. I suggest to report it to linux kernel mailing list (linux-kernel@vger.kernel.org),  with some details (HW, kernel version, kernel config); please also cc Ted T'so (tytso@mit.edu) (ext4 kernel maintainer) and the mailing linux-ext4@vger.kernel.org .


Sony Vaio VPCM13M1E  - Arch Linux - LXDE

Offline

Board footer

Powered by FluxBB