is my slow for this ? hostap related

From: Nenhum_de_Nos <matheus_at_eternamente.info>
Date: Sun, 17 May 2009 20:08:09 -0300 (BRT)
hail,

I have an atheros wlan card:

ath0_at_pci0:0:11:0:       class=0x020000 card=0x3a131186 chip=0x0013168c
rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
    class      = network
    subclass   = ethernet


and I'm having some problems with it:

May 17 13:00:06 floyd kernel: ath0: stuck beacon; resetting (bmiss count 4)
May 17 13:00:37 floyd last message repeated 18 times
May 17 13:01:46 floyd last message repeated 47 times
May 17 13:01:49 floyd kernel: lock order reversal:
May 17 13:01:49 floyd kernel: 1st 0xc229e6b8 ath0_node_lock
(ath0_node_lock) _at_ /usr/src/sys/net80211/ieee80211_ioctl.c:1315
May 17 13:01:49 floyd kernel: 2nd 0xc229d014 ath0_com_lock (ath0_com_lock)
_at_ /usr/src/sys/net80211/ieee80211_node.c:2458
May 17 13:01:49 floyd kernel: KDB: stack backtrace:
May 17 13:01:49 floyd kernel:
db_trace_self_wrapper(c0c7a11e,c826a934,c08d2a15,c08c491b,c0c7cf03,...) at
db_trace_self_wrapper+0x26
May 17 13:01:49 floyd kernel:
kdb_backtrace(c08c491b,c0c7cf03,c212c008,c212bfa0,c826a990,...) at
kdb_backtrace+0x29
May 17 13:01:49 floyd kernel:
_witness_debugger(c0c7cf03,c229d014,c229d004,c212bfa0,c0c8a7f4,...) at
_witness_debugger+0x25
May 17 13:01:49 floyd kernel:
witness_checkorder(c229d014,9,c0c8a7f4,99a,0,...) at
witness_checkorder+0x839
May 17 13:01:49 floyd kernel:
_mtx_lock_flags(c229d014,0,c0c8a7f4,99a,64,...) at _mtx_lock_flags+0xc4
May 17 13:01:49 floyd kernel:
ieee80211_node_leave(c2791000,c0,2,c2791000,c229e6a4,...) at
ieee80211_node_leave+0xa5
May 17 13:01:49 floyd kernel:
domlme(c826aa2c,c2791000,c0c8a6b8,523,c826aa5e,...) at domlme+0x83
May 17 13:01:49 floyd kernel:
setmlme_common(2,c826aa5a,2a,28033f0c,1a000002,...) at
setmlme_common+0x115
May 17 13:01:49 floyd kernel:
ieee80211_ioctl_setmlme(c23f6e00,c826aaa8,c08d4619,4,0,...) at
ieee80211_ioctl_setmlme+0x74
May 17 13:01:49 floyd kernel:
ieee80211_ioctl_set80211(c2444900,1b9,c08d27bb,c0c85956,c0c6f8cf,...) at
ieee80211_ioctl_set80211+0x559
May 17 13:01:49 floyd kernel:
ieee80211_ioctl(c23d2800,801c69ea,c23d79c0,c0f05ac0,c23d2800,...) at
ieee80211_ioctl+0x2ea
May 17 13:01:49 floyd kernel:
in_control(c24727bc,801c69ea,c23d79c0,c23d2800,c2444900,...) at
in_control+0x1e9
May 17 13:01:49 floyd kernel:
ifioctl(c24727bc,801c69ea,c23d79c0,c2444900,801c69ea,...) at ifioctl+0x33e
May 17 13:01:49 floyd kernel:
soo_ioctl(c24054d0,801c69ea,c23d79c0,c2174400,c2444900,...) at
soo_ioctl+0x397
May 17 13:01:49 floyd kernel:
kern_ioctl(c2444900,3,801c69ea,c23d79c0,8cc370,...) at kern_ioctl+0x1dd
May 17 13:01:49 floyd kernel:
ioctl(c2444900,c826acf8,c,c0c7da08,c0d597b0,...) at ioctl+0x134
May 17 13:01:49 floyd kernel: syscall(c826ad38) at syscall+0x2a3
May 17 13:01:49 floyd kernel: Xint0x80_syscall() at Xint0x80_syscall+0x20
May 17 13:01:49 floyd kernel: --- syscall (54, FreeBSD ELF32, ioctl), eip
= 0x281d78f3, esp = 0xbfbfeb7c, ebp = 0xbfbfebc8 ---
May 17 13:01:50 floyd kernel: ath0: stuck beacon; resetting (bmiss count 4)
May 17 13:02:21 floyd last message repeated 17 times
May 17 13:04:22 floyd last message repeated 74 times
May 17 13:14:23 floyd last message repeated 1540 times
May 17 13:19:36 floyd last message repeated 996 times
May 17 13:19:36 floyd su: matheus to root on /dev/pts/2
May 17 13:19:36 floyd kernel: ath0: stuck beacon; resetting (bmiss count 4)
May 17 13:20:07 floyd last message repeated 89 times
May 17 13:22:08 floyd last message repeated 376 times

I've read this:

http://www.nabble.com/ath0:-stuck-beacon--resetting-(bmiss-count-4)-td22359155.html

and I'm thinking my pc is slow for the job, as said.

floyd# cat dmesg.today
Copyright (c) 1992-2009 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 8.0-CURRENT #0: Tue May  5 23:08:28 BRT 2009
    root_at_floyd.apartnet:/usr/obj/usr/src/sys/Floyd8
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Transmeta(tm) Crusoe(tm) Processor TM5700 (798.13-MHz 586-class CPU)
  Origin = "GenuineTMx86"  Id = 0x543  Stepping = 3
  Features=0x84893f<FPU,VME,DE,PSE,TSC,MSR,CX8,SEP,CMOV,PN,MMX>
real memory  = 136314880 (130 MB)
avail memory = 95809536 (91 MB)
kbd1 at kbdmux0
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 5 Entries> on motherboard
pci0: <PCI bus> on pcib0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 11 at device 9.0
on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x201a
usbus0: <VIA 83C572 USB controller> on uhci0
uhci1: <VIA 83C572 USB controller> port 0xe100-0xe11f irq 15 at device 9.1
on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x2010
usbus1: <VIA 83C572 USB controller> on uhci1
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xe8192000-0xe81920ff irq 5 at
device 9.2 on pci0
ehci0: [ITHREAD]
usbus2: EHCI version 1.0
usbus2: <VIA VT6202 USB 2.0 controller> on ehci0
atapci0: <SiI 3114 SATA150 controller> port
0xe200-0xe207,0xe300-0xe303,0xe400-0xe407,0xe500-0xe503,0xe600-0xe60f mem
0xe8190000-0xe81903ff irq 15 at device 11.0 on pci0
atapci0: [ITHREAD]
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci0
ata4: [ITHREAD]
ata5: <ATA channel 3> on atapci0
ata5: [ITHREAD]
vgapci0: <VGA-compatible display> port 0xe700-0xe7ff mem
0xe0000000-0xe7ffffff,0xe8180000-0xe818ffff irq 10 at device 13.0 on pci0
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <VIA 8231 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe800-0xe80f at device 17.1 on pci0
ata0: <ATA channel 0> on atapci1
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci1
ata1: [ITHREAD]
pci0: <bridge> at device 17.4 (no driver attached)
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xeb00-0xebff mem
0xe8191000-0xe81910ff irq 11 at device 18.0 on pci0
vr0: Quirks: 0x0
vr0: Revision: 0x51
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:13:21:ee:26:00
vr0: [ITHREAD]
cpu0 on motherboard
pmtimer0 on isa0
atrtc0: <AT realtime clock> at port 0x70-0x71 irq 8 pnpid PNP0b00 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 irq 1 pnpid
PNP0303 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
unknown: <PNP0c01> can't assign resources (memory)
orm0: <ISA Option ROMs> at iomem
0xc0000-0xc8fff,0xcc000-0xcffff,0xd0000-0xd9fff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: parallel port not found.
unknown: <PNP0c01> can't assign resources (memory)
Timecounter "TSC" frequency 798131539 Hz quality 800
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
ugen0.1: <VIA> at usbus0
uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <VIA> at usbus1
uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <VIA> at usbus2
uhub2: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 4 ports with 4 removable, self powered
ad4: 6149MB <SAMSUNG SV0643D KT100> at ata2-master SATA150
WARNING: WITNESS option enabled, expect reduced performance.
GEOM: ad4s1: geometry does not match label (255h,63s != 15h,63s).
GEOM: ad4s2: geometry does not match label (255h,63s != 15h,63s).
GEOM_LABEL: Label for provider ad4s1a is ufsid/48a498393b6d8bea.
Trying to mount root from ufs:/dev/ad4s1a
ugen1.2: <GM-TEK> at usbus1
ukbd0: <HID Keyboard> on usbus1
kbd2 at ukbd0
ums0: <HID Mouse> on usbus1
ums0: 3 buttons and [XYZ] coordinates ID=0
GEOM_LABEL: Label ufsid/48a498393b6d8bea removed.
GEOM_LABEL: Label for provider ad4s1a is ufsid/48a498393b6d8bea.
GEOM_LABEL: Label ufsid/48a498393b6d8bea removed.
module_register: module uhub/u3g already exists!
Module uhub/u3g failed to register: 17
u3g_huawei_init:252:
usb2_alloc_device:1791: Found Huawei auto-install disk!
ugen0.2: <HUAWEI Technologies> at usbus0
ugen0.2: <HUAWEI Technologies> at usbus0 (disconnected)
uhub_reattach_port:417: could not allocate new device!
ugen0.2: <HUAWEI Technologies> at usbus0
u3g0: <Data Interface> on usbus0
u3g0: Found 2 ports.
tun0: link state changed to UP
vr0: promiscuous mode enabled
vr0: promiscuous mode disabled
tun0: promiscuous mode enabled
tun0: promiscuous mode disabled
tun0: promiscuous mode enabled
tun0: promiscuous mode disabled
ugen0.2: <HUAWEI Technologies> at usbus0 (disconnected)
u3g0: at uhub0, port 2, addr 2 (disconnected)
u3g_huawei_init:252:
usb2_alloc_device:1791: Found Huawei auto-install disk!
ugen1.3: <HUAWEI Technologies> at usbus1
ugen1.3: <HUAWEI Technologies> at usbus1 (disconnected)
uhub_reattach_port:417: could not allocate new device!
ugen1.3: <HUAWEI Technologies> at usbus1
u3g0: <Data Interface> on usbus1
u3g0: Found 2 ports.
tun0: link state changed to DOWN
tun0: link state changed to UP
tun0: link state changed to DOWN
tun0: link state changed to UP
tun0: promiscuous mode enabled
tun0: promiscuous mode disabled
tun0: promiscuous mode enabled
tun0: promiscuous mode disabled
ugen1.3: <HUAWEI Technologies> at usbus1 (disconnected)
u3g0: at uhub1, port 2, addr 3 (disconnected)
ugen1.3: <ArkMicroChips> at usbus1
uark0: <ArkMicroChips USB-UART Controller, class 0/0, rev 1.10/0.01, addr
3> on usbus1

as soon as I installed the atheros card it was ok, slow but ok. now it
doesn't even work. as was said to be slow, I recompiled kernel without
debug stuff. same problem ...

is this crusoe really slow for this ? I tried to compare this to geode
from alix and soekris I've seen many people say to run as AP, but couldn't
find any comparison. so now I'm asking here :)

the box is used just as AP, 128MB ram and ide 44 pin to 40 pin ide disk.
I'm running current i386 as of may 5.

thanks,

matheus

-- 
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
Received on Sun May 17 2009 - 21:08:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC