[openib-general] ipath and current git woes

Jason Gunthorpe jgunthorpe at obsidianresearch.com
Wed Jan 31 16:22:02 PST 2007


Has anyone been able to use ipath with the current latest git
everything?

The libipathverbs git repository seems to be missing a patch from
Roland to make it work with libibverbs.2 in an email titled:

[openib-general] [PATCH 3/7] libipathverbs: Update libipathverbs for
new libibverbs driver handling

After applying that patch the user space consumers load but we got a
kernel oops when we tried to run a test here :<

Unable to handle kernel NULL pointer dereference at 0000000000000918 RIP: 
 [<ffffffff88074c76>] :ib_ipath:ipath_mmap+0x37/0x95
PGD 3ad46067 PUD 3ad4f067 PMD 0 
Oops: 0000 [1] 
CPU 0 
Modules linked in: usb_storage skge bitrev crc32 ib_ipath k8temp hwmon forcedeth ehci_hcd ohci_hcd usbcore i2c_nforce2 i2c_core ib_uverbs ib_umad ib_mad ib_core
Pid: 4009, comm: ib_rdma_lat Not tainted 2.6.20-rc4-gf3a2c3ee-dirty #6
RIP: 0010:[<ffffffff88074c76>]  [<ffffffff88074c76>] :ib_ipath:ipath_mmap+0x37/0x95
RSP: 0000:ffff81003aaa3e88  EFLAGS: 00010002
RAX: ffff81003c434000 RBX: 0000000000000910 RCX: 0000000000001000
RDX: 00000000002b3000 RSI: ffff81003bcab440 RDI: ffff81003bc2d840
RBP: ffff81003b7af918 R08: ffff81003aaa3f08 R09: ffff81003aa38c98
R10: ffff81003aa38c90 R11: ffffffff88074c3f R12: 00000000ffffffea
R13: ffff81003ac496c0 R14: 00000000f7ee3000 R15: 0000000000001000
FS:  0000000000000000(0000) GS:ffffffff80530000(0063) knlGS:00000000f7d8c6c0
CS:  0010 DS: 002b ES: 002b CR0: 000000008005003b
CR2: 0000000000000918 CR3: 000000003aa2f000 CR4: 00000000000006e0
Process ib_rdma_lat (pid: 4009, threadinfo ffff81003aaa2000, task ffff81003c0495e0)
Stack:  ffff81003b7af918 00000000001000fb 00000000ffffffea ffffffff80250151
 ffff81003be9f440 ffff81003bc2d140 0000000000000028 00000000ff99df20
 0000000000000000 0000000000000000 ffff81003b87d818 ffff81003dc04840
Call Trace:
 [<ffffffff80250151>] do_mmap_pgoff+0x4d5/0x739
 [<ffffffff8021b54b>] sys32_mmap2+0x76/0x9e
 [<ffffffff8021a432>] ia32_sysret+0x0/0xa


Code: 48 3b 7b 08 75 46 48 3b 53 10 75 40 8b 43 1c 48 39 c1 77 40 
RIP  [<ffffffff88074c76>] :ib_ipath:ipath_mmap+0x37/0x95
 RSP <ffff81003aaa3e88>
CR2: 0000000000000918

This is with a PCI-E qlogic card: 
0000:03:00.0 InfiniBand: Unknown device 1fc1:0010 (rev 01)

Anyone have any clues?

One notable thing is that I have a 32 bit user space and a 64 bit
kernel. I'll try a 64 bit user space tomorrow in case there is some
thing wrong with 32bit compatability...

The last time we had these cards working was with OFED 1.1 on 64 bit
FC4 using a linus kernel (2.6.18 I think)..

Thanks,
Jason




More information about the general mailing list