lkml.org 
[lkml]   [2011]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.39-rc5-git2 boot crashs
    On Fri, Apr 29, 2011 at 07:47:14PM -0700, Linus Torvalds wrote:
    > On Fri, Apr 29, 2011 at 7:31 PM, Linus Torvalds
    > <torvalds@linux-foundation.org> wrote:
    > >
    > > It looks like a NULL pointer dereference with offset 4, so at a guess,
    > > super->s_freeing_list.next is NULL, and it's the "next->prev = entry"
    > > instruction that faults when inserting into that list.
    > >
    > > How/why would s_freeing_list be NULL? I have no idea. But it looks
    > > like a failed mount, so presumably it was never initialized.
    >
    > Hmm. super->s_freeing_list is initialized pretty late in
    > logfs_read_sb(), and any error path _before_ that point will result in
    > a "goto err1" in logfs_get_sb_device() which will do various iputs
    > etc. All without that list initialized. That would seem to be the
    > cause of this, possibly triggered by Al's changes to ->mount from
    > read_super.

    Then it ought to be reproducible with much ealier kernels. Say, 2.6.37 or
    so... That part of ->mount() series went in during last Autumn...


    \
     
     \ /
      Last update: 2011-04-30 04:59    [W:0.032 / U:0.184 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site