Find the answer to your Linux question:
Results 1 to 2 of 2
I just followed the description on the dazuko.org Everything is OK till I try to insert it - for some reason it tries to insert "dazuko.ko" when I have kernel ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    9

    Troubles with installing DAZUKO


    I just followed the description on the dazuko.org
    Everything is OK till I try to insert it - for some reason it tries to insert "dazuko.ko" when I have kernel 2.6.22.18-1mdv installed (checked with uname -r). says it is wrong version
    What might be the problem?
    P.S. I have just freshly installed Mandriva 2008.0 with automatic updates - that's why the kernel is 18-1. Dazuko 2.3.4
    Thank you

  2. #2
    Just Joined!
    Join Date
    Feb 2008
    Posts
    9
    Sorry, here is the log:

    [root@localhost dazuko-2.3.4]# ./configure
    checking host system type... Linux
    checking for make utility... ok (make)
    checking for C compiler... ok (cc)
    kernel source in /lib/modules/2.6.22.18-desktop-1mdv/source... yes
    kernel build source in /lib/modules/2.6.22.18-desktop-1mdv/build... yes
    acquiring Linux kernel code configuration... ok
    checking if Linux is RSBAC patched... no
    checking if devfs is enabled... no
    discovered host system... Linux (2.6.22)
    checking if security module support is enabled... yes
    verifying capabilities are not built-in... ok
    locating LSM API header... ok
    identifying LSM API (this can take a while)... ok
    identifying device API... ok
    inspecting class type... ok (class)
    inspecting suspend function... ok (suspend2)
    inspecting task_struct structure... ok (using parent)
    disabling ON_CLOSE events (not available for Linux 2.6 LSM)
    configure: creating Makefile
    configure: creating library/Makefile
    configure: creating example_c/Makefile

    ./configure successful

    =======================
    Configuration summary
    =======================

    module events = ON_OPEN ON_EXEC
    devfs support = no
    rsbac support = no
    stacking support = yes
    module debug = no
    library 1.x compatibility = yes

    [root@localhost dazuko-2.3.4]# make
    make -C /lib/modules/2.6.22.18-desktop-1mdv/build include/linux/version.h include/asm scripts
    make[1]: Entering directory `/usr/src/linux-2.6.22.18-1mdv'
    CHK include/linux/version.h
    make[1]: `include/asm' is up to date.
    MKELF scripts/mod/elfconfig.h
    HOSTCC scripts/mod/file2alias.o
    HOSTCC scripts/mod/modpost.o
    HOSTCC scripts/mod/sumversion.o
    HOSTLD scripts/mod/modpost
    make[1]: Leaving directory `/usr/src/linux-2.6.22.18-1mdv'
    make -C /lib/modules/2.6.22.18-desktop-1mdv/build SUBDIRS="/usr/src/dazuko-2.3.4" modules
    make[1]: Entering directory `/usr/src/linux-2.6.22.18-1mdv'

    WARNING: Symbol version dump /usr/src/linux-2.6.22.18-1mdv/Module.symvers
    is missing; modules will have no dependencies and modversions.

    CC [M] /usr/src/dazuko-2.3.4/dazuko_core.o
    CC [M] /usr/src/dazuko-2.3.4/dazuko_transport.o
    CC [M] /usr/src/dazuko-2.3.4/dazuko_linux26_lsm.o
    CC [M] /usr/src/dazuko-2.3.4/dazuko_linux26.o
    LD [M] /usr/src/dazuko-2.3.4/dazuko.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /usr/src/dazuko-2.3.4/dazuko.mod.o
    LD [M] /usr/src/dazuko-2.3.4/dazuko.ko
    make[1]: Leaving directory `/usr/src/linux-2.6.22.18-1mdv'
    touch dummy_rule
    [root@localhost dazuko-2.3.4]# make test
    /sbin/modprobe commoncap
    /sbin/insmod ./dazuko.ko
    insmod: error inserting './dazuko.ko': -1 Invalid module format
    make: *** [test] Error 1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •