Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Sep 2013 10:34:43 -0700
From:      Sean Bruno <sean_bruno@yahoo.com>
To:        Nenhum_de_Nos <matheus@eternamente.info>
Cc:        freebsd-embedded@freebsd.org
Subject:   Re: Dlink DIR-825 B1 trial
Message-ID:  <1378316083.1706.0.camel@localhost>
In-Reply-To: <b9e5a389e69c587c54ac71e70ae47cfd.squirrel@arroway.org>
References:  <b9e5a389e69c587c54ac71e70ae47cfd.squirrel@arroway.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-oLevGopLFAyavK3E+dKy
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

On Tue, 2013-09-03 at 20:36 -0300, Nenhum_de_Nos wrote:
> hail,
>=20
> just splitting that thread. I git it to work, and when ath was on, that g=
ot on my screen.
>=20
> is this known ?
>=20
> att,
>=20
> matheus
>=20
No, I don't see this on mine.  Let me fire up it up and see what I get.

sean


> Starting kernel ...
>=20
> CPU platform: Atheros AR7161 rev 2
> CPU Frequency=3D680 MHz
> CPU DDR Frequency=3D340 MHz
> CPU AHB Frequency=3D170 MHz
> platform frequency: 680000000
> CPU reference clock: 40 MHz
> arguments:
>   a0 =3D 00000007
>   a1 =3D a3f7bfb0
>   a2 =3D a3f7c460
>   a3 =3D 00000008
> Cmd line:argv is invalid
> Environment:
> envp is invalid
> Cache info:
>   picache_stride    =3D 4096
>   picache_loopcount =3D 16
>   pdcache_stride    =3D 4096
>   pdcache_loopcount =3D 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=3D0x9ee3519e<PerfCount,WatchRegs,MIPS16,EJTAG>
>   Config3=3D0x20
> 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/freeb=
sd/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  =3D 67108864 (65536K bytes)
> avail memory =3D 59285504 (56MB)
> random device not loaded; using insecure entropy
> nexus0: <MIPS32 root nexus>
> clock0: <Generic MIPS32 ticker> 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: <PCI bus> on pcib0
> pci0: <network> at device 17.0 (no driver attached)
> pci0: <network> at device 18.0 (no driver attached)
> arge0: <Atheros AR71xx built-in ethernet interface> at mem 0x19000000-0x1=
9000fff 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: <Atheros AR71xx built-in ethernet interface> at mem 0x1a000000-0x1=
a000fff 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: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0
> spibus0: <spibus bus> on spi0
> mx25l0: <M25Pxx Flash Family> at cs 0 on spibus0
> mx25l0: m25p64, sector 65536 bytes, 128 sectors
> ar71xx_wdog0: <Atheros AR71XX watchdog timer> 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 acc=
urately
> 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: <Software, Yarrow> initialized
> ath0: <Atheros 9220> 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: <Atheros 9220> 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=3D19, val=3D0, arg_len=3D64]: Device not configured
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> *** Interface: wlan0: done
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> *** Interface: wlan1: start
> wlan1: Ethernet address: 59:44:91:53:20:11
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> ifconfig: unknown/undefined channel number 6 flags 0x480
> *** Starting hostapd..
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> 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=3D19, val=3D0, arg_len=3D64]: Device not configured
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> *** Interface: wlan1: done
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> *** Interface: bridge0: start
> ar5416StopDmaReceive: dma failed to stop in 10ms
> AR_CR=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> 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=3D0x00000024
> AR_DIAG_SW=3D0x42000020
> 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!
>=20
> FreeBSD/mips (freebsd-wifi-build) (ttyu0)
>=20
> login: wlan1: CAC timer on channel 52 (5260 MHz) expired; no radar detect=
ed
> 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_sca=
n.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 10000=
0001 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 =3D 4 (address error (load or I-fetch) - kernel mode)
> [ thread pid 0 tid 100043 ]
> Stopped at      hostap_newstate+0x358:  lw      v0,0(a0)
> db>
>=20
>=20


--=-oLevGopLFAyavK3E+dKy
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (FreeBSD)

iQEcBAABAgAGBQJSJ28wAAoJEBkJRdwI6BaHHDIH/R3+SMofQux5o3o4YYjgxuDh
DnR0vd6/t2gH93Svi4VR/wwrAwTjg05GkTzXgWrBSsX1y+7Lepv8xNt65AhMgw1/
ULtR8ExcFsF2W4UcybtV0g4kcKLxZ3qucJrlbbCVl23Yxh7ysp3erLzs8uLrVvIH
3wcWMPfCJTt/CxCe2CCbpCqEWM6zMsYPc0MMdIvM4PwOWbvlXzrYCSKFxzgPwwKa
uTwZVf+fs7pEbeUpVqN0V2iL2ur9HTf4i9C9x0nlGJxMXN8XEnDcFIFbqoSou0hn
9zCAaz7K0ndCJPAzXjs4yZaCIBfb9nwNuxna7KUXII51hsw0e0DFuNRipUTWYj8=
=QY9o
-----END PGP SIGNATURE-----

--=-oLevGopLFAyavK3E+dKy--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1378316083.1706.0.camel>