Skip to contentSkip to conversation

DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597

DISCUSSION Arthas 2 participants 3 messages Sep 23, 2015

lore
Share & tools
lore

Arthas

author
#0 lore raw

Hi, I'm working on tilegx platform. and I wrote a sample dpdk trafgen for tilegx. But I got a error with rte_mbuf rte_pktmbuf_append.

PANIC in rte_mbuf_sanity_check():
bad phys addr
7: [/trafgen(_start+0x70) [0x100b308]]
6: [/lib/libc.so.6(__libc_start_main+0x200) [0x1fff7a6e4c8]] 5: [/trafgen(main+0x2148) [0x1017b78]]
4: [/trafgen(rte_pktmbuf_dump+0x58) [0x102c7a8]] 3: [/trafgen(rte_mbuf_sanity_check+0x1a8) [0x102c700]] 2: [/trafgen(__rte_panic+0xc0) [0x1091e80]]
1: [/trafgen(rte_dump_stack+0x40) [0x104cf00]]

DPDK compiled with CONFIG_RTE_LIBRTE_MBUF_DEBUG=y!

Regards, Arthas

author
#1 lore raw

and I wrote a sample RX example, got an other information.

PMD: xgbe1: Could not register memseg @0x1ffd2000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff41000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff3e000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff2d000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee6000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee3000000, -1111.
PMD: xgbe1: Buffer stack memory 0x1fee4b90000 - 0x1fee4be557f.
PMD: xgbe1: eDMA ring memory 0x1fee4bf0000 - 0x1fee4bf1fff.
PMD: xgbe1: iDMA ring 0 memory 0x1fee4bec000 - 0x1fee4bedfff.

Regards, Arthas

------------------ Original ------------------

From:  "Arthas";<[email protected]>;
Date:  Wed, Sep 23, 2015 01:17 PM
To:  "dev"<[email protected]>; 

Subject: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597

Hi, I'm working on tilegx platform. and I wrote a sample dpdk trafgen for tilegx. But I got a error with rte_mbuf rte_pktmbuf_append.

PANIC in rte_mbuf_sanity_check():
bad phys addr
7: [/trafgen(_start+0x70) [0x100b308]]
6: [/lib/libc.so.6(__libc_start_main+0x200) [0x1fff7a6e4c8]] 5: [/trafgen(main+0x2148) [0x1017b78]]
4: [/trafgen(rte_pktmbuf_dump+0x58) [0x102c7a8]] 3: [/trafgen(rte_mbuf_sanity_check+0x1a8) [0x102c700]] 2: [/trafgen(__rte_panic+0xc0) [0x1091e80]]
1: [/trafgen(rte_dump_stack+0x40) [0x104cf00]]

DPDK compiled with CONFIG_RTE_LIBRTE_MBUF_DEBUG=y!

Regards, Arthas

#2 lore raw

Hi, Arthas

Does testpmd run OK, and what is boot parameter you used to boot Tile-Gx?

Quoted 24 lines

-----Original Message-----
From: Arthas [mailto:[email protected]]
Sent: Wednesday, September 23, 2015 1:21 PM
To: dev
Cc: zlu
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597

and I wrote a sample RX example, got an other information.

PMD: xgbe1: Could not register memseg @0x1ffd2000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff41000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff3e000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff2d000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee6000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee3000000, -1111.
PMD: xgbe1: Buffer stack memory 0x1fee4b90000 - 0x1fee4be557f.
PMD: xgbe1: eDMA ring memory 0x1fee4bf0000 - 0x1fee4bf1fff.
PMD: xgbe1: iDMA ring 0 memory 0x1fee4bec000 - 0x1fee4bedfff.

Regards, Arthas

Quoted 7 lines

------------------ Original ------------------

From:  "Arthas";<[email protected]>;
Date:  Wed, Sep 23, 2015 01:17 PM
To:  "dev"<[email protected]>;
Subject:  [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597

Hi, I'm working on tilegx platform. and I wrote a sample dpdk trafgen for

tilegx.

Quoted 16 lines

But I got a error with rte_mbuf rte_pktmbuf_append.

PANIC in rte_mbuf_sanity_check():
bad phys addr
7: [/trafgen(_start+0x70) [0x100b308]]
6: [/lib/libc.so.6(__libc_start_main+0x200) [0x1fff7a6e4c8]] 5: [/trafgen(main+0x2148) [0x1017b78]]
4: [/trafgen(rte_pktmbuf_dump+0x58) [0x102c7a8]] 3: [/trafgen(rte_mbuf_sanity_check+0x1a8) [0x102c700]] 2: [/trafgen(__rte_panic+0xc0) [0x1091e80]]
1: [/trafgen(rte_dump_stack+0x40) [0x104cf00]]

DPDK compiled with CONFIG_RTE_LIBRTE_MBUF_DEBUG=y!

Regards, Arthas