<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hal,<br>
<br>
I was attempting to call ib_at_route_by_ip() in sync mode and get the following
oops:  <br>
<br>
You can change the att.c (line 193) example as follow to duplicate:<br>
<br>
  r = ib_at_route_by_ip(0x1400a8c0, 0, 0, 0,<br>
                                     
att_rt + i, NULL, NULL);<br>
<br>
I will go back to async mode for now.<br>
<br>
Thanks,<br>
<br>
-arlin<br>
<br>
Jul 11 15:01:17 iclust-20 kernel: Unable to handle kernel NULL pointer
dereference at 0000000000000000 RIP:<br>
Jul 11 15:01:17 iclust-20 kernel:
<ffffffff880a449c>{:ib_uat:ib_uat_route_by_ip+204}<br>
Jul 11 15:01:17 iclust-20 kernel: PGD 38fa3067 PUD 2e7c7067 PMD 0<br>
Jul 11 15:01:17 iclust-20 kernel: Oops: 0000 [1] SMP<br>
Jul 11 15:01:17 iclust-20 kernel: CPU 0<br>
Jul 11 15:01:17 iclust-20 kernel: Modules linked in: ib_att ib_uat ib_at ib_ucm
ib_cm ib_umad ib_uverbs ib_ipoib ib_sa ib_mthca ib_mad ib_core dm_snapshot
dm_zero dm_mirror ext3 jbd dm_mod<br>
Jul 11 15:01:17 iclust-20 kernel: Pid: 6320, comm: dtestib Tainted:
P      2.6.11<br>
Jul 11 15:01:17 iclust-20 kernel: RIP: 0010:[<ffffffff880a449c>]
<ffffffff880a449c>{:ib_uat:ib_uat_route_by_ip+204}<br>
Jul 11 15:01:17 iclust-20 kernel: RSP: 0018:ffff810030c9be78  EFLAGS:
00010282<br>
Jul 11 15:01:17 iclust-20 kernel: RAX: 0000000000000000 RBX: 00000000fffffff4
RCX: 0000000000040000<br>
Jul 11 15:01:17 iclust-20 kernel: RDX: 00000000ffffff01 RSI: 0000000000000292
RDI: ffffffff80453f80<br>
Jul 11 15:01:17 iclust-20 kernel: RBP: ffff81002f342380 R08: ffff810038d54d80
R09: ffff81003e498c80<br>
Jul 11 15:01:17 iclust-20 kernel: R10: 00000000ffffffff R11: 0000000000000000
R12: ffff81003e498c80<br>
Jul 11 15:01:17 iclust-20 kernel: R13: ffff810038d54d80 R14: ffff810030c9bf50
R15: 00007ffffffff7c0<br>
Jul 11 15:01:17 iclust-20 kernel: FS:  00002aaaaabc53e0(0000)
GS:ffffffff80580280(0000) knlGS:0000000000000000<br>
Jul 11 15:01:17 iclust-20 kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
000000008005003b<br>
Jul 11 15:01:17 iclust-20 kernel: CR2: 0000000000000000 CR3: 0000000033975000
CR4: 00000000000006e0<br>
Jul 11 15:01:17 iclust-20 kernel: Process dtestib (pid: 6320, threadinfo
ffff810030c9a000, task ffff810038a88b00)<br>
Jul 11 15:01:17 iclust-20 kernel: Stack: ffff81003e890940 ffff810030c9bf70
2ca2070a1300a8c0 0000000000000000<br>
Jul 11 15:01:17 iclust-20 kernel:       
0000000000518cb8 0000000000000000 00007ffffffff210 ffffffff88099b82<br>
Jul 11 15:01:17 iclust-20 kernel:       
ffff810039167820 0000000000000030<br>
Jul 11 15:01:17 iclust-20 kernel: Call
Trace:<ffffffff88099b82>{:ib_ucm:ib_ucm_create_id+130}
<ffffffff880a4eed>{:ib_uat:ib_uat_write+157}<br>
Jul 11 15:01:17 iclust-20 kernel:       
<ffffffff8017aca4>{vfs_write+196} <ffffffff8017ae03>{sys_write+83}<br>
Jul 11 15:01:17 iclust-20 kernel:       
<ffffffff8010e30a>{system_call+126}<br>
Jul 11 15:01:17 iclust-20 kernel:<br>
Jul 11 15:01:17 iclust-20 kernel: Code: 48 8b 00 48 89 45 78 48 8b 44 24 28 48
8b 40 08 48 89 85 80<br>
Jul 11 15:01:17 iclust-20 kernel: RIP
<ffffffff880a449c>{:ib_uat:ib_uat_route_by_ip+204} RSP
<ffff810030c9be78><br>
Jul 11 15:01:17 iclust-20 kernel: CR2: 0000000000000000</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

</div>

</body>

</html>