[Bug 659084] Re: 2.6.35-22-virtual is missing nfs modules
Scott Moser
smoser at canonical.com
Wed Oct 13 20:15:38 UTC 2010
@Haakon,
I just did, on x86_64 (I assume i386 is the same):
# install the -server package
sudo apt-get install linux-server
# on x86_64 there is a '-server' kernel, on i386, it is '-generic-pae'
flav="server"
[ "$(uname -m)" = "x86_64" ] || flav="generic-pae"
sver=$(uname -r)
sver=${sver%-*} # remove '-virtual', sver will be like '2.6.35-22'
sdir=/lib/modules/${sver}-${flav}
tdir=/lib/modules/${sver}-virtual
module="nfs"
# parse modules.dep to get which modules $module depends on
mods=$(sed -n -e "\|/${module}.ko:|"'!'"d" -e 's,:,,p' "${sdir}/modules.dep")
for m in ${nfsmods}; do
[ -f "${tdir}/${m}" ] && { echo "${m} already existed"; continue; }
echo "${m} -> ${tdir}/${m%/*}"
sudo mkdir -p "${tdir}/${m%/*}"
sudo cp -a "${sdir}/${m}" "${tdir}/${m}"
done
sudo depmod -a
sudo modprobe nfs
--
2.6.35-22-virtual is missing nfs modules
https://bugs.launchpad.net/bugs/659084
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux-meta in ubuntu.
More information about the kernel-bugs
mailing list