Panic in vkernel with NFS as root mount

Matthew Dillon dillon at apollo.backplane.com
Fri Oct 2 11:18:51 PDT 2009


   
:After applying the patch from issue1192, NFS can be used as a root mount, but
:not long after another panic occurs, just after start_init it seems.
:Just before the KKASERT in sys/vfs/nfs/nfs_bio.c on line 1608 I
:added 'kprintf("%d %d\n", tsiz, nmp->nm_rsize);' and got the following output:
:Using memory file: /var/vkernel/memimg.000000
:KVM mapped at 0x40000000-0x80000000
:Locking CPU0 to real cpu 1
:16384 8192
:panic: assertion: tsiz <= nmp->nm_rsize in nfs_readrpc_bio
:mp_lock = 00000001; cpuid = 1
:...
:Regards,
:Rumko

    Ok, please try this patch:

    fetch http://apollo.backplane.com/DFlyMisc/nfs01.patch

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Bugs mailing list