From owner-freebsd-current@FreeBSD.ORG Wed Oct 24 09:12:56 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 1F9A416A41A for ; Wed, 24 Oct 2007 09:12:56 +0000 (UTC) (envelope-from ted@omval.tednet.nl) Received: from omval.tednet.nl (omval.tednet.nl [IPv6:2001:7b8:206:1:200:39ff:fe59:b187]) by mx1.freebsd.org (Postfix) with ESMTP id 7FE4E13C465 for ; Wed, 24 Oct 2007 09:12:54 +0000 (UTC) (envelope-from ted@omval.tednet.nl) Received: from omval.tednet.nl (localhost [127.0.0.1]) by omval.tednet.nl (8.14.1/8.14.1) with ESMTP id l9O9BPhU083958; Wed, 24 Oct 2007 11:11:25 +0200 (CEST) (envelope-from ted@omval.tednet.nl) Received: (from ted@localhost) by omval.tednet.nl (8.14.1/8.14.1/Submit) id l9O9BOVa083957; Wed, 24 Oct 2007 11:11:24 +0200 (CEST) (envelope-from ted) Message-Id: <200710240911.l9O9BOVa083957@omval.tednet.nl> From: ted@tednet.nl (Ted Lindgreen) Date: Wed, 24 Oct 2007 11:11:24 +0200 In-Reply-To: "Ted Lindgreen's message as of Oct 24, 9:41" X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: ted@tednet.nl (Ted Lindgreen), Weongyo Jeong X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (omval.tednet.nl [127.0.0.1]); Wed, 24 Oct 2007 11:11:25 +0200 (CEST) X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on omval.tednet.nl X-Mailman-Approved-At: Wed, 24 Oct 2007 11:38:52 +0000 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: Wed, 24 Oct 2007 09:12:56 -0000 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