UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
515 Views
Registered: ‎11-26-2018

Petalinux Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Jump to solution

I've tested the vcu with petalinux and it was working fine, so I've putted into the project the other things I need, but now when I try to boot the system I get a kernel panic or a allocation.

 

Board: Xilinx ZynqMP
DRAM:  4 GiB
EL Level:       EL2
Chip ID:        zu7ev
MMC:   mmc@ff170000: 0
Loading Environment from SPI Flash... SF: Detected n25q512a with page size 512 Bytes, erase size 128 KiB, total 128 MiB
*** Warning - bad CRC, using default environment

In:    serial@ff000000
Out:   serial@ff000000
Err:   serial@ff000000
Model: ZynqMP ZCU106 RevA
Board: Xilinx ZynqMP
Bootmode: LVL_SHFT_SD_MODE1
Reset reason:   EXTERNAL
Net:   ZYNQ GEM: ff0e0000, phyaddr c, interface rgmii-id
eth0: ethernet@ff0e0000

Hit any key to stop autoboot:  0
Device: mmc@ff170000
Manufacturer ID: 3
OEM: 5344
Name: SB16G
Bus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
408674412 bytes read in 26651 ms (14.6 MiB/s)
## Loading kernel from FIT Image at 10000000 ...
   Using 'conf@system-top.dtb' configuration
   Trying 'kernel@1' kernel subimage
     Description:  Linux kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x10000104
     Data Size:    18147840 Bytes = 17.3 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x00080000
     Entry Point:  0x00080000
     Hash algo:    sha1
     Hash value:   e67d8f7e9e98c1c6f43715336c325e4739d7a790
   Verifying Hash Integrity ... sha1+ OK
## Loading ramdisk from FIT Image at 10000000 ...
   Using 'conf@system-top.dtb' configuration
   Trying 'ramdisk@1' ramdisk subimage
     Description:  petalinux-user-image
     Type:         RAMDisk Image
     Compression:  gzip compressed
     Data Start:   0x11159d44
     Data Size:    390479254 Bytes = 372.4 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    sha1
     Hash value:   ffc26fb51b5ca7317de723d0a7a85023d887f6be
   Verifying Hash Integrity ... sha1+ OK
## Loading fdt from FIT Image at 10000000 ...
   Using 'conf@system-top.dtb' configuration
   Trying 'fdt@system-top.dtb' fdt subimage
     Description:  Flattened Device Tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x1114ec08
     Data Size:    45175 Bytes = 44.1 KiB
     Architecture: AArch64
     Hash algo:    sha1
     Hash value:   9f015124e9f1fa70220cda2ef96d21e857d1051e
   Verifying Hash Integrity ... sha1+ OK
   Booting using the fdt blob at 0x1114ec08
   Loading Kernel Image ... OK
   Loading Ramdisk to 66939000, end 7dd9cd96 ... OK
   Loading Device Tree to 000000006692a000, end 0000000066938076 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.19.0-xilinx-v2019.1 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Mon Jul 1 07:22:53 UTC 2019
[    0.000000] Machine model: ZynqMP ZCU106 RevA
[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[    0.000000] bootconsole [cdns0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000000e000000, size 300 MiB
[    0.000000] OF: reserved mem: initialized node buffer@0, compatible id shared-dma-pool
[    0.000000] cma: Reserved 1000 MiB at 0x0000000028000000
[    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: SMC Calling Convention v1.1
[    0.000000] random: get_random_bytes called from start_kernel+0x94/0x3f8 with crng_init=0
[    0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s53656 r8192 d32360 u94208
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1033987
[    0.000000] Kernel command line: earlycon console=ttyPS0,115200 clk_ignore_unused
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] software IO TLB: mapped [mem 0x24000000-0x28000000] (64MB)
[    0.000000] Memory: 2332272K/4193280K available (10812K kernel code, 634K rwdata, 5420K rodata, 832K init, 314K bss, 529808K reserved, 1331200K 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 99.99MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x170f8de2d3, max_idle_ns: 440795206112 ns
[    0.000003] sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 4398046511101ns
[    0.008237] Console: colour dummy device 80x25
[    0.012392] Calibrating delay loop (skipped), value calculated using timer frequency.. 199.98 BogoMIPS (lpj=399960)
[    0.022756] pid_max: default: 32768 minimum: 301
[    0.027444] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.034012] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.041782] ASID allocator initialised with 32768 entries
[    0.046507] rcu: Hierarchical SRCU implementation.
[    0.051532] EFI services will not be available.
[    0.055826] smp: Bringing up secondary CPUs ...
[    0.060481] Detected VIPT I-cache on CPU1
[    0.060510] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.060810] Detected VIPT I-cache on CPU2
[    0.060829] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.061112] Detected VIPT I-cache on CPU3
[    0.061131] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.061174] smp: Brought up 1 node, 4 CPUs
[    0.095681] SMP: Total of 4 processors activated.
[    0.100355] CPU features: detected: 32-bit EL0 Support
[    0.106976] CPU: All CPU(s) started at EL2
[    0.109534] alternatives: patching kernel code
[    0.114789] devtmpfs: initialized
[    0.122176] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.126919] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.160139] xor: measuring software checksum speed
[    0.197203]    8regs     :  2375.000 MB/sec
[    0.237231]    8regs_prefetch:  2052.000 MB/sec
[    0.277259]    32regs    :  2724.000 MB/sec
[    0.317287]    32regs_prefetch:  2308.000 MB/sec
[    0.317316] xor: using function: 32regs (2724.000 MB/sec)
[    0.321631] pinctrl core: initialized pinctrl subsystem
[    0.327421] NET: Registered protocol family 16
[    0.331472] audit: initializing netlink subsys (disabled)
[    0.336660] audit: type=2000 audit(0.288:1): state=initialized audit_enabled=0 res=1
[    0.344316] cpuidle: using governor menu
[    0.348282] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.355539] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.362955] DMA: preallocated 256 KiB pool for atomic allocations
[    0.382132] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.451007] raid6: int64x1  gen()   446 MB/s
[    0.519047] raid6: int64x1  xor()   454 MB/s
[    0.587096] raid6: int64x2  gen()   680 MB/s
[    0.655105] raid6: int64x2  xor()   600 MB/s
[    0.723135] raid6: int64x4  gen()   981 MB/s
[    0.791173] raid6: int64x4  xor()   737 MB/s
[    0.859233] raid6: int64x8  gen()  1162 MB/s
[    0.927261] raid6: int64x8  xor()   759 MB/s
[    0.995325] raid6: neonx1   gen()   735 MB/s
[    1.063345] raid6: neonx1   xor()   879 MB/s
[    1.131404] raid6: neonx2   gen()  1127 MB/s
[    1.199427] raid6: neonx2   xor()  1173 MB/s
[    1.267468] raid6: neonx4   gen()  1477 MB/s
[    1.335519] raid6: neonx4   xor()  1418 MB/s
[    1.403565] raid6: neonx8   gen()  1562 MB/s
[    1.471623] raid6: neonx8   xor()  1459 MB/s
[    1.471650] raid6: using algorithm neonx8 gen() 1562 MB/s
[    1.475619] raid6: .... xor() 1459 MB/s, rmw enabled
[    1.480546] raid6: using neon recovery algorithm
[    1.485866] SCSI subsystem initialized
[    1.489018] usbcore: registered new interface driver usbfs
[    1.494334] usbcore: registered new interface driver hub
[    1.499608] usbcore: registered new device driver usb
[    1.504653] media: Linux media interface: v0.10
[    1.509115] videodev: Linux video capture interface: v2.00
[    1.514568] pps_core: LinuxPPS API ver. 1 registered
[    1.519476] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.528569] PTP clock support registered
[    1.532469] EDAC MC: Ver: 3.0.0
[    1.535953] zynqmp-ipi-mbox mailbox@ff990400: Probed ZynqMP IPI Mailbox driver.
[    1.543032] FPGA manager framework
[    1.546359] Advanced Linux Sound Architecture Driver Initialized.
[    1.552531] Bluetooth: Core ver 2.22
[    1.555823] NET: Registered protocol family 31
[    1.560223] Bluetooth: HCI device and connection manager initialized
[    1.566539] Bluetooth: HCI socket layer initialized
[    1.571382] Bluetooth: L2CAP socket layer initialized
[    1.576414] Bluetooth: SCO socket layer initialized
[    1.581528] clocksource: Switched to clocksource arch_sys_counter
[    1.587421] VFS: Disk quotas dquot_6.6.0
[    1.591230] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.602257] NET: Registered protocol family 2
[    1.602683] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes)
[    1.610179] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    1.617516] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    1.624267] TCP: Hash tables configured (established 32768 bind 32768)
[    1.630439] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    1.636420] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    1.642896] NET: Registered protocol family 1
[    1.647275] RPC: Registered named UNIX socket transport module.
[    1.652965] RPC: Registered udp transport module.
[    1.657633] RPC: Registered tcp transport module.
[    1.662303] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.669035] Trying to unpack rootfs image as initramfs...
[   17.412602] rootfs image is not initramfs (write error); looks like an initrd
[   17.414130] /initrd.image: incomplete write (-28 != 390479254)
[   17.531779] Freeing initrd memory: 381324K
[   17.532180] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[   17.537508] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[   17.545983] Initialise system trusted keyrings
[   17.549516] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[   17.556526] NFS: Registering the id_resolver key type
[   17.560879] Key type id_resolver registered
[   17.565022] Key type id_legacy registered
[   17.569007] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[   17.575673] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[   18.663629] NET: Registered protocol family 38
[   18.726598] Key type asymmetric registered
[   18.726626] Asymmetric key parser 'x509' registered
[   18.729931] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[   18.737260] io scheduler noop registered
[   18.741150] io scheduler deadline registered
[   18.745408] io scheduler cfq registered (default)
[   18.750061] io scheduler mq-deadline registered
[   18.754559] io scheduler kyber registered
[   18.760080] xilinx-frmbuf a0020000.v_frmbuf_wr: failed to get ap_clk (-517)
[   18.791503] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[   18.795590] cacheinfo: Unable to detect cache hierarchy for CPU 0
[   18.802307] brd: module loaded
[   18.806087] loop: module loaded
[   18.806933] mtdoops: mtd device (mtddev=name/number) must be supplied
[   18.812085] libphy: Fixed MDIO Bus: probed
[   18.816036] tun: Universal TUN/TAP device driver, 1.6
[   18.820011] CAN device driver interface
[   18.824649] usbcore: registered new interface driver asix
[   18.829108] usbcore: registered new interface driver ax88179_178a
[   18.835155] usbcore: registered new interface driver cdc_ether
[   18.840944] usbcore: registered new interface driver net1080
[   18.846568] usbcore: registered new interface driver cdc_subset
[   18.852449] usbcore: registered new interface driver zaurus
[   18.857997] usbcore: registered new interface driver cdc_ncm
[   18.864122] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   18.870077] ehci-pci: EHCI PCI platform driver
[   18.874765] usbcore: registered new interface driver uas
[   18.879799] usbcore: registered new interface driver usb-storage
[   18.886265] rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc0
[   18.892971] i2c /dev entries driver
[   18.897848] xilinx-tpg a0000000.v_tpg: device found, version 0.000
[   18.902813] usbcore: registered new interface driver uvcvideo
[   18.908225] USB Video Class driver (1.1.1)
[   18.912847] Bluetooth: HCI UART driver ver 2.3
[   18.916707] Bluetooth: HCI UART protocol H4 registered
[   18.921807] Bluetooth: HCI UART protocol BCSP registered
[   18.927103] Bluetooth: HCI UART protocol LL registered
[   18.932188] Bluetooth: HCI UART protocol ATH3K registered
[   18.937568] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   18.943823] Bluetooth: HCI UART protocol Intel registered
[   18.949160] Bluetooth: HCI UART protocol QCA registered
[   18.954365] usbcore: registered new interface driver bcm203x
[   18.959986] usbcore: registered new interface driver bpa10x
[   18.965528] usbcore: registered new interface driver bfusb
[   18.970971] usbcore: registered new interface driver btusb
[   18.976393] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[   18.982061] usbcore: registered new interface driver ath3k
[   18.987590] EDAC MC: ECC not enabled
[   18.991207] EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[   19.003811] sdhci: Secure Digital Host Controller Interface driver
[   19.009268] sdhci: Copyright(c) Pierre Ossman
[   19.013591] sdhci-pltfm: SDHCI platform and OF driver helper
[   19.019545] ledtrig-cpu: registered to indicate activity on CPUs
[   19.025228] zynqmp_firmware_probe Platform Management API v1.1
[   19.030987] zynqmp_firmware_probe Trustzone version v1.0
[   19.039035] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp pinctrl initialized
[   19.066288] zynqmp_clk_mux_get_parent() getparent failed for clock: lpd_wdt, ret = -22
[   19.068994] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[   19.074116] zynqmp_aes zynqmp_aes: AES Successfully Registered
[   19.074116]
[   19.081635] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[   19.087824] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[   19.093373] usbcore: registered new interface driver usbhid
[   19.098660] usbhid: USB HID core driver
[   19.104819] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[   19.109320] usbcore: registered new interface driver snd-usb-audio
[   19.115899] pktgen: Packet Generator for packet performance testing. Version: 2.75
[   19.122928] Initializing XFRM netlink socket
[   19.126844] NET: Registered protocol family 10
[   19.131538] Segment Routing with IPv6
[   19.134901] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   19.141034] NET: Registered protocol family 17
[   19.145122] NET: Registered protocol family 15
[   19.149535] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   19.162458] can: controller area network core (rev 20170425 abi 9)
[   19.168585] NET: Registered protocol family 29
[   19.172969] can: raw protocol (rev 20170425)
[   19.177206] can: broadcast manager protocol (rev 20170425 t)
[   19.182831] can: netlink gateway (rev 20170425) max_hops=1
[   19.188500] Bluetooth: RFCOMM TTY layer initialized
[   19.193129] Bluetooth: RFCOMM socket layer initialized
[   19.198236] Bluetooth: RFCOMM ver 1.11
[   19.201951] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   19.207224] Bluetooth: BNEP filters: protocol multicast
[   19.212416] Bluetooth: BNEP socket layer initialized
[   19.217345] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[   19.223229] Bluetooth: HIDP socket layer initialized
[   19.228280] 9pnet: Installing 9P2000 support
[   19.232411] Key type dns_resolver registered
[   19.237015] registered taskstats version 1
[   19.240707] Loading compiled-in X.509 certificates
[   19.245784] Btrfs loaded, crc32c=crc32c-generic
  19.265294] console [ttyPS0] enabled0 at MMIO 0xff000000 (irq = 42, base_baud = 6249375) is a xuartps
[   19.265294] console [ttyPS0] enabled
[   19.268876] bootconsole [cdns0] disabled
[   19.268876] bootconsole [cdns0] disabled
[   19.276941] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 43, base_baud = 6249375) is a xuartps
[   19.290335] of-fpga-region fpga-full: FPGA Region probed
[   19.296449] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[   19.303015] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[   19.310118] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[   19.317215] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[   19.324319] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[   19.331424] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[   19.338523] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[   19.345629] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[   19.352732] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[   19.359902] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success
[   19.366999] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success
[   19.374100] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success
[   19.381205] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success
[   19.388308] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success
[   19.395402] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success
[   19.402502] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success
[   19.409611] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success
[   19.416699] xilinx-frmbuf a0020000.v_frmbuf_wr: Xilinx AXI frmbuf DMA_DEV_TO_MEM
[   19.424153] xilinx-frmbuf a0020000.v_frmbuf_wr: Xilinx AXI FrameBuffer Engine Driver Probed!!
[   19.433011] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_locked:yes
[   19.443114] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Xilinx DisplayPort Sound Codec probed
[   19.453781] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[   19.461806] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[   19.470334] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[   19.482776] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[   19.495495] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: Xilinx DisplayPort Sound Card probed
[   19.505689] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
[   19.512695] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   19.519302] [drm] No driver support for vblank timestamp query.
[   19.525275] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffff8008bcf7e0)
[   20.609542] [drm] Cannot find any crtc or sizes
[   20.614344] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0
[   20.622442] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed
[   20.631404] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:3 protocol:2 pll_locked:yes
[   20.639287] ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[   20.648243] ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst
[   20.658670] scsi host0: ahci-ceva
[   20.662250] scsi host1: ahci-ceva
[   20.665707] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 40
[   20.673615] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 40
[   20.682561] m25p80 spi0.0: n25q512a (131072 Kbytes)
[   20.687452] 3 fixed-partitions partitions found on MTD device spi0.0
[   20.693798] Creating 3 MTD partitions on "spi0.0":
[   20.698584] 0x000000000000-0x000000100000 : "boot"
[   20.703835] 0x000000100000-0x000000140000 : "bootenv"
[   20.709289] 0x000000140000-0x000001740000 : "kernel"
[   20.716650] macb ff0e0000.ethernet: Not enabling partial store and forward
[   20.724013] libphy: MACB_mii_bus: probed
[   20.730074] TI DP83867 ff0e0000.ethernet-ffffffff:0c: attached PHY driver [TI DP83867] (mii_bus:phy_addr=ff0e0000.ethernet-ffffffff:0c, irq=POLL)
[   20.743110] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 30 (00:0a:35:00:22:01)
[   20.753217] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[   20.759731] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[   20.766207] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[   20.772684] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[   20.780578] dwc3 fe200000.dwc3: Failed to get clk 'ref': -2
[   20.786422] xilinx-psgtr fd400000.zynqmp_phy: Lane:2 type:0 protocol:3 pll_locked:yes
[   20.794554] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   20.800045] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[   20.808029] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000000202010810
[   20.817436] xhci-hcd xhci-hcd.0.auto: irq 53, io mem 0xfe200000
[   20.823546] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[   20.831810] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.839031] usb usb1: Product: xHCI Host Controller
[   20.843899] usb usb1: Manufacturer: Linux 4.19.0-xilinx-v2019.1 xhci-hcd
[   20.850590] usb usb1: SerialNumber: xhci-hcd.0.auto
[   20.855819] hub 1-0:1.0: USB hub found
[   20.859578] hub 1-0:1.0: 1 port detected
[   20.863676] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   20.869164] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[   20.876822] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  SuperSpeed
[   20.883550] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[   20.891812] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.899031] usb usb2: Product: xHCI Host Controller
[   20.903899] usb usb2: Manufacturer: Linux 4.19.0-xilinx-v2019.1 xhci-hcd
[   20.910594] usb usb2: SerialNumber: xhci-hcd.0.auto
[   20.915718] hub 2-0:1.0: USB hub found
[   20.919483] hub 2-0:1.0: 1 port detected
[   20.924506] pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulator
[   20.931757] pca953x 0-0020: Linked as a consumer to regulator.0
[   20.938341] pca953x 0-0021: 0-0021 supply vcc not found, using dummy regulator
[   20.945584] pca953x 0-0021: Linked as a consumer to regulator.0
[   20.952152] cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 32
[   20.958942] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 33
[   20.965302] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer at (____ptrval____) with timeout 60s
[   20.974502] cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer at (____ptrval____) with timeout 10s
[   20.983751] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 1199880 KHz
[   20.991194] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 1199999 KHz
[   20.995733] ata1: SATA link down (SStatus 0 SControl 330)
[   21.005142] ata2: SATA link down (SStatus 0 SControl 330)
[   21.033532] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[   21.049574] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   21.056526] rtc_zynqmp ffa60000.rtc: setting system clock to 2019-07-01 09:49:43 UTC (1561974583)
[   21.065394] of_cfs_init
[   21.067844] of_cfs_init: OK
[   21.070773] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   21.094192] mmc0: new high speed SDHC card at address aaaa
[   21.100158] mmcblk0: mmc0:aaaa SB16G 14.8 GiB
[   21.108648]  mmcblk0: p1
[   21.209680] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   21.216209] clk: Not disabling unused clocks
[   21.220477] ALSA device list:
[   21.223432]   #0: DisplayPort monitor
[   21.227366] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   21.235974] cfg80211: failed to load regulatory.db
[   21.240824] RAMDISK: Couldn't find valid RAM disk image starting at 0.
[   21.247421] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[   21.254904] Please append a correct "root=" boot option; here are the available partitions:
[   21.263250] 0100           65536 ram0
[   21.263252]  (driver?)
[   21.269345] 0101           65536 ram1
[   21.269347]  (driver?)
[   21.275435] 0102           65536 ram2
[   21.275437]  (driver?)
[   21.281516] 0103           65536 ram3
[   21.281517]  (driver?)
[   21.287606] 0104           65536 ram4
[   21.287607]  (driver?)
[   21.293700] 0105           65536 ram5
[   21.293702]  (driver?)
[   21.299785] 0106           65536 ram6
[   21.299787]  (driver?)
[   21.305879] 0107           65536 ram7
[   21.305880]  (driver?)
[   21.311959] 0108           65536 ram8
[   21.311961]  (driver?)
[   21.318051] 0109           65536 ram9
[   21.318053]  (driver?)
[   21.324130] 010a           65536 ram10
[   21.324132]  (driver?)
[   21.330307] 010b           65536 ram11
[   21.330308]  (driver?)
[   21.336483] 010c           65536 ram12
[   21.336485]  (driver?)
[   21.342660] 010d           65536 ram13
[   21.342661]  (driver?)
[   21.348827] 010e           65536 ram14
[   21.348829]  (driver?)
[   21.355007] 010f           65536 ram15
[   21.355009]  (driver?)
[   21.361193] 1f00            1024 mtdblock0
[   21.361195]  (driver?)
[   21.367713] 1f01             256 mtdblock1
[   21.367714]  (driver?)
[   21.374232] 1f02           22528 mtdblock2
[   21.374234]  (driver?)
[   21.380746] b300        15558144 mmcblk0
[   21.380748]  driver: mmcblk
[   21.387531]   b301        15554048 mmcblk0p1 4520f827-01
[   21.387533]
[   21.394312] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   21.402562] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.19.0-xilinx-v2019.1 #1
[   21.409773] Hardware name: ZynqMP ZCU106 RevA (DT)
[   21.414548] Call trace:
[   21.416986]  dump_backtrace+0x0/0x148
[   21.420635]  show_stack+0x14/0x20
[   21.423936]  dump_stack+0x90/0xb4
[   21.427241]  panic+0x120/0x268
[   21.430280]  mount_block_root+0x1b0/0x260
[   21.434272]  mount_root+0x11c/0x148
[   21.437744]  prepare_namespace+0x158/0x1a0
[   21.441824]  kernel_init_freeable+0x1b8/0x1d4
[   21.446166]  kernel_init+0x10/0xfc
[   21.449551]  ret_from_fork+0x10/0x18
[   21.453111] SMP: stopping secondary CPUs
[   21.457025] Kernel Offset: disabled
[   21.460496] CPU features: 0x0,20802004
[   21.464228] Memory Limit: none
[   21.467271] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

In the file system-user.dtb I've reserved some memory for my drivers, if I reserve 300MB I get the kernel panic but the cma can allocate the 1000MB, if I reserve 500MB the system starts (In my case 300MB is enough), but the cma can't allocate 1000MiB and in this case the I get an allocation error, maybe related to the cma fail

Reserved memory: created CMA memory pool at 0x000000000e000000, size 500 MiB
[    0.000000] OF: reserved mem: initialized node buffer@0, compatible id shared-dma-pool
[    0.000000] cma: Failed to reserve 1000 MiB
[   23.126662] xilinx-vcu xilinx-vcu: Could not get core_enc clock
[   23.133120] VCU PLL: enable
[   23.136769] xilinx-vcu xilinx-vcu: xvcu_probe: Probed successfully
[   23.147860] al5d a0120000.al5d: swiotlb buffer is full (sz: 33554432 bytes)
[   23.148302] al5e a0100000.al5e: swiotlb buffer is full (sz: 33554432 bytes)
[   23.154832] al5d a0120000.al5d: swiotlb: coherent allocation failed, size=33554432
[   23.154839] CPU: 1 PID: 1844 Comm: udevd Tainted: G           O      4.19.0-xilinx-v2019.1 #1
[   23.154843] Hardware name: ZynqMP ZCU106 RevA (DT)
[   23.161797] al5e a0100000.al5e: swiotlb: coherent allocation failed, size=33554432
[   23.169340] Call trace:
[   23.169351]  dump_backtrace+0x0/0x148
[   23.169359]  show_stack+0x14/0x20
[   23.199577]  dump_stack+0x90/0xb4
[   23.202886]  swiotlb_alloc+0x160/0x168
[   23.206627]  __dma_alloc+0xa8/0x1e0
[   23.210121]  al5_alloc_dma+0xa8/0x140 [allegro]
[   23.214648]  al5_codec_set_firmware+0x24c/0x430 [allegro]
[   23.220041]  al5d_codec_probe+0x64/0x190 [al5d]
[   23.224563]  platform_drv_probe+0x50/0xa0
[   23.228562]  really_probe+0x1c8/0x280
[   23.232208]  driver_probe_device+0x54/0xe8
[   23.236288]  __driver_attach+0xe4/0xe8
[   23.240020]  bus_for_each_dev+0x70/0xc0
[   23.243840]  driver_attach+0x20/0x28
[   23.247399]  bus_add_driver+0x1dc/0x208
[   23.251219]  driver_register+0x60/0x110
[   23.255039]  __platform_driver_register+0x44/0x50
[   23.259731]  al5d_codec_init+0x70/0x1000 [al5d]
[   23.264250]  do_one_initcall+0x74/0x178
[   23.268078]  do_init_module+0x54/0x1c8
[   23.271810]  load_module+0x1b5c/0x20e0
[   23.275543]  __se_sys_finit_module+0xb8/0xc8
[   23.279796]  __arm64_sys_finit_module+0x18/0x20
[   23.284312]  el0_svc_common+0x84/0xd8
[   23.287965]  el0_svc_handler+0x68/0x80
[   23.291698]  el0_svc+0x8/0xc
[   23.294569] CPU: 2 PID: 1851 Comm: udevd Tainted: G           O      4.19.0-xilinx-v2019.1 #1
[   23.294580] al5d a0120000.al5d: Couldn't allocate mcu memory pool
[   23.303087] Hardware name: ZynqMP ZCU106 RevA (DT)
[   23.303090] Call trace:
[   23.303099]  dump_backtrace+0x0/0x148
[   23.303106]  show_stack+0x14/0x20
[   23.309211] al5d a0120000.al5d: Failed to setup firmware
[   23.313958]  dump_stack+0x90/0xb4
[   23.313964]  swiotlb_alloc+0x160/0x168
[   23.316511] al5d: probe of a0120000.al5d failed with error -12
[   23.320041]  __dma_alloc+0xa8/0x1e0
[   23.320050]  al5_alloc_dma+0xa8/0x140 [allegro]
[   23.320058]  al5_codec_set_firmware+0x24c/0x430 [allegro]
[   23.354864]  al5e_probe+0x64/0x190 [al5e]
[   23.358863]  platform_drv_probe+0x50/0xa0
[   23.362863]  really_probe+0x1c8/0x280
[   23.366509]  driver_probe_device+0x54/0xe8
[   23.370589]  __driver_attach+0xe4/0xe8
[   23.374322]  bus_for_each_dev+0x70/0xc0
[   23.378141]  driver_attach+0x20/0x28
[   23.381700]  bus_add_driver+0x1dc/0x208
[   23.385520]  driver_register+0x60/0x110
[   23.389340]  __platform_driver_register+0x44/0x50
[   23.394030]  al5e_init+0x70/0x1000 [al5e]
[   23.398030]  do_one_initcall+0x74/0x178
[   23.401849]  do_init_module+0x54/0x1c8
[   23.405582]  load_module+0x1b5c/0x20e0
[   23.409315]  __se_sys_finit_module+0xb8/0xc8
[   23.413568]  __arm64_sys_finit_module+0x18/0x20
[   23.418083]  el0_svc_common+0x84/0xd8
[   23.421728]  el0_svc_handler+0x68/0x80
[   23.425460]  el0_svc+0x8/0xc
[   23.428334] al5e a0100000.al5e: Couldn't allocate mcu memory pool
[   23.434440] al5e a0100000.al5e: Failed to setup firmware
[   23.439826] al5e: probe of a0100000.al5e failed with error -12

I don't know what is causing the errors and how I can fix them.

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Contributor
Contributor
480 Views
Registered: ‎11-26-2018

Re: Petalinux Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Jump to solution

I solved the problem by creating a partition for rootfs in the sd-card

0 Kudos
3 Replies
Highlighted
Contributor
Contributor
481 Views
Registered: ‎11-26-2018

Re: Petalinux Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Jump to solution

I solved the problem by creating a partition for rootfs in the sd-card

0 Kudos
Visitor jack_kk
Visitor
425 Views
Registered: ‎05-26-2019

Re: Petalinux Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Jump to solution

how you solved the problem I have following error ("cannot open root device "mmcblk0p2" or unknown-block(179,2): error -30").

will you please help me..I will be very thankful to you

0 Kudos
Contributor
Contributor
417 Views
Registered: ‎11-26-2018

Re: Petalinux Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Jump to solution

With so few elements it's not easy to understand where the problem may be (The problem is during the boot?), if you post the boot log and how your sd is partitioned it would be better.

0 Kudos