> I'm not very good at this stuff so others might need to chime in, > but it looks to me like some of your kernel modules are from different > builds. > > I always: > # make KERNEL=<kernel_name> install > after doing a kernel build, which copies the kernel and all the modules > to /boot/<kernel_name>. I always use a <kernel_name> other than "kernel" > just in case it doesn't work, then you can move it over if is seems ok. > > Both nfscl.ko and nfsd.ko specify nfssvc.ko as a module they depend on, > so they should be loaded automagically if all the correct versions are > in the /boot/<kernel_name> tree. (At least it works that way for me.) Kernel modules are from the same build. look at this: vm-salwerom% kldstat Id Refs Address Size Name 1 19 0xffffffff80100000 711d58 kernel 2 1 0xffffffff80812000 85d0 procfs.ko 3 2 0xffffffff8081b000 9628 pseudofs.ko 4 1 0xffffffff80825000 68ad0 if_em.ko 5 1 0xffffffff80a12000 2c92 geom_md.ko 6 1 0xffffffff80a15000 50fb tmpfs.ko 7 1 0xffffffff80a1b000 1fa green_saver.ko vm-salwerom% sudo kldload nfssvc kldload: can't load nfssvc: File exists vm-salwerom% kldstat Id Refs Address Size Name 1 19 0xffffffff80100000 711d58 kernel 2 1 0xffffffff80812000 85d0 procfs.ko 3 2 0xffffffff8081b000 9628 pseudofs.ko 4 1 0xffffffff80825000 68ad0 if_em.ko 5 1 0xffffffff80a12000 2c92 geom_md.ko 6 1 0xffffffff80a15000 50fb tmpfs.ko 7 1 0xffffffff80a1b000 1fa green_saver.ko vm-salwerom% sudo kldload nfssvc.ko <-------the suffix is needed vm-salwerom% kldstat Id Refs Address Size Name 1 21 0xffffffff80100000 711d58 kernel 2 1 0xffffffff80812000 85d0 procfs.ko 3 2 0xffffffff8081b000 9628 pseudofs.ko 4 1 0xffffffff80825000 68ad0 if_em.ko 5 1 0xffffffff80a12000 2c92 geom_md.ko 6 1 0xffffffff80a15000 50fb tmpfs.ko 7 1 0xffffffff80a1b000 1fa green_saver.ko 8 1 0xffffffff80a1c000 381 nfssvc.ko vm-salwerom% so I am able to load nfssvc.ko (with '.ko' suffix) ant unable to load nfssvc (without '.ko' suffix) - why ? -- Marek SalwerowiczReceived on Fri Jan 07 2011 - 15:14:09 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:10 UTC