Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101091 - make modules_install deletes net-fs/shfs-kernel-modul
Summary: make modules_install deletes net-fs/shfs-kernel-modul
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-02 06:18 UTC by Stan Behrens
Modified: 2006-01-04 15:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stan Behrens 2005-08-02 06:18:44 UTC
# 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:
Comment 1 SpanKY gentoo-dev 2005-08-02 07:58:43 UTC
afaik that's normal behavior
Comment 2 Stan Behrens 2005-08-02 08:17:39 UTC
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 
Comment 3 SpanKY gentoo-dev 2005-08-02 08:21:09 UTC
thats because it isnt inside the kernel subdir, qemu is in the misc subdir
Comment 4 Stan Behrens 2005-08-02 09:18:50 UTC
ok, how do i install shfs into the misc-directory?
Comment 5 Saleem Abdulrasool (RETIRED) gentoo-dev 2005-12-25 15:09:57 UTC
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.
Comment 6 Saleem Abdulrasool (RETIRED) gentoo-dev 2005-12-25 15:22:03 UTC
Guess I was mistaken, will try to fix this.
Comment 7 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-01-04 15:17:22 UTC
Fixed in -r2.  Please test, it should be on a portage mirror in ~2 hours.