Re: if_dc.c causes page fault while in kernel mode; coredump; reproducible

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Tue, 27 Dec 2005 22:38:03 -0700 (MST)
In message: <20051228002430.GA27330_at_echobase.hoth.dk>
            "Martin P. Hansen" <mph_at_lima.dyndns.dk> writes:
: On Tue, 27 Dec 2005, Gleb Smirnoff wrote:
: >   please try out the attached patch.
: 
: It works. Thank you very much.
: 
: Just of curiosity, why is the NIC still active when the system shuts
: down? I mean is the ``IFF_DRV_RUNNING'' _the_ method to stop an
: interface?

Just because an interface has been stopped, doesn't mean that its ISR
won't be called because another (shared) interrupt happens.

: I though in a simple setup one would disable the devices when
: shutting down by disabling interrupts or raising the interrupt
: priority level.

Without shared interrupts, one can usually get away with this...

Warner
Received on Wed Dec 28 2005 - 04:38:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:49 UTC