[rt2x00-users] rt2800pci: hang on module unload (SoC) and possible fix
Antonio Quartulli
ordex at ritirata.org
Sun Apr 25 23:33:27 UTC 2010
Hi all,
On dom, apr 25, 2010 at 09:08:20 +0200, Gertjan van Wingerde wrote:
> On 04/25/10 20:55, Helmut Schaa wrote:
> > Am Sonntag 25 April 2010 schrieb Gertjan van Wingerde:
> >> Sorry, I only just found this in my inbox.
> >
> > No worries, that's alright ;)
> >
> >> It looks like my rt2800pci based PCI devices suffer from the same issue.
> >> However, your patch doesn't seem to help. On my system it simply speeds up
> >> the hang.
> >
> > Hmm, ok, that's bad :(
> >
> > It did help on the SoC device. I can put the interface up and down as I like
> > when using this patch. The hang does happen immediately when writing the
> > WPDMA_RST_IDX register the first time (when the first tx queue is getting
> > killed).
>
> I can't find out when exactly it hangs right now. I'm testing on an EEE PC with
> a RT3090 mini-PCIe adapter. I'm running an up-to-date Fedora 12 on it, using the
> latest compat-wireless (with the latest rt2x00 patches applied).
> Before the patch whenever I unloaded the module it took a few seconds before the
> whole system hung, now it is immediately when unloading the module.
> And it indeed is a complete machine hang.
>
> >
> > When putting a printk in front of the register write and behind only the first
> > one is printed out.
> >
> > Can you locate where the PCI device hangs (btw does it hang the whole
> > machine?)? Maybe it's a different hang on PCI, or maybe the patch just
> > accidentelly helps on SoC devices :)
> >
> >> I don't have the time right now to fully investigate this, but your patch
> >> doesn't seem to fix the issue.
> >
> > Ok, nevertheless, thanks for testing.
> >
>
> Hopefully in the next few days I have the time to test this on a different machine
> where I have an RT2860 PCI card in. Then it's easy to test from the console, and I can
> see in a better way where it hangs.
I use rt2800pci with the RT2860 mini-PCI card on an EEEPC (901 for who
is interested), and the syetem never hangs.
If you have some tests for me, please tell me what to do :)
Regards
>
> ---
> Gertjan.
>
> _______________________________________________
> users mailing list
> users at rt2x00.serialmonkey.com
> http://rt2x00.serialmonkey.com/mailman/listinfo/users_rt2x00.serialmonkey.com
--
Antonio Quartulli
Ognuno di noi, da solo, non vale nulla
Ernesto "Che" Guevara
More information about the users
mailing list