Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82610 - NFS locking unstable in linux 2.6.10-r6 kernel
Summary: NFS locking unstable in linux 2.6.10-r6 kernel
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-19 14:12 UTC by Logan Bowers
Modified: 2005-04-01 03:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Logan Bowers 2005-02-19 14:12:37 UTC
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.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-02-20 09:59:02 UTC
Which is the last good kernel that worked?
Comment 2 Logan Bowers 2005-02-20 12:03:21 UTC
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).  
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-03-14 09:07:18 UTC
Could you please try 2.6.11?
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-04-01 03:09:50 UTC
Please reopen when you test the latest kernel.