Kernal panic error while boot from SD card

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

Kernal panic error while boot from SD card

1,089 Views
omsakthiramu
Contributor I

Hi, 

I have flashed the .sdcard image into a SD card. And trying to boot it. 

The booting gets stopped with following error.

[ 2.904999] VFS: Cannot open root device "mmcblk1p2" or unknown-block(179,130): error -30
[ 2.913215] Please append a correct "root=" boot option; here are the available partitions:
[ 2.921587] 1f00 65536 mtdblock0 [ 2.925604] (driver?)
[ 2.927970] b300 30539776 mmcblk0 [ 2.931809] driver: mmcblk
[ 2.934619] b360 4096 mmcblk0rpmb [ 2.938810] (driver?)
[ 2.941184] b340 8192 mmcblk0boot1 [ 2.945464] (driver?)
[ 2.947821] b320 8192 mmcblk0boot0 [ 2.952099] (driver?)
[ 2.954465] b380 15558144 mmcblk1 [ 2.958301] driver: mmcblk
[ 2.961102] b381 32768 mmcblk1p1 b070af1d-01[ 2.966256]
[ 2.967750] b382 1490944 mmcblk1p2 b070af1d-02[ 2.972897]
[ 2.974387] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,130)
[ 2.983006] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.51-8qm_beta2_8qxp_beta+g423d942 #1
[ 2.991446] Hardware name: Freescale i.MX8QXP MEK (DT)
[ 2.996580] Call trace:
[ 2.999034] [<ffff0000080884c8>] dump_backtrace+0x0/0x1a0
[ 3.004439] [<ffff00000808867c>] show_stack+0x14/0x20
[ 3.009495] [<ffff0000083dd91c>] dump_stack+0x94/0xb8
[ 3.014551] [<ffff000008168b0c>] panic+0x110/0x278
[ 3.019348] [<ffff000009121130>] mount_block_root+0x184/0x25c
[ 3.025096] [<ffff000009121324>] mount_root+0x11c/0x134
[ 3.030326] [<ffff000009121478>] prepare_namespace+0x13c/0x184
[ 3.036163] [<ffff000009120d6c>] kernel_init_freeable+0x220/0x244
[ 3.042265] [<ffff000008bf61b0>] kernel_init+0x10/0x100
[ 3.047492] [<ffff000008082e80>] ret_from_fork+0x10/0x50
[ 3.052807] SMP: stopping secondary CPUs
[ 3.056728] Kernel Offset: disabled
[ 3.060216] Memory Limit: none
[ 3.063270] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,130)

I have attached the boot log file. Can anyone help on this?

Regards,

Omsakthi

Labels (1)
0 Kudos
1 Reply

762 Views
igorpadykov
NXP Employee
NXP Employee

Hi Omsakthi

what processor and bsp used in the case. Please look at nxp linux documentation on

i.MX Software|NXP 

Check what "mmcblknp" should be used, it is described in Release Notes

Table  "Common kernel boot parameters".

Please use nxp bsp:

linux-imx - i.MX Linux kernel 

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

0 Kudos