FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5892 Discussions

Arria 10 : Unable to mount rootfs

PJais1
Novice
1,198 Views

Hello,

 

I have designed Linux OS for our custom Arria 10 SOC board.

The booting process is successful but sometimes when board is powered on after a while , it gets stuck over :

[   2.785079] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) ]---

 

Also , after booting is complete there are random warnings displayed over console : 

[  97.344015] random: crng init done

[  97.347420] random: 7 urandom warning(s) missed due to ratelimiting

 

The complete log is attached

 

 

Can anyone please provide a solution for above error ?

 

Thanks,

Priya

0 Kudos
5 Replies
Fawaz_Al-Jubori
Employee
933 Views

Hello,

It seems the rootfs cannot be seen from the sdcard. did you check if the rootfs is available already?

Furthermore, you might set your kernel configuration to have initrd ramdisk, and this gzip file is not available in your sdcard so that kernel will fail to boot.

 

Thanks

0 Kudos
PJais1
Novice
933 Views

Hello @FJumaah​ ,

 

I have checked the sd card , the rootfs is available.

The above error is encountered a few times , rest all other times OS boots successfully. But in successful boot also , a warning is displayed :

[  97.344015] random: crng init done

[  97.347420] random: 7 urandom warning(s) missed due to ratelimiting.

 

Can you please suggest , how can i set kernel configuration to have initrd ramdisk ?

 

Thanks.

0 Kudos
Fawaz_Al-Jubori
Employee
933 Views

Hello,

Which kernel version are you using?

 

Thanks

0 Kudos
PJais1
Novice
933 Views

Hello,

 

I am using : Kernel 5.2.0-rc3-00038-gbb626b6 which is build using git trees using kernel branch : socfpga-4.14.130-ltsi.

 

Thanks

0 Kudos
Fawaz_Al-Jubori
Employee
933 Views

Hello,

Can you mount your SDCARD to a linux machine and mount the rootfs partition, then add

rootfstype=ext4

to append line of your /etc/lilo.conf and execute /sbin/lilo

 

Please let me know if this would help.

 

Thank you

0 Kudos
Reply