reboot unsuccessfully when too many packets sent to P4080DS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

reboot unsuccessfully when too many packets sent to P4080DS

1,070 Views
shanfeifei
Contributor II

Hi.YipingWang.

I ran lpm-ipfwd(SDK 1.6,configure fm2-gb3 and fm1-gb2 as share mac,the command is"lpm_ipfwd_app 7 -c config.xml -p policy.xml -d 0x10000000 -b 1600:1600:1600") on P4080ds board,When too many packets sent to P4080ds,I typed "reboot".But it didnt reboot successfully.

If there were no packets sent to P4080ds,I reboot the board successfully.

So how to solve the problem?

The log is as follows:

Broadcast message from root@p4080ds (Thu May 25 14:15:59 2017):

The system is going down for reboot NOW!

INIT: Sending processes the TERM signal
Stopping Dropbear SSH server: stopped /usr/sbin/dropbear (pid 2199)
dropbear.
Kill lpm_ipfwd_app finished
Kill media_client.sh finished
Stopping system message bus: dbus.
Stopping network benchmark server: netserverstopped /usr/sbin/netserver (pid 221
9)
Cannot recover FQ 0x13b, it is scheduled on channel 0x64

stopping mountd: done
stopping nfsd: done
Stopping system log daemon...0
Stopping kernel log daemon...0
Stopping tcf-agent:
INFO: rcu_sched detected stalls on CPUs/tasks: { 7} (detected by 0, t=5253 jiffi
es, g=5484, c=5483, q=2450)
Task dump for CPU 7:
lpm_ipfwd_app R running 0 2532 1 0x00002006
Call Trace:
[c6095a90] [c19a1180] 0xc19a1180 (unreliable)

0 Kudos
4 Replies

810 Views
shanfeifei
Contributor II

lpm-ipfwd log is :

***********************lpm_ipfwd_app is starting!***********************
Loading configuration
Found /fsl,dpaa/dpa-fman0-oh@1, Tx Channel = 46, FMAN = 0, Port ID = 1
Found /fsl,dpaa/ethernet@3, Tx Channel = 44, FMAN = 0, Port ID = 3
Found /fsl,dpaa/ethernet@5, Tx Channel = 61, FMAN = 1, Port ID = 0
Found /fsl,dpaa/ethernet@6, Tx Channel = 62, FMAN = 1, Port ID = 1
Found /fsl,dpaa/ethernet@2, Tx Channel = 43, FMAN = 0, Port ID = 2
Found /fsl,dpaa/ethernet@7, Tx Channel = 63, FMAN = 1, Port ID = 2
Found /fsl,dpaa/ethernet@8, Tx Channel = 64, FMAN = 1, Port ID = 3
Adding pool 0x22 to SDQCR, 0x00002000 -> 0x00002000
Adding pool 0x23 to SDQCR, 0x00001000 -> 0x00003000
Adding pool 0x24 to SDQCR, 0x00000800 -> 0x00003800
Adding pool 0x25 to SDQCR, 0x00000400 -> 0x00003c00
Welcome to P4080ds USDPAA application!
TRACE Opened
Configuring for 2 network interfaces
Initialising DMA mem
Allocated DMA region size 0x10000000
GetLocalIp eth0 is 0xc0c0c81
GetLocalMaskIp eth0 is 0xffffff00
Get_localgateway eth0 is 0xc0c0c01
Signal_handler finished
Starting 1 threads for cpu-range '7..7'
This is the thread on cpu 7
lpm_ipfwd_app starting
IPv4 FIB table init now... Done!
Message queue to send: /mq_snd_2521
Message queue to receive: /mq_rcv_2521
Initialising interface 0
Configured 1G port @ FMAN:0, MAC:2 as IF_IDX:2
I/F 0, using Tx FQID 312
I/F 0, using Tx FQID 313
Initialising interface 1
Configured 1G port @ FMAN:1, MAC:3 as IF_IDX:13
I/F 1, using Tx FQID 314
I/F 1, using Tx FQID 315
Initialising interface Tx 0x21e06740
Mapping Rx FQ 0x21e069bc:0 --> Tx FQID 312
Interface 0:2, enabled RX
Interface name fm1-gb2:, enabled RX
Initialising interface end*******1
Initialising interface end*******2
Initialising interface Tx 0x21e06a00
Interface 1:3, enabled RX
Interface name eth0:, enabled RX
Initialising interface end*******1
Initialising interface end*******2
Initialising interface buffer pools 0x21e06740
Released 1600 bufs to BPID 16
Initialising interface buffer pools 0x21e06a00
Released 1600 bufs to BPID 17
Starting poll loop on cpu 7
Thread uid:0 alive (on cpu 7)
IPADDR assigned = 0xc0c0c81 to interface num 13
IPADDR assigned = 0xc0a8fc64 to interface num 2

0 Kudos

810 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello shan feifei,

Are you using the shared_mac interface to sending/receiving networking packets when encountering this problem?

Would you please try the attached policy file when run lpmfwd_app application?


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

810 Views
shanfeifei
Contributor II

Thank you for your reply,YipingWang.

The command is as follows:

fmc -c config.xml -p policy.xml -s classify.xml -a 
./lpm_ipfwd_app 7 -c config.xml -p policy.xml -d 0x10000000 -b 1600:1600:1600

0 Kudos

810 Views
shanfeifei
Contributor II

uname -a: Linux p4080ds 3.12.19-rt30-QorIQ-SDK-V1.6+gc29fe1a #4 SMP Wed Jul 13 15:12:38 CST 2016 ppc GNU/Linux

kernel log:

root@p4080ds:~# dmesg
[ 0.443169] Bman portal (slave) initialised, cpu 5
[ 0.446651] Bman portal (slave) initialised, cpu 6
[ 0.450123] Bman portal (slave) initialised, cpu 7
[ 0.453603] Bman portals initialised
[ 0.456559] Qman err interrupt handler present
[ 0.460255] Qman portal (shared) initialised, cpu 0
[ 0.463871] Qman portal (shared) initialised, cpu 1
[ 0.467381] Qman portal (slave) initialised, cpu 2
[ 0.470850] Qman portal (slave) initialised, cpu 3
[ 0.474323] Qman portal (slave) initialised, cpu 4
[ 0.477805] Qman portal (slave) initialised, cpu 5
[ 0.481283] Qman portal (slave) initialised, cpu 6
[ 0.484759] Qman portal (slave) initialised, cpu 7
[ 0.488223] Qman portals initialised
[ 0.490650] Bman: BPID allocator includes range 32:32
[ 0.494421] Qman: FQID allocator includes range 256:256
[ 0.498250] Qman: FQID allocator includes range 32768:32768
[ 0.502604] Qman: CGRID allocator includes range 0:256
[ 0.506526] Qman: pool channel allocator includes range 33:15
[ 0.511710] Switched to clocksource timebase
[ 0.522527] NET: Registered protocol family 2
[ 0.525811] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.531564] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.536690] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.541723] TCP: reno registered
[ 0.543569] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.548198] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.553367] NET: Registered protocol family 1
[ 0.556526] RPC: Registered named UNIX socket transport module.
[ 0.561063] RPC: Registered udp transport module.
[ 0.564449] RPC: Registered tcp transport module.
[ 0.567837] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.572969] PCI: CLS 0 bytes, default 64
[ 0.574620] audit: initializing netlink socket (disabled)
[ 0.578654] type=2000 audit(0.523:1): initialized
[ 0.583032] bounce pool size: 64 pages
[ 0.585406] HugeTLB registered 1 MB page size, pre-allocated 0 pages
[ 0.590433] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[ 0.595477] HugeTLB registered 16 MB page size, pre-allocated 0 pages
[ 0.600604] HugeTLB registered 64 MB page size, pre-allocated 0 pages
[ 0.605733] HugeTLB registered 256 MB page size, pre-allocated 0 pages
[ 0.610948] HugeTLB registered 1 GB page size, pre-allocated 0 pages
[ 0.616774] NFS: Registering the id_resolver key type
[ 0.620466] Key type id_resolver registered
[ 0.623299] Key type id_legacy registered
[ 0.626012] NTFS driver 2.1.30 [Flags: R/O].
[ 0.629002] jffs2: version 2.2. (NAND) \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[ 0.633860] msgmni has been set to 814
[ 0.637115] io scheduler noop registered
[ 0.639641] io scheduler deadline registered
[ 0.642628] io scheduler cfq registered (default)
[ 0.646447] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.652273] serial8250.0: ttyS0 at MMIO 0xffe11c500 (irq = 36, base_baud = 18749812) is a 16550A
[ 0.659689] console [ttyS0] enabled, bootconsole disabled
[ 0.668143] serial8250.0: ttyS1 at MMIO 0xffe11c600 (irq = 36, base_baud = 18749812) is a 16550A
[ 0.675929] serial8250.0: ttyS2 at MMIO 0xffe11d500 (irq = 37, base_baud = 18749812) is a 16550A
[ 0.683695] serial8250.0: ttyS3 at MMIO 0xffe11d600 (irq = 37, base_baud = 18749812) is a 16550A
[ 0.691460] ePAPR hypervisor byte channel driver
[ 0.694962] Generic non-volatile memory driver v1.1
[ 0.702895] brd: module loaded
[ 0.706909] loop: module loaded
[ 0.709029] st: Version 20101219, fixed bufsize 32768, s/g segs 256
[ 0.719131] fe8000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002801
[ 0.728114] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.731960] Amd/Fujitsu Extended Query version 1.5.
[ 0.735710] number of CFI chips: 1
[ 0.739472] fsl_espi ffe110000.spi: master is unqueued, this is deprecated
[ 0.745345] m25p80 spi32766.0: unrecognized JEDEC id 80900c
[ 0.749628] fsl_espi ffe110000.spi: at 0xf115e000 (irq = 53)
[ 0.761732] libphy: Fixed MDIO Bus: probed
[ 0.765132] platform mdio-mux-emi1.14: Driver mdio-mux-gpio requests probe deferral
[ 0.771533] platform mdio-mux-emi2.15: Driver mdio-mux-gpio requests probe deferral
[ 0.778469] libphy: Freescale PowerQUICC MII Bus: probed
[ 0.783230] libphy: Freescale XGMAC MDIO Bus: probed
[ 0.803997] Freescale FM module (May 20 2016:07:25:09), FMD API version 21.1.0
[ 0.815048] Freescale FM Ports module (May 20 2016:07:25:11)
[ 0.819412] dpaa_debugfs: FSL DPAA Ethernet debugfs entries ()
[ 0.823953] dpaa_generic_debugfs: FSL DPAA Ethernet debugfs entries ()
[ 0.829183] fsl_mac: fsl_mac: FSL FMan MAC API based driver ()
[ 0.834129] fsl_mac ffe4e0000.ethernet: FMan dTSEC version: 0x08240101
[ 0.839368] fsl_mac ffe4e0000.ethernet: FMan MAC address: 00:00:bd:a7:4c:10
[ 0.845332] fsl_mac ffe4e2000.ethernet: FMan dTSEC version: 0x08240101
[ 0.850568] fsl_mac ffe4e2000.ethernet: FMan MAC address: 00:0c:bd:a7:4c:c1
[ 0.856520] fsl_mac ffe4e4000.ethernet: FMan dTSEC version: 0x08240101
[ 0.861756] fsl_mac ffe4e4000.ethernet: FMan MAC address: 00:00:dd:a7:4c:c2
[ 0.867724] fsl_mac ffe4e6000.ethernet: FMan dTSEC version: 0x08240101
[ 0.872957] fsl_mac ffe4e6000.ethernet: FMan MAC address: 00:00:dd:a7:4c:c3
[ 0.878983] fsl_mac ffe5e0000.ethernet: FMan dTSEC version: 0x08240101
[ 0.884221] fsl_mac ffe5e0000.ethernet: FMan MAC address: 00:00:dd:a7:4c:c5
[ 0.890210] fsl_mac ffe5e2000.ethernet: FMan dTSEC version: 0x08240101
[ 0.895447] fsl_mac ffe5e2000.ethernet: FMan MAC address: 00:00:dd:a7:4c:c6
[ 0.901439] fsl_mac ffe5e4000.ethernet: FMan dTSEC version: 0x08240101
[ 0.906676] fsl_mac ffe5e4000.ethernet: FMan MAC address: 00:00:dd:a7:4c:c7
[ 0.912667] fsl_mac ffe5e6000.ethernet: FMan dTSEC version: 0x08240101
[ 0.917903] fsl_mac ffe5e6000.ethernet: FMan MAC address: 00:00:dd:a7:4c:c8
[ 0.923783] fsl_dpa: FSL DPAA Ethernet driver ()
[ 0.930196] fsl_dpa: fsl_dpa: Probed interface eth0
[ 0.935982] fsl_dpa: fsl_dpa: Probed interface eth1
[ 0.939641] fsl_dpa_shared: FSL DPAA Shared Ethernet driver ()
[ 0.946521] fsl_dpa_shared: fsl_dpa_shared: Probed shared interface eth2
[ 0.954088] fsl_dpa_shared: fsl_dpa_shared: Probed shared interface eth3
[ 0.961551] fsl_dpa_shared: fsl_dpa_shared: Probed shared interface eth4
[ 0.967043] fsl_dpa_proxy: FSL DPAA Proxy initialization driver ()
[ 0.972781] fsl_dpa_proxy-proxy ethernet.20: probed MAC device with MAC address: 00:00:dd:a7:4c:c3
[ 0.981104] fsl_dpa_proxy-proxy ethernet.21: probed MAC device with MAC address: 00:00:dd:a7:4c:c5
[ 0.989432] fsl_dpa_proxy-proxy ethernet.22: probed MAC device with MAC address: 00:00:dd:a7:4c:c6
[ 0.997192] fsl_oh: FSL FMan Offline Parsing port driver ()
[ 1.001702] fsl_oh dpa-fman0-oh.25: Found OH node handle compatible with fsl,dpa-oh.
[ 1.008179] fsl_oh dpa-fman0-oh.25: Allocating 0 ingress frame queues duples
[ 1.014048] fsl_oh dpa-fman0-oh.25: OH port /soc@ffe000000/fman@400000/port@82000 has no buffer pool. Fragmentation will not be enabled
[ 1.025133] fsl_oh dpa-fman0-oh.25: OH port /soc@ffe000000/fman@400000/port@82000 enabled.
[ 1.032105] fsl_oh dpa-fman0-oh.25: Default egress frame queue: 105
[ 1.037071] fsl_oh dpa-fman0-oh.25: Default error frame queue: 104
[ 1.041950] fsl_oh dpa-fman0-oh.25: Initialized queues:
[ 1.045957] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 1.051710] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 1.056250] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[ 1.060783] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
[ 1.065781] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.071452] ehci-pci: EHCI PCI platform driver
[ 1.074693] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.079976] ohci-pci: OHCI PCI platform driver
[ 1.083416] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
[ 1.088885] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
[ 1.094875] fsl-ehci fsl-ehci.0: irq 44, io mem 0xffe210000
[ 1.107729] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
[ 1.112416] hub 1-0:1.0: USB hub found
[ 1.114876] hub 1-0:1.0: 1 port detected
[ 1.117943] usbcore: registered new interface driver usb-storage
[ 1.123347] i2c /dev entries driver
[ 1.125841] mpc-i2c ffe118000.i2c: timeout 1000000 us
[ 1.130302] mpc-i2c ffe118100.i2c: timeout 1000000 us
[ 1.134327] mpc-i2c ffe119000.i2c: timeout 1000000 us
[ 1.138333] mpc-i2c ffe119100.i2c: timeout 1000000 us
[ 1.143110] at24 4-0050: 65536 byte 24c512 EEPROM, writable, 1 bytes/write
[ 1.155536] rtc-ds3232 4-0068: rtc core: registered ds3232 as rtc0
[ 1.160449] i2c i2c-0: Added multiplexed i2c bus 4
[ 1.164143] i2c i2c-0: Added multiplexed i2c bus 5
[ 1.167834] i2c i2c-0: Added multiplexed i2c bus 6
[ 1.171748] i2c i2c-0: Added multiplexed i2c bus 7
[ 1.175429] i2c i2c-0: Added multiplexed i2c bus 8
[ 1.179292] i2c i2c-0: Added multiplexed i2c bus 9
[ 1.182981] i2c i2c-0: Added multiplexed i2c bus 10
[ 1.186751] i2c i2c-0: Added multiplexed i2c bus 11
[ 1.190332] pca954x 0-0077: registered 8 multiplexed busses for I2C mux pca9547
[ 1.196421] Freescale(R) MPC85xx EDAC driver, (C) 2006 Montavista Software
[ 1.203162] EDAC MC0: Giving out device to 'MPC85xx_edac' 'mpc85xx_mc_err': DEV mpc85xx_mc_err
[ 1.210528] MPC85xx_edac acquired irq 490 for MC
[ 1.213843] MPC85xx_edac MC err registered
[ 1.216680] mpc85xx_mc_err_probe: No ECC DIMMs discovered
[ 1.222376] sdhci: Secure Digital Host Controller Interface driver
[ 1.227259] sdhci: Copyright(c) Pierre Ossman
[ 1.230312] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.263718] mmc0: SDHCI controller on ffe114000.sdhc [ffe114000.sdhc] using DMA
[ 1.271742] platform caam_qi.0: Linux CAAM Queue I/F driver initialised
[ 1.277188] caam ffe300000.crypto: device ID = 0x0a10030000000000 (Era 4)
[ 1.282678] caam ffe300000.crypto: job rings = 4, qi = 1
[ 1.289209] caam algorithms registered in /proc/crypto
[ 1.296314] caam_jr ffe301000.jr: registering rng-caam
[ 1.300195] mmc0: new high speed SDHC card at address 0007
[ 1.301064] caam ffe300000.crypto: fsl,sec-v4.0 algorithms registered in /proc/crypto
[ 1.302236] platform caam_qi.0: fsl,sec-v4.0 algorithms registered in /proc/crypto
[ 1.303317] Freescale USDPAA process driver
[ 1.303434] Freescale USDPAA process IRQ driver
[ 1.304207] fsl-pme ffe316000.pme: ver: 0x00100201
[ 1.326869] Freescale pme2 db driver
[ 1.327021] mmcblk0: mmc0:0007 SQFSD 14.9 GiB
[ 1.328353] mmcblk0: p1 p2 < p5 >
[ 1.334516] Freescale pme2 scan driver
[ 1.337079] fsl-pme2-scan: device pme_scan registered
[ 1.341169] Freescale hypervisor management driver
[ 1.344708] fsl-hv: no hypervisor found
[ 1.347370] ipip: IPv4 over IPv4 tunneling driver
[ 1.351182] TCP: cubic registered
[ 1.353199] Initializing XFRM netlink socket
[ 1.356242] NET: Registered protocol family 10
[ 1.359930] sit: IPv6 over IPv4 tunneling driver
[ 1.363671] NET: Registered protocol family 17
[ 1.366833] NET: Registered protocol family 15
[ 1.369997] 8021q: 802.1Q VLAN Support v1.8
[ 1.372910] Key type dns_resolver registered
[ 1.376630] libphy: mdio_mux: probed
[ 1.378971] libphy: mdio_mux: probed
[ 1.382974] libphy: mdio_mux: probed
[ 1.386336] mdio-mux-gpio mdio-mux-emi1.14: Version 1.0
[ 1.390391] fsl_dpa_macless: FSL DPAA MACless Ethernet driver ()
[ 1.395470] fsl_dpa_generic: FSL DPAA Generic Ethernet driver ()
[ 1.401519] rtc-ds3232 4-0068: setting system clock to 2017-05-26 09:04:27 UTC (1495789467)
[ 1.408779] Waiting 3 sec before mounting root device...
[ 4.419931] kjournald starting. Commit interval 5 seconds
[ 4.419961] EXT3-fs (mmcblk0p5): mounted filesystem with writeback data mode
[ 4.419980] VFS: Mounted root (ext3 filesystem) readonly on device 179:5.
[ 4.421047] devtmpfs: mounted
[ 4.421260] Freeing unused kernel memory: 272K (c0853000 - c0897000)
[ 5.324415] kjournald starting. Commit interval 5 seconds
[ 5.362206] EXT3-fs (mmcblk0p1): using internal journal
[ 5.366134] EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode
[ 5.406244] The major of the fpga_char_dev device is 247
[ 5.648326] udevd[1223]: starting version 182
[ 8.253899] Adding 1048572k swap on /mnt/sdcard/var/swap. Priority:-1 extents:15 across:1304392k SS

0 Kudos