[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#321503: busybox insmod segault on alpha d-i



Bastian Blank wrote:
> > Using /lib/modules/2.4.27-2-generic/kernel/drivers/ide/ide-disk.o
> > Segmentation fault
> > modprobe: failed to load module ide-disk
> 
> Can you please check this with gdb and maybe a debug compilate? This
> version is the first which is built with gcc 4.0.

(gdb) run insmod /lib/modules/2.4.27-2-generic/kernel/drivers/ide/ide-disk.o
Starting program: /home/joey/tmp/busybox-1.00/install-busybox-udeb/bin/busybox insmod /lib/modules/2.4.27-2-generic/kernel/drivers/ide/ide-disk.o
(no debugging symbols found)
(no debugging symbols found)
Using /lib/modules/2.4.27-2-generic/kernel/drivers/ide/ide-disk.o

Program received signal SIGSEGV, Segmentation fault.
0x00000200000b3e20 in strlen () from /lib/libc.so.6.1
(gdb) bt
#0  0x00000200000b3e20 in strlen () from /lib/libc.so.6.1
#1  0x000000012004a0f0 in pivot_root ()
#2  0x000000012001d94c in ?? ()
#3  0x000000012001dd24 in ?? ()
#4  0x000000012001b1bc in ?? ()
#5  0x000000012001c4ec in ?? ()
#6  0x0000000120017e94 in ?? ()
#7  0x0000000120005b38 in ?? ()
#8  0x00000001200056b4 in ?? ()
#9  0x00000001200058f4 in ?? ()
#10 0x0000000120005b38 in ?? ()
#11 0x00000001200056b4 in ?? ()
#12 0x0000020000053988 in __libc_start_main () from /lib/libc.so.6.1
#13 0x0000000120005558 in ?? ()
Previous frame inner to this frame (corrupt stack?)

BTW, I set CONFIG_DEBUG=y in debian/config-udeb but the binary was still
stripped. Although it looks like the stack might be corrupt anyway.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: