[DRBD-user] oops on insmod drbd.ko 8.0pre6 and svn module on x86_64 system

Milind Dumbare milind at linsyssoft.com
Tue Nov 14 12:23:42 CET 2006

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Tuesday 14 November 2006 16:37, Tamas, Gergely wrote:
> Hi!
>
> I get following oops when trying to insmod drbd.ko 8.0pre6 and current
> svn.
>
> --- >>> --- >>> --- >>> ---
> ksymoops 2.4.11 on x86_64 2.6.17.14-r1.  Options used
>      -V (default)
>      -k /proc/ksyms (default)
>      -l /proc/modules (default)
>      -o /lib/modules/2.6.17.14-r1/ (default)
>      -m /boot/System.map-2.6.17.14-r1 (default)
>
> Warning: You did not tell me where to find symbol information.  I will
> assume that the log matches the kernel and modules that are running
> right now and I'll use the default options above for symbol resolution.
> If the current kernel and/or modules do not match the log, you can get
> more accurate output by telling me the kernel version and where to find
> map, modules, ksyms etc.  ksymoops -h explains the options.
>
> Error (regular_file): read_ksyms stat /proc/ksyms failed
> No modules in ksyms, skipping objects
> No ksyms, skipping lsmod
> Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:

IT seems there is problem with connector. Try using kernel's connector code. 

-> Device Drivers
        -> Connector - unified userspace <-> kernelspace linker   
        
See archive. I had same problem. That thread has solution. 

> <ffffffff88138ecd>{:drbd:cn_queue_add_callback+189}
> Oops: 0002 [1] SMP
> CPU 3
> Pid: 2322, comm: insmod Not tainted 2.6.17.14-r1 #1
> RIP: 0010:[<ffffffff88138ecd>]
> <ffffffff88138ecd>{:drbd:cn_queue_add_callback+189} Using defaults from
> ksymoops -t elf64-x86-64 -a i386:x86-64
> RSP: 0018:ffff81012b26fec8  EFLAGS: 00010296
> RAX: ffff81012e8e8000 RBX: ffffffff881413fb RCX: 0000000000000000
> RDX: ffffffff80524b08 RSI: 00000000fffffffe RDI: ffff81012e779a08
> RBP: ffff81012e7799c0 R08: ffffffff88141493 R09: 00000000ffffffff
> R10: 000000000000000b R11: 000000000000000b R12: 0000000000000000
> R13: ffffffff88135a10 R14: ffffffff881494b0 R15: 0000000000502010
> FS:  00002b2a451326d0(0000) GS:ffff81012e41f140(0000)
> knlGS:0000000000000000 CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> CR2: 0000000000000000 CR3: 000000012c67b000 CR4: 00000000000006e0
> Stack: ffff81012b26ff18 0000000000502010 ffffffff881494b0 ffffffff88149580
>        00002b2a44dfb010 00007fff65cc7b8d 0000000000502010 ffffffff88138ab3
>        0000000000000296 0000000000502010
> Call Trace: <ffffffff88138ab3>{:drbd:cn_add_callback+35}
>        <ffffffff880331eb>{:drbd:drbd_nl_init+27}
> <ffffffff88033035>{:drbd:init_module+53}
> <ffffffff80246be7>{sys_init_module+199} <ffffffff80209cca>{system_call+126}
> Code: f0 41 ff 04 24 4d 8d 7c 24 40 4c 89 65 78 4c 89 ff e8 bd 62
>
> >>RIP; ffffffff88138ecd <_end+7c12ecd/7f0da000>   <=====
> >>
> >>RAX; ffff81012e8e8000 <phys_startup_64+ffff81012e6e7f00/ffffffff7fffff00>
> >>RBX; ffffffff881413fb <_end+7c1b3fb/7f0da000>
> >>RDX; ffffffff80524b08 <per_cpu__tvec_bases+0/18>
> >>RSI; 00000000fffffffe <phys_startup_64+ffdffefe/ffffffff7fffff00>
> >>RDI; ffff81012e779a08 <phys_startup_64+ffff81012e579908/ffffffff7fffff00>
> >>RBP; ffff81012e7799c0 <phys_startup_64+ffff81012e5798c0/ffffffff7fffff00>
> >>R08; ffffffff88141493 <_end+7c1b493/7f0da000>
> >>R09; 00000000ffffffff <phys_startup_64+ffdffeff/ffffffff7fffff00>
> >>R13; ffffffff88135a10 <_end+7c0fa10/7f0da000>
> >>R14; ffffffff881494b0 <_end+7c234b0/7f0da000>
> >>R15; 0000000000502010 <phys_startup_64+301f10/ffffffff7fffff00>
>
> Trace; ffffffff88138ab3 <_end+7c12ab3/7f0da000>
> Trace; ffffffff880331eb <_end+7b0d1eb/7f0da000>
> Trace; ffffffff80246be7 <sys_init_module+c7/200>
>
> Code;  ffffffff88138ecd <_end+7c12ecd/7f0da000>
> 0000000000000000 <_RIP>:
> Code;  ffffffff88138ecd <_end+7c12ecd/7f0da000>   <=====
>    0:   f0 41 ff 04 24            lock incl (%r12)   <=====
> Code;  ffffffff88138ed2 <_end+7c12ed2/7f0da000>
>    5:   4d 8d 7c 24 40            lea    0x40(%r12),%r15
> Code;  ffffffff88138ed7 <_end+7c12ed7/7f0da000>
>    a:   4c 89 65 78               mov    %r12,0x78(%rbp)
> Code;  ffffffff88138edb <_end+7c12edb/7f0da000>
>    e:   4c 89 ff                  mov    %r15,%rdi
> Code;  ffffffff88138ede <_end+7c12ede/7f0da000>
>   11:   e8 bd 62 00 00            callq  62d3 <_RIP+0x62d3>
>
> CR2: 0000000000000000
>
> 1 warning and 1 error issued.  Results may not be reliable.
> --- <<< --- <<< --- <<< ---
>
> system : ubuntu dapper
> libc   : 3.3.5 (debian 1:3.3.5-13)
> kernel : 2.6.17.14 + arcmsr patch
>
> Thanks in advance,
> Gergely
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list