problem building kernel

Patrick McHardy kaber at trash.net
Fri Jul 29 13:30:58 UTC 2011


On 29.07.2011 15:27, Romain Fliedel wrote:
> 2011/7/28 Patrick McHardy <kaber at trash.net>
> 
>> Am 28.07.2011 20:40, schrieb Romain Fliedel:
>>> 2011/7/28 Patrick McHardy <kaber at trash.net <mailto:kaber at trash.net>>
>>>
>>>     Am 28.07.2011 20:05, schrieb Romain Fliedel:
>>>     >
>>>     > 2011/7/28 Patrick McHardy <kaber at trash.net
>>>     <mailto:kaber at trash.net> <mailto:kaber at trash.net
>>>     <mailto:kaber at trash.net>>>
>>>     >
>>>     >     Am 28.07.2011 15:39, schrieb Fliedel Romain:
>>>     >     > Hi,
>>>     >     >
>>>     >     > I'm trying to build a kernel from the git repository with
>>>     dect stack
>>>     >     > enabled but i get this error :
>>>     >     >
>>>     >     > net/dect/ccp.c:25:27: fatal error: net/tipc/tipc.h:
>>>     >     >
>>>     >     > it appears that this file has been removed in kernel 2.6.36
>>>     >     >
>>>     >     > Do you have any idea to solve this problem ?
>>>     >     >
>>>     >
>>>     >     Disable the TIPC option for now, the code hasn't been adapter
>> to
>>>     >     the latest upstream changes yet.
>>>     >
>>>     >
>>>     > Thanks, that's what I end up doing and I am now able to build a
>>>     kernel.
>>>     > But now I have a problem with the driver, in my dmesg I've got the
>>>     > following error :
>>>     >
>>>     > com_on_air_pci: probe of 0000:07:04.0 failed with error -2
>>>     >
>>>     > any idea ?
>>>
>>>     I guess you linked the driver statically. This currently doesn't
>>>     work since the transceiver layer hasn't initialized the radio band
>>>     frequencies when the driver loads. Will probably fix that shortly,
>>>     using a modular build should work.
>>>
>>>
>>> Ok I'll try with the modular version.
>>> I noticed that no /dev/coa is created, is it normal ?
>>
>> Yes, the stack uses netlink and a socket API for userspace communication.
>>
>>
> Ok with the modular build it is working, thanks for you help.
> Now I'm trying to get a dump of the messages exchanged between a my FP and a
> my PP, i've found the dectmon utility, but the dump file created is not
> usable in wireshark. Is there a way to convert it to a pcap file ?

No, but it should be easy to add. Alternatively you can use the
patched libpcap with tcpdump or wireshark directly. IIRC it needs
a one-liner change to the wireshark build though, will try to
find the patch again :)




More information about the linux-dect mailing list