| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | Busybox v0.60.2 insmod gives segmentation fault without any messages when trying to load a loadable module |
| From: | Manish Lohani <mlohani@gmail.com> |
| Date: | Thu, 12 Aug 2004 10:30:32 -0700 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
I have a driver loadable module which i am compiling with the same gcc flags as used to compile a kernel for a MIPS R5432 based NEC board. On the development machine, to compile files driver1.c and driver2.c: $ mips_fp_le-gcc -fomit-frame-pointer -fno-strict-aliasing -G 0 -mno-abicalls -fno-pic -pipe -mtune=r5000 -mlong-calls -mips2 -Wall -c driver1.c $mips_fp_le-ld -r -o driver --printmap --cref driver1.o driver2.o mips_fp_le-gcc (GCC) version 3.3.1 mips_fp_le-ld (GNU ld) version 2.14 I have Busybox v0.60.2 on the target. On the target: # insmod ./driver Using driver Segmentation fault # Does anybody have any suggestions as to what could be wrong? Thanks in advance, Manu |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: CVS Update@-mips.org: linux, Christoph Hellwig |
|---|---|
| Next by Date: | Re: Busybox v0.60.2 insmod gives segmentation fault without any messages when trying to load a loadable module, David Daney |
| Previous by Thread: | Re: CVS Update@-mips.org: linux, Christoph Hellwig |
| Next by Thread: | Re: Busybox v0.60.2 insmod gives segmentation fault without any messages when trying to load a loadable module, David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |