Forum Discussion

PJais1's avatar
PJais1
Icon for New Contributor rankNew Contributor
6 years ago

Arria 10 : Unable to mount rootfs

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

5 Replies

  • FawazJ_Altera's avatar
    FawazJ_Altera
    Icon for Frequent Contributor rankFrequent Contributor

    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

    • PJais1's avatar
      PJais1
      Icon for New Contributor rankNew Contributor

      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.

    • PJais1's avatar
      PJais1
      Icon for New Contributor rankNew Contributor

      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

  • FawazJ_Altera's avatar
    FawazJ_Altera
    Icon for Frequent Contributor rankFrequent Contributor

    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