File descriptor in bad state...again ;-(
Martin Rusko
rusko at sunsite.mine.nu
Thu Nov 7 11:07:05 CET 2002
OK, I did compile tinc-1.0pre7-2 from debian sources (the same version
is used in woody/stable distribution, which is installed on all
machines) against kernel sources of my current running kernel (2.4.18
from debian kernel-source package). I have to say, that doing so, have
no point for me (why?), because woody has kernel 2.4.18, and I have also
kernel 2.4.18 (I needed quota v2 support). But I did it. And of course,
it didn't help. ;-(
What I don't understand is, how the same module (tun.o), from the same
kernel version 2.4.18, has different sizes?
On Sunclient with original debian kernel 2.4.18:
# ls -l /lib/modules/2.4.18/kernel/drivers/net/tun.o
-rw-r--r-- 1 root root 10256 Apr 11 2002
/lib/modules/2.4.18/kernel/drivers/net/tun.o
On Sunsite with patched kernel 2.4.18 with quota support:
-rw-r--r-- 1 root root 9784 Nov 4 15:49
/lib/modules/2.4.18/kernel/drivers/net/tun.o
Also, if you will have some time, please see attached strace output,
maybe you will know, what is happening.
Any help will be very appreciated
mARTin
Guus Sliepen wrote:
> On Wed, Nov 06, 2002 at 11:00:00PM +0100, Martin Rusko wrote:
>
>
>>The problem:
>>Sunclient:
>>~~~~~~~~~~
>>tinc-1.0pre7 original binary package from Woody, machine is running on
>
> [...]
>
>>Sunsite:
>>~~~~~~~~
>>tinc-1.0pre8 self compiled with /usr/src/linux/include/linux/if_tun.h,
>>original distribution kernel (2.4.18).
>
>
> First of all, make sure you run the same version of tinc on all
> machines. 1.0pre8 is incompatible with older versions.
>
>
>>Log snippet:
>>tinc.sunnet[15288]: /dev/net/tun is a Linux ethertap device
>> ^^^^^^^^
>> ||||||||
>>Why it logs, that tinc is using ethertap device?!?!?
>>It should be also tun/tap, or not??
>
>
> Yes. Please verify that tinc really compiled with the kernel headers and
> that /dev/net/tun really is a tun/tap device (character device major 10 minor 200).
> If it still doesn't work you could try doing this:
>
> strace -s 128 -o /tmp/tinctrace tincd ... -d5 -D
>
> And mail us /tmp/tinctrace.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tinctrace.gz
Type: application/gzip
Size: 9009 bytes
Desc: not available
Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20021107/2d47b0f9/tinctrace.bin
More information about the Tinc
mailing list