All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: ext3 bug
Date: Sun, 27 Feb 2005 02:04:56 -0500	[thread overview]
Message-ID: <1109487896.8360.16.camel@localhost> (raw)

[-- Attachment #1: Type: text/plain, Size: 807 bytes --]

Hi,

Looks like I ran into an ext3 bug (or at least the log says so). I got a
bunch of messages like:
ext3_free_blocks_sb: aborting transaction: Journal has aborted in
__ext3_journal_get_undo_access<2>EXT3-fs error (device sda2) in
ext3_free_blocks_sb: Journal has aborted
EXT3-fs error (device sda2): ext3_free_blocks: Freeing blocks in system
zones -Block = 228, count = 1

It happened while I was doing an "rm -rf" on a directory. The "rm" gave
a segfault and now I can't unmount the filesystem: unmount says "device
is busy", even though lsof reports nothing. The filesystem is on a USB
hard disk. The actual dump is in attachment. I'm running Debian unstable
with a custom 2.6.10 kernel on a 1.6 GHz Pentium-M.

	Jean-Marc

-- 
Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca>
Université de Sherbrooke

[-- Attachment #2: ext3_bug --]
[-- Type: text/plain, Size: 5420 bytes --]

Feb 27 01:15:48 idefix kernel: ------------[ cut here ]------------
Feb 27 01:15:48 idefix kernel: PREEMPT 
Feb 27 01:15:48 idefix kernel: Modules linked in: msdos sd_mod udf isofs sr_mod usb_storage scsi_mod joydev usbhid appletalk ax25 ipx radeon ipt_state iptable_filter iptable_mangle iptable_nat ip_conntrack ip_tables ipv6 orinoco_cs orinoco hermes pcmcia lp binfmt_misc af_packet parport_pc parport uhci_hcd pci_hotplug intel_agp agpgart yenta_socket pcmcia_core tg3 snd_intel8x0 snd_ac97_codec ehci_hcd usbcore nls_iso8859_1 nls_cp437 vfat fat ppp_async ppp_generic slhc crc_ccitt snd_pcm_oss tsdev evdev snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd soundcore psmouse thermal fan button ac battery cpufreq_ondemand cpufreq_powersave speedstep_centrino freq_table processor
Feb 27 01:15:48 idefix kernel: CPU:    0
Feb 27 01:15:48 idefix kernel: EIP:    0060:[<b01af540>]    Not tainted VLI
Feb 27 01:15:48 idefix kernel: EFLAGS: 00210286   (2.6.10) 
Feb 27 01:15:48 idefix kernel: EIP is at journal_forget+0x1d0/0x220
Feb 27 01:15:48 idefix kernel: eax: 0000005f   ebx: d1f1c000   ecx: b032c7cc   edx: b032c7cc
Feb 27 01:15:48 idefix kernel: esi: b8932d48   edi: bb2ad41c   ebp: dd668080   esp: d1f1dda0
Feb 27 01:15:48 idefix kernel: ds: 007b   es: 007b   ss: 0068
Feb 27 01:15:48 idefix kernel: Process rm (pid: 10370, threadinfo=d1f1c000 task=c97f49e0)
Feb 27 01:15:48 idefix kernel: Stack: b02f67e0 b02e1027 b02f445b 000004ca b02f4571 00000000 be0a5aac b8932d48 
Feb 27 01:15:48 idefix kernel:        dfc002b8 b019c940 dfc002b8 b8932d48 e73d7980 b275f400 b8932d48 00000006 
Feb 27 01:15:48 idefix kernel:        b0aeb448 dfc002b8 be0a5aac b019f028 dfc002b8 00000000 be0a5aac b8932d48 
Feb 27 01:15:48 idefix kernel: Call Trace:
Feb 27 01:15:48 idefix kernel:  [<b019c940>] ext3_forget+0xf0/0x100
Feb 27 01:15:48 idefix kernel:  [<b019f028>] ext3_clear_blocks+0x118/0x170
Feb 27 01:15:48 idefix kernel:  [<b019f118>] ext3_free_data+0x98/0x150
Feb 27 01:15:48 idefix kernel:  [<b019f2bc>] ext3_free_branches+0xec/0x270
Feb 27 01:15:48 idefix kernel:  [<b019f8ab>] ext3_truncate+0x46b/0x5d0
Feb 27 01:15:48 idefix kernel:  [<b01a08b8>] ext3_mark_iloc_dirty+0x28/0x40
Feb 27 01:15:48 idefix kernel:  [<b01ae12d>] journal_start+0xad/0xe0
Feb 27 01:15:48 idefix kernel:  [<b01a5234>] __ext3_journal_stop+0x24/0x50
Feb 27 01:15:48 idefix kernel:  [<b019c9a9>] start_transaction+0x29/0x70
Feb 27 01:15:48 idefix kernel:  [<b019cb28>] ext3_delete_inode+0xc8/0x100
Feb 27 01:15:48 idefix kernel:  [<b019ca60>] ext3_delete_inode+0x0/0x100
Feb 27 01:15:48 idefix kernel:  [<b01726f5>] generic_delete_inode+0xa5/0x170
Feb 27 01:15:48 idefix kernel:  [<b01729a3>] iput+0x63/0x90
Feb 27 01:15:48 idefix kernel:  [<b0167f27>] sys_unlink+0xd7/0x150
Feb 27 01:15:48 idefix kernel:  [<b016ad40>] sys_getdents64+0xa0/0xaa
Feb 27 01:15:48 idefix kernel:  [<b016aba0>] filldir64+0x0/0x100
Feb 27 01:15:48 idefix kernel:  [<b01030df>] syscall_call+0x7/0xb
Feb 27 01:15:48 idefix kernel: Code: 2f b0 b8 71 45 2f b0 89 44 24 10 b8 ca 04 00 00 89 44 24 0c b8 5b 44 2f b0 89 44 24 08 b8 27 10 2e b0 89 44 24 04 e8 c0 a6 f6 ff <0f> 0b ca 04 5b 44 2f b0 e9 4d ff ff ff c7 04 24 e0 67 2f b0 b8 
Feb 27 01:15:48 idefix kernel:  <6>note: rm[10370] exited with preempt_count 2
Feb 27 01:15:48 idefix kernel:  [<b02d8772>] schedule+0x532/0x540
Feb 27 01:15:48 idefix kernel:  [<b0146c53>] unmap_page_range+0x53/0x80
Feb 27 01:15:48 idefix kernel:  [<b0146e36>] unmap_vmas+0x1b6/0x1d0
Feb 27 01:15:48 idefix kernel:  [<b014b53d>] exit_mmap+0x7d/0x160
Feb 27 01:15:48 idefix kernel:  [<b0117617>] mmput+0x37/0xa0
Feb 27 01:15:48 idefix kernel:  [<b011c06f>] do_exit+0x16f/0x470
Feb 27 01:15:48 idefix kernel:  [<b01046a0>] do_invalid_op+0x0/0xd0
Feb 27 01:15:48 idefix kernel:  [<b01042cb>] die+0x18b/0x190
Feb 27 01:15:48 idefix kernel:  [<b0104752>] do_invalid_op+0xb2/0xd0
Feb 27 01:15:48 idefix kernel:  [<b01af540>] journal_forget+0x1d0/0x220
Feb 27 01:15:48 idefix kernel:  [<b01162d1>] __wake_up_common+0x41/0x70
Feb 27 01:15:48 idefix kernel:  [<b0119e9f>] release_console_sem+0xbf/0xd0
Feb 27 01:15:48 idefix kernel:  [<b0103b17>] error_code+0x2b/0x30
Feb 27 01:15:48 idefix kernel:  [<b01af540>] journal_forget+0x1d0/0x220
Feb 27 01:15:48 idefix kernel:  [<b019c940>] ext3_forget+0xf0/0x100
Feb 27 01:15:48 idefix kernel:  [<b019f028>] ext3_clear_blocks+0x118/0x170
Feb 27 01:15:48 idefix kernel:  [<b019f118>] ext3_free_data+0x98/0x150
Feb 27 01:15:48 idefix kernel:  [<b019f2bc>] ext3_free_branches+0xec/0x270
Feb 27 01:15:48 idefix kernel:  [<b019f8ab>] ext3_truncate+0x46b/0x5d0
Feb 27 01:15:48 idefix kernel:  [<b01a08b8>] ext3_mark_iloc_dirty+0x28/0x40
Feb 27 01:15:48 idefix kernel:  [<b01ae12d>] journal_start+0xad/0xe0
Feb 27 01:15:48 idefix kernel:  [<b01a5234>] __ext3_journal_stop+0x24/0x50
Feb 27 01:15:48 idefix kernel:  [<b019c9a9>] start_transaction+0x29/0x70
Feb 27 01:15:48 idefix kernel:  [<b019cb28>] ext3_delete_inode+0xc8/0x100
Feb 27 01:15:48 idefix kernel:  [<b019ca60>] ext3_delete_inode+0x0/0x100
Feb 27 01:15:48 idefix kernel:  [<b01726f5>] generic_delete_inode+0xa5/0x170
Feb 27 01:15:48 idefix kernel:  [<b01729a3>] iput+0x63/0x90
Feb 27 01:15:48 idefix kernel:  [<b0167f27>] sys_unlink+0xd7/0x150
Feb 27 01:15:48 idefix kernel:  [<b016ad40>] sys_getdents64+0xa0/0xaa
Feb 27 01:15:48 idefix kernel:  [<b016aba0>] filldir64+0x0/0x100
Feb 27 01:15:48 idefix kernel:  [<b01030df>] syscall_call+0x7/0xb

             reply	other threads:[~2005-02-27  7:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-27  7:04 Jean-Marc Valin [this message]
2005-02-27 19:06 ` ext3 bug Parag Warudkar
2005-02-27 19:27   ` Dave Jones
2005-02-27 19:40     ` Parag Warudkar
2005-02-27 22:58   ` Jean-Marc Valin
2005-02-28  1:10     ` Parag Warudkar
2005-02-28  2:04       ` Jean-Marc Valin
2005-02-28  2:24         ` Parag Warudkar
2005-02-28 15:31     ` jmerkey
2005-02-28 21:50       ` Jean-Marc Valin
2005-03-01  4:04         ` jmerkey
2005-03-01  4:06           ` jmerkey
2005-03-01  5:25             ` Jeffrey E. Hundstad
2005-03-01  6:38               ` jmerkey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1109487896.8360.16.camel@localhost \
    --to=jean-marc.valin@usherbrooke.ca \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.