From owner-freebsd-current@FreeBSD.ORG Sun May 17 23:08:17 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36220106566B for ; Sun, 17 May 2009 23:08:17 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id D44D78FC0A for ; Sun, 17 May 2009 23:08:16 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1953571qwe.7 for ; Sun, 17 May 2009 16:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:received :message-id:date:subject:from:to:user-agent:mime-version :content-type:content-transfer-encoding:x-priority:importance; bh=/uitnVJx6D1VY+hPJ6adTbIJ0cOibr2RxNJBTgNlRD0=; b=MF1zPWnmplbr3ueDKhj7iV37JzOZGofOuEl+WKYh6YsNNA0tZ6LAxYehXiT7Htjm3G 22+qTr99pIAeBqEDOG3EiwWc3KCDxlNob1b38O5wUWseVHYSSbd0cg+h8l1LdyfAhmbO Ul1UJYEtmwxfRfW12TW9tzBW9zJytwVP/NB6U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:subject:from:to:user-agent:mime-version :content-type:content-transfer-encoding:x-priority:importance; b=TtZApyeSN93GMT98WhOoGX9+mdVizegcLAkzssdeD7pK5Mcvxjj4sqmNy9t44ySFOf NsYqfrXwtX0yzdKDaeMveXg4hWDo6mGlGVe5omtYiPPJy0Zdp/QJiSzKJCKwvJr6LBHj 0lm0vcKg4CCMav8SpwHqfqFogoGJVSFG2h81M= Received: by 10.224.73.213 with SMTP id r21mr5851275qaj.201.1242601696116; Sun, 17 May 2009 16:08:16 -0700 (PDT) Received: from cygnus.homeunix.com (201008164081.user.veloxzone.com.br [201.8.164.81]) by mx.google.com with ESMTPS id 26sm1518122qwa.48.2009.05.17.16.08.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 17 May 2009 16:08:15 -0700 (PDT) Sender: Nenhum_de_Nos Received: by cygnus.homeunix.com (Postfix, from userid 80) id 7AA62B8143; Sun, 17 May 2009 20:08:09 -0300 (BRT) Received: from 10.1.1.80 (SquirrelMail authenticated user matheus) by 10.1.1.10 with HTTP; Sun, 17 May 2009 20:08:09 -0300 (BRT) Message-ID: <726e1882eb2ec94370bfec1666ec20f2.squirrel@10.1.1.10> Date: Sun, 17 May 2009 20:08:09 -0300 (BRT) From: "Nenhum_de_Nos" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: is my slow for this ? hostap related X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2009 23:08:17 -0000 hail, I have an atheros wlan card: ath0@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) @ /usr/src/sys/net80211/ieee80211_ioctl.c:1315 May 17 13:01:49 floyd kernel: 2nd 0xc229d014 ath0_com_lock (ath0_com_lock) @ /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@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 real memory = 136314880 (130 MB) avail memory = 95809536 (91 MB) kbd1 at kbdmux0 pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) uhci0: port 0xe000-0xe01f irq 11 at device 9.0 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x201a usbus0: on uhci0 uhci1: port 0xe100-0xe11f irq 15 at device 9.1 on pci0 uhci1: [ITHREAD] uhci1: LegSup = 0x2010 usbus1: on uhci1 ehci0: mem 0xe8192000-0xe81920ff irq 5 at device 9.2 on pci0 ehci0: [ITHREAD] usbus2: EHCI version 1.0 usbus2: on ehci0 atapci0: 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: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] ata5: on atapci0 ata5: [ITHREAD] vgapci0: port 0xe700-0xe7ff mem 0xe0000000-0xe7ffffff,0xe8180000-0xe818ffff irq 10 at device 13.0 on pci0 isab0: at device 17.0 on pci0 isa0: on isab0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe800-0xe80f at device 17.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] pci0: at device 17.4 (no driver attached) vr0: port 0xeb00-0xebff mem 0xe8191000-0xe81910ff irq 11 at device 18.0 on pci0 vr0: Quirks: 0x0 vr0: Revision: 0x51 miibus0: on vr0 ukphy0: 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 port 0x70-0x71 irq 8 pnpid PNP0b00 on isa0 atkbdc0: at port 0x60,0x64 irq 1 pnpid PNP0303 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] unknown: can't assign resources (memory) orm0: at iomem 0xc0000-0xc8fff,0xcc000-0xcffff,0xd0000-0xd9fff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: parallel port not found. unknown: 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: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: 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 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: at usbus1 ukbd0: on usbus1 kbd2 at ukbd0 ums0: 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: at usbus0 ugen0.2: at usbus0 (disconnected) uhub_reattach_port:417: could not allocate new device! ugen0.2: at usbus0 u3g0: 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: 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: at usbus1 ugen1.3: at usbus1 (disconnected) uhub_reattach_port:417: could not allocate new device! ugen1.3: at usbus1 u3g0: 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: at usbus1 (disconnected) u3g0: at uhub1, port 2, addr 3 (disconnected) ugen1.3: at usbus1 uark0: 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