From: Joerg Dorchain (joerg_at_dorchain.net)
Date: 2002-07-25 19:05:53 UTC
On Thu, Jul 25, 2002 at 09:19:53PM +0300, Jouni Malinen wrote:
>
> > When checking stuff out from cvs, the cvs checkout hangs after U
> > hostap/utils/prism2_srec.c. Nevertheless the cvs modules looks complete.
>
> Were you using compression? That is a known issue in my cvs
> configuration and I haven't yet had time to debug it. It seems to work
> fine without compression and with compression, the only visible problems
> seems to be the hang (i.e., files are OK).
Yes, that was with compression. I thought it would make sense to save
some bandwidth for a complete new checkout.
>
> > At least, the card works principally.
>
> OK, good to know.
>
> >
> > wlan0: manual reset request(1)
> > hostap_plx: wlan0: resetting card
> > hostap_plx: Doing reset via direct COR access.
> > Unable to handle kernel paging request at virtual address 0000b800
>
> Argh.. Not good. Copy-paste error in cor_sreset (I used writeb, when it
> should have been outb). Fixed in CVS. Sorry for crashing your kernel,
I did not crash the kernel. The only side efect was that the modules could not be unloaded anymore. That's the difference between a crash and a controlled reboot ;-)
> but could you please still test the latest version?
I would, but it seems not to be in the repository yet. I fixed this typo by hand.
--- hostap_plx.c 25 Jul 2002 16:07:00 -0000 1.25 +++ hostap_plx.c 25 Jul 2002 19:03:37 -0000 @@ -121,7 +121,7 @@ corsave = inb(local->cor_offset); outb(corsave | COR_SRESET, local->cor_offset); mdelay(1); - writeb(corsave & ~COR_SRESET, local->cor_offset); + outb(corsave & ~COR_SRESET, local->cor_offset); mdelay(1); } else { /* PLX9052 */
BTW, wavemon now shows useful data. Nice feature :)
Now iwpriv wlan0 reset 1 works. dmesg reults: wlan0: manual reset request(1)
hostap_plx: wlan0: resetting card hostap_plx: Doing reset via direct COR access. prism2_hw_init() prism2_hw_config: initialized in 9806 iterationswlan0: LinkStatus=1 (Connected)
The card was busy with a flood ping at that time ;-)
Good work, I'd say. Thank you.
Bye,
Joerg