Re: tests of kernel modules

From: Alexey Dobriyan
Date: Sat Nov 18 2006 - 09:39:31 EST


On Sat, Nov 18, 2006 at 04:23:06AM +0100, Pavol Gono wrote:
> After resolving http://bugzilla.kernel.org/show_bug.cgi?id=7481
> I was thinking about possibilities how to prevent such bugs with
> testing. Usually just few insmods and rmmods show, whether the
> initialization and cleanup code of module is ok or not.
>
> I created a script which do the automatic job of finding all modules
> and inserting/removing them (see attachment). On my Lifebook E8110,
> kernel 2.6.18.2, the following modules were problematic:
> arptable_filter pktgen rfcomm rpcsec_gss_krb5 sdhci xt_NFQUEUE
> Kernel logs usually say "BUG: unable to handle kernel paging request
> at virtual address ..." or "BUG: unable to handle kernel NULL pointer
> dereference at virtual address 00000000".
>
> When trying knoppix 5.0.1, my script causes total freeze quickly.
> Is it worth to report each buggy module to bugzilla?

Yes. To mainline bugzilla. or to relevant mailing lists (linux-kernel,
netdev, ...) Be sure to use latest mainline kernel.

-
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/