Re: [PATCH] e100_shutdown: netif_poll_disable hang
- From: Auke Kok <auke-jan.h.kok@xxxxxxxxx>
- Date: Sat, 21 Oct 2006 10:54:02 -0700
Damien Wyart wrote:
My machine annoyingly hangs while rebooting. I tracked it down to
e100-fix-reboot-f-with-netconsole-enabled.patch in 2.6.18-rc2-mm2
I review the changes and it seemed to be calling
netif_poll_disable one too many time. Once in e100_down(), and
again in e100_shutdown().
The second one in e100_shutdown() caused the hang. So this patch
removes it.
* Auke Kok <auke-jan.h.kok@xxxxxxxxx> [061020 23:09]:it doesn't even do harm to netif_poll_disable() twice as far as I can
see, as it merely calls test_and_set_bit(), which will instantly
succeed on the first attempt if the bit was already set.
did this change actually fix it for you? I'm wondering if the
netif_carrier_off might not be the culprit here...
I can confirm the proposed original change of D. Walker fixed the
problem for me. I did not test the change you proposed as a followup.
his change breaks something else (a reboot with netconsole, possibly suspend). Please give the latest version I sent a try. Daniel confirmed me that it works, but it's always nice to hear it from more people.
Thanks
Auke
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] e100_shutdown: netif_poll_disable hang
- From: Damien Wyart
- Re: [PATCH] e100_shutdown: netif_poll_disable hang
- References:
- [PATCH] e100_shutdown: netif_poll_disable hang
- From: Daniel Walker
- Re: [PATCH] e100_shutdown: netif_poll_disable hang
- From: Auke Kok
- Re: [PATCH] e100_shutdown: netif_poll_disable hang
- From: Auke Kok
- Re: [PATCH] e100_shutdown: netif_poll_disable hang
- From: Damien Wyart
- [PATCH] e100_shutdown: netif_poll_disable hang
- Prev by Date: Re: [2.6.19 patch] drivers/ide/pci/generic.c: re-add the __setup("all-generic-ide",...)
- Next by Date: Re: Machine restart doesn't work - Intel 965G, 2.6.19-rc2
- Previous by thread: Re: [PATCH] e100_shutdown: netif_poll_disable hang
- Next by thread: Re: [PATCH] e100_shutdown: netif_poll_disable hang
- Index(es):
Relevant Pages
|