Kernel boot panic
Kristof Provost
kristof at sigsegv.be
Mon Dec 12 05:36:46 EST 2016
Please don’t top-post.
On 12 Dec 2016, at 10:59, Amit Mahadik wrote:
> Yes I tried mounting the SD card on another Linux machine. I can mount
> it. Following is its
> log*********************************************************************************************************************************************************************************root at sagark-Ubu14:~/amitm#
> mount
> /dev/sda1 on / type ext4 (rw,errors=remount-ro)
> proc on /proc type proc (rw,noexec,nosuid,nodev)
> devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
> tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
> none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
> none on /run/shm type tmpfs (rw,nosuid,nodev)
> none on /run/user type tmpfs
> (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
> none on /sys/fs/pstore type pstore (rw)
> binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
> (rw,noexec,nosuid,nodev)
> systemd on /sys/fs/cgroup/systemd type cgroup
> (rw,noexec,nosuid,nodev,none,name=systemd)
> /dev/sdb1 on /media/evslab/BOOT type vfat
> (rw,nosuid,nodev,uid=1001,gid=1001,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
> /dev/sdb2 on /mnt type ext3
> (rw)**************************************************************************************************************************************************************************************
> I have created the ROOTFS image using buildroot 2016.05 version. The
> /dev management option selected is "Dynamic using devtmpfs + eudev"
> and corresponding DEVTMPS options are enabled in Kernel config.
>
Oooh, I missed this in the log the first time round:
[ 6.227066] Failed to create /dev/root: -2’
This is logged by `mount_root()`, if the `create_dev()` call fails.
It returned -2, which is `-ENOENT`.
Does your rootfs have a /dev directory?
Regards,
Kristof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20161212/c8bfa2ac/attachment-0001.html
More information about the Kernelnewbies
mailing list