ndiswrapper with kernel 3.4

Matias
2012-09-10
2012-10-06
  • Matias
    Matias
    2012-09-10

    Hello.

    This is a message to ask you, if the new testing ndiswrapper-1.58rc1, thus
    support kernel 3.4 ? I see this LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) on
    driver/ndis.c . But no complete sure. Also this package thus not contain a
    ChangeLog for that release candidate.

    Thanks!!

     
  • Matias
    Matias
    2012-09-11

    Test so far..

    Linux server1 3.4.0-030400rc6-generic-pae #201205061835 SMP Sun May 6 22:49:33
    UTC 2012 i686 athlon i386 GNU/Linux

    package = ndiswrapper-1.58rc1

    I was able to compile ok.

    The problem comes when trying to poison kernel with ndiswrapper module

    root@server1:/lib/modules/3.4.0-030400rc6-generic-pae/misc# insmod
    ndiswrapper.ko
    this command never return to the prompt If I tail syslog

    Sep 10 19:30:55 server1 kernel: ndiswrapper version 1.58rc1 loaded (smp=yes,
    preempt=no)

    mati@server1:~$ lsmod | grep ndiswrapper
    ndiswrapper 240362 1

    But If I wait a few seconds syslog shows

    Sep 10 19:35:09 server1 kernel: "echo 0 >
    /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    Sep 10 19:35:09 server1 kernel: insmod D f7807d84 0 3244 3089 0x00000000
    Sep 10 19:35:09 server1 kernel: ec8cdc54 00000086 0000079b f7807d84 d80e7811
    f7807dac c1942d40 c1942d40
    Sep 10 19:35:09 server1 kernel: c1942d40 c1942d40 8c52dee4 00000088 c1942d40
    f7807d40 f74c6500 f2c55860
    Sep 10 19:35:09 server1 kernel: f2c55894 f74c6500 ec8cdc30 c10796b0 f7807d40
    f7807d40 00000000 00000000
    Sep 10 19:35:09 server1 kernel: Call Trace:
    Sep 10 19:35:09 server1 kernel: ? check_preempt_wakeup+0x140/0x220
    Sep 10 19:35:09 server1 kernel: ? check_preempt_curr+0x6a/0x80
    Sep 10 19:35:09 server1 kernel: schedule+0x23/0x60
    Sep 10 19:35:09 server1 kernel: schedule_timeout+0x19d/0x260
    Sep 10 19:35:09 server1 kernel: ? try_to_wake_up+0x1ce/0x230
    Sep 10 19:35:09 server1 kernel: ? wake_up_process+0x14/0x20
    Sep 10 19:35:09 server1 kernel: ? wake_up_worker+0x1e/0x30
    Sep 10 19:35:09 server1 kernel: wait_for_common+0xa8/0x120
    Sep 10 19:35:09 server1 kernel: ? try_to_wake_up+0x230/0x230
    Sep 10 19:35:09 server1 kernel: wait_for_completion+0x17/0x20
    Sep 10 19:35:09 server1 kernel: call_usermodehelper_exec+0xdf/0xf0
    Sep 10 19:35:09 server1 kernel: load_wrap_device+0x180/0x1e0
    Sep 10 19:35:09 server1 kernel: wrap_pnp_start_pci_device+0x44/0x70

    Any thoughs ? Ndiswrapper has been tested on kernel 3.4 by someone.

    Thanks for the help.