Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On Tue, 3 Aug 2010 17:50:45 +0200, Hans Petter Selasky hsela...@c2i.net wrote: Hi, Actually, my intention was to get you into the kernel debugger and not the userland debugger. Maybe you have some missing keywords in your kernel config. Try google. When setup correctly, CTRL+ALT+ESC should get you into the kernel debugger. That means you should exit X11 before typing this sequence. When in the kernel debugger, try to dump all threads. Look for function names that contain the word ural. Write down brief stack backtrace. Hello. I found very strange behavior. тot for nothing that I work for a tester :) http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-ddb.html - Here I found how to use kernel debugger (Ctrl+Alt+Esc). I added to my config-file next strings: options KDB options DDB options KDB_UNATTENDED options BREAK_TO_DEBUGGER I did the rebuild of kernel, installed it, rebooted the PC. After reboot I typed into console ifconfig wlan0 create wlandev ural0 and ifconfig didn't hangs. Device wlan0 was successfully created. I commented this 4 strings -- ifconfig hangs, wlan0 wasn't created. It's very strange :) Now I'll rebuild kernel with this parameters, read man ifconfig and try to make workable wireless lan. I shall write you results. Thanks. Best regards, Bukreev Alexey ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
The following reply was made to PR usb/149162; it has been noted by GNATS. From: le...@lepis.net.ru To: Hans Petter Selasky hsela...@c2i.net Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Fri, 06 Aug 2010 00:50:04 +0400 On Tue, 3 Aug 2010 17:50:45 +0200, Hans Petter Selasky hsela...@c2i.net wrote: Hi, Actually, my intention was to get you into the kernel debugger and not the userland debugger. Maybe you have some missing keywords in your kernel config. Try google. When setup correctly, CTRL+ALT+ESC should get you into the kernel debugger. That means you should exit X11 before typing this sequence. When in the kernel debugger, try to dump all threads. Look for function names that contain the word ural. Write down brief stack backtrace. Hello. I found very strange behavior. Ñot for nothing that I work for a tester :) http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-ddb.html - Here I found how to use kernel debugger (Ctrl+Alt+Esc). I added to my config-file next strings: options KDB options DDB options KDB_UNATTENDED options BREAK_TO_DEBUGGER I did the rebuild of kernel, installed it, rebooted the PC. After reboot I typed into console ifconfig wlan0 create wlandev ural0 and ifconfig didn't hangs. Device wlan0 was successfully created. I commented this 4 strings -- ifconfig hangs, wlan0 wasn't created. It's very strange :) Now I'll rebuild kernel with this parameters, read man ifconfig and try to make workable wireless lan. I shall write you results. Thanks. Best regards, Bukreev Alexey ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On Thursday 05 August 2010 23:10:11 le...@lepis.net.ru wrote: options KDB_UNATTENDED This option you don't need. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On Thu, 5 Aug 2010 23:23:18 +0200, Hans Petter Selasky hsela...@c2i.net wrote: On Thursday 05 August 2010 23:10:11 le...@lepis.net.ru wrote: options KDB_UNATTENDED This option you don't need. --HPS Hans, I tried to configure wlan0 as a access point, but all my tries was failed. When I type ifconfig wlan0 mediaopt hostap I get message SIOCSFMEDIA (media): device not configured. I type ifconfig -m wlan0 and see this: wlan0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:17:31:eb:9e:e7 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier supported media: media OFDM/54Mbps mode autoselect media OFDM/48Mbps mode autoselect media OFDM/36Mbps mode autoselect media OFDM/24Mbps mode autoselect media OFDM/18Mbps mode autoselect media OFDM/12Mbps mode autoselect media OFDM/9Mbps mode autoselect media OFDM/6Mbps mode autoselect media DS/11Mbps mode autoselect media DS/5.5Mbps mode autoselect media DS/2Mbps mode autoselect media DS/1Mbps mode autoselect media OFDM/54Mbps mode 11g media OFDM/48Mbps mode 11g media OFDM/36Mbps mode 11g media OFDM/24Mbps mode 11g media OFDM/18Mbps mode 11g media OFDM/12Mbps mode 11g media OFDM/9Mbps mode 11g media OFDM/6Mbps mode 11g media DS/11Mbps mode 11g media DS/5.5Mbps mode 11g media DS/2Mbps mode 11g media DS/1Mbps mode 11g media autoselect mode 11g media DS/11Mbps mode 11b media DS/5.5Mbps mode 11b media DS/2Mbps mode 11b media DS/1Mbps mode 11b media autoselect mode 11b media autoselect mode autoselect ssid channel 1 (2412 MHz 11b) country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 1 bintval 0 After that I type ifconfig -m ural0 and see this: ural0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290 ether 00:17:31:eb:9e:e7 media: IEEE 802.11 Wireless Ethernet autoselect adhoc (autoselect) status: no carrier supported media: media OFDM/54Mbps mode autoselect mediaopt monitor media OFDM/54Mbps mode autoselect mediaopt hostap media OFDM/54Mbps mode autoselect mediaopt adhoc media OFDM/54Mbps mode autoselect media OFDM/48Mbps mode autoselect mediaopt monitor media OFDM/48Mbps mode autoselect mediaopt hostap media OFDM/48Mbps mode autoselect mediaopt adhoc media OFDM/48Mbps mode autoselect media OFDM/36Mbps mode autoselect mediaopt monitor media OFDM/36Mbps mode autoselect mediaopt hostap media OFDM/36Mbps mode autoselect mediaopt adhoc media OFDM/36Mbps mode autoselect media OFDM/24Mbps mode autoselect mediaopt monitor media OFDM/24Mbps mode autoselect mediaopt hostap media OFDM/24Mbps mode autoselect mediaopt adhoc media OFDM/24Mbps mode autoselect media OFDM/18Mbps mode autoselect mediaopt monitor media OFDM/18Mbps mode autoselect mediaopt hostap media OFDM/18Mbps mode autoselect mediaopt adhoc media OFDM/18Mbps mode autoselect media OFDM/12Mbps mode autoselect mediaopt monitor media OFDM/12Mbps mode autoselect mediaopt hostap media OFDM/12Mbps mode autoselect mediaopt adhoc media OFDM/12Mbps mode autoselect media OFDM/9Mbps mode autoselect mediaopt monitor media OFDM/9Mbps mode autoselect mediaopt hostap media OFDM/9Mbps mode autoselect mediaopt adhoc media OFDM/9Mbps mode autoselect media OFDM/6Mbps mode autoselect mediaopt monitor media OFDM/6Mbps mode autoselect mediaopt hostap media OFDM/6Mbps mode autoselect mediaopt adhoc media OFDM/6Mbps mode autoselect media DS/11Mbps mode autoselect mediaopt monitor media DS/11Mbps mode autoselect mediaopt hostap media DS/11Mbps mode autoselect mediaopt adhoc media DS/11Mbps mode autoselect media DS/5.5Mbps mode autoselect mediaopt monitor media DS/5.5Mbps mode autoselect mediaopt hostap media DS/5.5Mbps mode autoselect mediaopt adhoc media DS/5.5Mbps mode autoselect
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On Thursday 05 August 2010 23:55:56 le...@lepis.net.ru wrote: On Thu, 5 Aug 2010 23:23:18 +0200, Hans Petter Selasky hsela...@c2i.net wrote: On Thursday 05 August 2010 23:10:11 le...@lepis.net.ru wrote: options KDB_UNATTENDED This option you don't need. --HPS Now I'll try to update kernel sources and rebuild world and kernel. I hope update should help me. Sounds like a good idea. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On 06.08.2010 2:09, Hans Petter Selasky wrote: Now I'll try to update kernel sources and rebuild world and kernel. I hope update should help me. Sounds like a good idea. I updated, did rebuild and installed world and kernel - wlan0 don't have hostap Hans, how do you think, will wlan0 have hostap if I change wi-fi card? I have PCI card DLink DWL-G510 rev.C on another PC (ral driver). As I recall this card does not work on FreeBSD 7.2 - it loses signal strength. -- С уважением, Букреев Алексей +7(926) 249-90-25 http://lepisgame.net.ru ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On 02.08.2010 20:39, Hans Petter Selasky wrote: On Monday 02 August 2010 18:24:17 Alexey A Bukreev wrote: I input in console ifconfig wlan0 create wlandev ural0. After I press ALT+CTRL+ESC - nothing happens. I reboot PC and input gdb ifconfig wlan0 create wlandev ural0 - result you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG But I saw one strange thing. In one of tries I started ifconfig command and rebooted PC after 3-5 minutes. In first console I saw next messages after Uptime: Uptime: 3m21s ugen0.2:ASUS at usbus0 ural1: .. ural1: .. You can see photo of these messages: http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. I think that it's a bug in ifconfig with duplicating devices. 1) gdb 2) type: file ifconfig 3) type: run wlan0 create wlandev ural0 --HPS gdb says no debugging symbols found [le...@lepis ~]$ cat /usr/src/sys/i386/conf/lepis | grep DEBUG makeoptions DEBUG=-g #... options USB_DEBUG options IEEE80211_DEBUG # options USB_DEBUG # -- С уважением, Букреев Алексей +7(926) 249-90-25 http://lepisgame.net.ru ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On 31.07.2010 23:43, Hans Petter Selasky wrote: Can you compile the kernel with options USB_DEBUG. Then set the following debug variable: sysctl hw.usb.ural.debug=15 What is printed in dmesg, when you try to activate the wlan0? --HPS I compiled kernel with options USB_DEBUG, set hw.usb.ural.debug to 15, inputed into console ifconfig wlan0 create wlandev ural0. There are no messages in dmesg or 1st console. dmesg ends with string rl0: link state changed to UP In top process ifconfig uses 100% of CPU core. If you wish I can send you the photo of top. After 10 minutes there several messages displays on dmesg: Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 1506 usec to 1483 usec for pid 1358 (csh) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 414 usec to 344 usec for pid 1317 (inetd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 734 usec to 610 usec for pid 1277 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 544 usec to 452 usec for pid 1277 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 537 usec to 446 usec for pid 1273 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 687 usec to 570 usec for pid 1257 (sshd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 4830 usec to 4629 usec for pid 966 (syslogd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 304 usec to 253 usec for pid 811 (devd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 7516 usec to 6244 usec for pid 811 (devd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 18540 usec to 17888 usec for pid 4 (g_down) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 949398 usec to 793650 usec for pid 1 (init) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 5350 usec to 4664 usec for pid 0 (kernel) On 7.3-STABLE on the same computer I have the same messages, but all works normally: calcru: runtime went backwards from 193 usec to 160 usec for pid 128 (adjkerntz) calcru: runtime went backwards from 24328 usec to 20212 usec for pid 30 (usbtask-dr) calcru: runtime went backwards from 633 usec to 560 usec for pid 24 (swi6: task queue) calcru: runtime went backwards from 5000 usec to 4622 usec for pid 0 (swapper) -- ? ?, ??? ??? +7(926) 249-90-25 http://lepisgame.net.ru ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
The following reply was made to PR usb/149162; it has been noted by GNATS. From: Alexey A Bukreev le...@lepis.net.ru To: Hans Petter Selasky hsela...@c2i.net Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Mon, 02 Aug 2010 20:24:17 +0400 This is a multi-part message in MIME format. --070709020906090407080201 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit On 02.08.2010 10:49, Hans Petter Selasky wrote: Hi, Try to enter the debugger from the console by pressing CTRL+ALT+ESC. Use bt to get the backtrace. Then backtrace the ifconfig process. Figure out where it gets stuck. Did you run: sysctl hw.usb.ural.debug=15 --HPS I input in console ifconfig wlan0 create wlandev ural0. After I press ALT+CTRL+ESC - nothing happens. I reboot PC and input gdb ifconfig wlan0 create wlandev ural0 - result you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG I think I did it wrong :) I'm dummy. But I saw one strange thing. In one of tries I started ifconfig command and rebooted PC after 3-5 minutes. In first console I saw next messages after Uptime: Uptime: 3m21s ugen0.2: ASUS at usbus0 ural1: .. ural1: .. You can see photo of these messages: http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. I think that it's a bug in ifconfig with duplicating devices. Sorry my bad English. -- ? ?, ??? ??? +7(926) 249-90-25 http://lepisgame.net.ru --070709020906090407080201 Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head meta content=text/html; charset=ISO-8859-15 http-equiv=Content-Type /head body bgcolor=#ff text=#00 On 02.08.2010 10:49, Hans Petter Selasky wrote: blockquote cite=mid:201008020849.46521.hsela...@c2i.net type=citeHi,br pre wrap= Try to enter the debugger from the console by pressing CTRL+ALT+ESC. Use bt to get the backtrace. Then backtrace the ifconfig process. Figure out where it gets stuck. Did you run: sysctl hw.usb.ural.debug=15 --HPS /pre /blockquote I input in console ifconfig wlan0 create wlandev ural0. After I press ALT+CTRL+ESC - nothing happens.br I reboot PC and input gdb ifconfig wlan0 create wlandev ural0 - result you can see here: a class=moz-txt-link-freetext href=http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG;http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG/abr br I think I did it wrong :) I'm dummy.br br br But I saw one strange thing.br In one of tries I started ifconfig command and rebooted PC after 3-5 minutes. In first console I saw next messages after Uptime:br blockquoteUptime: 3m21sbr ugen0.2: lt;ASUSgt; at usbus0br ural1: ..br ural1: ..br /blockquote You can see photo of these messages: a class=moz-txt-link-freetext href=http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG;http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG/abr br And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL.br I think that it's a bug in ifconfig with duplicating devices.br br Sorry my bad English.br br pre class=moz-signature cols=72-- #1057; #1091;#1074;#1072;#1078;#1077;#1085;#1080;#1077;#1084;, #1041;#1091;#1082;#1088;#1077;#1077;#1074; #1040;#1083;#1077;#1082;#1089;#1077;#1081; +7(926) 249-90-25 a class=moz-txt-link-freetext href=http://lepisgame.net.ru;http://lepisgame.net.ru/a /pre /body /html --070709020906090407080201-- ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
The following reply was made to PR usb/149162; it has been noted by GNATS. From: Alexey A Bukreev le...@lepis.net.ru To: Hans Petter Selasky hsela...@c2i.net Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Tue, 03 Aug 2010 19:46:21 +0400 On 02.08.2010 20:39, Hans Petter Selasky wrote: On Monday 02 August 2010 18:24:17 Alexey A Bukreev wrote: I input in console ifconfig wlan0 create wlandev ural0. After I press ALT+CTRL+ESC - nothing happens. I reboot PC and input gdb ifconfig wlan0 create wlandev ural0 - result you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG But I saw one strange thing. In one of tries I started ifconfig command and rebooted PC after 3-5 minutes. In first console I saw next messages after Uptime: Uptime: 3m21s ugen0.2:ASUS at usbus0 ural1: .. ural1: .. You can see photo of these messages: http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. I think that it's a bug in ifconfig with duplicating devices. 1) gdb 2) type: file ifconfig 3) type: run wlan0 create wlandev ural0 --HPS gdb says no debugging symbols found [le...@lepis ~]$ cat /usr/src/sys/i386/conf/lepis | grep DEBUG makeoptions DEBUG=-g #... options USB_DEBUG options IEEE80211_DEBUG # options USB_DEBUG # -- С Ñважением, ÐÑкÑеев ÐлекÑей +7(926) 249-90-25 http://lepisgame.net.ru ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On Tuesday 03 August 2010 17:46:21 Alexey A Bukreev wrote: On 02.08.2010 20:39, Hans Petter Selasky wrote: On Monday 02 August 2010 18:24:17 Alexey A Bukreev wrote: I input in console ifconfig wlan0 create wlandev ural0. After I press ALT+CTRL+ESC - nothing happens. I reboot PC and input gdb ifconfig wlan0 create wlandev ural0 - result you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG But I saw one strange thing. In one of tries I started ifconfig command and rebooted PC after 3-5 minutes. In first console I saw next messages after Uptime: Uptime: 3m21s ugen0.2:ASUS at usbus0 ural1: .. ural1: .. You can see photo of these messages: http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. I think that it's a bug in ifconfig with duplicating devices. 1) gdb 2) type: file ifconfig 3) type: run wlan0 create wlandev ural0 --HPS gdb says no debugging symbols found Hi, Actually, my intention was to get you into the kernel debugger and not the userland debugger. Maybe you have some missing keywords in your kernel config. Try google. When setup correctly, CTRL+ALT+ESC should get you into the kernel debugger. That means you should exit X11 before typing this sequence. When in the kernel debugger, try to dump all threads. Look for function names that contain the word ural. Write down brief stack backtrace. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
The following reply was made to PR usb/149162; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: Alexey A Bukreev le...@lepis.net.ru Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Tue, 3 Aug 2010 17:50:45 +0200 On Tuesday 03 August 2010 17:46:21 Alexey A Bukreev wrote: On 02.08.2010 20:39, Hans Petter Selasky wrote: On Monday 02 August 2010 18:24:17 Alexey A Bukreev wrote: I input in console ifconfig wlan0 create wlandev ural0. After I press ALT+CTRL+ESC - nothing happens. I reboot PC and input gdb ifconfig wlan0 create wlandev ural0 - result you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG But I saw one strange thing. In one of tries I started ifconfig command and rebooted PC after 3-5 minutes. In first console I saw next messages after Uptime: Uptime: 3m21s ugen0.2:ASUS at usbus0 ural1: .. ural1: .. You can see photo of these messages: http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. I think that it's a bug in ifconfig with duplicating devices. 1) gdb 2) type: file ifconfig 3) type: run wlan0 create wlandev ural0 --HPS gdb says no debugging symbols found Hi, Actually, my intention was to get you into the kernel debugger and not the userland debugger. Maybe you have some missing keywords in your kernel config. Try google. When setup correctly, CTRL+ALT+ESC should get you into the kernel debugger. That means you should exit X11 before typing this sequence. When in the kernel debugger, try to dump all threads. Look for function names that contain the word ural. Write down brief stack backtrace. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
The following reply was made to PR usb/149162; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: Alexey A Bukreev le...@lepis.net.ru Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Mon, 2 Aug 2010 08:49:46 +0200 On Sunday 01 August 2010 23:43:01 Alexey A Bukreev wrote: On 31.07.2010 23:43, Hans Petter Selasky wrote: Can you compile the kernel with options USB_DEBUG. Then set the following debug variable: sysctl hw.usb.ural.debug=15 What is printed in dmesg, when you try to activate the wlan0? --HPS I compiled kernel with options USB_DEBUG, set hw.usb.ural.debug to 15, inputed into console ifconfig wlan0 create wlandev ural0. There are no messages in dmesg or 1st console. dmesg ends with string rl0: link state changed to UP In top process ifconfig uses 100% of CPU core. If you wish I can send you the photo of top. After 10 minutes there several messages displays on dmesg: Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 1506 usec to 1483 usec for pid 1358 (csh) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 414 usec to 344 usec for pid 1317 (inetd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 734 usec to 610 usec for pid 1277 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 544 usec to 452 usec for pid 1277 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 537 usec to 446 usec for pid 1273 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 687 usec to 570 usec for pid 1257 (sshd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 4830 usec to 4629 usec for pid 966 (syslogd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 304 usec to 253 usec for pid 811 (devd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 7516 usec to 6244 usec for pid 811 (devd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 18540 usec to 17888 usec for pid 4 (g_down) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 949398 usec to 793650 usec for pid 1 (init) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 5350 usec to 4664 usec for pid 0 (kernel) On 7.3-STABLE on the same computer I have the same messages, but all works normally: calcru: runtime went backwards from 193 usec to 160 usec for pid 128 (adjkerntz) calcru: runtime went backwards from 24328 usec to 20212 usec for pid 30 (usbtask-dr) calcru: runtime went backwards from 633 usec to 560 usec for pid 24 (swi6: task queue) calcru: runtime went backwards from 5000 usec to 4622 usec for pid 0 (swapper) Hi, Try to enter the debugger from the console by pressing CTRL+ALT+ESC. Use bt to get the backtrace. Then backtrace the ifconfig process. Figure out where it gets stuck. Did you run: sysctl hw.usb.ural.debug=15 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On Monday 02 August 2010 18:24:17 Alexey A Bukreev wrote: On 02.08.2010 10:49, Hans Petter Selasky wrote: Hi, Try to enter the debugger from the console by pressing CTRL+ALT+ESC. Use bt to get the backtrace. Then backtrace the ifconfig process. Figure out where it gets stuck. Did you run: sysctl hw.usb.ural.debug=15 --HPS I input in console ifconfig wlan0 create wlandev ural0. After I press ALT+CTRL+ESC - nothing happens. I reboot PC and input gdb ifconfig wlan0 create wlandev ural0 - result you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG I think I did it wrong :) I'm dummy. But I saw one strange thing. In one of tries I started ifconfig command and rebooted PC after 3-5 minutes. In first console I saw next messages after Uptime: Uptime: 3m21s ugen0.2: ASUS at usbus0 ural1: .. ural1: .. You can see photo of these messages: http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. I think that it's a bug in ifconfig with duplicating devices. Sorry my bad English. 1) gdb 2) type: file ifconfig 3) type: run wlan0 create wlandev ural0 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
The following reply was made to PR usb/149162; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: Alexey A Bukreev le...@lepis.net.ru Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Mon, 2 Aug 2010 18:39:30 +0200 On Monday 02 August 2010 18:24:17 Alexey A Bukreev wrote: On 02.08.2010 10:49, Hans Petter Selasky wrote: Hi, Try to enter the debugger from the console by pressing CTRL+ALT+ESC. Use bt to get the backtrace. Then backtrace the ifconfig process. Figure out where it gets stuck. Did you run: sysctl hw.usb.ural.debug=15 --HPS I input in console ifconfig wlan0 create wlandev ural0. After I press ALT+CTRL+ESC - nothing happens. I reboot PC and input gdb ifconfig wlan0 create wlandev ural0 - result you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG I think I did it wrong :) I'm dummy. But I saw one strange thing. In one of tries I started ifconfig command and rebooted PC after 3-5 minutes. In first console I saw next messages after Uptime: Uptime: 3m21s ugen0.2: ASUS at usbus0 ural1: .. ural1: .. You can see photo of these messages: http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. I think that it's a bug in ifconfig with duplicating devices. Sorry my bad English. 1) gdb 2) type: file ifconfig 3) type: run wlan0 create wlandev ural0 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On Saturday 31 July 2010 21:34:28 Alexey A Bukreev wrote: Number: 149162 Category: usb Synopsis: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Confidential: no Severity: serious Priority: medium Responsible:freebsd-usb State: open Quarter: Keywords: Date-Required: Class: sw-bug Submitter-Id: current-users Arrival-Date: Sat Jul 31 19:40:02 UTC 2010 Closed-Date: Last-Modified: Originator: Alexey A Bukreev Release:8.1-STABLE Organization: at Home :) Environment: FreeBSD 8.1-RELEASE #0: Wed Jul 28 20:58:59 UTC 2010 (Now I can't do uname -a) Description: Hello, this a continue of PR 149058. I deleted all string about wlan ural from /etc/rc.conf System boots successfully. I input in console ifconfig wlan0 create wlandev ural0 And ifconfig hangs. Ctrl+C doesn't work in console with ifconfig #8212; ^C displays but nothing happens. Can you compile the kernel with options USB_DEBUG. Then set the following debug variable: sysctl hw.usb.ural.debug=15 What is printed in dmesg, when you try to activate the wlan0? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org