Home Forum Software discussion Potential deadlock with 10Gbps networking

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #8082
    fozog
    Participant

    When copying a file through a SAMBA share onto a Windows desktop at 10Gbps there seems to be a deadlock.
    I have tried 4.4.52 Marvell kernel as well as 5.3 kernel (vanilla and Ubuntu 19.10).
    The following stack trace shows:
    – sending a TCP segment
    – IRQ to handle net_rx_action
    – then opportunistic mvpp2_tx_done that does not return…

    [59948.000594] watchdog: BUG: soft lockup – CPU#0 stuck for 22s! [smbd:5127]
    [59948.007412] Modules linked in: bridge stp llc nls_iso8859_1 dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua ofpart cmdlinepart m25p80 spi_nor mtd ftdi_sio usbserial spi_orion omap_rng uio_pdrv_genirq uio sch_fq_codel ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 multipath linear aes_ce_blk aes_ce_cipher crct10dif_ce ghash_ce sha2_ce i2c_mux_pca954x i2c_mux sha256_arm64 sha1_ce phy_generic sfp mdio_i2c nvme fixed rtc_armada38x marvell10g sdhci_xenon_driver nvme_core sdhci_pltfm marvell ahci_platform xhci_plat_hcd i2c_mv64xxx mvpp2 phylink sdhci mvmdio phy_mvebu_cp110_comphy aes_neon_bs aes_neon_blk crypto_simd cryptd aes_arm64
    [59948.007468] CPU: 0 PID: 5127 Comm: smbd Tainted: G B 5.3.0-24-generic #26-Ubuntu
    [59948.007470] Hardware name: Marvell mvebu_armada-8k/mvebu_armada-8k, BIOS 2019.10 12/14/2019
    [59948.007473] pstate: 60400005 (nZCv daif +PAN -UAO)
    [59948.007485] pc : mvpp2_txq_done+0xb0/0x120 [mvpp2]
    [59948.007490] lr : mvpp2_tx_done+0x98/0xd8 [mvpp2]
    [59948.007492] sp : ffff000010003cf0
    [59948.007494] x29: ffff000010003cf0 x28: ffff800129248000
    [59948.007497] x27: 0000000000000000 x26: 0000000000000001
    [59948.007500] x25: 0000000000000020 x24: ffff0000118c8720
    [59948.007502] x23: ffff80012adbf000 x22: 0000000000000000
    [59948.007505] x21: ffff8001292488c0 x20: ffff7dffbff720f8
    [59948.007507] x19: 0000000000000008 x18: 0000000000000000
    [59948.007509] x17: 0000000000000000 x16: 0000000000000013
    [59948.007512] x15: 0000000000000000 x14: 000000000000fa40
    [59948.007514] x13: 00000000000005b0 x12: ffffffffffffffff
    [59948.007516] x11: 0000000000000040 x10: 0000000000000011
    [59948.007519] x9 : 0000000000000000 x8 : ffff8001329d1000
    [59948.007521] x7 : 0000000000000000 x6 : 0000000000000000
    [59948.007523] x5 : ffff000010003cf0 x4 : ffff80012ac99c80
    [59948.007526] x3 : 0000000000000002 x2 : 0000000000000004
    [59948.007528] x1 : 0000000000003e00 x0 : 0000000000000000
    [59948.007530] Call trace:
    [59948.007537] mvpp2_txq_done+0xb0/0x120 [mvpp2]
    [59948.007542] mvpp2_tx_done+0x98/0xd8 [mvpp2]
    [59948.007547] mvpp2_poll+0x1e8/0x1f0 [mvpp2]
    [59948.007555] net_rx_action+0x16c/0x438
    [59948.007559] __do_softirq+0x130/0x324
    [59948.007565] irq_exit+0xa0/0xc8
    [59948.007569] __handle_domain_irq+0x70/0xc0
    [59948.007571] gic_handle_irq+0x58/0xa8
    [59948.007574] el1_irq+0x104/0x1c0
    [59948.007578] _cond_resched+0x0/0x40
    [59948.007582] __sk_flush_backlog+0x54/0x88
    [59948.007585] tcp_sendmsg_locked+0xaa0/0xbc0
    [59948.007587] tcp_sendmsg+0x40/0x60
    [59948.007591] inet_sendmsg+0x4c/0x70
    [59948.007595] sock_sendmsg+0x54/0x60
    [59948.007597] sock_write_iter+0x8c/0xe8
    [59948.007601] do_iter_readv_writev+0x14c/0x1d8
    [59948.007603] do_iter_write+0x98/0x1a0
    [59948.007606] vfs_writev+0xc0/0x110
    [59948.007608] do_writev+0x80/0x130
    [59948.007610] __arm64_sys_writev+0x28/0x38
    [59948.007613] el0_svc_common.constprop.0+0xdc/0x1d8
    [59948.007615] el0_svc_handler+0x34/0x90
    [59948.007618] el0_svc+0x10/0x14

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Technical specification tables can not be displayed on mobile. Please view on desktop