# emerge shfs >>> emerge (1 of 1) net-fs/shfs-0.35-r1 to / [...] >>> net-fs/shfs-0.35-r1 merged. # modprobe -l | grep shfs /lib/modules/2.6.12-gentoo-r4/kernel/fs/shfs/shfs.ko # ll /usr/src/linux 0 lrwxrwxrwx 1 root root 22 Jul 21 20:14 /usr/src/linux -> linux-2.6.12-gentoo-r4 # cd /usr/src/linux # make modules_install INSTALL fs/fat/fat.ko INSTALL fs/lockd/lockd.ko INSTALL fs/nfs/nfs.ko INSTALL fs/nls/nls_base.ko INSTALL fs/nls/nls_cp437.ko INSTALL fs/nls/nls_iso8859-1.ko INSTALL fs/ntfs/ntfs.ko INSTALL fs/smbfs/smbfs.ko INSTALL fs/vfat/vfat.ko INSTALL net/sunrpc/sunrpc.ko if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map 2.6.12-gentoo-r4; fi # modprobe -l | grep shfs # Reproducible: Always Steps to Reproduce:
afaik that's normal behavior
hm, i dont think so, here another example: # emerge qemu [...] # modprobe -l | grep qemu /lib/modules/2.6.12-gentoo-r4/misc/kqemu.ko # cd /usr/src/linux # cp /lib/modules/2.6.12-gentoo-r4/kernel/fs/shfs/shfs.ko ~ # make modules_install INSTALL fs/fat/fat.ko INSTALL fs/lockd/lockd.ko INSTALL fs/nfs/nfs.ko INSTALL fs/nls/nls_base.ko INSTALL fs/nls/nls_cp437.ko INSTALL fs/nls/nls_iso8859-1.ko INSTALL fs/ntfs/ntfs.ko INSTALL fs/smbfs/smbfs.ko INSTALL fs/vfat/vfat.ko INSTALL net/sunrpc/sunrpc.ko if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map 2.6.12-gentoo-r4; fi # modprobe -l | grep qemu /lib/modules/2.6.12-gentoo-r4/misc/kqemu.ko # mkdir /lib/modules/2.6.12-gentoo-r4/kernel/fs/shfs # mv ~/shfs.ko /lib/modules/2.6.12-gentoo-r4/kernel/fs/shfs
thats because it isnt inside the kernel subdir, qemu is in the misc subdir
ok, how do i install shfs into the misc-directory?
That is correct behavior. You can not install the module into the misc directory. The best option at hand, I would say, would be sys-kernel/module-rebuild. It will rebuild any external modules you build.
Guess I was mistaken, will try to fix this.
Fixed in -r2. Please test, it should be on a portage mirror in ~2 hours.