RE: mmap(): enodev

2014-05-25 Thread Pietro Paolini
Hello, thanks a lot, Sunday is never a good day for working, what a mistake :-) ! ___ From: Pawan Prakash Sharma [pawanprakash...@gmail.com] Sent: 25 May 2014 15:19 To: Pietro Paolini Cc: kernelnewbies@kernelnewbies.org Subject: Re: mmap(): enodev Hi Pietro, Following line is buggy one

RE: Memory profiling tools for Linux Kernel

2014-04-04 Thread Pietro Paolini
On 4 April 2014 02:45, Kumar Amit Mehta gmate.a...@gmail.com wrote: I was looking for some tools for memory profiling for Linux Kernel. I I wish to analyze the memory usage statistics by comparing the results (with and without the usage of Lookaside caches) by the consumer (Say a certain

/proc/slabinfo

2014-04-03 Thread Pietro Paolini
with : CONFIG_DEBUG_INFO=y CONFIG_DEBUG_SLAB=y CONFIG_DEBUG_SLAB_LEAK=y Then now I am able to cat the /proc/slab_allocators leaf but that name, nor either all the size-* - are not present in that output, do you know why ? Best Regards, Pietro Paolini

nf_conntrack: table full .. leads to reboot

2014-03-26 Thread Pietro Paolini
Hello, I am doing some investigation regarding an error I am experiencing using my linux embedded device as router in my home network. If I try to push the number the connections to around 20K I will se a lot of messages from the kernel saying : nf_conntrack: table full, dropping packet.

Kernel Memory Growth

2014-03-18 Thread Pietro Paolini
Hello everyone, I am experiencing a problem using my Linux 2.6.33 and doing this networking test using ab, a tool from Apache which helps me to benchmark the performances of a website, actually I am using that as a tool for generate a lot of traffic and TCP connections. My topology is : [AB

/proc/slab_allocatos

2014-03-17 Thread Pietro Paolini
Hello everyone, what is the meaning of the number 578 (in this case) in the output of /proc/slab_allocatos root@drgos:~# cat /proc/slab_allocators | grep skb skbuff_head_cache: 578 __alloc_skb+0x38/0x114 root@drgos:~# Are those bytes, Kbytes, or am I completely wrong ? Best Regards, Pietro.

Re: IPv4 Fragmentation in a IPIP6 tunnel

2013-11-04 Thread Pietro Paolini
would remark that I don't have a fully understanding of the linux kernel networking stack implementation. Where should the IPv6 fragmentation be done ? Pietro Paolini pulsarpie...@aol.com -Original Message- From: Fan Du fan...@windriver.com To: Pietro Paolini pulsarpie...@aol.com

IPv4 Fragmentation in a IPIP6 tunnel

2013-10-30 Thread Pietro Paolini
return ip_finish_output2(skb); Does not care about it, it just fragments if the MTU does not match. Is there any options to disable the fragmentation on IPV4 ? I am misconfiguring something ? Why does the ipip6 has this wrong behavior ? Thanks in advance, Pietro. Pietro Paolini

Re: user space device drivers

2013-05-14 Thread Pietro Paolini
On May 13, 2013, at 9:52 PM, Gergely Buday gbu...@gmail.com wrote: Hi there, I learned, e.g. from here that user space device drivers are indeed possible: http://www.makelinux.net/ldd3/chp-2-sect-9 Are there serious user space drivers in Linux? Could you name a few? Or, is this just

YAFFS2 not part of Linux Kernel

2013-04-16 Thread Pietro Paolini
Hello all, reading docs and browsing internet I read that YAFFS2 is not merged in the Linux Kernel and that we should add it as a patch, the date is not write on that documents and I just tried to search YAFFS2 on the latest linux kernel source without relevant results. Then after a look on

Driver managing network interface

2013-03-27 Thread Pietro Paolini
Hello, I know how retrieve the module from a char device but how can I find the module name behind the eth0 interface or more generally of a network interface ? Best Regards, Pietro. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Module compilation error

2013-03-04 Thread Pietro Paolini
:= hello_printk.o KDIR ?= mypersonalpath/core/linux/src/linux-3.7 PWD := $(shell pwd) default: $(MAKE) -C $(KDIR) M=$(PWD) modules Someone can help me ? Pietro Paolini pulsarpie...@aol.com ___ Kernelnewbies mailing list Kernelnewbies

RE: FIFO

2012-11-29 Thread Pietro Paolini
To: kernelnewbies@kernelnewbies.org Subject: Re: FIFO Hi! On Mit, 2012-11-28 at 09:43 +, Pietro Paolini wrote: [] I would like use a FIFO to implement a pipe which use is quite the same of the /proc/fs (for example the net statistics then just read). /proc/fs is a directory hereover. I

RE: FIFO

2012-11-29 Thread Pietro Paolini
-Original Message- From: Victor Buciuc [mailto:victor.buc...@gmail.com] Sent: giovedì 29 novembre 2012 10:26 To: Pietro Paolini Cc: Bernd Petrovitsch; kernelnewbies@kernelnewbies.org Subject: Re: FIFO On Thu, Nov 29, 2012 at 11:07 AM, Pietro Paolini p.paol...@ext.adbglobal.com wrote

FIFO

2012-11-28 Thread Pietro Paolini
Hi all, I would like use a FIFO to implement a pipe which use is quite the same of the /proc/fs (for example the net statistics then just read). I would like use the cat command in order to reach the information, like: Cat /path/to/pipe The problem is that cat expect the EOF of file before

Kallsyms

2012-11-16 Thread Pietro Paolini
Hello at all, I am started with kallsyms in order to debug my kernel deadlock and I don't understand at all the output, that are some lines of the calltrace: [ 462.125000] Call Trace: [ 462.128000] [80019440] show_stack+0x48/0x78 [ 462.132000] [8014e680] showacpu+0xc4/0xf4 [ 462.137000]

RE: Kallsyms

2012-11-16 Thread Pietro Paolini
Lines like : ip_finish_output+0x0/0x360 Sounds a bit ambiguous for me, they are just parameters ? Thanks, Pietro From: sumeet gandhare [mailto:sumeetgandh...@gmail.com] Sent: venerdì 16 novembre 2012 11:36 To: Pietro Paolini Cc: kernelnewbies@kernelnewbies.org Subject: Re: Kallsyms

RE: Network Byte order not reached reading from a sock RAW

2012-10-16 Thread Pietro Paolini
] Sent: lunedì 15 ottobre 2012 10:33 To: Pietro Paolini Cc: kernelnewbies@kernelnewbies.org Subject: Re: Network Byte order not reached reading from a sock RAW On Mon, Oct 15, 2012 at 1:16 PM, Pietro Paolini p.paol...@ext.adbglobal.com wrote: Hello, Thanks for your answer, my question is why

RE: Network Byte order not reached reading from a sock RAW

2012-10-15 Thread Pietro Paolini
Hello, Thanks for your answer, my question is why when I read from the buffer data is already in host byte order and not in network byte order. Thanks Pietro Paolini. From: Mandeep Sandhu [mailto:mandeepsandhu@gmail.com] Sent: sabato 13 ottobre 2012 05:30 To: Pietro Paolini Cc

Network Byte order not reached reading from a sock RAW

2012-10-12 Thread Pietro Paolini
Hello, I am struggling with the byte order question on a x86_32 arch, I am doing some modifications on a program which actually works fine on a MIPS arch. I do a reading from a RAW socket in this way: /* Configure socket */ if ((fd = socket(AF_INET, SOCK_RAW, IPPROTO_IGMP)) 0)

getifaddrs() Byte Order of ifaddrs-ifa_addr.s_addr

2012-10-10 Thread Pietro Paolini
Hello, I am using the getifaddrs() function and when I do some computation with the IP Addresses contained in the ifaddrs struct seems these IP are in network byte order. Am I wrong ? Pedr0 ___ Kernelnewbies mailing list

Difference between IP_IP_ADD_MEMBERSHIP and MCAST_JOIN_GROUP

2012-10-01 Thread Pietro Paolini
+v3.2.9/+code=MCAST_LEAVE_SOURCE_GROUP 47 #define MCAST_MSFILTERhttp://lxr.linux.no/linux+v3.2.9/+code=MCAST_MSFILTER 48 I am working with IGMP V3 and I need to handle sources . Thanks in advance, Pietro Paolini

RE: Difference between IP_IP_ADD_MEMBERSHIP and MCAST_JOIN_GROUP

2012-10-01 Thread Pietro Paolini
Many thanks, I understood ! Pietro Paolini. -Original Message- From: Bjørn Mork [mailto:bj...@mork.no] Sent: lunedì 1 ottobre 2012 12:54 To: Pietro Paolini Cc: kernelnewbies@kernelnewbies.org Subject: Re: Difference between IP_IP_ADD_MEMBERSHIP and MCAST_JOIN_GROUP I assume you meant

Problem using and creating virtual interfaces

2012-09-18 Thread Pietro Paolini
Hi all, I am not really sure this is the correct newsletter for my question, if not please apologize me and suggest me a right newsletter, thanks. My goal is to simulate more than one IP interface using just a physical interface, for do that I tried using this alias Ifconfing ethX:1 IP But

R: Problem using and creating virtual interfaces

2012-09-18 Thread Pietro Paolini
I am able to catch the second point but not first one, can you provide me an example of use of the ip command for a virtual interface creation ? Many thanks, Pietro Paolini. Inizio: Jeff Haran [jeff.ha...@citrix.com] Inviato: martedì 18 settembre 2012