lkml.org 
[lkml]   [2006]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Slab corruption after unloading a module
    On Thu, 13 Apr 2006 11:04:39 +1200 Zhiyi Huang wrote:

    > > 2.6.8 is an old kernel, you could very well be hitting a kernel bug
    > > that has been fixed already. Can you reproduce this with 2.6.16?
    >
    > I will try that soon.
    >
    > > Also,
    > > you're not including sources to your module so it's impossible to tell
    > > whether you're doing something wrong.
    > >
    > > Pekka
    >
    > Below is my baby module which only uses kmalloc and kfree for my device
    > structure. I found the slab corruption address is the address of the structure.
    > It seems to be a bug for kmalloc and kfree.

    I haven't looked at your source code yet, but in addition to testing with a
    recent kernel version, it may help to enable lots of kernel debug options.
    Could you try that too, or do you already do that?

    ---
    ~Randy
    -
    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/

    \
     
     \ /
      Last update: 2006-04-13 01:30    [W:0.024 / U:29.180 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site