From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 4 20:02:40 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8493ACD9 for ; Wed, 4 Sep 2013 20:02:40 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from phoenix.eternamente.info (phoenix.eternamente.info [109.169.62.232]) by mx1.freebsd.org (Postfix) with ESMTP id 3456A2189 for ; Wed, 4 Sep 2013 20:02:40 +0000 (UTC) Received: by phoenix.eternamente.info (Postfix, from userid 80) id F26621CC59; Wed, 4 Sep 2013 17:02:28 -0300 (BRT) Received: from 200.164.157.132 (SquirrelMail authenticated user matheus) by arroway.org with HTTP; Wed, 4 Sep 2013 17:02:28 -0300 Message-ID: <9165aa958e7dc206da3515146181c14b.squirrel@arroway.org> In-Reply-To: <1378316083.1706.0.camel@localhost> References: <1378316083.1706.0.camel@localhost> Date: Wed, 4 Sep 2013 17:02:28 -0300 Subject: Re: Dlink DIR-825 B1 trial From: "Nenhum_de_Nos" Cc: freebsd-embedded@freebsd.org User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Sep 2013 20:02:40 -0000 On Wed, September 4, 2013 14:34, Sean Bruno wrote: > On Tue, 2013-09-03 at 20:36 -0300, Nenhum_de_Nos wrote: >> hail, >> >> just splitting that thread. I git it to work, and when ath was on, that got on my screen. >> >> is this known ? >> >> att, >> >> matheus >> > No, I don't see this on mine. Let me fire up it up and see what I get. > > sean for that to happen, I must use the hostapd config you sent the link (wiki, examples) turned on. without, no issue at all. thanks, matheus >> Starting kernel ... >> >> CPU platform: Atheros AR7161 rev 2 >> CPU Frequency=680 MHz >> CPU DDR Frequency=340 MHz >> CPU AHB Frequency=170 MHz >> platform frequency: 680000000 >> CPU reference clock: 40 MHz >> arguments: >> a0 = 00000007 >> a1 = a3f7bfb0 >> a2 = a3f7c460 >> a3 = 00000008 >> Cmd line:argv is invalid >> Environment: >> envp is invalid >> Cache info: >> picache_stride = 4096 >> picache_loopcount = 16 >> pdcache_stride = 4096 >> pdcache_loopcount = 8 >> cpu0: MIPS Technologies processor v116.147 >> MMU: Standard TLB, 16 entries >> L1 i-cache: 4 ways of 512 sets, 32 bytes per line >> L1 d-cache: 4 ways of 256 sets, 32 bytes per line >> Config1=0x9ee3519e >> Config3=0x20 >> KDB: debugger backends: ddb >> KDB: current backend: ddb >> Copyright (c) 1992-2013 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> The Regents of the University of California. All rights reserved. >> FreeBSD is a registered trademark of The FreeBSD Foundation. >> FreeBSD 10.0-CURRENT #0 r254983: Wed Aug 28 15:44:20 BRT 2013 >> root@dev:/root/work/freebsd/head/obj/mipseb/mips.mips/root/work/freebsd/head/src/sys/DIR-825 >> mips >> gcc version 4.2.1 20070831 patched [FreeBSD] >> WARNING: WITNESS option enabled, expect reduced performance. >> MEMGUARD DEBUGGING ALLOCATOR INITIALIZED: >> MEMGUARD map base: 0xc0800000 >> MEMGUARD map size: 104860 KBytes >> real memory = 67108864 (65536K bytes) >> avail memory = 59285504 (56MB) >> random device not loaded; using insecure entropy >> nexus0: >> clock0: on nexus0 >> Timecounter "MIPS32" frequency 340000000 Hz quality 800 >> Event timer "MIPS32" frequency 340000000 Hz quality 800 >> apb0 at irq 4 on nexus0 >> uart0: <16550 or compatible> on apb0 >> uart0: console (115200,n,8,1) >> pcib0 at irq 0 on nexus0 >> pcib0: ar71xx_pci_attach: missing hint 'baseslot', default to AR71XX_PCI_BASE_SLOT >> pcib0: found EEPROM at 0x1f661000 on 0.17.0 >> pcib0: EEPROM firmware: 0x1f661000 @ 4096 bytes >> pcib0: device EEPROM 'pcib.0.bus.0.17.0.eeprom_firmware' registered >> pcib0: found EEPROM at 0x1f665000 on 0.18.0 >> pcib0: EEPROM firmware: 0x1f665000 @ 4096 bytes >> pcib0: device EEPROM 'pcib.0.bus.0.18.0.eeprom_firmware' registered >> pci0: on pcib0 >> pci0: at device 17.0 (no driver attached) >> pci0: at device 18.0 (no driver attached) >> arge0: at mem 0x19000000-0x19000fff irq 2 on nexus0 >> arge0: Overriding MAC from EEPROM >> arge0: Vendor stores MAC in ASCII format >> arge0: finishing attachment, phymask 0000, proxy null >> arge0: Ethernet address: 84:c9:b2:5c:c6:bc >> arge1: at mem 0x1a000000-0x1a000fff irq 3 on nexus0 >> arge1: Overriding MAC from EEPROM >> arge1: Vendor stores MAC in ASCII format >> arge1: finishing attachment, phymask 0000, proxy null >> arge1: Ethernet address: 84:c9:b2:5c:c6:be >> spi0: at mem 0x1f000000-0x1f00000f on nexus0 >> spibus0: on spi0 >> mx25l0: at cs 0 on spibus0 >> mx25l0: m25p64, sector 65536 bytes, 128 sectors >> ar71xx_wdog0: on nexus0 >> Timecounters tick every 1.000 msec >> map/rootfs.uncompress: GEOM_ULZMA image found >> map/rootfs.uncompress: 174 x 131072 blocks >> WARNING: WITNESS option enabled, expect reduced performance. >> Trying to mount root from ufs:/dev/map/rootfs.uncompress []... >> warning: no time-of-day clock registered, system time will not be set accurately >> Aug 29 02:31:15 init: login_getclass: unknown class 'daemon' >> *** Populating /var .. >> *** Loading configuration files .. >> *** Restoring from /dev/map/cfg .. >> 1+0 records in >> 1+0 records out >> 65536 bytes transferred in 4.150455 secs (15790 bytes/sec) >> gunzip: (stdin): trailing garbage ignored >> etc/cfg/manifest >> etc/master.passwd >> etc/group >> etc/cfg/rc.conf >> etc/cfg/hostapd.wlan0.conf >> etc/cfg/hostapd.wlan1.conf >> 10 blocks >> *** Completed. >> *** setting up hostname >> *** Load kernel modules >> random: initialized >> ath0: irq 0 at device 17.0 on pci0 >> ath0: ath_pci_attach: EEPROM firmware @ 0xc6ecb000 >> ath0: [HT] enabling HT modes >> ath0: [HT] 1 stream STBC receive enabled >> ath0: [HT] 1 stream STBC transmit enabled >> ath0: [HT] 2 RX streams; 2 TX streams >> ath0: AR9220 mac 128.2 RF5133 phy 13.0 >> ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 >> ath1: irq 1 at device 18.0 on pci0 >> ath1: ath_pci_attach: EEPROM firmware @ 0xc6ece000 >> [ath] enabling AN_TOP2_FIXUP >> ath1: [HT] enabling HT modes >> ath1: [HT] 1 stream STBC receive enabled >> ath1: [HT] 1 stream STBC transmit enabled >> ath1: [HT] 2 RX streams; 2 TX streams >> ath1: AR9220 mac 128.2 RF5133 phy 13.0 >> ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 >> *** bringing up loopback .. >> *** Starting networking via /etc/rc.d/base/net >> dev.ath.0.txq_mcastq_maxdepth: 512 -> 32 >> dev.ath.1.txq_mcastq_maxdepth: 512 -> 32 >> *** Interface: arge0: start >> *** Interface: arge0: done >> *** Interface: wlan0: start >> wlan0: Ethernet address: 20:11:91:53:59:44 >> ifconfig: unknown/undefined channel number 36 flags 0x0 >> *** Starting hostapd.. >> Configuration file: /etc/cfg/hostapd.wlan0.conf >> Using interface wlan0 with hwaddr 20:11:91:53:59:44 and ssid "WLAN-TT_" >> ieee80211_load_module: load the wlan_tkip module by hand for now. >> ioctl[SIOCS80211, op=19, val=0, arg_len=64]: Device not configured >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> *** Interface: wlan0: done >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> *** Interface: wlan1: start >> wlan1: Ethernet address: 59:44:91:53:20:11 >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> ifconfig: unknown/undefined channel number 6 flags 0x480 >> *** Starting hostapd.. >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> Configuration file: /etc/cfg/hostapd.wlan1.conf >> Using interface wlan1 with hwaddr 59:44:91:53:20:11 and ssid "WLAN-T_" >> [zone: mbuf_cluster] kern.ipc.nmbclusters limit reached >> ieee80211_load_module: load the wlan_ccmp module by hand for now. >> ioctl[SIOCS80211, op=19, val=0, arg_len=64]: Device not configured >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> *** Interface: wlan1: done >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> *** Interface: bridge0: start >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> bridge0: Ethernet address: 7e:5b:05:9f:59:79 >> wlan0: promiscuous mode enabled >> bridge0: link state changed to UP >> ar5416StopDmaReceive: dma failed to stop in 10ms >> AR_CR=0x00000024 >> AR_DIAG_SW=0x42000020 >> wlan1: start 60 second CAC timer on channel 52 (5260 MHz) >> wlan1: promiscuous mode enabled >> arge0: promiscuous mode enabled >> *** Interface: bridge0: done >> *** Default password/login databases .. >> *** inetd >> *** Done! >> >> FreeBSD/mips (freebsd-wifi-build) (ttyu0) >> >> login: wlan1: CAC timer on channel 52 (5260 MHz) expired; no radar detected >> wlan1: ieee80211_new_state_locked: pending CAC -> RUN transition lost >> lock order reversal: (sleepable after non-sleepable) >> 1st 0xc70a3014 ath1_com_lock (ath1_com_lock) @ >> /root/work/freebsd/head/src/sys/modules/wlan/../../net80211/ieee80211_scan.c:686 >> 2nd 0x8036dff8 user map (user map) @ /root/work/freebsd/head/src/sys/vm/vm_glue.c:168 >> KDB: stack backtrace: >> db_trace_thread+30 (?,?,?,?) ra c836189000000018 sp 0 sz 0 >> db_trace_self+1c (?,?,?,?) ra c83618a800000018 sp 0 sz 0 >> 8007ad18+34 (?,?,?,?) ra c83618c0000001a0 sp 0 sz 0 >> kdb_backtrace+44 (?,?,?,?) ra c8361a6000000018 sp 0 sz 0 >> 801704b8+34 (?,?,?,?) ra c8361a7800000020 sp 0 sz 0 >> witness_checkorder+b0c (?,?,802f97d4,a8) ra c8361a9800000050 sp 0 sz 1 >> _sx_slock+c0 (?,?,?,?) ra c8361ae800000030 sp 0 sz 0 >> _vm_map_lock_read+40 (?,?,?,?) ra c8361b1800000018 sp 0 sz 0 >> useracc+80 (?,?,?,?) ra c8361b3000000028 sp 0 sz 0 >> 802a7dc4+dc (?,?,?,?) ra c8361b5800000040 sp 0 sz 0 >> trap+e6c (?,?,?,?) ra c8361b98000000b8 sp 0 sz 0 >> MipsKernGenException+134 (ffff,9,806089b0,0) ra c8361c50000000c8 sp 100000001 sz 1 >> hostap_newstate+358 (?,?,?,?) ra c8361d1800000038 sp 0 sz 0 >> ath_newstate+2c0 (?,?,?,?) ra c8361d5000000058 sp 0 sz 0 >> ieee80211_newstate_cb+20c (?,?,?,?) ra c8361da800000040 sp 0 sz 0 >> 801630c8+e8 (?,?,?,?) ra c8361de800000038 sp 0 sz 0 >> taskqueue_thread_loop+8c (?,?,?,?) ra c8361e2000000038 sp 0 sz 0 >> fork_exit+b0 (?,?,?,?) ra c8361e5800000028 sp 0 sz 0 >> fork_trampoline+10 (?,?,?,?) ra c8361e8000000000 sp 0 sz 0 >> pid 0 >> Trap cause = 4 (address error (load or I-fetch) - kernel mode) >> [ thread pid 0 tid 100043 ] >> Stopped at hostap_newstate+0x358: lw v0,0(a0) >> db> >> >> > > -- We will call you Cygnus, The God of balance you shall be A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? http://en.wikipedia.org/wiki/Posting_style