Re: New if_zyd driver

From: Ted Lindgreen <ted_at_tednet.nl>
Date: Wed, 24 Oct 2007 11:11:24 +0200
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: <ZyDAS USB2.0 WLAN, class 255/255, rev 2.00/48.10, addr 2> on uhub4
>  zyd0: could not load firmware (error=5)
>  device_attach: zyd0 attach returned 5
>  pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
>  pcib1:   domain            0
> 
> after yanking and reinserting:
>  zyd0: at uhub4 port 1 (addr 2) disconnected
>  zyd0: <ZyDAS USB2.0 WLAN, class 255/255, rev 2.00/48.10, addr 2> 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
Received on Wed Oct 24 2007 - 07:12:56 UTC

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