lkml.org 
[lkml]   [2003]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectoops with bk kernel as of 2003-05-25T13:00:00-07
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I get an oops at startup time:

    Unable to handle kernel NULL pointer dereference at virtual address 000003fc
    printing eip:
    c0226e77
    *pde = 00000000
    Oops: 0000 [#1]
    CPU: 0
    EIP: 0060:[<c0226e77>] Not tainted
    EFLAGS: 00010246
    EIP is at kobj_map+0x9b/0x137
    eax: cffbdf40 ebx: 00002400 ecx: cffbe6dc edx: 00000000
    esi: 00000001 edi: 00000100 ebp: 00000024 esp: c1297f3c
    ds: 007b es: 007b ss: 0068
    Process swapper (pid: 1, threadinfo=c1296000 task=c1295900)
    Stack: 0000001c 000000d0 00000001 cffbdf40 00002400 cffbdf48 cffbe6a0
    c0157a4e
    00000000 00002400 00000100 00000000 c01579c8 c01579cd cffbdf40
    cffbdf40
    00000001 c01575d1 cffbdf40 00002400 00000100 c0316117 c03cdea4
    00000000
    Call Trace:
    [<c0157a4e>] cdev_add+0x63/0x65
    [<c01579c8>] exact_match+0x0/0x5
    [<c01579cd>] exact_lock+0x0/0x1e
    [<c01575d1>] register_chrdev+0xc6/0x10f
    [<c039ec53>] init_netlink+0x1f/0x58
    [<c039ec2e>] netlink_proto_init+0x47/0x4d
    [<c0382880>] do_initcalls+0x27/0x93
    [<c012ddc3>] init_workqueues+0xf/0x26
    [<c01050a8>] init+0x4c/0x1a8
    [<c010505c>] init+0x0/0x1a8
    [<c0108a15>] kernel_thread_helper+0x5/0xb



    I looked at the code and the problem is that cdev_map == NULL when
    cdev_add is called. cdev_map is initialized in a constructor. Maybe
    the wrong order or a race...

    - --
    - --------------. ,-. 444 Castro Street
    Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
    Red Hat `--' drepper at redhat.com `---------------------------
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.1 (GNU/Linux)

    iD8DBQE+0Scn2ijCOnn/RHQRAnuKAJ0dSiCceWR44y9tBDTV1M6DprpJ7ACeJ2tu
    GuQRjOGRP8x7iHi4+TvjxVI=
    =ydEX
    -----END PGP SIGNATURE-----

    -
    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: 2005-03-22 13:35    [W:0.020 / U:32.100 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site