modutils-2.2.2-pre4 + patch

Sid Boyce (szb50@amdahl.com)
Sat, 27 Mar 1999 14:10:55 +0000


This version is the nearest that comes to working. I'm using 2.2.4-ac1
with egcs-1.1.1. Earlier versions, from 2.1.121 have yielded modules.dep
of zero bytes, the would simply open /lib/modules/2.[12].x and go no
further in looking for modules. I just copied back a backed up
modutils-2.1.85 to get things working again.Some strace stuff
follows.........
open("/etc/conf.modules", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/modules.conf", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat("/lib/modules/boot", 0xbfffd37c) = -1 ENOENT (No such file or
directory)
stat("/lib/modules/2.2.4-ac1/fs", {st_mode=S_IFDIR|0775, st_size=1024,
...}) = 0
open("/lib/modules/2.2.4-ac1/fs", O_RDONLY|O_NONBLOCK) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
brk(0x8076000) = 0x8076000
lseek(3, 0, SEEK_CUR) = 0
SYS_141(0x3, 0xbfffc378, 0xf5d, 0xbfffc378, 0x8073488) = 128
stat("/lib/modules/2.2.4-ac1/fs/minix.o", {st_mode=S_IFREG|0664,
st_size=34383,
...}) = 0
stat("/lib/modules/2.2.4-ac1/fs/vfat.o", {st_mode=S_IFREG|0664,
st_size=19307, .
..}) = 0
stat("/lib/modules/2.2.4-ac1/fs/smbfs.o", {st_mode=S_IFREG|0664,
st_size=40760,
...}) = 0
There all there correctly, then I get ............
SYS_167(0, 0, 0, 0, 0) = 0
SYS_167(0, 0x1, 0x80734a0, 0x100, 0xbfff582c) = 0
SYS_167(0x80734a0, 0x5, 0xbfff5830, 0x10, 0xbfff582c) = 0
SYS_167(0x80734a0, 0x4, 0x80737e8, 0x400, 0xbfff582c) = 0
SYS_167(0x80734a3, 0x5, 0xbfff5830, 0x10, 0xbfff582c) = 0
SYS_167(0x80734a3, 0x4, 0x8073bf0, 0x400, 0xbfff582c) = 0
SYS_167(0x80734ab, 0x5, 0xbfff5830, 0x10, 0xbfff582c) = 0
SYS_167(0x80734ab, 0x4, 0x8073ff8, 0x400, 0xbfff582c) = -1 ENOSPC (No
space left
on device)
SYS_167(0x80734ab, 0x4, 0x8074d20, 0x99d, 0xbfff582c) = 0
etc., followed by .........
brk(0x807d000) = 0x807d000
SYS_167(0, 0x4, 0x8077b10, 0x4000, 0xbfff582c) = -1 ENOSPC (No space
left on dev
ice)
brk(0x8085000) = 0x8085000
SYS_167(0, 0x4, 0x8077b10, 0x7033, 0xbfff582c) = 0
brk(0x8086000) = 0x8086000
brk(0x8087000) = 0x8087000
open("/lib/modules/2.2.4-ac1/modules.dep", O_WRONLY|O_CREAT|O_TRUNC,
0666) = 3
_exit(0) = ?
The modules.dep is again zero bytes long. The mystery here is as seen
above
SYS_167(0, 0x4, 0x8077b10, 0x4000, 0xbfff582c) = -1 ENOSPC (No space
left on dev
ice)
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda2 6052981 4757173 982320 83% /
I have just the one partition for everything on root.
Regards
-- 
... Sid Boyce...Amdahl(Europe)...44-121 422 0375 
Any opinions expressed above are mine and do not necessarily represent
 the opinions or policies of Amdahl Corporation.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/