lkml.org 
[lkml]   [1996]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectModules again

Sorry for posting again, but I can't discover what happened; I did only
add this to /etc/rc.d/rc.S:

rm /boot/System.map
ln -s /boot/System.map`uname -r` /boot/System.map

and some of the modules can't get loaded. This is the result of running
insmod hpfs through strace:

mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40006000
mprotect(0x40000000, 20079, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x8048000, 22935, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=4504, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
mmap(0, 4504, PROT_READ, MAP_SHARED, 3, 0) = 0x40007000
close(3) = 0
stat("/etc/ld.so.preload", 0xbffffb60) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.5.4.13", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 782336, PROT_NONE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40009000
mmap(0x40009000, 552787, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40009000
mmap(0x40090000, 22892, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x86000) = 0x40090000
mmap(0x40096000, 204752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|0x20, 4294967295, 0) = 0x40096000
close(3) = 0
mprotect(0x40009000, 552787, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
munmap(0x40007000, 4504) = 0
mprotect(0x8048000, 22935, PROT_READ|PROT_EXEC) = 0
mprotect(0x40009000, 552787, PROT_READ|PROT_EXEC) = 0
mprotect(0x40000000, 20079, PROT_READ|PROT_EXEC) = 0
SYS_136(0, 0x3, 0xc, 0x40005fd8, 0x8048be0) = 0
geteuid() = 0
getuid() = 0
getgid() = 0
getegid() = 0
uname({sys="Linux", node="Valeria", ...}) = 0
get_kernel_syms(0) = 313
brk(0x8053d00) = 0x8053d00
brk(0x8054000) = 0x8054000
get_kernel_syms(0x804eeb0) = 313
brk(0x8055000) = 0x8055000
stat("./hpfs", 0xbffffaa8) = -1 ENOENT (No such file or directory)
stat("./hpfs.o", 0xbffffaa8) = -1 ENOENT (No such file or directory)
stat("/linux/modules/hpfs", 0xbffffaa8) = -1 ENOENT (No such file or directory)
stat("/linux/modules/hpfs.o", 0xbffffaa8) = -1 ENOENT (No such file or directory)
stat("/lib/modules/2.0.27/fs/hpfs", 0xbffffaa8) = -1 ENOENT (No such file or directory)
stat("/lib/modules/2.0.27/fs/hpfs.o", {st_mode=S_IFREG|0644, st_size=13791, ...}) = 0
open("/lib/modules/2.0.27/fs/hpfs.o", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=13791, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40007000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\1"..., 4096) = 4096
fstat(3, {st_mode=S_IFREG|0644, st_size=13791, ...}) = 0
lseek(3, 12288, SEEK_SET) = 12288
read(3, "\200\0\0\0\1\0\3\0\0\2\0\0\0\0\0"..., 4096) = 1503
brk(0x8059000) = 0x8059000
lseek(3, 8192, SEEK_SET) = 8192
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
lseek(3, 0, SEEK_SET) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\1"..., 4096) = 4096
read(3, "\1W\4\21O\10\1\\$0)\\$4\203|$4\0"..., 4096) = 4096
lseek(3, 8192, SEEK_SET) = 8192
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
lseek(3, 4096, SEEK_SET) = 4096
read(3, "\1W\4\21O\10\1\\$0)\\$4\203|$4\0"..., 4096) = 4096
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
read(3, "\200\0\0\0\1\0\3\0\0\2\0\0\0\0\0"..., 4096) = 1503

and it gets SIGSEGV and crashes.
Please help !!!


Marco Mechelli
e-mail: i096235@spv.ing.uniroma1.it
e-mail: m_mechelli@flashnet.it


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.028 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site