lkml.org 
[lkml]   [2008]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.25-git2: BUG: unable to handle kernel paging request at ffffffffffffffff
    On 04/23/2008 05:53 PM, Linus Torvalds wrote:
    >> (SPIN LOCK already disabled is my personal trace ooops which is just
    >> checking if the spin_lock_irq is already called with disabled irq - in
    >> this place probably irqsave version should be used instead, otherwice
    >> it's not properly restored)
    >
    > Yes, that's interesting to see.

    And this too :/:

    #include <err.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>

    #define MAGIC 0xff00aa00deadcc22ULL

    int main()
    {
    unsigned int a, b, c = 0;
    unsigned long long *ch;

    while (1) {
    ch = malloc(1000000000);
    if (!ch)
    err(1, "malloc");

    for (a = 0; a < 1000000000/sizeof(*ch); a++)
    ch[a] = MAGIC;

    printf("alloced %u\n", c);
    sleep(10);

    for (a = 0; a < 1000000000/sizeof(*ch); a++)
    if (ch[a] != MAGIC) {
    printf("WHAT THE HELL (%.8lx):\n", a *
    sizeof(*ch));
    for (b = a - a % 10; b < (a - a % 10) + 100; b++) {
    printf("%.16llx ", ch[b]);
    if (!((b + 1) % 10))
    puts("");
    }
    exit(1);
    }
    free(ch);
    printf("freed %u\n", c);
    sleep(10);
    c++;
    }

    return 0;
    }

    20 arpings running on wlan0 (don't know if this is related so far), suspend,
    resume, right after resume:

    freed 114
    alloced 115
    freed 115
    alloced 116
    WHAT THE HELL (000a3ff8):
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadccf0
    ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadccf0 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22 ff00aa00deadcc22
    ff00aa00deadcc22 ff00aa00deadcc22

    Again those fuc*ing 0xf0s...

    Shouldn't be 2.6.25 uttered as broken until this is solved to not corrupt
    anyone's data? I'm going to play with that testing program further in the meantime.


    \
     
     \ /
      Last update: 2008-04-25 00:29    [W:0.031 / U:0.052 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site