Package: mii-diag
Version: 2.09-1
I already submitted this some days ago, but it do not
show up in http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=mii-diag.
Sorry if that's now a dupe.
Linux version 2.4.28.20050609 ([EMAIL PROTECTED]) (gcc version 3.3.5 (Debian
1:3.3.5-13))
Linux version 2.4.29 ([EMAIL PROTECTED]) (gcc-Version 3.3.5 (Debian 1:3.3.5-8))
(Shows the effect)
Linux version 2.4.18 ([EMAIL PROTECTED]) (gcc version 2.95.4 20011002 (Debian
prerelease))
(does not show the effect).
Hello
When i recently had a look on the server i found that the disk clicks
every second (oh oh)
and the LED lights once a second too (pooh).
using dnotify -r -a /var/log (hm, ist there really no easier way to see who
is writing what?)
i found that /var/log/ksymoops/ is already filled with hunderts of MB with
files containing only these 2 lines, over and over:
... /var/log/ksymoops/20050722.log:
20050722 174205 start /sbin/modprobe -s -k -- eth1 safemode=0
20050722 174205 probe ended
20050722 174205 start /sbin/modprobe -s -k -- eth2 safemode=0
20050722 174205 probe ended
20050722 174205 start /sbin/modprobe -s -k -- eth3 safemode=0
20050722 174205 probe ended
20050722 174205 start /sbin/modprobe -s -k -- eth4 safemode=0
20050722 174205 probe ended
20050722 174205 start /sbin/modprobe -s -k -- eth5 safemode=0
20050722 174205 probe ended
20050722 174205 start /sbin/modprobe -s -k -- eth6 safemode=0
20050722 174205 probe ended
20050722 174205 start /sbin/modprobe -s -k -- eth7 safemode=0
20050722 174205 probe ended
In a script in my init.d i have a line like:
start-stop-daemon --start --quiet --pidfile /var/run/mii-mon.pid -m \
--exec /sbin/mii-tool -- -w -l &
man page said:
If an interface or interfaces are not specified
on the command line, then mii-tool will check any available
interfaces from eth0 through eth7.
That's all. No warning about filling up the filesystem.
Problem:
That side effect of mii-tool filling /var/log/ksymoops is not expectable
(and does not happen on all systems, the 2.4.18 does not show that entries)
I became only aware of it because the disk accces light never goes of,
the disk had 60GB free to go...even with 20MB a day that are a lot of
days...
Why are those modprobe reported?
What is the other solution rather than using
start-stop-daemon --start --quiet --pidfile /var/run/mii-mon.pid -m --exec \
/sbin/mii-tool -- -w -l eth0 eth1 &
resp. or a bit more flexible, but failing with hot plugging too:
INTERFACES=`at /proc/net/dev | egrep '^ *eth.*:' | /usr/bin/cut -d ':' -f1
|/usr/bin/tr -d ' ' | /usr/bin/tr '\n'`
test -n "$INTERFACES" || exit 0
start-stop-daemon --start --quiet --pidfile /var/run/mii-mon.pid -m --exec \
/sbin/mii-tool -- -w -l $INTERFACES &
Rainer
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]