public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Peter Williams <pwil3058@bigpond.net.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6.9-rc1-bk14 Oops] In groups_search()
Date: Fri, 10 Sep 2004 00:54:54 -0700	[thread overview]
Message-ID: <20040910005454.23bbf9fb.akpm@osdl.org> (raw)
In-Reply-To: <41415B15.1050402@bigpond.net.au>

Peter Williams <pwil3058@bigpond.net.au> wrote:
>
>  Sep 10 17:22:29 mudlark kernel: Unable to handle kernel paging request at virtual address f2d8bef4
>  Sep 10 17:22:29 mudlark kernel:  printing eip:
>  Sep 10 17:22:29 mudlark kernel: c013957f
>  Sep 10 17:22:29 mudlark kernel: *pde = 00507067
>  Sep 10 17:22:29 mudlark kernel: *pte = 32d8b000
>  Sep 10 17:22:29 mudlark kernel: Oops: 0000 [#1]
>  Sep 10 17:22:29 mudlark kernel: PREEMPT DEBUG_PAGEALLOC
>  Sep 10 17:22:29 mudlark kernel: Modules linked in: tulip ohci_hcd
>  Sep 10 17:22:29 mudlark kernel: CPU:    0
>  Sep 10 17:22:29 mudlark kernel: EIP:    0060:[<c013957f>]    Not tainted VLI
>  Sep 10 17:22:30 mudlark kernel: EFLAGS: 00010082   (2.6.9-rc1-bk16) 
>  Sep 10 17:22:30 mudlark kernel: EIP is at cache_free_debugcheck+0x207/0x2a3
>  Sep 10 17:22:30 mudlark kernel: eax: f2d8bef4   ebx: 80052c00   ecx: f2d8bef8   edx: 00000ef8
>  Sep 10 17:22:32 mudlark kernel: esi: f2d3164c   edi: f2d8b000   ebp: c18ff680   esp: f2e95cfc
>  Sep 10 17:22:33 mudlark kernel: ds: 007b   es: 007b   ss: 0068
>  Sep 10 17:22:34 mudlark rc: Starting webmin:  succeeded
>  Sep 10 17:22:34 mudlark kernel: Process mount (pid: 2671, threadinfo=f2e94000 task=f2da1a60)
>  Sep 10 17:22:34 mudlark kernel: Stack: c18ff680 f2d8b000 00000000 00000246 32d8b000 c18ff680 c1903054 f2d8bef8 
>  Sep 10 17:22:34 mudlark kernel:        00000282 c013a185 c18ff680 f2d8bef8 c01b2a6d 00000000 f2d8bef8 f2d8bfe5 
>  Sep 10 17:22:34 mudlark kernel:        f2d8bef8 c01b2a6d f2d8bef8 00000041 00000800 f2fafec0 00000005 0000001f 
>  Sep 10 17:22:34 mudlark kernel: Call Trace:
>  Sep 10 17:22:34 mudlark kernel:  [<c013a185>] kfree+0x59/0x9b
>  Sep 10 17:22:34 mudlark kernel:  [<c01b2a6d>] parse_rock_ridge_inode_internal+0x1c9/0x654
>  Sep 10 17:22:34 mudlark kernel:  [<c01b2a6d>] parse_rock_ridge_inode_internal+0x1c9/0x654
>  Sep 10 17:22:34 mudlark kernel:  [<c01b3090>] parse_rock_ridge_inode+0x27/0x67

Could you see if this patch fixes the above crash?

--- 25/fs/isofs/rock.c~rock-kludge	2004-09-10 00:52:30.394468656 -0700
+++ 25-akpm/fs/isofs/rock.c	2004-09-10 00:53:14.544756792 -0700
@@ -62,7 +62,7 @@
 }                                     
 
 #define MAYBE_CONTINUE(LABEL,DEV) \
-  {if (buffer) kfree(buffer); \
+  {if (buffer) { kfree(buffer); buffer = NULL; } \
   if (cont_extent){ \
     int block, offset, offset1; \
     struct buffer_head * pbh; \
_


I sure hope it does, so I don't have to look at rock.c again.

  parent reply	other threads:[~2004-09-10  7:57 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-09  0:54 [2.6.9-rc1-bk14 Oops] In groups_search() Peter Williams
2004-09-09  8:06 ` Andrew Morton
2004-09-09 23:58   ` Peter Williams
2004-09-10  0:14     ` Andrew Morton
2004-09-10  1:53       ` Peter Williams
2004-09-10  3:06         ` Andrew Morton
2004-09-10  5:45           ` Peter Williams
2004-09-10  6:18             ` Andrew Morton
2004-09-10  6:28               ` Peter Williams
2004-09-10  6:37                 ` Tim Hockin
2004-09-10  7:05                   ` Peter Williams
2004-09-10  6:52                 ` Andrew Morton
2004-09-10  7:43                   ` Peter Williams
2004-09-10  7:49                     ` Andrew Morton
2004-09-10  7:54                     ` Andrew Morton [this message]
2004-09-10  8:13                       ` Peter Williams
2004-09-10  8:46                         ` Peter Williams
2004-09-10  8:54                           ` Andrew Morton
2004-09-10 10:55                             ` Peter Williams
2004-09-10 13:04                             ` Peter Williams

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=20040910005454.23bbf9fb.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pwil3058@bigpond.net.au \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox