From owner-freebsd-current@FreeBSD.ORG Sat Mar 27 13:01:52 2010 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 7DDA7106566B for ; Sat, 27 Mar 2010 13:01:52 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-yx0-f175.google.com (mail-yx0-f175.google.com [209.85.210.175]) by mx1.freebsd.org (Postfix) with ESMTP id 31BA48FC08 for ; Sat, 27 Mar 2010 13:01:51 +0000 (UTC) Received: by yxe5 with SMTP id 5so301242yxe.3 for ; Sat, 27 Mar 2010 06:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=l5yAKAizzLXq7RDZR5/l3N/KWbJMoHCvjCbC59DId8c=; b=OaWDDHplLiifF7QvbTwYvpg/F9UWMgtaMAeE3a0EKGrj4bCqWXeUkjRukR0EZYXTHM v0D/kgRuO+7Hi54won+bX9aG/zGkJLQoRMVKHqCrYQ+7StK4AOr92jUJFJMUrfDY8euO DJsrTIgIUGk2R1CrtBwBiPxiDMlZ7XLdcPCpI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ZuU0fJ/x5R13ow+Z0HRTrd3guwOUkAiFPBf+8XW8V22QgAWs5SAvsY9QMBdetvvgJq Cj4tqdXghxYuElPNLKkOgu4UZpaIbtXhm4raIUT6iuEhLJjd8i4O6MJC36Hf07DeUbcU seOpAq0jqteoTCY7Hqb0cNiPf9AuTFwkWDIFo= Received: by 10.101.214.4 with SMTP id r4mr4284943anq.141.1269694911249; Sat, 27 Mar 2010 06:01:51 -0700 (PDT) Received: from beastie.micom.mng.net ([202.179.21.133]) by mx.google.com with ESMTPS id 22sm1800470iwn.8.2010.03.27.06.01.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 27 Mar 2010 06:01:50 -0700 (PDT) Message-ID: <4BAE01AC.7000509@gmail.com> Date: Sat, 27 Mar 2010 21:01:32 +0800 From: Ganbold User-Agent: Thunderbird 2.0.0.23 (X11/20091011) MIME-Version: 1.0 To: PseudoCylon References: <16641.96608.qm@web51806.mail.re2.yahoo.com> <4B9FA3E0.4050702@micom.mng.net> <633929.41041.qm@web51802.mail.re2.yahoo.com> <4BA22B8D.9030700@micom.mng.net> <375331.74876.qm@web51804.mail.re2.yahoo.com> <4BA38B26.6050208@micom.mng.net> <989377.89740.qm@web51802.mail.re2.yahoo.com> In-Reply-To: <989377.89740.qm@web51802.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org Subject: Re: CALL for TEST [HOSTAP] run(4) ralink usb wireless 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: Sat, 27 Mar 2010 13:01:52 -0000 PseudoCylon wrote: >>> Same. >>> > > JFYI, I have just tested if_run and works fine on HEAD (i386). But on RouterStation Pro it still has problem with your patch. Ganbold >>> >>> rspro# ifconfig wlan0 up >>> >>> rspro# Trap cause = 5 (address error (store) - kernel >>> >> mode) >> >>> [ thread pid 0 tid 100047 ] >>> Stopped at >>> >> ieee80211_radiotap_vdetach+0x70: >> sh v1,0(a0) >> >>> db> bt >>> Tracing pid 0 >>> >> tid 100047 td 0xc0f1f260 >> >>> db_trace_thread+30 (?,?,?,?) ra 80071160 sp >>> >> c7ec9948 sz 24 >> >>> 80071044+11c (0,?,ffffffff,?) ra 80070b54 sp c7ec9960 >>> >> sz 32 >> >>> 800707c0+394 (?,?,?,?) ra 80070ce4 sp c7ec9980 sz >>> >> 168 >> >>> db_command_loop+78 (?,?,?,?) ra 800733b8 sp c7ec9a28 sz >>> >> 24 >> >>> 800732b0+108 (?,?,?,?) ra 801d8b1c sp c7ec9a40 sz 424 >>> >>> >> kdb_trap+10c (?,?,?,?) ra 803c2690 sp c7ec9be8 sz 32 >> >>> trap+134c >>> >> (?,?,?,?) ra 803b97c8 sp c7ec9c08 sz 176 >> >>> MipsKernGenException+10c >>> >> (c0f6a637,c0f721c8,c7ea7c04,e51) ra 802c95b8 sp >> >>> c7ec9cb8 sz >>> >> 200 >> >>> 802c95a8+10 (?,?,?,?) ra 0 sp c7ec9d80 sz 0 >>> pid >>> >> 0 >> >>> db> >>> >>> Ganbold >>> >>> > > Hi, > > Can you try this patch? (Patch is for if_run.c) > > Before "ifconfig wlan0 up", please run > sysctl hw.usb.run.debug=1 > This will give me more clues. > > Does it panic right after wlan up, or are there some seconds before panic? > > Regards, > AK > > -- begin patch -- > > *** old_if_run.c 2010-03-27 02:44:20.000000000 -0600 > --- new_if_run.c 2010-03-27 02:47:28.000000000 -0600 > *************** > *** 414,416 **** > static const struct { > ! uint32_t reg; > uint32_t val; > --- 414,416 ---- > static const struct { > ! uint16_t reg; > uint32_t val; > *************** > *** 1225,1227 **** > > ! *val = tmp & 0xff; > return 0; > --- 1225,1227 ---- > > ! *val = (uint8_t)(tmp & 0xff); > return 0; > > > __________________________________________________________________ > The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/ > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > -- The Bible is not my Book and Christianity is not my religion. I could never give assent to the long complicated statements of Christian dogma. -- Abraham Lincoln