sis163u + Etch() + 2.6.18-4-amd64

Help
2007-04-19
2012-10-06
  • Jerome Esteves

    Jerome Esteves - 2007-04-19

    Hello, I just tried a new thread concerning the sis163u driver in 64 bit mode kernel.
    Doe anyone had made this driver work on 64 bit mode ?

    I used the last ndiswrapper 1.42:
    the windows drivers are downloaded from "sis"site (xp OS) the filename is wlan_163_r105.zip.
    This zip file contains an AMD64 directory with the sis drivers.

    making modprobe ndiswrapper i got the following output:

    ndiswrapper (link_pe_images:577): fixing KI_USER_SHARED_DATA address in the driver
    ndiswrapper: driver sis163u (Silicon Integrated Systems Corp.(1.05.14),11/02/2005,5.1.1039.1050) loaded
    Unable to handle kernel NULL pointer dereference at 0000000000000053 RIP:
    [<ffffffff8027bc5e>] task_nice+0x1/0xc
    PGD 5268c067 PUD 4cb66067 PMD 0
    Oops: 0000 [1] SMP
    CPU 1
    Modules linked in: ndiswrapper ipt_TCPMSS xt_tcpmss xt_tcpudp iptable_mangle ip_tables x_tables pppoe pppox ppp_generic slhc binfmt_misc cpufreq_ondemand cpufreq_userspace cpufreq_powersave powernow_k8 freq_table ppdev parport_pc lp parport button ac battery ipv6 dm_snapshot dm_mirror dm_mod sbp2 loop tsdev snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd psmouse i2c_nforce2 serio_raw soundcore snd_page_alloc pcspkr i2c_core evdev eth1394 ext3 jbd mbcache ide_cd cdrom sd_mod sata_nv libata scsi_mod amd74xx ohci1394 ieee1394 forcedeth generic ide_core ehci_hcd ohci_hcd thermal processor fan
    Pid: 4648, comm: windisdrvr Tainted: P 2.6.18-4-amd64 #1
    RIP: 0010:[<ffffffff8027bc5e>] [<ffffffff8027bc5e>] task_nice+0x1/0xc
    RSP: 0000:ffff81004d8bde28 EFLAGS: 00010246
    RAX: 0000000000000000 RBX: 000000000000001f RCX: 000000000000001f
    RDX: 0000000000000010 RSI: 0000000000000010 RDI: 000000000000001f
    RBP: 0000000000000010 R08: 0000000000000001 R09: ffff81004c4f96e0
    R10: ffffffff883264fc R11: ffffffff8026f34e R12: 0000000000000001
    R13: 0000000000000282 R14: ffff81004c4f96e0 R15: ffffffff802901be
    FS: 0000000041001960(0000) GS:ffff810037a84ac0(0000) knlGS:0000000000000000
    CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
    CR2: 0000000000000053 CR3: 0000000050205000 CR4: 00000000000006e0
    Process windisdrvr (pid: 4648, threadinfo ffff81004d8bc000, task ffff81004ce46770)
    Stack: 0000000000000010 ffffffff88326510 ffffc2001022e008 ffffffff88327b06
    ffffc2000007c008 ffffffff88333c53 ffffc2001022e008 72647369646e6977
    ffffc200101dca00 ffff81004c4f9860 0000000000000000 ffff81004d8bdec0
    Call Trace:
    [<ffffffff88326510>] :ndiswrapper:KeSetPriorityThread+0x14/0x60
    [<ffffffff88327b06>] :ndiswrapper:thread_trampoline+0x0/0xbc
    [<ffffffff88333c53>] :ndiswrapper:win2lin2+0xe/0x11
    [<ffffffff8027bc27>] __wake_up_common+0x3e/0x68
    [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
    [<ffffffff8027c065>] complete+0x38/0x4b
    [<ffffffff88327b94>] :ndiswrapper:thread_trampoline+0x8e/0xbc
    [<ffffffff8023055a>] kthread+0xd4/0x107
    [<ffffffff80259360>] child_rip+0xa/0x12
    [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
    [<ffffffff80230486>] kthread+0x0/0x107
    [<ffffffff80259356>] child_rip+0x0/0x12

    Code: 8b 47 34 48 89 e5 c9 83 e8 78 c3 48 63 ff 55 48 c7 c2 a0 92
    RIP [<ffffffff8027bc5e>] task_nice+0x1/0xc
    RSP <ffff81004d8bde28>
    CR2: 0000000000000053
    <6>wlan0: ethernet device d8:f8:ba:d8:f8:ba using NDIS driver: sis163u, version: 0x1000000, NDIS version: 0x501, vendor: 'Wireless Driver', 0BF8:100F.F.conf
    ndiswrapper: changing interface name from 'wlan0' to 'wlan1'

    any clues

    Best regards

    jerome

     
    • Jerome Esteves

      Jerome Esteves - 2007-04-19

      I tried to be fast to paste the error because modprobe didn't came back but i continue here:

      with the version of ndiswrapper comming with etch modprobe worked better but Bugs messages where repitedly comming up. with timeout/scheduling issue. until total block of the laptot.

      Best Regards

      Jerome.

       
    • Jerome Esteves

      Jerome Esteves - 2007-04-19

      with version 1.41

      I got similar output from dmesg I paste here all :

      ndiswrapper version 1.41 loaded (smp=yes)
      usb 2-3: reset high speed USB device using ehci_hcd and address 2
      ndiswrapper (link_pe_images:577): fixing KI_USER_SHARED_DATA address in the driver
      ndiswrapper: driver sis163u (Silicon Integrated Systems Corp.(1.05.14),11/02/2005,5.1.1039.1050) loaded
      wlan0: ethernet device 00:30:05:dc:e8:71 using NDIS driver: sis163u, version: 0x1000000, NDIS version: 0x501, vendor: 'Wireless Driver', 0BF8:100F.F.conf
      wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
      usbcore: registered new driver ndiswrapper
      ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
      BUG: scheduling while atomic: wrap_wq/0x00000100/13151

      Call Trace:
      [<ffffffff8025c34a>] sched_text_start+0x7a/0x97e
      [<ffffffff8023bae4>] lock_timer_base+0x1b/0x3c
      [<ffffffff8021a956>]
      mod_timer+0xb0/0xbe
      [<ffffffff80376128>] hcd_submit_urb+0x6bc/0x74f
      [<ffffffff8025d5b2>] schedule_timeout+0x8a/0xad
      [<ffffffff80287be4>] process_timeout+0x0/0x5
      [<ffffffff88328889>] :ndiswrapper:KeWaitForMultipleObjects+0x47e/0x8b4
      [<ffffffff883350bd>] :ndiswrapper:wrap_submit_irp+0x3bc/0xc5f
      [<ffffffff80290381>] autoremove_wake_function+0x0/0x2e
      [<ffffffff88328ce9>] :ndiswrapper:KeWaitForSingleObject+0x2a/0x2f
      [<ffffffff88335c96>] :ndiswrapper:win2lin5+0x19/0x1c
      [<ffffffff80243311>] try_to_wake_up+0x3d5/0x3e6
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>] wake_up_common+0x3e/0x68
      [<ffffffff8022c2c0>]
      wake_up+0x38/0x4f
      [<ffffffff8027be2d>] activate_task+0x27/0x39
      [<ffffffff883314fe>] :ndiswrapper:miniport_query_info_needed+0x13f/0x290
      [<ffffffff88331558>] :ndiswrapper:miniport_query_info_needed+0x199/0x290
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>]
      wake_up_common+0x3e/0x68
      [<ffffffff88332d92>] :ndiswrapper:wrap_ndis_worker+0x0/0x2ec
      [<ffffffff8833165d>] :ndiswrapper:miniport_query_info+0xe/0x13
      [<ffffffff88332e6e>] :ndiswrapper:wrap_ndis_worker+0xdc/0x2ec
      [<ffffffff8025cc4e>] thread_return+0x0/0xe7
      [<ffffffff8024947a>] run_workqueue+0x94/0xe5
      [<ffffffff80245e7b>] worker_thread+0x0/0x122
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80245f6b>] worker_thread+0xf0/0x122
      [<ffffffff8027d27d>] default_wake_function+0x0/0xe
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff8023055a>] kthread+0xd4/0x107
      [<ffffffff80259360>] child_rip+0xa/0x12
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80230486>] kthread+0x0/0x107
      [<ffffffff80259356>] child_rip+0x0/0x12

      BUG: scheduling while atomic: wrap_wq/0x00000100/13151

      Call Trace:
      [<ffffffff8025c34a>] sched_text_start+0x7a/0x97e
      [<ffffffff8023bae4>] lock_timer_base+0x1b/0x3c
      [<ffffffff8021a956>]
      mod_timer+0xb0/0xbe
      [<ffffffff80376128>] hcd_submit_urb+0x6bc/0x74f
      [<ffffffff8025d5b2>] schedule_timeout+0x8a/0xad
      [<ffffffff80287be4>] process_timeout+0x0/0x5
      [<ffffffff88328889>] :ndiswrapper:KeWaitForMultipleObjects+0x47e/0x8b4
      [<ffffffff883350bd>] :ndiswrapper:wrap_submit_irp+0x3bc/0xc5f
      [<ffffffff80290381>] autoremove_wake_function+0x0/0x2e
      [<ffffffff88328ce9>] :ndiswrapper:KeWaitForSingleObject+0x2a/0x2f
      [<ffffffff88335c96>] :ndiswrapper:win2lin5+0x19/0x1c
      [<ffffffff88335c96>] :ndiswrapper:win2lin5+0x19/0x1c
      [<ffffffff88335c4f>] :ndiswrapper:win2lin2+0xe/0x11
      [<ffffffff80243311>] try_to_wake_up+0x3d5/0x3e6
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>] wake_up_common+0x3e/0x68
      [<ffffffff8022c2c0>]
      wake_up+0x38/0x4f
      [<ffffffff8027be2d>] activate_task+0x27/0x39
      [<ffffffff883314fe>] :ndiswrapper:miniport_query_info_needed+0x13f/0x290
      [<ffffffff88331558>] :ndiswrapper:miniport_query_info_needed+0x199/0x290
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>]
      wake_up_common+0x3e/0x68
      [<ffffffff88332d92>] :ndiswrapper:wrap_ndis_worker+0x0/0x2ec
      [<ffffffff8833165d>] :ndiswrapper:miniport_query_info+0xe/0x13
      [<ffffffff88332e6e>] :ndiswrapper:wrap_ndis_worker+0xdc/0x2ec
      [<ffffffff8025cc4e>] thread_return+0x0/0xe7
      [<ffffffff8024947a>] run_workqueue+0x94/0xe5
      [<ffffffff80245e7b>] worker_thread+0x0/0x122
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80245f6b>] worker_thread+0xf0/0x122
      [<ffffffff8027d27d>] default_wake_function+0x0/0xe
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff8023055a>] kthread+0xd4/0x107
      [<ffffffff80259360>] child_rip+0xa/0x12
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80230486>] kthread+0x0/0x107
      [<ffffffff80259356>] child_rip+0x0/0x12

      BUG: scheduling while atomic: wrap_wq/0x00000100/13151

      Call Trace:
      [<ffffffff8025c34a>] sched_text_start+0x7a/0x97e
      [<ffffffff80246f96>] try_to_del_timer_sync+0x51/0x5a
      [<ffffffff8023bae4>] lock_timer_base+0x1b/0x3c
      [<ffffffff8021a956>]
      mod_timer+0xb0/0xbe
      [<ffffffff80376128>] hcd_submit_urb+0x6bc/0x74f
      [<ffffffff8025d5b2>] schedule_timeout+0x8a/0xad
      [<ffffffff80287be4>] process_timeout+0x0/0x5
      [<ffffffff88328889>] :ndiswrapper:KeWaitForMultipleObjects+0x47e/0x8b4
      [<ffffffff883350bd>] :ndiswrapper:wrap_submit_irp+0x3bc/0xc5f
      [<ffffffff80290381>] autoremove_wake_function+0x0/0x2e
      [<ffffffff88328ce9>] :ndiswrapper:KeWaitForSingleObject+0x2a/0x2f
      [<ffffffff88335c96>] :ndiswrapper:win2lin5+0x19/0x1c
      [<ffffffff80243311>] try_to_wake_up+0x3d5/0x3e6
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>] wake_up_common+0x3e/0x68
      [<ffffffff8022c2c0>]
      wake_up+0x38/0x4f
      [<ffffffff8027be2d>] activate_task+0x27/0x39
      [<ffffffff883314fe>] :ndiswrapper:miniport_query_info_needed+0x13f/0x290
      [<ffffffff88331558>] :ndiswrapper:miniport_query_info_needed+0x199/0x290
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>]
      wake_up_common+0x3e/0x68
      [<ffffffff88332d92>] :ndiswrapper:wrap_ndis_worker+0x0/0x2ec
      [<ffffffff8833165d>] :ndiswrapper:miniport_query_info+0xe/0x13
      [<ffffffff88332e6e>] :ndiswrapper:wrap_ndis_worker+0xdc/0x2ec
      [<ffffffff8025cc4e>] thread_return+0x0/0xe7
      [<ffffffff8024947a>] run_workqueue+0x94/0xe5
      [<ffffffff80245e7b>] worker_thread+0x0/0x122
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80245f6b>] worker_thread+0xf0/0x122
      [<ffffffff8027d27d>] default_wake_function+0x0/0xe
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff8023055a>] kthread+0xd4/0x107
      [<ffffffff80259360>] child_rip+0xa/0x12
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80230486>] kthread+0x0/0x107
      [<ffffffff80259356>] child_rip+0x0/0x12

      BUG: scheduling while atomic: wrap_wq/0x00000100/13151

      Call Trace:
      [<ffffffff8025c34a>] sched_text_start+0x7a/0x97e
      [<ffffffff8023bae4>] lock_timer_base+0x1b/0x3c
      [<ffffffff8021a956>]
      mod_timer+0xb0/0xbe
      [<ffffffff80376128>] hcd_submit_urb+0x6bc/0x74f
      [<ffffffff8025d5b2>] schedule_timeout+0x8a/0xad
      [<ffffffff80287be4>] process_timeout+0x0/0x5
      [<ffffffff88328889>] :ndiswrapper:KeWaitForMultipleObjects+0x47e/0x8b4
      [<ffffffff883350bd>] :ndiswrapper:wrap_submit_irp+0x3bc/0xc5f
      [<ffffffff80290381>] autoremove_wake_function+0x0/0x2e
      [<ffffffff88328ce9>] :ndiswrapper:KeWaitForSingleObject+0x2a/0x2f
      [<ffffffff88335c96>] :ndiswrapper:win2lin5+0x19/0x1c
      [<ffffffff88335c96>] :ndiswrapper:win2lin5+0x19/0x1c
      [<ffffffff88335c4f>] :ndiswrapper:win2lin2+0xe/0x11
      [<ffffffff80243311>] try_to_wake_up+0x3d5/0x3e6
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>] wake_up_common+0x3e/0x68
      [<ffffffff8022c2c0>]
      wake_up+0x38/0x4f
      [<ffffffff8027be2d>] activate_task+0x27/0x39
      [<ffffffff883314fe>] :ndiswrapper:miniport_query_info_needed+0x13f/0x290
      [<ffffffff88331558>] :ndiswrapper:miniport_query_info_needed+0x199/0x290
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>]
      wake_up_common+0x3e/0x68
      [<ffffffff88332d92>] :ndiswrapper:wrap_ndis_worker+0x0/0x2ec
      [<ffffffff8833165d>] :ndiswrapper:miniport_query_info+0xe/0x13
      [<ffffffff88332e6e>] :ndiswrapper:wrap_ndis_worker+0xdc/0x2ec
      [<ffffffff8025cc4e>] thread_return+0x0/0xe7
      [<ffffffff8024947a>] run_workqueue+0x94/0xe5
      [<ffffffff80245e7b>] worker_thread+0x0/0x122
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80245f6b>] worker_thread+0xf0/0x122
      [<ffffffff8027d27d>] default_wake_function+0x0/0xe
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff8023055a>] kthread+0xd4/0x107
      [<ffffffff80259360>] child_rip+0xa/0x12
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80230486>] kthread+0x0/0x107
      [<ffffffff80259356>] child_rip+0x0/0x12

      wlan0: no IPv6 routers present
      BUG: scheduling while atomic: wrap_wq/0x00000100/13151

      Call Trace:
      [<ffffffff8025c34a>] sched_text_start+0x7a/0x97e
      [<ffffffff80246f96>] try_to_del_timer_sync+0x51/0x5a
      [<ffffffff8023bae4>] lock_timer_base+0x1b/0x3c
      [<ffffffff8021a956>]
      mod_timer+0xb0/0xbe
      [<ffffffff80376128>] hcd_submit_urb+0x6bc/0x74f
      [<ffffffff8025d5b2>] schedule_timeout+0x8a/0xad
      [<ffffffff80287be4>] process_timeout+0x0/0x5
      [<ffffffff88328889>] :ndiswrapper:KeWaitForMultipleObjects+0x47e/0x8b4
      [<ffffffff883350bd>] :ndiswrapper:wrap_submit_irp+0x3bc/0xc5f
      [<ffffffff80290381>] autoremove_wake_function+0x0/0x2e
      [<ffffffff88328ce9>] :ndiswrapper:KeWaitForSingleObject+0x2a/0x2f
      [<ffffffff88335c96>] :ndiswrapper:win2lin5+0x19/0x1c
      [<ffffffff80243311>] try_to_wake_up+0x3d5/0x3e6
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>] wake_up_common+0x3e/0x68
      [<ffffffff8022c2c0>]
      wake_up+0x38/0x4f
      [<ffffffff8027be2d>] activate_task+0x27/0x39
      [<ffffffff883314fe>] :ndiswrapper:miniport_query_info_needed+0x13f/0x290
      [<ffffffff88331558>] :ndiswrapper:miniport_query_info_needed+0x199/0x290
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>]
      wake_up_common+0x3e/0x68
      [<ffffffff88332d92>] :ndiswrapper:wrap_ndis_worker+0x0/0x2ec
      [<ffffffff8833165d>] :ndiswrapper:miniport_query_info+0xe/0x13
      [<ffffffff88332e6e>] :ndiswrapper:wrap_ndis_worker+0xdc/0x2ec
      [<ffffffff8025cc4e>] thread_return+0x0/0xe7
      [<ffffffff8024947a>] run_workqueue+0x94/0xe5
      [<ffffffff80245e7b>] worker_thread+0x0/0x122
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80245f6b>] worker_thread+0xf0/0x122
      [<ffffffff8027d27d>] default_wake_function+0x0/0xe
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff8023055a>] kthread+0xd4/0x107
      [<ffffffff80259360>] child_rip+0xa/0x12
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80230486>] kthread+0x0/0x107
      [<ffffffff80259356>] child_rip+0x0/0x12

      BUG: scheduling while atomic: wrap_wq/0x00000100/13151

      Call Trace:
      [<ffffffff8025c34a>] sched_text_start+0x7a/0x97e
      [<ffffffff8023bae4>] lock_timer_base+0x1b/0x3c
      [<ffffffff8021a956>]
      mod_timer+0xb0/0xbe
      [<ffffffff80376128>] hcd_submit_urb+0x6bc/0x74f
      [<ffffffff8025d5b2>] schedule_timeout+0x8a/0xad
      [<ffffffff80287be4>] process_timeout+0x0/0x5
      [<ffffffff88328889>] :ndiswrapper:KeWaitForMultipleObjects+0x47e/0x8b4
      [<ffffffff883350bd>] :ndiswrapper:wrap_submit_irp+0x3bc/0xc5f
      [<ffffffff80290381>] autoremove_wake_function+0x0/0x2e
      [<ffffffff88328ce9>] :ndiswrapper:KeWaitForSingleObject+0x2a/0x2f
      [<ffffffff88335c96>] :ndiswrapper:win2lin5+0x19/0x1c
      [<ffffffff88335c96>] :ndiswrapper:win2lin5+0x19/0x1c
      [<ffffffff88335c4f>] :ndiswrapper:win2lin2+0xe/0x11
      [<ffffffff80243311>] try_to_wake_up+0x3d5/0x3e6
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>] wake_up_common+0x3e/0x68
      [<ffffffff8022c2c0>]
      wake_up+0x38/0x4f
      [<ffffffff8027be2d>] activate_task+0x27/0x39
      [<ffffffff883314fe>] :ndiswrapper:miniport_query_info_needed+0x13f/0x290
      [<ffffffff88331558>] :ndiswrapper:miniport_query_info_needed+0x199/0x290
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>]
      wake_up_common+0x3e/0x68
      [<ffffffff88332d92>] :ndiswrapper:wrap_ndis_worker+0x0/0x2ec
      [<ffffffff8833165d>] :ndiswrapper:miniport_query_info+0xe/0x13
      [<ffffffff88332e6e>] :ndiswrapper:wrap_ndis_worker+0xdc/0x2ec
      [<ffffffff8025cc4e>] thread_return+0x0/0xe7
      [<ffffffff8024947a>] run_workqueue+0x94/0xe5
      [<ffffffff80245e7b>] worker_thread+0x0/0x122
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80245f6b>] worker_thread+0xf0/0x122
      [<ffffffff8027d27d>] default_wake_function+0x0/0xe
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff8023055a>] kthread+0xd4/0x107
      [<ffffffff80259360>] child_rip+0xa/0x12
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80230486>] kthread+0x0/0x107
      [<ffffffff80259356>] child_rip+0x0/0x12

      BUG: scheduling while atomic: wrap_wq/0x00000100/13151

      Call Trace:
      [<ffffffff8025c34a>] sched_text_start+0x7a/0x97e
      [<ffffffff80246f96>] try_to_del_timer_sync+0x51/0x5a
      [<ffffffff8023bae4>] lock_timer_base+0x1b/0x3c
      [<ffffffff8021a956>]
      mod_timer+0xb0/0xbe
      [<ffffffff80376128>] hcd_submit_urb+0x6bc/0x74f
      [<ffffffff8025d5b2>] schedule_timeout+0x8a/0xad
      [<ffffffff80287be4>] process_timeout+0x0/0x5
      [<ffffffff88328889>] :ndiswrapper:KeWaitForMultipleObjects+0x47e/0x8b4
      [<ffffffff883350bd>] :ndiswrapper:wrap_submit_irp+0x3bc/0xc5f
      [<ffffffff80290381>] autoremove_wake_function+0x0/0x2e
      [<ffffffff88328ce9>] :ndiswrapper:KeWaitForSingleObject+0x2a/0x2f
      [<ffffffff88335c96>] :ndiswrapper:win2lin5+0x19/0x1c
      [<ffffffff80243311>] try_to_wake_up+0x3d5/0x3e6
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>] wake_up_common+0x3e/0x68
      [<ffffffff8022c2c0>]
      wake_up+0x38/0x4f
      [<ffffffff8027be2d>] activate_task+0x27/0x39
      [<ffffffff883314fe>] :ndiswrapper:miniport_query_info_needed+0x13f/0x290
      [<ffffffff88331558>] :ndiswrapper:miniport_query_info_needed+0x199/0x290
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>]
      wake_up_common+0x3e/0x68
      [<ffffffff88332d92>] :ndiswrapper:wrap_ndis_worker+0x0/0x2ec
      [<ffffffff8833165d>] :ndiswrapper:miniport_query_info+0xe/0x13
      [<ffffffff88332e6e>] :ndiswrapper:wrap_ndis_worker+0xdc/0x2ec
      [<ffffffff8025cc4e>] thread_return+0x0/0xe7
      [<ffffffff8024947a>] run_workqueue+0x94/0xe5
      [<ffffffff80245e7b>] worker_thread+0x0/0x122
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80245f6b>] worker_thread+0xf0/0x122
      [<ffffffff8027d27d>] default_wake_function+0x0/0xe
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff8023055a>] kthread+0xd4/0x107
      [<ffffffff80259360>] child_rip+0xa/0x12
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80230486>] kthread+0x0/0x107
      [<ffffffff80259356>] child_rip+0x0/0x12

      BUG: scheduling while atomic: wrap_wq/0x00000100/13151

      Call Trace:
      [<ffffffff8025c34a>] sched_text_start+0x7a/0x97e
      [<ffffffff8023bae4>] lock_timer_base+0x1b/0x3c
      [<ffffffff8021a956>]
      mod_timer+0xb0/0xbe
      [<ffffffff80376128>] hcd_submit_urb+0x6bc/0x74f
      [<ffffffff8025d5b2>] schedule_timeout+0x8a/0xad
      [<ffffffff80287be4>] process_timeout+0x0/0x5
      [<ffffffff88328889>] :ndiswrapper:KeWaitForMultipleObjects+0x47e/0x8b4
      [<ffffffff883350bd>] :ndiswrapper:wrap_submit_irp+0x3bc/0xc5f
      [<ffffffff80290381>] autoremove_wake_function+0x0/0x2e
      [<ffffffff88328ce9>] :ndiswrapper:KeWaitForSingleObject+0x2a/0x2f
      [<ffffffff88335c96>] :ndiswrapper:win2lin5+0x19/0x1c
      [<ffffffff88335c96>] :ndiswrapper:win2lin5+0x19/0x1c
      [<ffffffff88335c4f>] :ndiswrapper:win2lin2+0xe/0x11
      [<ffffffff80243311>] try_to_wake_up+0x3d5/0x3e6
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>] wake_up_common+0x3e/0x68
      [<ffffffff8022c2c0>]
      wake_up+0x38/0x4f
      [<ffffffff8027be2d>] activate_task+0x27/0x39
      [<ffffffff883314fe>] :ndiswrapper:miniport_query_info_needed+0x13f/0x290
      [<ffffffff88331558>] :ndiswrapper:miniport_query_info_needed+0x199/0x290
      [<ffffffff8029038a>] autoremove_wake_function+0x9/0x2e
      [<ffffffff8027bc27>]
      wake_up_common+0x3e/0x68
      [<ffffffff88332d92>] :ndiswrapper:wrap_ndis_worker+0x0/0x2ec
      [<ffffffff8833165d>] :ndiswrapper:miniport_query_info+0xe/0x13
      [<ffffffff88332e6e>] :ndiswrapper:wrap_ndis_worker+0xdc/0x2ec
      [<ffffffff8025cc4e>] thread_return+0x0/0xe7
      [<ffffffff8024947a>] run_workqueue+0x94/0xe5
      [<ffffffff80245e7b>] worker_thread+0x0/0x122
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80245f6b>] worker_thread+0xf0/0x122
      [<ffffffff8027d27d>] default_wake_function+0x0/0xe
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff8023055a>] kthread+0xd4/0x107
      [<ffffffff80259360>] child_rip+0xa/0x12
      [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
      [<ffffffff80230486>] kthread+0x0/0x107
      [<ffffffff80259356>] child_rip+0x0/0x12

      usbcore: deregistering driver ndiswrapper
      ndiswrapper: device wlan0 removed

      But it's going to work .... :-))))

      here is why :

      zor:~/ndiswrapper-1.41# iwlist wlan0 scan
      wlan0 Scan completed :
      Cell 01 - Address: 00:04:0E:EA:4A:7B
      ESSID:"laura"
      Protocol:IEEE 802.11g
      Mode:Managed
      Frequency:2.412 GHz (Channel 1)
      Quality:28/100 Signal level:-78 dBm Noise level:-96 dBm
      Encryption key:on
      Bit Rates:54 Mb/s; 48 Mb/s; 36 Mb/s; 24 Mb/s; 18 Mb/s
      12 Mb/s; 11 Mb/s; 9 Mb/s; 6 Mb/s; 5.5 Mb/s
      2 Mb/s; 1 Mb/s
      Extra:bcn_int=100
      Extra:atim=0

      The only problem is that if I let the driver load for 5/10 minutes all becomes blocked

      Best Regards

      jerome

       
    • Giridhar Pemmasani

      Try adding the line

      return LOW_REALTIMME_PRIORITY;

      right after TRACE2(...) line in KeSetPriorityThread, so that the 'if' statement is never executed.

       
      • Jerome Esteves

        Jerome Esteves - 2007-04-19

        THanks a lot for this hints and for quicky responding.

        Well It's pretty better but now i have the same error like ndiswrapper comming with etch ditribution.

        Here is the output of dmesg concerning the load and unload of the module:

        ndiswrapper version 1.42 loaded (smp=yes)
        usb 2-3: reset high speed USB device using ehci_hcd and address 2
        ndiswrapper (link_pe_images:577): fixing KI_USER_SHARED_DATA address in the driver
        ndiswrapper: driver sis163u (Silicon Integrated Systems Corp.(1.05.14),11/02/2005,5.1.1039.1050) loaded
        wlan0: ethernet device 00:30:05:dc:e8:71 using NDIS driver: sis163u, version: 0x1000000, NDIS version: 0x501, vendor: 'Wireless Driver', 0BF8:100F.F.conf
        wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
        usbcore: registered new driver ndiswrapper
        ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
        BUG: scheduling while atomic: wrap_wq/0x00000100/8770

        Call Trace:
        [<ffffffff8025c34a>] sched_text_start+0x7a/0x97e
        [<ffffffff8023bae4>] lock_timer_base+0x1b/0x3c
        [<ffffffff8021a956>]
        mod_timer+0xb0/0xbe
        [<ffffffff8025d5b2>] schedule_timeout+0x8a/0xad
        [<ffffffff80287be4>] process_timeout+0x0/0x5
        [<ffffffff883288ae>] :ndiswrapper:KeWaitForMultipleObjects+0x3ac/0x6e1
        [<ffffffff88335071>] :ndiswrapper:wrap_submit_irp+0x3bc/0xc5f
        [<ffffffff8832e1ac>] :ndiswrapper:pdoDispatchDeviceControl+0xe/0x27
        [<ffffffff88328c0d>] :ndiswrapper:KeWaitForSingleObject+0x2a/0x2f
        [<ffffffff88335c3e>] :ndiswrapper:win2lin5+0x19/0x1c
        [<ffffffff802aacb1>] zone_statistics+0x3e/0x6d
        [<ffffffff8027c0e7>] task_rq_lock+0x3d/0x6f
        [<ffffffff8027be2d>] __activate_task+0x27/0x39
        [<ffffffff80243311>] try_to_wake_up+0x3d5/0x3e6
        [<ffffffff80243311>] try_to_wake_up+0x3d5/0x3e6
        [<ffffffff88328368>] :ndiswrapper:object_signalled+0x23/0x33
        [<ffffffff88331582>] :ndiswrapper:miniport_query_info_needed+0x14f/0x259
        [<ffffffff8027c0e7>] task_rq_lock+0x3d/0x6f
        [<ffffffff80243311>] try_to_wake_up+0x3d5/0x3e6
        [<ffffffff88332d99>] :ndiswrapper:wrap_ndis_worker+0x0/0x2ec
        [<ffffffff8833169a>] :ndiswrapper:miniport_query_info+0xe/0x13
        [<ffffffff88332e75>] :ndiswrapper:wrap_ndis_worker+0xdc/0x2ec
        [<ffffffff8025cc4e>] thread_return+0x0/0xe7
        [<ffffffff8024947a>] run_workqueue+0x94/0xe5
        [<ffffffff80245e7b>] worker_thread+0x0/0x122
        [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
        [<ffffffff80245f6b>] worker_thread+0xf0/0x122
        [<ffffffff8027d27d>] default_wake_function+0x0/0xe
        [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
        [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
        [<ffffffff8023055a>] kthread+0xd4/0x107
        [<ffffffff80259360>] child_rip+0xa/0x12
        [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
        [<ffffffff80230486>] kthread+0x0/0x107
        [<ffffffff80259356>] child_rip+0x0/0x12

        BUG: scheduling while atomic: wrap_wq/0x00000100/8770

        Call Trace:
        [<ffffffff8025c34a>] sched_text_start+0x7a/0x97e
        [<ffffffff8025cc4e>] thread_return+0x0/0xe7
        [<ffffffff8023bae4>] lock_timer_base+0x1b/0x3c
        [<ffffffff8021a956>]
        mod_timer+0xb0/0xbe
        [<ffffffff8025d5b2>] schedule_timeout+0x8a/0xad
        [<ffffffff80287be4>] process_timeout+0x0/0x5
        [<ffffffff883288ae>] :ndiswrapper:KeWaitForMultipleObjects+0x3ac/0x6e1
        [<ffffffff88335071>] :ndiswrapper:wrap_submit_irp+0x3bc/0xc5f
        [<ffffffff8832e1ac>] :ndiswrapper:pdoDispatchDeviceControl+0xe/0x27
        [<ffffffff88328c0d>] :ndiswrapper:KeWaitForSingleObject+0x2a/0x2f
        [<ffffffff88335c3e>] :ndiswrapper:win2lin5+0x19/0x1c
        [<ffffffff88335c3e>] :ndiswrapper:win2lin5+0x19/0x1c
        [<ffffffff88335bf7>] :ndiswrapper:win2lin2+0xe/0x11
        [<ffffffff802aacb1>] zone_statistics+0x3e/0x6d
        [<ffffffff8027c0e7>] task_rq_lock+0x3d/0x6f
        [<ffffffff8027be2d>] __activate_task+0x27/0x39
        [<ffffffff80243311>] try_to_wake_up+0x3d5/0x3e6
        [<ffffffff80243311>] try_to_wake_up+0x3d5/0x3e6
        [<ffffffff88328368>] :ndiswrapper:object_signalled+0x23/0x33
        [<ffffffff88331582>] :ndiswrapper:miniport_query_info_needed+0x14f/0x259
        [<ffffffff8027c0e7>] task_rq_lock+0x3d/0x6f
        [<ffffffff80243311>] try_to_wake_up+0x3d5/0x3e6
        [<ffffffff88332d99>] :ndiswrapper:wrap_ndis_worker+0x0/0x2ec
        [<ffffffff8833169a>] :ndiswrapper:miniport_query_info+0xe/0x13
        [<ffffffff88332e75>] :ndiswrapper:wrap_ndis_worker+0xdc/0x2ec
        [<ffffffff8025cc4e>] thread_return+0x0/0xe7
        [<ffffffff8024947a>] run_workqueue+0x94/0xe5
        [<ffffffff80245e7b>] worker_thread+0x0/0x122
        [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
        [<ffffffff80245f6b>] worker_thread+0xf0/0x122
        [<ffffffff8027d27d>] default_wake_function+0x0/0xe
        [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
        [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
        [<ffffffff8023055a>] kthread+0xd4/0x107
        [<ffffffff80259360>] child_rip+0xa/0x12
        [<ffffffff802901be>] keventd_create_kthread+0x0/0x61
        [<ffffffff80230486>] kthread+0x0/0x107
        [<ffffffff80259356>] child_rip+0x0/0xUG: scheduling while atomic: wrap_wq/0x00000100/8770

        (..)

        usbcore: deregistering driver ndiswrapper
        ndiswrapper: device wlan0 removed
        ndiswrapper (ntoskernel_exit:2542): object ffff8100773d16f8 type 3 was not freed, freeing it now

        OK, I will try version 1.41

        Thanks and Best Regards

        Jerome

         
    • Giridhar Pemmasani

      You may also try 1.41 version.

       
    • Giridhar Pemmasani

      I need to debug this; login to IRC #ndiswrapper on irc.freenode.net - I am there sometimes.

       

Log in to post a comment.