"Justin T. Gibbs" schrieb:
>
> >What about a kind of timer ?
>
> The functions are run serially. If I'm to wait, I must block
> or risk having the machine powered off prior to completing my shutdown.
>
> A coworker of mine playing with the MD code reminded me that
> he had to change the priority of the MD notifier to make it work.
> I believe that this is the correct fix as there are other SCSI
> drivers that have shutdown hooks.
>
> All HBA drivers currently use 0 (or the lowest) as their priority.
> MD (line 3475 of drivers/md/md.c) uses 0 too. Change it to INT_MAX
> and MD will always get shutdown prior to any child devices it might
> use.
One question is still open on this case:
Why does the Oops only occur if the "aic7xxx=verbose" is set ?
The above explanation is correct (AFAIK), but the kernel-oops should
then happen on *every* reboot, not only if this verbose-parameter is
set...or does the driver try to shutdown the drives and then write to
the log "AIC7xxx shutdown successfull"...?...:-))
Solong...
Frank.
-- Frank Schneider, <SPATZ1@T-ONLINE.DE>. Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ... -.- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Sep 15 2001 - 21:00:32 EST