0
    make -C /usr/src/linux-2.6.32.9 M=`pwd` 

  LD      /root/test/lkm/built-in.o
  Building modules, stage 2.
  MODPOST 1 modules
make: Leaving directory `/usr/src/linux-2.6.32.9'

    make -C /usr/src/linux-2.6.32.9 M=`pwd` modules_install

  INSTALL /root/test/lkm/try.ko
  DEPMOD  2.6.32.9

但是当我lsmod |grep try,什么都没有显示,为什么?

4

1 回答 1

1

INSTALL不加载模块,它只是将其复制到其最终位置。试试insmod /root/test/lkm/try.ko

于 2011-03-23T08:38:13.643 回答