Modify

Opened 10 years ago

Closed 10 years ago

#2492 closed defect (fixed)

insmod bus error

Reported by: matteo Owned by: nbd
Priority: normal Milestone:
Component: base system Version:
Keywords: Cc:

Description

busybox's insmod fails to load a module when specifing just the name.
A strace:

[/]# insmod acx_mac80211
Bus error
[/]# strace insmod acx_mac80211
execve("/sbin/insmod", ["insmod", "acx_mac80211"], [/* 7 vars */]) = 0
svr4_syscall()                          = -1 ERRNO_4090 (Unknown error 4090)
stat("/etc/ld.so.cache", 0x7ff78ae0)    = -1 ENOENT (No such file or directory)
open("/lib/libcrypt.so.0", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=10290, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0 \5\0\000"..., 4096) = 4096
old_mmap(NULL, 344064, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaed000
old_mmap(0x2aaed000, 10212, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aaed000
old_mmap(0x2ab2f000, 2098, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x2ab2f000
old_mmap(0x2ab30000, 68896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab30000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libm.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26098, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0000\f\0"..., 4096) = 4096
old_mmap(NULL, 290816, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab41000
old_mmap(0x2ab41000, 25924, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab41000
old_mmap(0x2ab87000, 1522, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000) = 0x2ab87000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=63679, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\0\33\0"..., 4096) = 4096
old_mmap(NULL, 327680, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab88000
old_mmap(0x2ab88000, 61492, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab88000
old_mmap(0x2abd7000, 2239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0x2abd7000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=397803, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0 \272\0"..., 4096) = 4096
old_mmap(NULL, 679936, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abd8000
old_mmap(0x2abd8000, 390676, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2abd8000
old_mmap(0x2ac78000, 4587, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x60000) = 0x2ac78000
old_mmap(0x2ac7a000, 15752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac7a000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=397803, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=397803, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=397803, ...}) = 0
close(3)                                = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
getuid()                                = 0
uname({sys="Linux", node="OpenWrt", ...}) = 0
uname({sys="Linux", node="OpenWrt", ...}) = 0
brk(0)                                  = 0x4cd000
brk(0x4ce000)                           = 0x4ce000
brk(0x4cf000)                           = 0x4cf000
ioctl(2147483647, TIOCNXCL, 0x7ff77788) = -1 EBADF (Bad file descriptor)
brk(0x4d0000)                           = 0x4d0000
ioctl(2147483647, TIOCNXCL, 0x7ff77788) = -1 EBADF (Bad file descriptor)
brk(0x4d1000)                           = 0x4d1000
readlink("/lib", 0x7ff758d8, 4095)      = -1 EINVAL (Invalid argument)
readlink("/lib/modules", 0x7ff758d8, 4095) = -1 EINVAL (Invalid argument)
readlink("/lib/modules/2.6.23-rc9", 0x7ff758d8, 4095) = -1 EINVAL (Invalid argument)
lstat64("/lib/modules/2.6.23-rc9", {st_mode=S_IFDIR|0755, st_size=366, ...}) = 0
stat("/lib/modules/2.6.23-rc9", {st_mode=S_IFDIR|0755, st_size=366, ...}) = 0
open("/lib/modules/2.6.23-rc9", O_RDONLY) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
getdents64(3, /* 22 entries */, 1024)   = 768
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/acx-mac80211.ko", {st_mode=S_IFREG|0644, st_size=113260, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/br2684.ko", {st_mode=S_IFREG|0644, st_size=11840, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/cbc.ko", {st_mode=S_IFREG|0644, st_size=5968, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/cfg80211.ko", {st_mode=S_IFREG|0644, st_size=10008, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/crc-ccitt.ko", {st_mode=S_IFREG|0644, st_size=2596, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/crypto_hash.ko", {st_mode=S_IFREG|0644, st_size=3132, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/deflate.ko", {st_mode=S_IFREG|0644, st_size=4580, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/ipt_NETMAP.ko", {st_mode=S_IFREG|0644, st_size=2880, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/ipt_recent.ko", {st_mode=S_IFREG|0644, st_size=13296, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/mac80211.ko", {st_mode=S_IFREG|0644, st_size=222052, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/nf_conntrack_tftp.ko", {st_mode=S_IFREG|0644, st_size=5304, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/nf_nat_tftp.ko", {st_mode=S_IFREG|0644, st_size=2560, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/ppp_async.ko", {st_mode=S_IFREG|0644, st_size=17252, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/rc80211_lowest.ko", {st_mode=S_IFREG|0644, st_size=2996, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/rc80211_simple.ko", {st_mode=S_IFREG|0644, st_size=5724, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/tiatm.ko", {st_mode=S_IFREG|0644, st_size=200924, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/xt_connbytes.ko", {st_mode=S_IFREG|0644, st_size=3932, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/xt_connmark.ko", {st_mode=S_IFREG|0644, st_size=3216, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/xt_helper.ko", {st_mode=S_IFREG|0644, st_size=3520, ...}) = 0
ioctl(2147483647, TIOCNXCL, 0x7ff77690) = -1 EBADF (Bad file descriptor)
lstat64("/lib/modules/2.6.23-rc9/xt_limit.ko", {st_mode=S_IFREG|0644, st_size=3868, ...}) = 0
getdents64(3, /* 0 entries */, 1024)    = 0
close(3)                                = 0
stat64(0x7ff78f68, 0x7ff778a0)          = -1 ENOENT (No such file or directory)
--- SIGBUS (Bus error) @ 0 (0) ---
+++ killed by SIGBUS +++
Process 636 detached

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in [9194]

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.