Hi, I tried to access a nfs based system root within a xen guest. When the initrd loads the nfs module, it fails with the following error: Mounting sysfs filesystem Creating /dev Creating initial device nodes Setting up hotplug. Creating block device nodes. Loading uhci-hcd.ko module USB Universal Host Controller Interface driver v3.0 Loading ohci-hcd.ko module Loading ehci-hcd.ko module Loading nfs_acl.ko module nfs_acl: Unknown symbol xdr_decode_array2 nfs_acl: Unknown symbol xdr_encode_word nfs_acl: Unknown symbol xdr_encode_array2 nfs_acl: Unknown symbol xdr_decode_word insmod: error inserting ''/lib/nfs_acl.ko'': -1 Unknown symbol in module Loading fscache.ko module FS-Cache: Loaded Loading lockd.ko module lockd: Unknown symbol svc_wake_up lockd: Unknown symbol xdr_decode_string_inplace lockd: Unknown symbol svc_recv lockd: Unknown symbol rpc_new_client lockd: Unknown symbol svc_exit_thread lockd: Unknown symbol xdr_encode_netobj lockd: Unknown symbol svc_process lockd: Unknown symbol xprt_set_timeout lockd: Unknown symbol nlm_debug lockd: Unknown symbol svc_destroy lockd: Unknown symbol svc_create lockd: Unknown symbol rpc_call_sync lockd: Unknown symbol rpc_delay lockd: Unknown symbol svc_makesock lockd: Unknown symbol svc_create_thread lockd: Unknown symbol svc_set_client lockd: Unknown symbol rpciod_up lockd: Unknown symbol rpciod_down lockd: Unknown symbol xprt_create_proto lockd: Unknown symbol rpc_force_rebind lockd: Unknown symbol rpc_restart_call lockd: Unknown symbol xdr_encode_string lockd: Unknown symbol xdr_decode_netobj lockd: Unknown symbol rpc_call_async lockd: Unknown symbol rpc_destroy_client lockd: Unknown symbol rpc_create_client insmod: error inserting ''/lib/lockd.ko'': -1 Unknown symbol in module Loading nfs.ko module BUG: warning at kernel/lockdep.c:1814/trace_hardirqs_on() (Not tainted) [<c0405666>] show_trace_log_lvl+0x58/0x177 [<c0405c6b>] show_trace+0xd/0x10 [<c0405ca9>] dump_stack+0x19/0x1b [<c043637e>] trace_hardirqs_on+0xa4/0x120 [<c0404e5f>] restore_all+0x37/0x3a DWARF2 unwinder stuck at restore_all+0x37/0x3a Leftover inexact backtrace: Inexact backtrace: [<c0405c6b>] show_trace+0xd/0x10 [<c0405ca9>] dump_stack+0x19/0x1b [<c043637e>] trace_hardirqs_on+0xa4/0x120 [<c0404e5f>] restore_all+0x37/0x3a nfs: Unknown symbol nlmclnt_proc nfs: Unknown symbol rpc_new_task nfs: Unknown symbol rpc_proc_register nfs: Unknown symbol rpc_wake_up_task nfs: Unknown symbol xdr_write_pages nfs: Unknown symbol rpc_shutdown_client nfs: Unknown symbol svc_recv nfs: Unknown symbol xdr_inline_decode nfs: Unknown symbol rpc_mkpipe nfs: Unknown symbol lockd_down nfs: Unknown symbol rpc_wake_up nfs: Unknown symbol lockd_up nfs: Unknown symbol svc_exit_thread nfs: Unknown symbol xdr_encode_opaque nfs: Unknown symbol xdr_read_pages nfs: Unknown symbol xdr_encode_opaque_fixed nfs: Unknown symbol nfsacl_decode nfs: Unknown symbol rpc_sleep_on nfs: Unknown symbol rpc_run_task nfs: Unknown symbol rpc_init_task nfs: Unknown symbol rpc_print_iostats nfs: Unknown symbol xdr_enter_page nfs: Unknown symbol xdr_encode_pages nfs: Unknown symbol rpc_release_task nfs: Unknown symbol __rpc_wait_for_completion_task nfs: Unknown symbol rpc_setbufsize nfs: Unknown symbol rpc_clnt_sigmask nfs: Unknown symbol nfsacl_encode nfs: Unknown symbol rpc_clone_client nfs: Unknown symbol svc_process nfs: Unknown symbol xdr_init_decode nfs: Unknown symbol rpc_max_payload nfs: Unknown symbol rpc_proc_unregister nfs: Unknown symbol rpc_exit_task nfs: Unknown symbol rpc_bind_new_program nfs: Unknown symbol svc_destroy nfs: Unknown symbol svc_create nfs: Unknown symbol rpc_call_sync nfs: Unknown symbol rpc_queue_upcall nfs: Unknown symbol rpc_delay nfs: Unknown symbol svc_makesock nfs: Unknown symbol svc_create_thread nfs: Unknown symbol rpc_execute nfs: Unknown symbol rpciod_up nfs: Unknown symbol xdr_reserve_space nfs: Unknown symbol rpc_clnt_sigunmask nfs: Unknown symbol rpcauth_lookupcred nfs: Unknown symbol rpciod_down nfs: Unknown symbol xprt_create_proto nfs: Unknown symbol rpc_restart_call nfs: Unknown symbol xdr_inline_pages nfs: Unknown symbol rpc_call_setup nfs: Unknown symbol rpc_init_wait_queue nfs: Unknown symbol put_rpccred nfs: Unknown symbol rpc_unlink nfs: Unknown symbol rpc_call_async nfs: Unknown symbol rpcauth_create nfs: Unknown symbol xdr_init_encode nfs: Unknown symbol nfs_debug nfs: Unknown symbol rpc_create_client nfs: Unknown symbol xdr_shift_buf insmod: error inserting ''/lib/nfs.ko'': -1 Unknown symbol in module Loading xenblk.ko module Loading e1000.ko module Intel(R) PRO/1000 Network Driver - version 7.1.9-k4-NAPI Copyright (c) 1999-2006 Intel Corporation. Loading tg3.ko module no problems with the other modules build into the initrd. kernel version is 2.6.17-1.2630.fc6xen. ideas? Thanks, Thorsten
On Fri, 2006-10-13 at 10:35 +0200, Thorsten Scherf wrote:> Hi, > > I tried to access a nfs based system root within a xen guest. When the > initrd loads the nfs module, it fails with the following error:Try building the initrd with "--with sunrpc". I think this has been fixed in more recent mkinitrd, though. Also, have you seen: http://fedoraproject.org/wiki/StatelessLinuxNFSRoot It might help you - I think it needs some small fixes, though. Cheers, Mark.
Am Freitag, den 13.10.2006, 10:04 +0100 schrieb Mark McLoughlin:> On Fri, 2006-10-13 at 10:35 +0200, Thorsten Scherf wrote: > > Hi, > > > > I tried to access a nfs based system root within a xen guest. When the > > initrd loads the nfs module, it fails with the following error: > > Try building the initrd with "--with sunrpc". I think this has been > fixed in more recent mkinitrd, though.Same problem. Any other suggestion?> > Also, have you seen: > > http://fedoraproject.org/wiki/StatelessLinuxNFSRoot > > It might help you - I think it needs some small fixes, though.Yeah. My test install is based on this documentation. Thanks, Thorsten
Am Freitag, den 13.10.2006, 10:04 +0100 schrieb Mark McLoughlin:> On Fri, 2006-10-13 at 10:35 +0200, Thorsten Scherf wrote: > > Hi, > > > > I tried to access a nfs based system root within a xen guest. When the > > initrd loads the nfs module, it fails with the following error: > > Try building the initrd with "--with sunrpc". I think this has been > fixed in more recent mkinitrd, though.update to mkinitrd-5.1.19-1 fixed the problem. Thanks, Thorsten
On Fri, 2006-10-13 at 11:14 +0200, Thorsten Scherf wrote:> Am Freitag, den 13.10.2006, 10:04 +0100 schrieb Mark McLoughlin: > > On Fri, 2006-10-13 at 10:35 +0200, Thorsten Scherf wrote: > > > Hi, > > > > > > I tried to access a nfs based system root within a xen guest. When the > > > initrd loads the nfs module, it fails with the following error: > > > > Try building the initrd with "--with sunrpc". I think this has been > > fixed in more recent mkinitrd, though. > > Same problem. Any other suggestion?"--preload sunrpc" maybe? Cheers, Mark.