From: Lukas Razik <linux-GLgANOly0l1BDLzU/O5InQ@public.gmane.org>
To: Roland Dreier <roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org>
Cc: Vladimir Sokolovsky
<vlad-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>,
"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [BUG] Bad page map in process ibv_devinfo
Date: Wed, 16 Nov 2011 00:18:09 +0000 (GMT) [thread overview]
Message-ID: <1321402689.7734.YahooMailNeo@web24705.mail.ird.yahoo.com> (raw)
In-Reply-To: <CAL1RGDXa8hy-Hg-eauj3NbPv=YsFjpQkNq1fTF1qpE7cdhRdng-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Roland Dreier <roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org> wrote:
> If it's possible, it would be useful to try with the vanilla kernel
> and all upstream
> modules too. Otherwise I can't rule out the possiblity that we're
> chasing a
> bug that OFED introduces.
OK, I've tested the modules from the kernel.
What I've done:
I've built linux-2.6.39.4 (vanilla) with the belonging Infiniband drivers.
I've installed OFED-1.5.4-rc4 as usual and deleted the new modules in '/lib/modules/<version>/update/drivers' (because we want to use the linux-2.6.39.4 modules).
I've run 'depmod -a'.
When I executed '/etc/init.d/openib start' I've got this kernel log:
[ 1438.479977] mlx4_core: Mellanox ConnectX core driver v0.01 (May 1, 2007)
[ 1438.480106] mlx4_core: Initializing 0000:12:00.0
[ 1438.480229] mlx4_core 0000:12:00.0: Warning: couldn't set 64-bit PCI DMA mask.
[ 1438.480348] mlx4_core 0000:12:00.0: Warning: couldn't set 64-bit consistent PCI DMA mask.
[ 1440.546533] Kernel unaligned access at TPC[102df650] mlx4_QUERY_ADAPTER+0xf0/0x11c [mlx4_core]
[ 1440.546704] Kernel unaligned access at TPC[102df650] mlx4_QUERY_ADAPTER+0xf0/0x11c [mlx4_core]
[ 1440.546865] Kernel unaligned access at TPC[102df650] mlx4_QUERY_ADAPTER+0xf0/0x11c [mlx4_core]
[ 1440.547026] Kernel unaligned access at TPC[102df650] mlx4_QUERY_ADAPTER+0xf0/0x11c [mlx4_core]
[ 1440.771361] mlx4_core 0000:12:00.0: Sense command failed for port: 1
[ 1440.771926] mlx4_core 0000:12:00.0: Sense command failed for port: 2
[ 1440.884909] mlx4_ib: Mellanox ConnectX InfiniBand driver v1.0 (April 4, 2008)
[ 1441.469341] ADDRCONF(NETDEV_UP): ib0: link is not ready
[ 1442.860385] ib0: enabling connected mode will cause multicast packet drops
[ 1442.886875] ib0: mtu > 2044 will cause multicast packet drops.
[ 1443.932557] ib1: enabling connected mode will cause multicast packet drops
[ 1443.938749] ib1: mtu > 2044 will cause multicast packet drops.
[ 1444.481266] ADDRCONF(NETDEV_CHANGE): ib0: link becomes ready
Then I executed 'ibv_devinfo' and got erros (which I hadn't with the kernel modules from OFED):
# ibv_devinfo
mlx4: There is a mismatch between the kernel and the userspace libraries: Kernel does not support XRC. Exiting.
Failed to open device
And the error in the kernel log was existent, too:
[ 1464.503632] swap_free: Bad swap file entry 100005e000061800
[ 1464.503759] BUG: Bad page map in process ibv_devinfo pte:bc0000c300104848 pmd:00fe46f0
[ 1464.503877] addr:fffff80100114000 vm_flags:000844fa anon_vma: (null) mapping:fffff807f401b6a0 index:6180082
[ 1464.504054] vma->vm_file->f_op->mmap: ib_uverbs_mmap+0x8/0x38 [ib_uverbs]
[ 1464.504102] Call Trace:
[ 1464.504141] [00000000004cd430] unmap_vmas+0x514/0x7f4
[ 1464.504191] [00000000004d114c] unmap_region+0xb4/0x164
[ 1464.504269] [00000000004d2198] do_munmap+0x2a8/0x31c
[ 1464.504323] [000000000042d340] SyS_64_munmap+0x88/0xa8
[ 1464.504378] [0000000000406154] linux_sparc_syscall+0x34/0x44
[ 1464.504423] Disabling lock debugging due to kernel taint
[ 1464.504478] swap_free: Bad swap file entry 100005e000061802
[ 1464.504526] BUG: Bad page map in process ibv_devinfo pte:bc0000c300504848 pmd:00fe46f0
[ 1464.504585] addr:fffff8010011a000 vm_flags:000844fa anon_vma: (null) mapping:fffff807f401b6a0 index:6180282
[ 1464.504665] vma->vm_file->f_op->mmap: ib_uverbs_mmap+0x8/0x38 [ib_uverbs]
[ 1464.504711] Call Trace:
[ 1464.504742] [00000000004cd430] unmap_vmas+0x514/0x7f4
[ 1464.504790] [00000000004d114c] unmap_region+0xb4/0x164
[ 1464.504838] [00000000004d2198] do_munmap+0x2a8/0x31c
[ 1464.504888] [000000000042d340] SyS_64_munmap+0x88/0xa8
[ 1464.504967] [0000000000406154] linux_sparc_syscall+0x34/0x44
BTW: I'm still trying to get the new firmware for my adapters. Maybe it clicks tomorrow...
Regards,
Lukas
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-11-16 0:18 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-12 15:15 [BUG] Bad page map in process ibv_devinfo Lukas Razik
[not found] ` <1321110951.99968.YahooMailNeo-06aSuiz6pSvyX4RqAA4FmIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2011-11-13 8:26 ` Vladimir Sokolovsky
[not found] ` <4EBF7F3C.2020804-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-11-13 11:20 ` Lukas Razik
[not found] ` <4EC0D87E.6090203@dev.mellanox.co.il>
[not found] ` <4EC0D87E.6090203-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-11-14 17:10 ` Lukas Razik
[not found] ` <1321290618.98338.YahooMailNeo-KNHbfBHkazLyX4RqAA4FmIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2011-11-14 21:10 ` Lukas Razik
[not found] ` <1321305022.98364.YahooMailNeo-+zsyL4fNFP7yX4RqAA4FmIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2011-11-14 22:42 ` Lukas Razik
[not found] ` <1321310529.30932.YahooMailNeo-7VlcqDaCG9fyX4RqAA4FmIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2011-11-15 9:59 ` Vladimir Sokolovsky
2011-11-14 23:23 ` Roland Dreier
[not found] ` <CAL1RGDV3X=vrCC4YCuUBRx9UwMQp0LfRG0y6Lh5z6hx4ROZ4yw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-15 0:03 ` Lukas Razik
[not found] ` <1321315430.19223.YahooMailNeo-Y9hhLc0nQDHyX4RqAA4FmIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2011-11-15 19:10 ` Roland Dreier
[not found] ` <CAL1RGDVas0srOARofFV2e9=9_5z+VTTpa1k+Eh532xxGVC0uyw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-15 19:47 ` Roland Dreier
[not found] ` <CAL1RGDWNJrbVkTTQ9sDod_x5H6FBEWkyqXT=--TomX1DhTRSmA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-15 20:03 ` Lukas Razik
[not found] ` <1321387415.58210.YahooMailNeo-HXL2TcxrD9byX4RqAA4FmIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2011-11-15 20:59 ` Roland Dreier
[not found] ` <CAL1RGDXa8hy-Hg-eauj3NbPv=YsFjpQkNq1fTF1qpE7cdhRdng-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-16 0:18 ` Lukas Razik [this message]
[not found] ` <1321402689.7734.YahooMailNeo-qMtvQvuh2VDyX4RqAA4FmIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2011-11-16 13:47 ` Lukas Razik
[not found] ` <1321451273.56607.YahooMailNeo-C13AICjm7gDyX4RqAA4FmIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2011-11-16 18:56 ` Lukas Razik
2011-11-15 18:38 ` Roland Dreier
2011-11-16 19:22 ` Lukas Razik
[not found] ` <1321471354.5493.YahooMailNeo-tOYT8urs2cbyX4RqAA4FmIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2011-11-17 21:49 ` David Miller
2011-11-17 23:30 ` Roland Dreier
[not found] ` <CAL1RGDV_AwOOnLvWJKGqBTaptetfVN_gXNG=PcaFUXYSXrQ5AA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-18 2:03 ` David Miller
2011-11-18 2:17 ` Roland Dreier
2011-11-18 2:29 ` David Miller
[not found] ` <20111117.210316.83327515715765011.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2011-11-18 2:28 ` David Miller
[not found] ` <20111117.212847.1778246801048496855.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2011-11-18 2:33 ` Lukas Razik
2011-11-18 5:02 ` Lukas Razik
[not found] ` <1321592577.354.YahooMailNeo-06aSuiz6pSvyX4RqAA4FmIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2011-11-18 6:04 ` David Miller
2011-11-18 6:17 ` David Miller
2011-11-18 6:55 ` David Miller
2011-11-18 13:07 ` Lukas Razik
2011-11-18 17:42 ` Lukas Razik
2011-11-18 19:12 ` David Miller
[not found] ` <20111118.141246.1415928404544076848.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2011-11-18 21:29 ` Lukas Razik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1321402689.7734.YahooMailNeo@web24705.mail.ird.yahoo.com \
--to=linux-glganoly0l1bdlzu/o5inq@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org \
--cc=vlad-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox