Re: Oops with tmpfs on both 2.4.22 & 2.6.0-test11

From: William Lee Irwin III (wli_at_holomorphy.com)
Date: 11/30/03

  • Next message: Bernd Petrovitsch: "Re: 2.6 not cat proof"
    Date:	Sun, 30 Nov 2003 12:06:15 -0800
    To: James W McMechan <mcmechanjw@juno.com>
    
    

    At some point in the past, I wrote:
    >> Please post the oops (run through ksymoops as-needed).

    On Sun, Nov 30, 2003 at 09:34:44AM -0800, James W McMechan wrote:
    > I still think the one line test program was easier...
    > I hope this helps

    Could you try 2.6 with the following patch and send in the resulting
    oops/BUG? Please turn on kallsyms for the run.

    Thanks.

    -- wli

    --- fs/libfs.c.orig 2003-11-30 12:02:09.000000000 -0800
    +++ fs/libfs.c 2003-11-30 12:04:36.000000000 -0800
    @@ -60,6 +60,9 @@
     
     loff_t dcache_dir_lseek(struct file *file, loff_t offset, int origin)
     {
    + BUG_ON(!file);
    + BUG_ON(!file->f_dentry);
    + BUG_ON(!file->f_dentry->d_inode);
             down(&file->f_dentry->d_inode->i_sem);
             switch (origin) {
                     case 1:
    @@ -83,10 +86,12 @@
                             while (n && p != &file->f_dentry->d_subdirs) {
                                     struct dentry *next;
                                     next = list_entry(p, struct dentry, d_child);
    + BUG_ON(!next);
                                     if (!d_unhashed(next) && next->d_inode)
                                             n--;
                                     p = p->next;
                             }
    + BUG_ON(!cursor);
                             list_del(&cursor->d_child);
                             list_add_tail(&cursor->d_child, p);
                             spin_unlock(&dcache_lock);
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Bernd Petrovitsch: "Re: 2.6 not cat proof"

    Relevant Pages

    • Re: XFS breakage in 2.6.18-rc1
      ... system disk too who had to take the hit. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: How to run an a.out file in a kernel module
      ... called in a kernel module using call_usermodehelper ... Please read the FAQ at http://www.tux.org/lkml/ ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: XFS Bug null pointer dereference in xfs_free_ag_extent
      ... I also filed bug 6877 at kernel.org ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [patch] remove unused acct variables from task_struct
      ... struct mempolicy *mempolicy; ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: DIPC alpha2 for i386, Alpha, SPARC, and M68k
      ... there seems to be a delay on cs.uwindsor.ca between the time you upload something and the time it actually shows up on the page. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)