Re: Inexplicable disk activity trying to load modules on devfs

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Thu Jul 18 2002 - 19:22:35 EST


Keith Owens writes:
> On Tue, 25 Jun 2002 23:38:48 -0400,
> Richard Gooch <rgooch@ras.ucalgary.ca> wrote:
> >Daniel Jacobowitz writes:
> >> For the curious, the reason is that modprobe writes even failed
> >> attempts to a log in /var/log/ksymoops, and calls fdatasync() on
> >> that file afterwards. There is no way to disable this without
> >> removing that directory, as a design decision. I don't personally
> >> see the point in logging attempts which fail because there is no
> >> driver...
> >
> >Sounds like the behaviour of modprobe needs to be fixed.
>
> People wanted to know what was invoking modprobe and with what
> parameters, especially for failed attempts. The call to fdatasync()
> is to "ensure" that the log data hits the disk _before_ the module
> is loaded, otherwise debugging data is lost if the module init
> routine oopses.

Then there needs to be a way of enabling/disabling this. Maybe a
run-time config option?

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
-
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 : Tue Jul 23 2002 - 22:00:28 EST