[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] bug#1067: Not busybox's fault
From:       "David Douthitt" <ssrat () mailbag ! com>
Date:       2000-10-23 19:06:50
[Download RAW message or body]

I tried busybox from CVS with the insmod from 0.47; same result.  I 
tried insmod from Debian 2.1; same result.  Then I got strace, and 
ran it.  The same result (basically) on "busybox insmod tulip.o", 
"busybox insmod eepro100.o", and "insmod tulip.o".

I hope I'm not stepping out of line when I ask for FURTHER 
assistance.... I appreciate all of you working hard!

What actually causes the SEGFAULT here?  Here's the strace output 
from one of the runs (I picked "busybox insmod tulip.o"):

execve("/bin/busybox", ["/bin/busybox", "insmod", 
"/lib/modules/tulip.o"], [/* 14 vars */]) = 0
brk(0)                                  = 0x8083ab4
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or 
directory)
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file 
or directory)
open("/usr/lib/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or 
directory)
open("/lib/libc.so.6", O_RDONLY)        = 4
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4000c000
munmap(0x4000c000, 4096)                = 0
mmap(0, 673252, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4000c000
mprotect(0x4009e000, 75236, PROT_NONE)  = 0
mmap(0x4009e000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 
4, 0x91000) = 0x4009e000
mmap(0x400a5000, 46564, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400a5000
close(4)                                = 0
personality(PER_LINUX)                  = 0
getpid()                                = 1152
brk(0)                                  = 0x8083ab4
brk(0x8083b34)                          = 0x8083b34
brk(0x8084000)                          = 0x8084000
open("/lib/modules/tulip.o", O_RDONLY)  = 4
brk(0x8085000)                          = 0x8085000
fstat(4, {st_mode=S_IFREG|0755, st_size=39648, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x400b1000
lseek(4, 0, SEEK_SET)                   = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

-- 
David Douthitt
UNIX Systems Administrator
HP-UX, Linux, Unixware
ddouthitt@mennonite.minister.net




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic