Announcement

Collapse
No announcement yet.

Need help adding kernal module

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need help adding kernal module

    I'm trying to create and add a kernel module to Kubuntu 7.10. The instructions for creating it are:

    Makefile-2.6 Kernel

    ifneq ($(KERNELRELEASE),)
    obj-m := viahss.o

    else
    KDIR := /lib/modules/$(shell uname -r)/build
    PWD := $(shell pwd)
    default:
    $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
    endif

    I have no idea what this means. Could someone help me with this? Thanks.

    #2
    Re: Need help adding kernal module

    Is that the makefile?

    I presume you'll have to make sure you have your kernel sources installed, and know where they are. Then try

    Code:
    ./configure
    make
    to compile. There's no sign of a install function in the makefile, so you'll have to either use insmod or manually copy the module to whereever kernel modules go.

    What's the module for anyway?
    I am running Ubuntu 8.10 (yes Gnome) with upgrades applied daily about 0900 UK time. Hardware is Dell Precision 420, 2x 800 MHz PIII, 512 MB RDRAM, nVidia GeForce 6800 128 MB AGP graphics, 18GB SCSI and 500GB IDE HDDs, DVD burner, Hauppage TV card.

    Comment


      #3
      Re: Need help adding kernal module

      It's to accelerate my serial dialup port. Supposedly, it'll enable much faster downloads.

      Comment

      Working...
      X