Messages in this thread |  | | Date | Mon, 04 Dec 2000 23:34:16 +0000 | From | "Andrew Morton" <> | Subject | Re: aacraid for 2.4.0 |
| |
Keith Owens wrote: > > On Mon, 4 Dec 2000 17:31:04 -0500 , > "Boerner, Brian" <Brian_Boerner@adaptec.com> wrote: > >The driver > >is generating a segmentation fault and produces and oops. I have included > >Code: 00 00 00 00 00 00 00 00 b8 00 00 00 83 ec 34 68 00 2c 82 c8 > > That code looks bad. I suspect you are using an old modutils on > current kernels. modutils < 2.3.15 incorrectly load modules on recent > kernels, you should be running modutils 2.3.21 for 2.4 kernels.
This can happen if you get your __devinit and __devinitdata declarations tangled up. If you have a table which is declared __devinit instead of __devinitdata then subsequently declared functions end up with their text being placed in the rodata section. You only find out about this because the assembler pads .align statements with nulls. Hard to find.
So if the modutils upgrade doesn't help, remove all `init' thingies and see if the problem goes away. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |