________________________________ From: Aditya Bankar <[email protected]> To: LFS Support List <[email protected]> Sent: Sun, 7 February, 2010 10:32:53 PM Subject: Re: Kernel Panic - not syncing: VFS:
----- Original Message ---- > From: Andrew Benton <[email protected]> > To: [email protected] > Sent: Sun, 7 February, 2010 8:57:02 PM > Subject: Re: Kernel Panic - not syncing: VFS: > > On 07/02/10 13:39, Aditya Bankar wrote: > > > > > > > > > > ----- Original Message ---- > >> From: Aditya Bankar > >> To: lfs support > >> Sent: Sun, 7 February, 2010 5:18:26 PM > >> Subject: Kernel Panic - not syncing: VFS: > >> > >> Hi, > >> > >> I am getting this problem while launching the new LFS 6.5: > >> > >> Root NFS: No NFS server available, giving up > >> VFS: Unable to mount root fs via NFS trying floppy > >> VFS: Cannot open root device "sda6" on unknown_block (2,0) > >> Please append a correct "root=" boot options; here the options > >> Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown_block > (2,0) > >> > >> I did not install grub. I have instead added new entries in the host > >> system's > >> menu.lst. Since my LFS partition is /dev/sda6 as seen on host system I have > >> added the following to menu.lst > >> title LFS6.5 > >> root (hd0,5) > >> kernel /boot/lfskernel-2.6.30.2 root=/dev/sda6 > >> > >> A result of grep on my .config file is the following: > >> grep NFS /mnt/lfs/compilation/linux-2.6.30.2/.config > >> CONFIG_NFS_FS=y > >> CONFIG_NFS_V3=y > >> CONFIG_NFS_V3_ACL=y > >> CONFIG_NFS_V4=y > >> CONFIG_ROOT_NFS=y > >> CONFIG_NFSD=y > >> CONFIG_NFSD_V3=y > >> # CONFIG_NFSD_V3_ACL is not set > >> # CONFIG_NFSD_V4 is not set > >> CONFIG_NFS_ACL_SUPPORT=y > >> CONFIG_NFS_COMMON=y > >> > >> Why don't we use initrd in lfs? > >> > >> Thanks, > >> Aditya > >> > > > > BTW, I have compiled SATA drivers. > > > > -Aditya > > > > > > > > The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. > http://in.yahoo.com/ > > We need some more information. Are you trying to mount an NFS share as > your root partition? If so I think you'll need to make an initrd. > Or is / a filesystem on /dev/sda6? If so what filesystem? Did you > compile support for it into the kernel? > > Andy Hi Andy, I didn't try to deviate from what the book says, except that I didn't install grub. So I am not trying to mount an NFS share as the root partition. The partition /dev/sda6 is ext3 filesystem which has to be mounted on /. I had chosen to compile EXT3 support. See below: grep -i ext3 /mnt/lfs/compilation/linux-2.6.30.2/.config CONFIG_EXT3_FS=y # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set CONFIG_EXT3_FS_XATTR=y CONFIG_EXT3_FS_POSIX_ACL=y CONFIG_EXT3_FS_SECURITY=y Thanks, Aditya Do you need more information? The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
