Date: Sat, 27 Jun 2009 17:43:14 +0200 From: "Paul B. Mahol" <onemda@gmail.com> To: Nikos Vassiliadis <nvass9573@gmx.com> Cc: freebsd-net@freebsd.org, weongyo@freebsd.org Subject: Re: ndis and USB wirelless ethernet Message-ID: <3a142e750906270843u2c44d240r9d8cadcf5f800855@mail.gmail.com> In-Reply-To: <4A461AF9.7040900@gmx.com> References: <4A43386D.80500@gmx.com> <20090625103420.GD31161@weongyo.cdnetworks.kr> <4A436A8A.1000405@gmx.com> <20090626041246.GE31161@weongyo.cdnetworks.kr> <4A461AF9.7040900@gmx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/27/09, Nikos Vassiliadis <nvass9573@gmx.com> wrote: > Weongyo Jeong wrote: >> Could you show me the *full* result after enabling `sysctl debug.ndis=1'? >> Maybe steps would be as follows: >> >> # kldload ndis if_ndis NDIS_module >> # sysctl debug.ndis=1 >> [then plug-in USB stick] > > It goes like this: > > ugen1.2: <BayNETGEAR> at usbus1 > ndis0: NDIS API version: 5.1 > attach done. > lock order reversal: > 1st 0xc0edc900 HAL preemption lock (HAL lock) @ > /usr/src/sys/compat/ndis/subr_hal.c:416 > 2nd 0xc23b19ec NDIS USB (network driver) @ > /usr/src/sys/compat/ndis/subr_usbd.c:803 > KDB: stack backtrace: > db_trace_self_wrapper(c0c0f65b,c755e8b8,c08af235,c08a015b,c0c1249e,...) > at db_trace_self_wrapper+0x26 > kdb_backtrace(c08a015b,c0c1249e,c2117a58,c2114040,c755e914,...) at > kdb_backtrace+0x29 > _witness_debugger(c0c1249e,c23b19ec,c0c3cf54,c2114040,c0c36d8d,...) at > _witness_debugger+0x25 > witness_checkorder(c23b19ec,9,c0c36d8d,323,0,...) at > witness_checkorder+0x839 > _mtx_lock_flags(c23b19ec,0,c0c36d8d,323,c2692400,...) at > _mtx_lock_flags+0xc4 > usbd_irpcancel(c24f1400,c2692400,c755ea28,c755ea74,c0acfe2a,...) at > usbd_irpcancel+0x5c > end(c2692400,c2976b80,c26ea000,c26ea000,c755ea5c,...) at 0xc220c2e1 > end(c26ea000,0,0,c26ea294,c755ea78,...) at 0xc22036e1 > ndis_wg111v3_sys_drv_data_start(c26ea000,0,c26ea000,c26ea000,0,...) at > ndis_wg111v3_sys_drv_data_start+0x5cac > ndis_wg111v3_sys_drv_data_start(c26ea000,c2202000,c26ea000,0,c755eaa8,...) > at ndis_wg111v3_sys_drv_data_start+0x5fec > ndis_wg111v3_sys_drv_data_start(c26ea000,c755eab4,c755eacc,c26b206a,c755eae4,...) > at ndis_wg111v3_sys_drv_data_start+0x603f > ndis_wg111v3_sys_drv_data_start(c26ea000,c23b186c,c26ea000,c0ac7429,c26b206a,...) > at ndis_wg111v3_sys_drv_data_start+0x611f > x86_stdcall_call(c23b1800,c755eb0e,c755eb14,c755eb18,c2aa60e4,...) at > x86_stdcall_call+0x1e > ndis_attach(c23d6b80,c23d6b80,c0bb64fd,0,c238da24,...) at ndis_attach+0xf71 > ndisusb_attach(c23d6b80,c221885c,c0cef938,c0bfc63d,80000000,...) at > ndisusb_attach+0xdb > device_attach(c23d6b80,4,c0c0ed75,9f1) at device_attach+0x36f > device_probe_and_attach(c23d6b80,c755ec1c,ffffffff,c2275800,0,...) at > device_probe_and_attach+0x4e > usb_probe_and_attach_sub(c2275800,0,c0bf354f,4c4,0,...) at > usb_probe_and_attach_sub+0xde > usb_probe_and_attach(c2275800,ff,c2399800,1,0,...) at > usb_probe_and_attach+0x1b3 > uhub_explore(c2399800,0,c0bf1fec,cd,c229ed34,...) at uhub_explore+0x766 > usb_bus_explore(c229ed34,c229edac,c0bfb560,51,c0d5fec0,...) at > usb_bus_explore+0xbb > usb_process(c229ecd4,c755ed38,c0c079d2,334,c21a7d48,...) at usb_process+0xde > fork_exit(c07a6de0,c229ecd4,c755ed38) at fork_exit+0xb8 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0, eip = 0, esp = 0xc755ed70, ebp = 0 --- > >> # ifconfig wlan0 create wlandev ndis0 >> # ifconfig wlan0 ssid blah up > > lab# ifconfig wlan0 ssid blah up > load: 0.06 cmd: ifconfig 1245 [-] 1.92r 0.02u 0.12s 0% 1568k > load: 0.06 cmd: ifconfig 1245 [-] 2.25r 0.02u 0.12s 0% 1568k > > lab# ifconfig ndis0 up > load: 0.06 cmd: ifconfig 1254 [KeWFS] 1.27r 0.00u 0.01s 0% 1568k > load: 0.06 cmd: ifconfig 1254 [KeWFS] 1.66r 0.00u 0.01s 0% 1568k > > > lab# ifconfig ndis0 > ndis0: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290 > ether 00:1b:2f:be:78:aa > media: IEEE 802.11 Wireless Ethernet autoselect mode 11b > status: associated > lab# ifconfig wlan0 > wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > ether 00:1b:2f:be:78:aa > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid blah channel 1 (2412 Mhz 11b) > country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 > bintval 0 > lab# ifconfig wlan0 scan > lab# ifconfig wlan0 list scan > lab# > > Any ideas? Are you saying that nothing is displayed on console(dmesg) by kernel? -- Paul
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750906270843u2c44d240r9d8cadcf5f800855>