assem
assem

Reputation: 3223

Where's my module gone?

    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

But when I lsmod |grep try,nothing is shown,why?

Upvotes: 0

Views: 309

Answers (1)

geekosaur
geekosaur

Reputation: 61439

INSTALL doesn't load the module, it just copies it to its final location. Try insmod /root/test/lkm/try.ko.

Upvotes: 1

Related Questions