Hi Giridhar,

Y Giridhar Appaji Nag said the following on 10.03.2008 07:38:
Hi Klaus, can you stop ifplug (via the init script) and then start it
and check? (maybe you did this already, but I am still checking).

Ok, ifplugd ist stopped.

Can you send the debconf output for ifplugd, contents of /proc/net/dev
and an strace output on all the ifplugd processes for a few seconds.

Attached the strace output ifplugd_trace of the ifplugd working on the non existent interface eth10. This is the only ifplugd process that is running at this time.
~# ifplugd -i eth10 -n -f -u0 -d10 -w -I

~# cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed lo: 30924 156 0 0 0 0 0 0 30924 156 0 0 0 0 0 0 eth0: 84397 689 0 0 0 0 0 0 149540 648 0 0 0 0 0 0

~# dpkg -l ifplugd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii ifplugd 0.28-5 A configuration daemon for ethernet devices

Klaus

execve("/usr/sbin/ifplugd", ["ifplugd", "-i", "eth10", "-n", "-f", "-u0", 
"-d10", "-w", "-I"], [/* 19 vars */]) = 0
brk(0)                                  = 0x8050000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f5e000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/xorg/tls/i686/sse2/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT 
(No such file or directory)
stat64("/usr/lib/xorg/tls/i686/sse2/cmov", 0xbfbe77a0) = -1 ENOENT (No such 
file or directory)
open("/usr/lib/xorg/tls/i686/sse2/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No 
such file or directory)
stat64("/usr/lib/xorg/tls/i686/sse2", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/xorg/tls/i686/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No 
such file or directory)
stat64("/usr/lib/xorg/tls/i686/cmov", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/xorg/tls/i686/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/xorg/tls/i686", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/xorg/tls/sse2/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No 
such file or directory)
stat64("/usr/lib/xorg/tls/sse2/cmov", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/xorg/tls/sse2/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/xorg/tls/sse2", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/xorg/tls/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/xorg/tls/cmov", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/xorg/tls/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64("/usr/lib/xorg/tls", 0xbfbe77a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/xorg/i686/sse2/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No 
such file or directory)
stat64("/usr/lib/xorg/i686/sse2/cmov", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/xorg/i686/sse2/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/xorg/i686/sse2", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/xorg/i686/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/xorg/i686/cmov", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/xorg/i686/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such file 
or directory)
stat64("/usr/lib/xorg/i686", 0xbfbe77a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/xorg/sse2/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/xorg/sse2/cmov", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/xorg/sse2/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such file 
or directory)
stat64("/usr/lib/xorg/sse2", 0xbfbe77a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/xorg/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such file 
or directory)
stat64("/usr/lib/xorg/cmov", 0xbfbe77a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/xorg/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64("/usr/lib/xorg", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/fglrx/tls/i686/sse2/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT 
(No such file or directory)
stat64("/usr/lib/fglrx/tls/i686/sse2/cmov", 0xbfbe77a0) = -1 ENOENT (No such 
file or directory)
open("/usr/lib/fglrx/tls/i686/sse2/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No 
such file or directory)
stat64("/usr/lib/fglrx/tls/i686/sse2", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/fglrx/tls/i686/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No 
such file or directory)
stat64("/usr/lib/fglrx/tls/i686/cmov", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/fglrx/tls/i686/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/fglrx/tls/i686", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/fglrx/tls/sse2/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No 
such file or directory)
stat64("/usr/lib/fglrx/tls/sse2/cmov", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/fglrx/tls/sse2/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/fglrx/tls/sse2", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/fglrx/tls/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/fglrx/tls/cmov", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/fglrx/tls/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such file 
or directory)
stat64("/usr/lib/fglrx/tls", 0xbfbe77a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/fglrx/i686/sse2/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No 
such file or directory)
stat64("/usr/lib/fglrx/i686/sse2/cmov", 0xbfbe77a0) = -1 ENOENT (No such file 
or directory)
open("/usr/lib/fglrx/i686/sse2/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/fglrx/i686/sse2", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/fglrx/i686/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/fglrx/i686/cmov", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/fglrx/i686/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such file 
or directory)
stat64("/usr/lib/fglrx/i686", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/fglrx/sse2/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/fglrx/sse2/cmov", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/fglrx/sse2/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such file 
or directory)
stat64("/usr/lib/fglrx/sse2", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/fglrx/cmov/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such file 
or directory)
stat64("/usr/lib/fglrx/cmov", 0xbfbe77a0) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/fglrx/libdaemon.so.0", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64("/usr/lib/fglrx", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=73568, ...}) = 0
mmap2(NULL, 73568, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f4c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libdaemon.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\25\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=18072, ...}) = 0
mmap2(NULL, 21632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7f46000
mmap2(0xb7f4a000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0xb7f4a000
mmap2(0xb7f4b000, 1152, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f4b000
close(3)                                = 0
open("/usr/lib/xorg/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/fglrx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or 
directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260e\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1356196, ...}) = 0
mmap2(NULL, 1361520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7df9000
mmap2(0xb7f40000, 12288, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x147) = 0xb7f40000
mmap2(0xb7f43000, 9840, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f43000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7df8000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7df8ad0, limit:1048575, 
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, 
useable:1}) = 0
mprotect(0xb7f40000, 4096, PROT_READ)   = 0
munmap(0xb7f4c000, 73568)               = 0
brk(0)                                  = 0x8050000
brk(0x8071000)                          = 0x8071000
geteuid32()                             = 0
open("/var/run/ifplugd.eth10.pid", O_RDWR) = -1 ENOENT (No such file or 
directory)
write(2, "ifplugd 0.28 initializing.", 26) = 26
write(2, "\n", 1)                       = 1
umask(022)                              = 022
open("/var/run/ifplugd.eth10.pid", O_RDWR|O_CREAT|O_EXCL, 0644) = 3
fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
getpid()                                = 6031
write(3, "6031\n", 5)                   = 5
fcntl64(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
close(3)                                = 0
umask(022)                              = 022
pipe([3, 4])                            = 0
fcntl64(3, F_GETFL)                     = 0 (flags O_RDONLY)
fcntl64(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(4, F_GETFL)                     = 0x1 (flags O_WRONLY)
fcntl64(4, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
rt_sigprocmask(SIG_UNBLOCK, [INT], NULL, 8) = 0
rt_sigaction(SIGINT, {0xb7f48840, [], SA_RESTART}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [TERM], NULL, 8) = 0
rt_sigaction(SIGTERM, {0xb7f48840, [], SA_RESTART}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [QUIT], NULL, 8) = 0
rt_sigaction(SIGQUIT, {0xb7f48840, [], SA_RESTART}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP], NULL, 8) = 0
rt_sigaction(SIGHUP, {0xb7f48840, [], SA_RESTART}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0xb7f48840, [], SA_RESTART}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [USR1], NULL, 8) = 0
rt_sigaction(SIGUSR1, {0xb7f48840, [], SA_RESTART}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [USR2], NULL, 8) = 0
rt_sigaction(SIGUSR2, {0xb7f48840, [], SA_RESTART}, NULL, 8) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGIFHWADDR, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCETHTOOL, 0xbfbe7ecc)       = -1 ENODEV (No such device)
write(2, "Using interface eth10", 21)   = 21
write(2, "\n", 1)                       = 1
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCETHTOOL, 0xbfbe7e84)       = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGMIIPHY, 0xbfbe7e8c)       = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGIWAP, 0xbfbe7e84)         = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
write(2, "Initialization complete, link be"..., 48) = 48
write(2, "\n", 1)                       = 1
open("/dev/tty1", O_WRONLY|O_NOCTTY)    = 6
ioctl(6, KDMKTONE, 0x640937)            = 0
nanosleep({0, 100000000}, NULL)         = 0
close(6)                                = 0
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCETHTOOL, 0xbfbe7e84)       = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGMIIPHY, 0xbfbe7e8c)       = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGIWAP, 0xbfbe7e84)         = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCETHTOOL, 0xbfbe7e84)       = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGMIIPHY, 0xbfbe7e8c)       = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGIWAP, 0xbfbe7e84)         = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCETHTOOL, 0xbfbe7e84)       = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGMIIPHY, 0xbfbe7e8c)       = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGIWAP, 0xbfbe7e84)         = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCETHTOOL, 0xbfbe7e84)       = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGMIIPHY, 0xbfbe7e8c)       = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGIWAP, 0xbfbe7e84)         = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
select(1024, [3], NULL, NULL, {1, 0})   = ? ERESTARTNOHAND (To be restarted)
--- SIGINT (Interrupt) @ 0 (0) ---
write(4, "\2\0\0\0", 4)                 = 4
sigreturn()                             = ? (mask now [])
select(1024, [3], NULL, NULL, {1, 0})   = 1 (in [3], left {1, 0})
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCETHTOOL, 0xbfbe7e84)       = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGMIIPHY, 0xbfbe7e8c)       = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGIWAP, 0xbfbe7e84)         = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth10", ???}) = -1 ENODEV (No such device)
read(3, "\2\0\0\0", 4)                  = 4
close(5)                                = 0
unlink("/var/run/ifplugd.eth10.pid")    = 0
close(3)                                = 0
close(4)                                = 0
write(2, "Exiting.", 8)                 = 8
write(2, "\n", 1)                       = 1
exit_group(0)                           = ?

Reply via email to