Find the answer to your Linux question:
Results 1 to 3 of 3
I have just upgraded my kernel from 2.4.20-8 to 2.4.22. After the upgrade, I installed a serial driver. When trying to run the driver it says following: /lib/modules/2.4.22/misc/dgnc.o: kernel-module version ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2004
    Posts
    5

    Kernel mismatch


    I have just upgraded my kernel from 2.4.20-8 to 2.4.22. After the upgrade, I installed a serial driver. When trying to run the driver it says following:

    /lib/modules/2.4.22/misc/dgnc.o: kernel-module version mismatch
    /lib/modules/2.4.22/misc/dgnc.o was compiled for kernel version 2.4.20-8 while this kernel is version 2.4.22.

    After trying a "kernel mismatch solution", I get this error instead:

    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol pci_read_config_byte_Rsmp_3ccefab4
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol free_irq_Rsmp_f20dabd8
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol create_proc_entry_Rsmp_92a27ea8
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol pci_find_device_Rsmp_c584f4e3/lib/modules/2.4.22/misc/dgnc.o: unresolved symbol add_timer_Rsmp_a19eacf8
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol xquad_portio_Rsmp_c9da3d43
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol __tasklet_schedule_Rsmp_ed5c73bf
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol tasklet_kill_Rsmp_79ad224b
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol add_wait_queue_Rsmp_871e2c3d
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol iounmap_Rsmp_5fb196d4
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol remove_proc_entry_Rsmp_f633c778
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol tty_hangup_Rsmp_859a428e
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol tty_hung_up_p_Rsmp_d1e6d181
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol unregister_chrdev_Rsmp_c192d491
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol sprintf_Rsmp_1d26aa98
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol schedule_timeout_Rsmp_17d59d01
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol __ioremap_Rsmp_9eac042a
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol __wake_up_Rsmp_127fda83
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol printk_Rsmp_1b7d4074
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol kfree_Rsmp_037a0cba
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol tasklet_init_Rsmp_a5808bbf
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol del_timer_sync_Rsmp_daff266a
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol tqueue_lock_Rsmp_b7a0c0b5
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol vsprintf_Rsmp_954cbb26
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol remove_wait_queue_Rsmp_a9170650
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol tty_check_change_Rsmp_6ec76635
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol vfree_Rsmp_2fd1d81c
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol kmalloc_Rsmp_93d4cfe6
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol snprintf_Rsmp_025da070
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol schedule_Rsmp_4292364c
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol __const_udelay_Rsmp_eae3dfd6
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol register_chrdev_Rsmp_d08c1abe/lib/modules/2.4.22/misc/dgnc.o: unresolved symbol __generic_copy_from_user_Rsmp_116166aa
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol jiffies_Rsmp_0da02d67
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol pci_read_config_word_Rsmp_923654cb
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol request_irq_Rsmp_0c60f2e0
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol tty_unregister_driver_Rsmp_b9f5f6ce
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol tq_timer_Rsmp_fa3e9acc
    /lib/modules/2.4.22/misc/dgnc.o: unresolved symbol tty_register_driver_Rsmp_4ad86e36


    Whats can i do?

  2. #2
    Linux Newbie
    Join Date
    Oct 2004
    Posts
    114

    Question

    This question is Extremely Important.

    If a vendor want to provide a closed source driver for Linux, which version of kernel should be used?

    Is it possible to create a single binary driver for all versions of Linux kernel?

    Thank you.
    Best regards.

  3. #3
    Linux Enthusiast KenJackson's Avatar
    Join Date
    Jun 2006
    Location
    Maryland, USA
    Posts
    510
    The way nVida does it is to have a close source module that is distributed in binary form along with open source interface code that gets recompiled when you install so it can work with almost any kernel.

    Come to think of it, that's the way VMware works too.

  4. $spacer_open
    $spacer_close

Posting Permissions

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