[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

modprobe: cannot create /var/log/ksymoops/20021102.log Read-only file system



I'm getting the following error during the boot sequence, repeated many 
times.  It doesn't seem to cause any actual problems, but it's worrisome.  

modprobe: modprobe: cannot create /var/log/ksymoops/20021102.log Read-only 
file system    (or the current date in place of 22021102)


One thing I found through google seems to be applicable:

"I'm not sure why this problem is a show-stopper. Several installation
kernels were built without the unix.o module which is kind of
unfortunate. But this normally is just a hiccup, e.g."  <snip>

I'm using woody with the binary 2.4.18 for i386 k6-2 kernel.  Maybe someone 
can tell me if to fix the problem I have to download the kernel source and 
compile and/or net-pf-10 (see below), before I spend the time trying it.  
Would it be bad to just comment out net-pf-10 everywhere it occurs in /etc?

Also, this seems to be reported as bug# 143074 as a minor kernel bug.  Would 
it be useful for me to post my experience as a follow-up to that bug, as my 
experience is somewhat different?


The file /var/log/ksymoops/20021102.log is actually created and contains 
lines like 

20021102 000247 start /sbin/modprobe -s -k -- net-pf-10 safemode=1
20021102 000247 probe ended
20021102 000436 start /sbin/modprobe -s -k -- net-pf-10 safemode=1
20021102 000436 probe ended
20021102 000436 start /sbin/modprobe -s -k -- net-pf-10 safemode=1
20021102 000436 probe ended
20021102 000443 start /sbin/modprobe -s -k -- net-pf-10 safemode=1
20021102 000443 probe ended

repeated many times (1032 lines total!)


Some other info you probably don't need, just so show what else is in 
ksymoops and prove that my /var is writeable:

/var/log/ksymoops contains a bunch of other files as well:

bash-2.05a$ dir /var/log/ksymoops/20021102* | more
gives a bunch of files like
-rw-r--r--    1 root     root         1484 Nov  2 14:52 
/var/log/ksymoops/20021102145202.modules
-rw-r--r--    1 root     root        65762 Nov  2 14:52 
/var/log/ksymoops/20021102145259.ksyms

all with the .modules or .ksyms extensions, all rw for root.


My /var is just a subdirectory of /, which is mounted as:

/dev/hdb2 on / type ext3 (rw,usrquota,errors=remount-ro)

The directories /var, /var/log, and /var/log/ksymoops are in fact writeable

bash-2.05a$ dir /var/log/ksymoops/ | more
total 3144
drwxr-xr-x    2 root     root        24576 Nov  2 14:52 .
drwxr-xr-x   10 root     root         4096 Nov  2 01:15 ..
bash-2.05a$ dir /var/log | more
total 3280
drwxr-xr-x   10 root     root         4096 Nov  2 01:15 .
drwxr-xr-x   15 root     root         4096 Oct 20 22:28 ..
bash-2.05a$ dir /var | more
total 60
drwxr-xr-x   15 root     root         4096 Oct 20 22:28 .
drwxr-xr-x   25 root     root         4096 Nov  2 14:02 ..
(all files cut from listings)



Reply to: