From owner-freebsd-current@FreeBSD.ORG Fri Oct 26 06:49:20 2007 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 C35F416A417 for ; Fri, 26 Oct 2007 06:49:20 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by mx1.freebsd.org (Postfix) with ESMTP id 9325913C48E for ; Fri, 26 Oct 2007 06:49:20 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so624659rvb for ; Thu, 25 Oct 2007 23:49:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:organization:x-operation-sytem:from; bh=BF9ZT5s63Kh8os++DtQSVTOQXcXMZjBccU68d4XvPek=; b=ZNPh60lzpwyqHLQ9EK32JAj+aGdZ+XcTlGRscOpqHm6aHMhlBVtQ2EGBzS6SxJ/PMqOjCtL0cUPsISB97RvUKyUZ79+F4e1MqnqHW5Hi5UzFxZLPahxxo8OPduMz8itA6m/gG9omjYhsk98vm69B2A7hKt4XSLN4xRi3/v/PQo4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:organization:x-operation-sytem:from; b=g6ZX4J2avJLcyFpmimxpxL4j+tHuF8gxawvJrkusA4KieTvgTHIArecs+urULJHpb0oRIHbanPukUFq9x1jnzq8AgfWnROxkpX1fieZBPxn2VLiwH1pUwvT4yINsWlLHM9UTwp38X4EEC1nJxGeSzkCFT4PdvL+w9awbd6FSRsM= Received: by 10.141.78.14 with SMTP id f14mr1367953rvl.1193381360036; Thu, 25 Oct 2007 23:49:20 -0700 (PDT) Received: from freebsd.weongyo.org ( [211.53.35.67]) by mx.google.com with ESMTPS id c36sm5177096rvf.2007.10.25.23.49.16 (version=SSLv3 cipher=OTHER); Thu, 25 Oct 2007 23:49:17 -0700 (PDT) Received: by freebsd.weongyo.org (sSMTP sendmail emulation); Fri, 26 Oct 2007 15:49:25 +0900 Date: Fri, 26 Oct 2007 15:49:25 +0900 To: Ted Lindgreen Message-ID: <20071026064925.GA8842@freebsd.weongyo.org> References: <200710240911.l9O9BOVa083957@omval.tednet.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710240911.l9O9BOVa083957@omval.tednet.nl> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD From: Weongyo Jeong Cc: freebsd-current@freebsd.org, Warner Losh Subject: Re: New if_zyd driver 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: Fri, 26 Oct 2007 06:49:20 -0000 On Wed, Oct 24, 2007 at 11:11:24AM +0200, Ted Lindgreen wrote: > An addition to my previous reply: > > [Quoting Ted Lindgreen, on Oct 24, 9:41, in "Re: New if_zyd drive ..."] > > [Quoting Weongyo Jeong, on Oct 20, 13:43, in "Re: New if_zyd drive ..."] > > .... > > > I send you a patch which is attached with this email to fix a reset > > > problem of the zyd driver when we reboot. > > > > > > In my environment, this patch was worked. Would you please test this > > > patch and send me results? I hope it works. :-) > > > > Sorry for the delay (I am traveling by boat with very limited > > internet access). > > > > I have applied the patch and rebooted with the new kernel. > > However, the zyd-card does not work after the warm boot. > > Yanking and reinstalling the stick fixes the problem, though. > > > > The relevant logs. > > After the warm reboot: > > zyd0: on uhub4 > > zyd0: could not load firmware (error=5) > > device_attach: zyd0 attach returned 5 > > pcib1: at device 30.0 on pci0 > > pcib1: domain 0 > > > > after yanking and reinserting: > > zyd0: at uhub4 port 1 (addr 2) disconnected > > zyd0: on uhub4 > > zyd0: HMAC ZD1211B, FW 47.25, RF AL2230, PA 0, address 00:02:72:57:48:76 > > zyd0: bpf attached > > zyd0: Ethernet address: 00:02:72:57:48:76 > > zyd0: if_start running deferred for Giant > > zyd0: bpf attached > > zyd0: bpf attached > > zyd0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > > zyd0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36M > > bps 48Mbps 54Mbps > > zyd0: link state changed to UP > >... > [End of quote from Ted Lindgreen, on Oct 24, 9:41] > > After rebooting, warm and cold several times more (about 20), I could > NOT reproduce above "error=5" anymore. > > So, it seems that the patch DOES work. after all! > > An explanation for the ""error=5" after the first reboot, > may be that during this warm reboot the old firmware was > still in the stick. > > regards, > -- ted That sounds cool! I will try to reflect patch to CURRENT. Thanks again for your feedback. :-) Regards, Weongyo Jeong