cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
340 Views
Registered: ‎03-30-2020

XCZU19EG 芯片SD卡启动,卡死在[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) ]---

SD卡分区为BOOT和rootfs,BOOT分区放有BOOT.BIN和image.ug,rootfs分区为ext4文件系统分区。

petalinux-config配置:

Image Packaging Configuration --->

     Root filesystem type (EXT (SD/eMMC/QSPI/SATA/USB)) --->ormats

          (X) EXT (SD/eMMC/QSPI/SATA/USB)

 

 

3.387619] Generic PHY ff0d0000.ethernet-ffffffff:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ff0d0000.ethernet-ffffffff:00, irq=POLL)
[ 3.400839] macb ff0d0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0d0000 irq 29 (00:0a:35:00:22:01)
[ 3.411038] macb ff0e0000.ethernet: Not enabling partial store and forward
[ 3.418406] libphy: MACB_mii_bus: probed
[ 3.422483] zynqmp_pll_disable() clock disable failed for dpll_int, ret = -13
[ 3.435599] Generic PHY ff0e0000.ethernet-ffffffff:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ff0e0000.ethernet-ffffffff:00, irq=POLL)
[ 3.448812] macb ff0e0000.ethernet eth1: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 30 (00:0a:35:00:22:01)
[ 3.458974] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[ 3.465563] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[ 3.472021] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[ 3.478477] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[ 3.485021] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 1325000 KHz
[ 3.492420] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1325000000 (-34)
[ 3.501151] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 1199999 KHz
[ 3.509680] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1325000000 (-34)
[ 3.549728] mmc0: SDHCI controller on ff160000.mmc [ff160000.mmc] using ADMA 64-bit
[ 3.565081] rtc_zynqmp ffa60000.rtc: setting system clock to 2035-10-16 20:30:54 UTC (2076179454)
[ 3.573953] of_cfs_init
[ 3.576406] of_cfs_init: OK
[ 3.579280] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.615971] mmc0: new SDHC card at address 0001
[ 3.620950] mmcblk0: mmc0:0001 SD8GB 7.28 GiB (ro)
[ 3.627624] mmcblk0: p1 p2
[ 3.706168] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3.712692] clk: Not disabling unused clocks
[ 3.716953] ALSA device list:
[ 3.719908] No soundcards found.
[ 3.723533] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.732139] cfg80211: failed to load regulatory.db
[ 3.737880] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -30
[ 3.745874] Please append a correct "root=" boot option; here are the available partitions:
[ 3.754221] 0100 65536 ram0
[ 3.754222] (driver?)
[ 3.760302] 0101 65536 ram1
[ 3.760303] (driver?)
[ 3.766390] 0102 65536 ram2
[ 3.766391] (driver?)
[ 3.772471] 0103 65536 ram3
[ 3.772472] (driver?)
[ 3.778559] 0104 65536 ram4
[ 3.778561] (driver?)
[ 3.784640] 0105 65536 ram5
[ 3.784642] (driver?)
[ 3.790728] 0106 65536 ram6
[ 3.790730] (driver?)
[ 3.796810] 0107 65536 ram7
[ 3.796811] (driver?)
[ 3.802898] 0108 65536 ram8
[ 3.802900] (driver?)
[ 3.808979] 0109 65536 ram9
[ 3.808980] (driver?)
[ 3.815067] 010a 65536 ram10
[ 3.815069] (driver?)
[ 3.821235] 010b 65536 ram11
[ 3.821236] (driver?)
[ 3.827412] 010c 65536 ram12
[ 3.827414] (driver?)
[ 3.833578] 010d 65536 ram13
[ 3.833579] (driver?)
[ 3.839754] 010e 65536 ram14
[ 3.839755] (driver?)
[ 3.845934] 010f 65536 ram15
[ 3.845935] (driver?)
[ 3.852103] b300 7636992 mmcblk0
[ 3.852105] driver: mmcblk
[ 3.858885] b301 1048576 mmcblk0p1 4d720e2f-01
[ 3.858886]
[ 3.865659] b302 6567936 mmcblk0p2 4d720e2f-02
[ 3.865661]
[ 3.872439] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[ 3.880859] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.19.0-xilinx-v2019.2 #1
[ 3.888069] Hardware name: xlnx,zynqmp (DT)
[ 3.892236] Call trace:
[ 3.894673] dump_backtrace+0x0/0x148
[ 3.898323] show_stack+0x14/0x20
[ 3.901621] dump_stack+0x90/0xb4
[ 3.904919] panic+0x120/0x268
[ 3.907958] mount_block_root+0x1b0/0x260
[ 3.911949] mount_root+0x11c/0x148
[ 3.915421] prepare_namespace+0x158/0x1a0
[ 3.919501] kernel_init_freeable+0x1b8/0x1d4
[ 3.923842] kernel_init+0x10/0xfc
[ 3.927226] ret_from_fork+0x10/0x18
[ 3.930786] SMP: stopping secondary CPUs
[ 3.934691] Kernel Offset: disabled
[ 3.938162] CPU features: 0x0,20802004
[ 3.941894] Memory Limit: none
[ 3.944936] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) ]---

0 Kudos
4 Replies
Highlighted
Teacher
Teacher
272 Views
Registered: ‎06-16-2013

Hi @zhang 

 

What kind of file system are you using mmblk0p2 ?

I guess you didn't format it as ex. ext3...

 

Best regards,

0 Kudos
Highlighted
Observer
Observer
256 Views
Registered: ‎03-30-2020

I format it as ex. ext4

0 Kudos
Observer
Observer
255 Views
Registered: ‎03-30-2020

I format it as ext4

0 Kudos
Highlighted
Teacher
Teacher
183 Views
Registered: ‎06-16-2013

Hi @zhang 

 

Would you share the following result with your device to make sure partition information, if possible ?

 

df -k -T

 

Best regards,

0 Kudos