Hi I'm trying to get a new USB-WLAN stick (blue media BM-5531) running using ndiswrapper (netmw226, 64bit-windows driver) and wpa_supplicant. During this action I stopped the interface (/etc/init.d/net.wlan0 stop) and finally removed the USB-WLAN stick. Perhaps due to some misconfiguration my running kernel (linux-2.6.21-gentoo-r3) produced an oops: The kernel is still running (at least for the next 24 hours) because there is an ongoing world rebuild ... modprobe -r ndiswrapper hangs too. Jun 25 00:56:21 treviso usb 2-7: USB disconnect, address 3 Jun 25 00:56:22 treviso ndiswrapper (wrap_cancel_irp:272): urb ffff8100027e2300 can't be canceld: 5 Jun 25 00:58:01 treviso Unable to handle kernel paging request at ffffc21ca06142b0 RIP: Jun 25 00:58:01 treviso [<ffffc200030341d6>] Jun 25 00:58:01 treviso PGD 166f067 PUD 0 Jun 25 00:58:01 treviso Oops: 0000 [1] SMP Jun 25 00:58:01 treviso CPU 0 Jun 25 00:58:01 treviso Modules linked in: ndiswrapper ip6table_filter iptable_raw xt_comment xt_policy xt_multiport ipt_ULOG ipt_TTL ipt_ttl ipt_TOS ipt_tos ipt_SAME ipt_REJECT ipt_REDIRECT ipt_recent ipt_owner ipt_NETMAP ipt_MASQUERADE ipt_LOG ipt_iprange ipt_ECN ipt_ecn ipt_CLUSTERIP ipt_ah ipt_addrtype nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda ts_kmp nf_conntrack_amanda nf_conntrack_tftp nf_conntrack_sip nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_netbios_ns nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp xt_tcpmss xt_pkttype xt_NFQUEUE xt_NFLOG xt_MARK xt_mark xt_mac xt_limit xt_length xt_helper xt_hashlimit ip6_tables xt_dccp xt_conntrack xt_CONNMARK xt_connmark xt_CLASSIFY xt_tcpudp xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack iptable_mangle nfnetlink iptable_filter ip_tables x_tables cpufreq_ondemand cpufreq_userspace cpufreq_powersave ipv6 w83627ehf i2c_isa eeprom snd_hda_intel snd_hda_codec snd_pcm snd_timer snd_page_alloc snd_mpu401 snd_mpu401_uart snd_rawmidi snd_seq_device snd nvidia(P) forcedeth i2c_core parport_pc parport k8temp pcspkr sg ehci_hcd ohci_hcd usbcore rtc floppy Jun 25 00:58:01 treviso Pid: 1199, comm: khubd Tainted: P 2.6.21-gentoo-r3 #1 Jun 25 00:58:01 treviso RIP: 0010:[<ffffc200030341d6>] [<ffffc200030341d6>] Jun 25 00:58:01 treviso RSP: 0018:ffff810033e31968 EFLAGS: 00010216 Jun 25 00:58:01 treviso RAX: 0000001c9d590800 RBX: ffffc20002fa8000 RCX: 0000000072756420 Jun 25 00:58:01 treviso RDX: ffffffff813a9380 RSI: 0000000000000000 RDI: ffffc20002fa8000 Jun 25 00:58:01 treviso RBP: ffff81002a9aa680 R08: ffff810033e30000 R09: ffff81001c059e88 Jun 25 00:58:01 treviso R10: 0000000000005ffe R11: 0000000000000246 R12: ffffc20003083ab0 Jun 25 00:58:01 treviso R13: 0000000000000000 R14: ffff810033e31c90 R15: 00000000c0000001 Jun 25 00:58:01 treviso FS: 00002b07161c7da0(0000) GS:ffffffff813e8000(0000) knlGS:00000000f7dbd6b0 Jun 25 00:58:01 treviso CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b Jun 25 00:58:01 treviso CR2: ffffc21ca06142b0 CR3: 0000000008ec7000 CR4: 00000000000006e0 Jun 25 00:58:01 treviso Process khubd (pid: 1199, threadinfo ffff810033e30000, task ffff8100016c5080) Jun 25 00:58:01 treviso Stack: 00000000ffffffff 0000000000000286 ffffffff810469fc ffffc20003034669 Jun 25 00:58:01 treviso 00000001004f1f10 ffff810004f23a30 ffff810031f8e340 0000000000000286 Jun 25 00:58:01 treviso ffffc20002fa8000 ffffc20003031069 ffffffff8105d481 0000000000000000 Jun 25 00:58:01 treviso Call Trace: Jun 25 00:58:01 treviso [<ffffffff810469fc>] try_to_del_timer_sync+0x51/0x5a Jun 25 00:58:01 treviso [<ffffffff8105d481>] schedule_timeout+0x92/0xad Jun 25 00:58:01 treviso [<ffffffff88a37d46>] :ndiswrapper:win2lin1+0xb/0xe Jun 25 00:58:01 treviso [<ffffffff8103b050>] lock_timer_base+0x1b/0x3c Jun 25 00:58:01 treviso [<ffffffff810469fc>] try_to_del_timer_sync+0x51/0x5a Jun 25 00:58:01 treviso [<ffffffff88a33039>] :ndiswrapper:mp_halt+0x6a/0x146 Jun 25 00:58:01 treviso [<ffffffff810567d5>] del_timer_sync+0xc/0x16 Jun 25 00:58:01 treviso [<ffffffff88a33018>] :ndiswrapper:mp_halt+0x49/0x146 Jun 25 00:58:01 treviso [<ffffffff88a3340c>] :ndiswrapper:wrap_ndis_remove_device+0x17e/0x1f0 Jun 25 00:58:01 treviso [<ffffffff88a347bb>] :ndiswrapper:NdisDispatchPnp+0xcf6/0xd43 Jun 25 00:58:01 treviso [<ffffffff810193a8>] vsnprintf+0x336/0x5a8 Jun 25 00:58:01 treviso [<ffffffff81078035>] task_rq_lock+0x3d/0x6f Jun 25 00:58:01 treviso [<ffffffff81042b92>] try_to_wake_up+0x3f9/0x40a Jun 25 00:58:01 treviso [<ffffffff810193a8>] vsnprintf+0x336/0x5a8 Jun 25 00:58:01 treviso [<ffffffff88a37d57>] :ndiswrapper:win2lin2+0xe/0x11 Jun 25 00:58:01 treviso [<ffffffff88a2e712>] :ndiswrapper:IofCallDriver+0x85/0xb1 Jun 25 00:58:01 treviso [<ffffffff88a2e6e7>] :ndiswrapper:IofCallDriver+0x5a/0xb1 Jun 25 00:58:01 treviso [<ffffffff88a2eef4>] :ndiswrapper:IoQueueThreadIrp+0x9/0x82 Jun 25 00:58:01 treviso [<ffffffff88a2f349>] :ndiswrapper:IoBuildSynchronousFsdRequest+0x27/0x2e Jun 25 00:58:01 treviso [<ffffffff88a304ff>] :ndiswrapper:IoSendIrpTopDev+0x97/0xcd Jun 25 00:58:01 treviso [<ffffffff8105d6d4>] mutex_lock+0xd/0x1e Jun 25 00:58:01 treviso [<ffffffff88a305a1>] :ndiswrapper:pnp_remove_device+0x6c/0x16a Jun 25 00:58:01 treviso [<ffffffff8801c6ad>] :usbcore:usb_unbind_interface+0x3c/0x79 Jun 25 00:58:01 treviso [<ffffffff8120a0de>] __device_release_driver+0x8e/0xb0 Jun 25 00:58:01 treviso [<ffffffff8120a56a>] device_release_driver+0x31/0x49 Jun 25 00:58:01 treviso [<ffffffff81209a52>] bus_remove_device+0x89/0x9c Jun 25 00:58:01 treviso [<ffffffff81207e48>] device_del+0x185/0x1ff Jun 25 00:58:01 treviso [<ffffffff8801a313>] :usbcore:usb_disable_device+0x6c/0xdf Jun 25 00:58:01 treviso [<ffffffff88016e3d>] :usbcore:usb_disconnect+0xa3/0x132 Jun 25 00:58:01 treviso [<ffffffff88017bfb>] :usbcore:hub_thread+0x37a/0xb11 Jun 25 00:58:01 treviso [<ffffffff8108a875>] autoremove_wake_function+0x0/0x2e Jun 25 00:58:01 treviso [<ffffffff88017881>] :usbcore:hub_thread+0x0/0xb11 Jun 25 00:58:01 treviso [<ffffffff8108a6dd>] keventd_create_kthread+0x0/0x65 Jun 25 00:58:01 treviso [<ffffffff81030518>] kthread+0xd1/0x100 Jun 25 00:58:01 treviso [<ffffffff81059f38>] child_rip+0xa/0x12 Jun 25 00:58:01 treviso [<ffffffff8108a6dd>] keventd_create_kthread+0x0/0x65 Jun 25 00:58:01 treviso [<ffffffff81030447>] kthread+0x0/0x100 Jun 25 00:58:01 treviso [<ffffffff81059f2e>] child_rip+0x0/0x12 Jun 25 00:58:01 treviso Jun 25 00:58:01 treviso Jun 25 00:58:01 treviso Code: 4a 83 3c 20 00 74 08 4a 83 7c 20 38 00 75 18 83 e9 01 79 e5 Jun 25 00:58:01 treviso RIP [<ffffc200030341d6>] Jun 25 00:58:01 treviso RSP <ffff810033e31968> Jun 25 00:58:01 treviso CR2: ffffc21ca06142b0 Reproducible: Didn't try
From upstream: 1. try rmmod before unplugging 2. describe what chipset 3. where to get the driver from For 2. google says "Chipset: Marvell 88W8338 + 88W8010", but better verify this info too. Not much I can do here, please post answers to these questions on ndiswrapper forum ( http://ndiswrapper.sourceforge.net/ ).
2) yes, the BM-5531 has this chipset, but I have to use the driver from a ZONET ZEW2502 (which has the same chipset) due to the lack of 64bit drivers in the BM5531 driver package. > Not much I can do here, please post answers to these questions on ndiswrapper > forum ( http://ndiswrapper.sourceforge.net/ ). I agree but I found this oops at least mentionable.