cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
butterf1y
Contributor
Contributor
8,316 Views
Registered: ‎05-23-2013

zynqmp: rcu: INFO: rcu_sched detected stalls on CPUs/tasks:

hi,

I have checked https://www.xilinx.com/support/answers/69433.html and https://www.xilinx.com/support/answers/69143.html

platform info:

  1. XCZU4EV

  2. vivado 2018.3

  3. linux kernel clone form https://github.com/Xilinx/linux-xlnx

 

kernel log:

## Flattened Device Tree blob at 04000000
Booting using the fdt blob at 0x4000000
Loading Device Tree to 000000007dec5000, end 000000007decf3dd ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 4.19.0 (rxchen@dvmicro.org) (gcc version 7.3.0 (Buildroot 2018.02.5)) #9 SMP Thu Feb 14 17:54:40 CST 2019
[ 0.000000] Machine model: ZynqMP JH022_V1
[ 0.000000] earlycon: cdns0 at MMIO 0x00000000ff010000 (options '115200n8')
[ 0.000000] bootconsole [cdns0] enabled
[ 0.000000] Memory limited to 2048MB
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 512 MiB at 0x000000005dc00000
[ 0.000000] On node 0 totalpages: 524288
[ 0.000000] DMA32 zone: 7168 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 524288 pages, LIFO batch:63
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci_features, 271:
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] psci_features, 271:
[ 0.000000] psci_features, 271:
[ 0.000000] random: get_random_bytes called from start_kernel+0xac/0x414 with crng_init=0
[ 0.000000] percpu: Embedded 21 pages/cpu @(____ptrval____) s47064 r8192 d30760 u86016
[ 0.000000] pcpu-alloc: s47064 r8192 d30760 u86016 alloc=21*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 517120
[ 0.000000] Kernel command line: earlycon clk_ignore_unused console=ttyPS0,115200 root=/dev/ram rw rootfstype=squashfs initrd=0x3000000,16M mem=2048M cma=512M acpi=off cpuidle.off=1 loglevel=8
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Memory: 1508756K/2097152K available (8892K kernel code, 554K rwdata, 2888K rodata, 704K init, 2080K bss, 64108K reserved, 524288K cma-reserved)
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arch_timer: cp15 timer(s) running at 33.33MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x7b0074340, max_idle_ns: 440795202884 ns
[ 0.000003] sched_clock: 56 bits at 33MHz, resolution 30ns, wraps every 2199023255543ns
[ 0.008191] Console: colour dummy device 80x25
[ 0.012389] Calibrating delay loop (skipped), value calculated using timer frequency.. 66.66 BogoMIPS (lpj=133332)
[ 0.022667] pid_max: default: 32768 minimum: 301
[ 0.027358] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.033919] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.041705] ASID allocator initialised with 32768 entries
[ 0.046418] rcu: Hierarchical SRCU implementation.
[ 0.051399] EFI services will not be available.
[ 0.055655] zynqmp_plat_init Platform Management API v1.1
[ 0.060988] zynqmp_plat_init Trustzone version v1.0
[ 0.065945] smp: Bringing up secondary CPUs ...
[ 0.197579] Detected VIPT I-cache on CPU1
[ 0.197607] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.286420] Detected VIPT I-cache on CPU2
[ 0.286439] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.372438] Detected VIPT I-cache on CPU3
[ 0.372457] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.372501] smp: Brought up 1 node, 4 CPUs
[ 0.402361] SMP: Total of 4 processors activated.
[ 0.407035] CPU features: detected: 32-bit EL0 Support
[ 0.413453] CPU: All CPU(s) started at EL2
[ 0.416212] alternatives: patching kernel code
[ 0.421424] devtmpfs: initialized
[ 0.427738] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.433600] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.449487] pinctrl core: initialized pinctrl subsystem
[ 0.450149] NET: Registered protocol family 16
[ 0.453858] audit: initializing netlink subsys (disabled)
[ 0.459455] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[ 0.460843] audit: type=2000 audit(0.408:1): state=initialized audit_enabled=0 res=1
[ 0.466216] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.481509] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.514600] reset_zynqmp reset-controller: Xilinx zynqmp reset driver probed
[ 0.526902] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.529141] SCSI subsystem initialized
[ 0.531709] libata version 3.00 loaded.
[ 0.535632] usbcore: registered new interface driver usbfs
[ 0.540967] usbcore: registered new interface driver hub
[ 0.546245] usbcore: registered new device driver usb
[ 0.551288] media: Linux media interface: v0.10
[ 0.555752] videodev: Linux video capture interface: v2.00
[ 0.561202] pps_core: LinuxPPS API ver. 1 registered
[ 0.566109] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.575203] PTP clock support registered
[ 0.579192] zynqmp-ipi ff9905c0.mailbox: No IPI local ID is specified.
[ 0.585578] zynqmp-ipi: probe of ff9905c0.mailbox failed with error -22
[ 0.592255] FPGA manager framework
[ 0.595565] Advanced Linux Sound Architecture Driver Initialized.
[ 0.601851] Bluetooth: Core ver 2.22
[ 0.605137] NET: Registered protocol family 31
[ 0.609534] Bluetooth: HCI device and connection manager initialized
[ 0.615850] Bluetooth: HCI socket layer initialized
[ 0.620692] Bluetooth: L2CAP socket layer initialized
[ 0.625721] Bluetooth: SCO socket layer initialized
[ 0.630963] clocksource: Switched to clocksource arch_sys_counter
[ 0.636758] VFS: Disk quotas dquot_6.6.0
[ 0.640538] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.652685] NET: Registered protocol family 2
[ 0.653058] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)
[ 0.659537] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.666724] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[ 0.673387] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.679747] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.685689] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.692169] NET: Registered protocol family 1
[ 0.696615] RPC: Registered named UNIX socket transport module.
[ 0.702277] RPC: Registered udp transport module.
[ 0.706932] RPC: Registered tcp transport module.
[ 0.711604] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.718008] PCI: CLS 0 bytes, default 64
[ 0.722009] Trying to unpack rootfs image as initramfs...
[ 0.727360] rootfs image is not initramfs (junk in compressed archive); looks like an initrd
[ 0.758452] Freeing initrd memory: 16384K
[ 0.758951] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 0.764081] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.772497] Initialise system trusted keyrings
[ 0.776125] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[ 0.782796] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.788458] NFS: Registering the id_resolver key type
[ 0.793254] Key type id_resolver registered
[ 0.797395] Key type id_legacy registered
[ 0.801378] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.808045] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.812385] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[ 1.962800] Key type asymmetric registered
[ 1.962828] Asymmetric key parser 'x509' registered
[ 1.966130] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.973454] io scheduler noop registered
[ 1.977344] io scheduler deadline registered
[ 1.981601] io scheduler cfq registered (default)
[ 1.986255] io scheduler mq-deadline registered
[ 1.990752] io scheduler kyber registered
[ 1.995870] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[ 2.001412] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[ 2.008093] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[ 2.015017] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[ 2.021932] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[ 2.028848] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[ 2.035770] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[ 2.042690] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[ 2.049610] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[ 2.056585] zynqmp_power zynqmp-power: Failed to request rx channel
[ 2.062643] zynqmp_power: probe of zynqmp-power failed with error 1
[ 2.095452] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 2.099930] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
[ 2.103190] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.109572] [drm] No driver support for vblank timestamp query.
[ 2.115508] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffff80089d5a58)
[ 2.123429] [drm] Cannot find any crtc or sizes
[ 2.128112] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0
[ 2.135981] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed
[ 2.144658] cacheinfo: Unable toV�Wr����number) must be supplied
[ 2.955383] PLL: enable
[ 3.064645] m25p80 spi0.0: found s25fl256s1, expected m25p80
[ 3.070173] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)
[ 3.074768] 7 fixed-partitions partitions found on MTD device spi0.0
[ 3.081053] Creating 7 MTD partitions on "spi0.0":
[ 3.085812] 0x000000000000-0x000000200000 : "qspi-fsbl-uboot"
[ 3.092089] 0x000000200000-0x000000400000 : "qspi-fpga"
[ 3.097108] 0x000000400000-0x000000b00000 : "qspi-linux"
[ 3.102390] 0x000000b00000-0x000000b20000 : "qspi-device-tree"
[ 3.108180] 0x000000b20000-0x000001000000 : "qspi-rootfs"
[ 3.113545] 0x000001000000-0x000002000000 : "qspi-config"
[ 3.118902] 0x000000000000-0x000002000000 : "qspi-all"
[ 3.125016] libphy: Fixed MDIO Bus: probed
[ 3.128852] tun: Universal TUN/TAP device driver, 1.6
[ 3.132812] CAN device driver interface
[ 3.137012] macb ff0c0000.ethernet: Not enabling partial store and forward
[ 3.143808] libphy: MACB_mii_bus: probed
[ 3.219177] macb ff0c0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0c0000 irq 21 (00:11:22:33:44:55)
[ 3.223350] Marvell 88E1510 ff0c0000.ethernet-ffffffff:00: attached PHY driver [Marvell 88E1510] (mii_bus:phy_addr=ff0c0000.ethernet-ffffffff:00, irq=POLL)
[ 3.237651] usbcore: registered new interface driver asix
[ 3.242588] usbcore: registered new interface driver ax88179_178a
[ 3.248627] usbcore: registered new interface driver cdc_ether
[ 3.254425] usbcore: registered new interface driver net1080
[ 3.260044] usbcore: registered new interface driver cdc_subset
[ 3.265925] usbcore: registered new interface driver zaurus
[ 3.271469] usbcore: registered new interface driver cdc_ncm
[ 3.277297] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[ 3.283496] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[ 3.289676] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[ 3.295923] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[ 3.302586] usbcore: registered new interface driver uas
[ 3.307287] usbcore: registered new interface driver usb-storage
[ 3.313543] genirq: Flags mismatch irq 26. 00000004 (ffa60000.rtc) vs. 00000084 (axi-pmon)
[ 3.321443] rtc_zynqmp ffa60000.rtc: request irq failed
[ 3.326643] rtc_zynqmp: probe of ffa60000.rtc failed with error -16
[ 3.332885] i2c /dev entries driver
[ 3.336587] zynqmp_gpd_power_off, 126: pd-usb0 powerdown
[ 3.336745] pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulator
[ 3.341680] zynqmp_gpd_power_off, 126: pd-eth1 powerdown
[ 3.348817] pca953x 0-0020: Linked as a consumer to regulator.0
[ 3.360065] pca953x 0-0020: failed reading register
[ 3.364825] pca953x 0-0020: Dropping the link to regulator.0
[ 3.370436] cdns-i2c ff020000.i2c: 100 kHz mmio ff020000 irq 23
[ 3.377713] usbcore: registered new interface driver uvcvideo
[ 3.381990] USB Video Class driver (1.1.1)
[ 3.386488] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer at (____ptrval____) with timeout 60s
[ 3.395158] Bluetooth: HCI UART driver ver 2.3
[ 3.399378] Bluetooth: HCI UART protocol H4 registered
[ 3.404478] Bluetooth: HCI UART protocol BCSP registered
[ 3.409774] Bluetooth: HCI UART protocol LL registered
[ 3.414858] Bluetooth: HCI UART protocol ATH3K registered
[ 3.420240] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 3.426484] Bluetooth: HCI UART protocol Intel registered
[ 3.431829] Bluetooth: HCI UART protocol QCA registered
[ 3.437032] usbcore: registered new interface driver bcm203x
[ 3.442651] usbcore: registered new interface driver bpa10x
[ 3.448189] usbcore: registered new interface driver bfusb
[ 3.453636] usbcore: registered new interface driver btusb
[ 3.459061] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[ 3.464729] usbcore: registered new interface driver ath3k
[ 3.470749] sdhci: Secure Digital Host Controller Interface driver
[ 3.476274] sdhci: Copyright(c) Pierre Ossman
[ 3.480598] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.486593] zynqmp_gpd_power_off, 126: pd-sd0 powerdown
[ 3.491420] zynqmp_gpd_power_off, 126: pd-sd1 powerdown
[ 3.496630] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.502707] usbcore: registered new interface driver usbhid
[ 3.508107] usbhid: USB HID core driver
[ 3.513995] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[ 3.518654] usbcore: registered new interface driver snd-usb-audio
[ 3.524805] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[ 3.532291] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[ 3.541220] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Xilinx DisplayPort Sound Codec probed
[ 3.551233] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[ 3.562838] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[ 3.575280] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: Xilinx DisplayPort Sound Card probed
[ 3.585404] pktgen: Packet Generator for packet performance testing. Version: 2.75
[ 3.592826] Initializing XFRM netlink socket
[ 3.596784] NET: Registered protocol family 17
[ 3.601190] NET: Registered protocol family 15
[ 3.605605] can: controller area network core (rev 20170425 abi 9)
[ 3.611766] NET: Registered protocol family 29
[ 3.616146] can: raw protocol (rev 20170425)
[ 3.620384] can: broadcast manager protocol (rev 20170425 t)
[ 3.626009] can: netlink gateway (rev 20170425) max_hops=1
[ 3.631525] Bluetooth: RFCOMM TTY layer initialized
[ 3.636306] Bluetooth: RFCOMM socket layer initialized
[ 3.641411] Bluetooth: RFCOMM ver 1.11
[ 3.645127] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 3.650399] Bluetooth: BNEP filters: protocol multicast
[ 3.655592] Bluetooth: BNEP socket layer initialized
[ 3.660521] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 3.666404] Bluetooth: HIDP socket layer initialized
[ 3.671415] 9pnet: Installing 9P2000 support
[ 3.675584] Key type dns_resolver registered
[ 3.680291] registered taskstats version 1
[ 3.683879] Loading compiled-in X.509 certificates
[ 3.695798] ff000000.serial: ttyPS1 at MMIO 0xff000000 (irq = 31, base_baud = 6249999) is a xuartps
�ہ 3.713731] console [ttyPS0] enabledat MMIO 0xff010000 (irq = 32, base_baud = 6249999) is a xuartps
[ 3.713731] console [ttyPS0] enabled
[ 3.717314] bootconsole [cdns0] disabled
[ 3.717314] bootconsole [cdns0] disabled
[ 3.726188] dwc3 fe200000.dwc3: Failed to get clk 'ref': -2
[ 3.734391] zynqmp_gpd_power_off, 126: pd-gpio powerdown
[ 3.739987] xilinx-psgtr fd400000.zynqmp_phy: Lane:2 type:0 protocol:3 pll_locked:yes
[ 3.782196] mmc0: SDHCI controller on ff160000.mmc [ff160000.mmc] using ADMA 64-bit
[ 3.789889] PLL: shutdown
[ 3.792525] zynqmp_gpd_power_off, 126: pd-sd0 powerdown
[ 3.797792] PLL: enable
[ 3.834960] mmc1: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[ 3.842641] zynqmp_gpd_power_off, 126: pd-sd1 powerdown
[ 3.854344] hctosys: unable to open rtc device (rtc0)
[ 3.859394] of_cfs_init
[ 3.861844] of_cfs_init: OK
[ 3.864740] clk: Not disabling unused clocks
[ 3.869265] ALSA device list:
[ 3.872227] #0: DisplayPort monitor
[ 3.876300] RAMDISK: squashfs filesystem found at block 0
[ 3.879440] mmc0: new high speed MMC card at address 0001
[ 3.881699] RAMDISK: Loading 4537KiB [1 disk] into ram disk... /
[ 3.887658] mmcblk0: mmc0:0001 128G32 116 GiB
[ 3.887712] -
[ 3.895043] mmcblk0boot0: mmc0:0001 128G32 partition 1 4.00 MiB
[ 3.899126] \
[ 3.901111] mmcblk0boot1: mmc0:0001 128G32 partition 2 4.00 MiB
[ 3.906729] |
[ 3.908387] mmcblk0rpmb: mmc0:0001 128G32 partition 3 4.00 MiB, chardev (244:0)
[ 3.914264] /
[ 3.917458] mmcblk0: p1 p2
[ 3.923222] done.
[ 4.016597] VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
[ 4.024997] devtmpfs: mounted
[ 4.028232] Freeing unused kernel memory: 704K
[ 4.047029] Run /sbin/init as init process
Starting logging: OK
read-only file system detected...done
Starting network: OK
No persistent location to store SSH host keys. New keys will be
generated at each boot. Are you sure this is what you want to do?
Starting dropbear sshd: [ 4.364479] random: dropbear: uninitialized urandom read (32 bytes read)
OK
Starting telnetd: OK
Starting vsftpd: OK
Starting atd: OK

Welcome to Buildroot
buildroot login:
Welcome to Buildroot
buildroot login: [ 26.962955] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 26.968872] rcu: 2-...!: (84 ticks this GP) idle=32a/1/0x4000000000000000 softirq=336/338 fqs=119
[ 26.977902] rcu: (detected by 0, t=5252 jiffies, g=-751, q=2)
[ 26.983719] Task dump for CPU 2:
[ 26.986930] kworker/2:1 R running task 0 61 2 0x00000008
[ 26.993978] Workqueue: pm pm_runtime_work
[ 26.997971] Call trace:
[ 27.000405] __switch_to+0x94/0xf0
[ 27.003797] 0x40772ee000
[ 27.006402] rcu: rcu_sched kthread starved for 4999 jiffies! g-751 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=3
[ 27.016389] rcu: RCU grace-period kthread stack dump:
[ 27.021424] rcu_sched R running task 0 10 2 0x00000008
[ 27.028463] Call trace:
[ 27.030896] __switch_to+0x94/0xf0
[ 27.034283] __schedule+0x200/0x650
[ 27.037762] schedule+0x24/0x80
[ 27.040888] schedule_timeout+0x8c/0x280
[ 27.044803] rcu_gp_kthread+0x538/0x8e0
[ 27.048630] kthread+0x128/0x130
[ 27.051841] ret_from_fork+0x10/0x20
[ 89.982951] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 89.988861] rcu: 2-...!: (84 ticks this GP) idle=32a/1/0x4000000000000000 softirq=336/338 fqs=119
[ 89.997892] rcu: (detected by 0, t=21007 jiffies, g=-751, q=2)
[ 90.003795] Task dump for CPU 2:
[ 90.007007] kworker/2:1 R running task 0 61 2 0x00000008
[ 90.014050] Workqueue: pm pm_runtime_work
[ 90.018047] Call trace:
[ 90.020481] __switch_to+0x94/0xf0
[ 90.023864] 0x40772ee000
[ 90.026471] rcu: rcu_sched kthread starved for 20754 jiffies! g-751 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=3
[ 90.036545] rcu: RCU grace-period kthread stack dump:
[ 90.041580] rcu_sched R running task 0 10 2 0x00000008
[ 90.048619] Call trace:
[ 90.051052] __switch_to+0x94/0xf0
[ 90.054437] __schedule+0x200/0x650
[ 90.057909] schedule+0x24/0x80
[ 90.061034] schedule_timeout+0x8c/0x280
[ 90.064940] rcu_gp_kthread+0x538/0x8e0
[ 90.068759] kthread+0x128/0x130
[ 90.071970] ret_from_fork+0x10/0x20
[ 153.002952] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 153.008860] rcu: 2-...!: (84 ticks this GP) idle=32a/1/0x4000000000000000 softirq=336/338 fqs=119
[ 153.017892] rcu: (detected by 0, t=36762 jiffies, g=-751, q=2)
[ 153.023795] Task dump for CPU 2:
[ 153.027006] kworker/2:1 R running task 0 61 2 0x00000008
[ 153.034049] Workqueue: pm pm_runtime_work
[ 153.038047] Call trace:
[ 153.040480] __switch_to+0x94/0xf0
[ 153.043863] 0x40772ee000
[ 153.046470] rcu: rcu_sched kthread starved for 36509 jiffies! g-751 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=3
[ 153.056544] rcu: RCU grace-period kthread stack dump:
[ 153.061579] rcu_sched R running task 0 10 2 0x00000008
[ 153.068618] Call trace:
[ 153.071051] __switch_to+0x94/0xf0
[ 153.074437] __schedule+0x200/0x650
[ 153.077908] schedule+0x24/0x80
[ 153.081034] schedule_timeout+0x8c/0x280
[ 153.084940] rcu_gp_kthread+0x538/0x8e0
[ 153.088758] kthread+0x128/0x130
[ 153.091970] ret_from_fork+0x10/0x20
[ 216.022951] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 216.028860] rcu: 2-...!: (84 ticks this GP) idle=32a/1/0x4000000000000000 softirq=336/338 fqs=119
[ 216.037891] rcu: (detected by 0, t=52517 jiffies, g=-751, q=2)
[ 216.043794] Task dump for CPU 2:
[ 216.047006] kworker/2:1 R running task 0 61 2 0x00000008
[ 216.054049] Workqueue: pm pm_runtime_work
[ 216.058046] Call trace:
[ 216.060479] __switch_to+0x94/0xf0
[ 216.063863] 0x40772ee000
[ 216.066469] rcu: rcu_sched kthread starved for 52264 jiffies! g-751 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=3
[ 216.076543] rcu: RCU grace-period kthread stack dump:
[ 216.081578] rcu_sched R running task 0 10 2 0x00000008
[ 216.088617] Call trace:
[ 216.091050] __switch_to+0x94/0xf0
[ 216.094436] __schedule+0x200/0x650
[ 216.097907] schedule+0x24/0x80
[ 216.101033] schedule_timeout+0x8c/0x280
[ 216.104939] rcu_gp_kthread+0x538/0x8e0
[ 216.108757] kthread+0x128/0x130
[ 216.111969] ret_from_fork+0x10/0x20

0 Kudos
7 Replies
damon
Adventurer
Adventurer
8,186 Views
Registered: ‎01-01-2019

Hi @butterf1y 

Is this problem solved?
I also encountered the same problem.

 

0 Kudos
butterf1y
Contributor
Contributor
8,052 Views
Registered: ‎05-23-2013

not yet
0 Kudos
aenerine
Contributor
Contributor
7,804 Views
Registered: ‎04-27-2017

I am having the same problem on Ultra96 V1 Board. Git Cloned the linux-xlnx repository,build the kernel and created an image.ub with mkimage from .its file specification with only devicetree and kernel beein in the image.

0 Kudos
jwoeber
Participant
Participant
7,540 Views
Registered: ‎04-04-2019

Hi,

I am having the same problem. Any updates/ workarounds found yet?

0 Kudos
jwoeber
Participant
Participant
7,521 Views
Registered: ‎04-04-2019

Update: I can trigger this problem by overwriting the  32kB ocm data block at the address 0xfffe8000 - 0xffff0000. Some Kernel data is there but I cant find in the device tree what uses this memory.

0 Kudos
jwoeber
Participant
Participant
7,513 Views
Registered: ‎04-04-2019

In my case it seems it was caused by a self written driver overwriting (ocm) memory used by the kernel. I still dont know why the kernel uses this memory as I cant find it in the device tree but thats by the by.

0 Kudos
butterf1y
Contributor
Contributor
2,694 Views
Registered: ‎05-23-2013

when I update to linux-4.19,look like every thing is OK.
0 Kudos