Date: Tue, 8 Mar 2005 01:32:27 GMT From: Mark Knight <markk@knigma.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/78570: "wicontrol -i wi0 -C" outputs garbage Message-ID: <200503080132.j281WRYH001684@shrewd.pub.knigma.org> Resent-Message-ID: <200503080140.j281e2Ts068661@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 78570 >Category: bin >Synopsis: "wicontrol -i wi0 -C" outputs garbage >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 08 01:40:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Mark Knight >Release: FreeBSD 5.4-PRERELEASE i386 >Organization: >Environment: System: FreeBSD shrewd.pub.knigma.org 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Tue Mar 8 00:35:53 GMT 2005 root@shrewd.pub.knigma.org:/slave/usr/obj/usr/src/sys/SHREWD i386 >Description: Since at least 5.3, wicontrol -i wi0 -C has been broken. The same interface configuration used to work fine on RELENG_4. Shame, since it's a really good way to see who's been associated to a "hostap" access point. wicontrol -i wi0 -l works fine. wicontrol -i wi0 -C displays total nonsense before dumping core: [1/1614089728]: 32:80:00:00:00:00, 54.0.0.0, sig: 0, noise: 0, qual: 0 [2/1614089728]: 00:00:00:00:00:00, 0.0.0.0, sig: 0, noise: 0, qual: 0 [3/1614089728]: 00:00:00:00:00:00, 0.0.0.0, sig: 0, noise: 0, qual: 0 ......snip lots of garbage........ [209/1614089728]: 00:00:00:00:00:00, 0.0.0.0, sig: 0, noise: 0, qual: 0 [210/1614089728]: 00:00:00:00:00:00, 0.0.0.0, sig: 0, noise: 0, qual: 0 [211/1614089728]: 00:00:00:00:00:00, 0.0.0.0, sig: 0, noise: 0, qual: Bus error (core dumped) gdb: #0 0x0804ad63 in wi_readcache (iface=0xbfbfeceb "wi0") at /usr/src/usr.sbin/wicontrol/wicontrol.c:1044 1044 printf(" %02x:%02x:%02x:%02x:%02x:%02x,", #1 0x0804afd7 in main (argc=4, argv=0xbfbfebd8) at /usr/src/usr.sbin/wicontrol/wicontrol.c:1112 dmesg: wi0: <Intersil Prism2.5> mem 0xf15ff000-0xf15fffff irq 11 at device 10.0 on pci1 wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI) wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9) wi0: Ethernet address: 00:09:5b:2f:b3:03 wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ifconfig: wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::209:5bff:fe2f:b303%wi0 prefixlen 64 scopeid 0x2 inet 217.169.23.233 netmask 0xfffffff8 broadcast 217.169.23.239 inet6 2001:8b0:b0:3:209:5bff:fe2f:b303 prefixlen 64 inet6 2001:8b0:b0:3:: prefixlen 64 anycast ether 00:09:5b:2f:b3:03 media: IEEE 802.11 Wireless Ethernet DS/11Mbps <hostap> (DS/2Mbps <hostap>) status: associated ssid knigma 1:knigma stationname "FreeBSD WaveLAN/IEEE node" channel 7 authmode OPEN powersavemode OFF powersavesleep 100 rtsthreshold 2312 protmode CTS wepmode OFF weptxkey 1 >How-To-Repeat: wicontrol -i wi0 -C >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503080132.j281WRYH001684>