Re: modutils snapshot for 970304

Trevor Johnson (trevor@blues.jpj.net)
Wed, 5 Mar 1997 02:50:05 -0800 (PST)


I just tried it, and had the following problems:

- a few errors on compilation:

gcc -g -O -Wall -I../include -D_GNU_SOURCE -c -o parse.o parse.c
/usr/lib/bison.simple: In function `yyparse':
/usr/lib/bison.simple:254: warning: `yyval' might be used uninitialized in
this function
gcc -g -O -Wall -I../include -D_GNU_SOURCE -c -o lex.o lex.c
keywords.c: In function `is_reserved_hash':
In file included from lex.l:101:
keywords.c:28: warning: array subscript has type `char'
keywords.c:28: warning: array subscript has type `char'
keywords.c:28: warning: array subscript has type `char'
gcc -g -O -Wall -o genksyms genksyms.o parse.o lex.o ../util/libutil.a
make[1]: Leaving directory `/usr/src/kernel/modutils-970304/genksyms'

- kerneld does not load modules
- kerneld reports, "Starting kerneld, version 2.1.23" (yes, I checked that
I wasn't running the old one)
- "depmod -a" segfaults; strace shows:

uname({sys="Linux", node="ppp5.csudh.EDU", ...}) = 0
access("/etc/modules.conf", R_OK) = 0
stat("/etc/modules.conf", {st_mode=S_IFREG|0644, st_size=1879, ...}) = 0
open("/etc/modules.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1879, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40008000
read(3, "#alias <whatever you don\'t have"..., 4096) = 1879
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40008000, 4096) = 0
brk(0x8054000) = 0x8054000
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(4, 4), ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40008000
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(1, "TYPE /lib/modules/`uname -r`/blo"..., 41TYPE /lib/modules/`uname
-r`/block/block
) = 41
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
___
Trevor Johnson <trevor@jpj.net>