If I use an initrd or other boot stage and pivot_root to mount root over NFS with locking (-o lock is default), the system will crash/kernel panic during boot. Sometimes, it will even crash the server (also gentoo linux 2.6.10-r6). Reproducible: Always Steps to Reproduce: 1. Copy an image of your linux system to an NFS server 1.1 Make a directory for pivot_root in the image (mkdir mnt/oldroot) 2. Boot client system straight to shell (init=/bin/sh on the kernel command line) 3. Start portmap (/sbin/portmap) 4. Start rpc.statd (/sbin/rpc.statd) 5. Mount the root filesystem (mount nfsserver:/path/to/root/image /mnt/root) 6. Pivot to the new system (cd /mnt/root;pivot_root . mnt/oldroot;exec chroot . /bin/sh) 7. Start normal boot process (exec /sbin/init <dev/console >dev/console 2>&1) Actual Results: Bang! System will crash either when "calculating module dependencies" or after "starting local". Expected Results: System should boot to command prompt normally.
Which is the last good kernel that worked?
A very long time ago I had a similar setup working under a 2.4 kernel, but I have not been able to make this work with any 2.6 kernel (starting around 2.6.8).
Could you please try 2.6.11?
Please reopen when you test the latest kernel.