[lkml]   [2001]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Driver callback routine when panic() is called
    On Fri, 16 Nov 2001 20:30:23 -0500, 
    "Pinyowattayakorn, Naris" <np151003@exchange.SanDiegoCA.NCR.COM> wrote:
    >Is there any call that can be used for a driver to register system crash
    >callback routines. Thus, If panic( ) is called, such a callback can save
    >device-state information to be written into the system crash dump file.

    notifier_chain_register(&panic_notifier_list, ...)

    See the kdb patch[1] for example code. Remember that all but one cpus
    are dead by the time you are called, I hope all your IRQs go to the
    single live cpu.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:13    [W:0.021 / U:13.232 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site