[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Ext3, Raid5, and Quotas on 2.4.14?

RW Hawkins wrote:
> The following error occurs on a test machine with 2.4.14 and
> ext3-2.4-0.9.15-2414 patch. The filesystem is on a Western Digital IDE
> drive. It occurs fairly quickly with a 2 process workload.
> EXT3 FS 2.4-0.9.15, 06 Nov 2001 on ide1(22,1), internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> Assertion failure in journal_bmap() at journal.c:636: "ret != 0"
> invalid operand: 0000

Wow.  ext3 thinks that the journal file includes block zero.


0: make sure that you have an intact .journal file at the top
   of that filesystem (ls -la /mount/point/of/fs)

1: edit fs/ext3/inode.c and at line 1161 add:

                 * NB. EXT3_STATE_JDATA is not set on files other than
                 * regular files.  If somebody wants to bmap a directory
                 * or symlink and gets confused because the buffer
                 * hasn't yet been flushed to disk, they deserve
                 * everything they get.
+	printk("I am really surprised\n");   
                journal = EXT3_JOURNAL(inode);
                err = journal_flush(journal);

   and then rerun the test.

2: Run `fsck -f' against the filesystem.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]