[Click] Problems Installing Click Kernel Module

dmoore7@nd.edu dmoore7 at nd.edu
Thu Jul 19 16:32:28 EDT 2007


Thanks for the help, I successfully installed and booted 2.6.16.13
I also completed the patching and re-compiling and booting of that kernel
following the instructions for preparing the kernel for kernel-mode Click.

However, once I recompiled click and attempted to run click-install, I received
the following error:

# click-install ./conf/test.click
insmod: error inserting '/usr/local/lib/proclikefs.ko': -1 Invalid module
formatclick-install: '/sbin/insmod /usr/local/lib/proclikefs.ko' failed

I presume this indicates some error in either how I patched the kernel, or how I
configured click.  I did not notice any declared errors in any of the
configurations and setups I had done, although in the many pages of
fast-scrolling stuff it did I might have missed something if it did not draw
attention to itself.

Any suggestions on how I might right this issue with click-install not
functioning are appreciated.
 - David Moore

Quoting Eddie Kohler <kohler at cs.ucla.edu>:
> Yes, you will need to compile your own kernel, based on vanilla kernel source
> from kernel.org.  Among other things Enterprise Linux kernel patches tend to
> conflict with our patches.
>
> Eddie
>
>
> dmoore7 at nd.edu wrote:
> > Yes, I noted the difference and hoped this would fall under the case
> described
> > in the installation instructions:
> >
> > We supply patches for Linux 2.2.18-21, 2.4.18-32, 2.6.16.13, and
> >     2.6.19.2.  A patch may or may not work for a slightly different kernel
> >     version; we suggest you try it.
> >
> > Would it be best if I altered my kernel version to match the latest patch?
> I
> > have not recompiled or reloaded kernels in the past, so I guess I should be
> > looking into how to do this.
> > Thanks for the input.
> >  - David Moore
> >
> > Quoting Salman Abdul Baset <salman at cs.columbia.edu>:
> >
> >> Notice that your kernel and patch kernel versions are different :)
> >>
> >> On Thu, 19 Jul 2007, dmoore7 at nd.edu wrote:
> >>
> >>> Hello,
> >>> I've run click in user-mode, but to accomplish some work I'm trying to
> >> install
> >>> the kernel module on a machine.  It has 4 processors and is running
> >>> 2.6.9-22.0.2.ELsmp.
> >>>
> >>> I've tried following the kernel install instructions, but am getting an
> >> error:
> >>> # patch -p0 -b < /root/clickinstall/click-1.5.0/etc/linux-2.6.16.13-patch
> >>> can't find file to patch at input line 4
> >>> Perhaps you used the wrong -p or --strip option?
> >>> The text leading up to this was:
> >>> --------------------------
> >>> |diff -ru ../linux-2.6.16.13/drivers/input/serio/i8042-ppcio.h
> >>> ./drivers/input/serio/i8042-ppcio.h
> >>> |--- ../linux-2.6.16.13/drivers/input/serio/i8042-ppcio.h
> 2006-05-02
> >>> 14:38:44.000000000 -0700
> >>> |+++ ./drivers/input/serio/i8042-ppcio.h        2006-05-02
> >> 22:59:17.000000000
> >>> -0700
> >>> --------------------------
> >>> File to patch:
> >>>
> >>> At this point it prompts me for a file... of what nature I'm not sure.
> >>> I'm running "patch" from /usr/src/kernels/ directory which contains
> >>> 2.6.9-22.0.2.EL-smp-i686, which I assumed was the correct location to run
> >> this
> >>> from.
> >>>
> >>> Am I running the patch from the right directory, and in the right way?
> I'm
> >>> eager to get this working, and any direction or help is appreciated.
> >>> Thanks,
> >>> - David Moore
> >>>
> >>>
> >>> _______________________________________________
> >>> click mailing list
> >>> click at amsterdam.lcs.mit.edu
> >>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> >>>
> >
> >
> >
> >
> >
> > _______________________________________________
> > click mailing list
> > click at amsterdam.lcs.mit.edu
> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>







More information about the click mailing list