All pastes #126589 Raw Edit

narak

public text v1 · immutable
·published 2006-08-11 16:57 UTC
rendered paste body
/src/sata_raid_controller# make KERNELDIR=/usr/src/linux-headers-2.6.1-686
make -C /usr/src/linux-headers-2.6.15-1-686 SUBDIRS=`pwd` modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.15-1-686'
  CC [M]  /usr/src/sata_raid_controller/hpt.o
  LD [M]  /usr/src/sata_raid_controller/hptmv.o
  Building modules, stage 2.
  MODPOST
  CC      /usr/src/sata_raid_controller/hptmv.mod.o
  LD [M]  /usr/src/sata_raid_controller/hptmv.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-1-686'

---

/src/sata_raid_controller# make install KERNELDIR=/usr/src/linux-headers-2.6.1-686
You made a module which is for current kernel 2.6.15-1-686.
Deleting previous installed driver module hptmv...
Install the new driver module...
Updating module dependencies, this may take a few minutes...
Done.
Checking for initrd images to be updated...

---

modprobe hptmv
FATAL: Error inserting hptmv (/lib/modules/2.6.15-1-686/kernel/drivers/scsi/hptmv/hptmv.ko): Invalid module format