specified NUMA node. This contributes to boost performance.
Regards,
Rami Rosen
בתאריך יום ב׳, 27 באוג׳ 2018, 11:30, מאת s.v.krishna reddy <
svkr...@gmail.com>:
> How does it matter to allocate on specific node?
>
> Thanks,
> Krishna.
>
> On Tue, Aug 21, 2018 at
which socket it will go.
Regards,
Rami Rosen
http://ramirose.wixsite.com/ramirosen
On 16 June 2018 at 20:16, V.Ravikumar wrote:
> Hi All,
>
> I wanted to know how a packet received will be handovered to a correct user
> process.
> Basically I want to understand what are the
account that things change a bit since then in
terms of implementation details. The principles are for a large extent
quite the same, though.
Regards,
Rami Rosen
On 17 May 2017 at 10:21, Alexander Kapshuk wrote:
> -- Forwarded message --
> From: Alexander Kapshuk
> Date:
get when running, from the root of this tree:
more .config | grep VETH
And finally - which distro is running on this device ?
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On 6 December 2016 at 18:25, Er Krishna wrote:
> Hi Rami,
>
> Thanks, some how I am able to manage all
t a kernel you built from source, or a kernel which is
part of a distro?
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On 6 December 2016 at 15:15, Er Krishna wrote:
> Hi All,
>
> Can some one pls let me know for below command to run on linux which driver
> and w
Hi Limor,
Regarding your question about bugs:
The Linux kernel has a Bugzilla:
You can browse it by a subsystem.
https://bugzilla.kernel.org/describecomponents.cgi
Regards,
Rami Rosen
http://ramirose.wixsite.com/ramirosen
Hi all,
i am a senior c,c++ engineer which is used to complex MT systems
Hi,
Do u know where in the kernel it crashes and can add dump_stack()
there and try ? I used dump_stack() in the past many times and it
worked for me. IIRC, kernel hacking->Kernel debugging was selected in
my kernekl config, and I did not had to to anything else
Regards,
Rami Rosen
h
ternal IP header.
Hope this helps,
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On 18 August 2016 at 11:47, Ricky wrote:
>
> In include/linux/ip.h,
>
> 23 static inline struct iphdr *ip_hdr(const struct sk_buff *skb)
> 24 {
> 25 return (struct iphdr *)skb_netwo
://lxr.free-electrons.com/source/include/linux/platform_device.h#L180
In this case, maybe something is missing/wrong in platform_driver_register().
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
In case you do, probably something is missing in your
platform_device_register() method
Hi Andrey,
>Here is link to Jessica McKellar's (LDD4 co-author) repo with examples
>for the next book.
>https://github.com/jesstess/ldd4
Thanks for the link, I was not aware of it !
Rami Rosen
___
Kernelnewbies mailing list
hat
publication date of LDD4 by Oreilly,, since indeed the publication
date was postponed in the past (at least once but maybe more, I am
unsure about that)
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On 14 July 2016 at 15:26, Robert P. J. Day wrote:
> On Thu, 14 Jul 2016, François
Hi, Shilpa,
Can you send the code/put it in pastebin and send the link ?
Rami Rosen
On 13 July 2016 at 15:20, Shilpa Yellapragada wrote:
> Hi,
>
> Can someone explain me why I am encountering an OS error 105, while
> trying to write to a socket?
>
> Regards,
> S
e is also a book titled "Linux Filesystems Paperback"
by William Von Hagen. I did not read it. However, it is really old
(2002!); 14 years are significant in Linux development.
Good luck!
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On 10 July 2016 at 15:23, Yubin Ruan wrote:
>
Hi,
>You have to rebuild the kernel to change the HZ value.
+1
Rami Rosen
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi,
Header files under include/net are for kernel internal use.
Header files under include/uapi are for exposure to userspace:
http://lxr.free-electrons.com/source/include/uapi/
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
בתאריך 28 במרץ 2016 18:04, "Manoj Nayak" כתב:
&g
more.
Hope this helps!
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On 26 March 2016 at 05:00, Daniel. wrote:
> Hi everybody,
>
> I'm planing to write a socket API for Nordic's nRF24L01+ and I was
> digging on socket code and find all supported protocols at
&g
Hi Ronit,
Can you please tell what happens when you ran the "kexec -p" that you
mentioned ? Do you see any message on screen ? Does it hang immediately ?
Regards,
Rami Rosen
בתאריך 6 במרץ 2016 05:23, "Ronit Halder" כתב:
> When I am doing normal load of kernel using kexec,
Hi, Darek,
cat /proc/[pid]/net/tcp
is handled by
http://lxr.free-electrons.com/source/net/ipv4/tcp_ipv4.c#L2230
and cat /proc/[pid]/net/tcp6
is handled by:
http://lxr.free-electrons.com/source/net/ipv6/tcp_ipv6.c#L1782
Hope it helps!
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On
Hi,
Assuming that you are talking about a kernel module which is part of the
Kernel tree, you simply need to run make menuconfig, navigate to that
module, and instead "M" you should choose "Y". The build and install the
kernel image.
Regards,
Rami Rosen
http://ramirose.wix.com
an object called
nsproxy, which includes pointers to 4 other namesapces (uts, mnt, pid
and ipc).
>and there is no information about network
>namespaces at all (google, stackoverflow, man pages, kernel docs)
This is not really so. Look for example in the following:
Namespaces and Cgroups – the b
/drivers/acpi/acpica/tbxfload.c#L156
Regards,
Rami Rosen
בתאריך 10 בספט 2015 09:39, כתב:
> On Thu, 10 Sep 2015 07:52:49 +0300, Kevin Wilson said:
>
> > (void) myFunc(param1);
> >
> > I did not encounter such cases in the kernel code that I read, thus far.
> >
> >
/touchscreen/ucb1400_ts.c?v=3.18
How did you came to the conclusion that this kernel does not support
threaded IRQs ? could it be that you simply do not use device drivers
that
use this mechanism ?
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On 13 September 2015 at 09:24, Kosta Zertsekel
Kosta,
Just a wild assumption: maybe the cost of incurring context switches ?
(comparing to tasklets)
Best Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On 10 September 2015 at 20:49, Kosta Zertsekel wrote:
> Hi guys,
>
> I hope I'm on right mailing list. :-)
> I th
nd.
Can you elaborate a bit about this: which difference do you see between creating
a VLAN with
ip link add name eth2.200 link eth2 type vlan id 200
And running your program (let's call your executable "vlan_nl")
in this way:
./vlan_nl eth1.100 eth1 100
Regards,
Rami Ro
suggest that you will post the code here. The concept
itself is right, It should work, you either build the netlink message
incorrectly or send it incorrectly, so it seems.
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On 18 August 2015 at 01:55, Bhaskar Upadhyayula wrote:
> Hello,
&g
ediate solution, you can also
try pr_err() instead, as most distros do print such messages with
dmesg without need for any special setup.
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On 18 May 2015 at 22:23, Airton Ishimori wrote:
> Hello, everybody,
>
> I'm trying to deve
pages about
Linux Containers, LXC, OpenVZ, Docker, CRIU,
Namespaces and cgroups, in my website: http://ramirose.wix.com/ramirosen.
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Mon, Jun 16, 2014 at 5:10 PM, Grzegorz Dwornicki wrote:
> Hi
>
> Can anyone point me why lxc was
Hi, Sivakumar,
This should work. Are you sure all your printk are proper ?
Can you please pastebin the crash message and send us a link ?
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
בתאריך 12 במאי 2014 23:09, "Sivakumar V" כתב:
>
>
>
> Hi All,
>
>
Hi,
Sorry, I of course discuss here your previous question about SKB
Regards,
Rami
On Sat, May 3, 2014 at 1:34 PM, Rami Rosen wrote:
> Hi, Pranay,
>
> First, let's assume that you are talking about IPv4, though you did not
> mention it explicitly. (The principles in IPv6
gards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Sat, May 3, 2014 at 11:33 AM, Pranay Srivastava wrote:
> Hi,
>
> This is probably a stupid question, but i'm not able to find the
> answer. How does the networking subsystem decides which device to use
> for sending the skb.
gards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Sat, May 3, 2014 at 12:43 PM, Pranay Srivastava wrote:
> Hi
>
> Referring to Documentation/networking/netdevices.txt
>
> a)
>
> ndo->ndo_start_xmit if written "as is" will be thread safe? [Correct?]
> NETI
Hi, Nada,
Return value of -1 could be EPERM, "Operation not permitted"; see:
http://lxr.free-electrons.com/source/include/uapi/asm-generic/errno-base.h
Can you paste the code in pastebin or some other public site?
regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Fri, May 2,
Hi, Sandeep,
Can you please try:
gdb dmesg
and then:
run
and tell us what do you get ? are there any additional error message
indicating the problem?
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Sun, Apr 20, 2014 at 3:28 PM, sandeep kumar
wrote:
> Dear All
>
> in my
disabling
the oom killer in
"Namespaces and cgroups in linux", in slides 101/102, see:
http://ramirose.wix.com/ramirosen
A shameless plug - I wrote this presentation of 121 slides about namespaces
and cgroups.
Regards,
Rami Rosen
בתאריך 17 באפר 2014 11:24, "Hedi Boufaied&qu
/memory/0/memory.oom_control
For more info, please look for the text about enabling/disabling
use_hierarchy in section 6,
http://lxr.free-electrons.com/source/Documentation/cgroups/memory.txt.
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Mon, Apr 14, 2014 at 12:22 PM, Hedi Boufaied
wr
Hi,
'y' is used for building the module as a built-in in the kernel image.
'm' stands for building the module as a stand alone object (*.ko),
which is not part of the kernel image, and should be insmoded or
modprobed in order to be used.
Regards,
Rami Rosen
http://ramirose.wi
Hi, Vipul
If you want to know to which kernel release is a specified patch
related, you can do it by git "describe --contains":
git describe --contains e605b36575e896edd8161534550c9ea021b03bc0
v3.13-rc2~6^2
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Sun, Dec 22, 20
Hi,
You should use
sysfs_create_group() and kobject_create_and_add() and DEVICE_ATTR() macro
see net/bridge/br_sysfs_br.c
and also see Documentation/kobject.txt and filesystems/sysfs.txt
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Sun, Dec 15, 2013 at 3:52 PM, Jeshwanth Kumar N K
you have IPOPT_TIMESTAMP
and for the length, you have 40 or 36 (It depends on ts_type)
Best Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Sat, Dec 14, 2013 at 3:00 AM, Guibin(Bill) Tian wrote:
> Hi, maybe it's a naive question. But I am confused here.
>
> For the opti
Adel,
You say you have a NULL pointer but you do not specify where.
can you please send the log of the panic ?
Can you send the kernel module full code ?
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Mon, Jun 17, 2013 at 6:18 AM, Adel Qodmani wrote:
> Hello every
Hi, Varun
look in dev_gso_segment():
http://lxr.free-electrons.com/source/net/core/dev.c#L2382
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Fri, May 31, 2013 at 9:53 AM, Varun Sharma wrote:
> Hi,
>
> which function perform Generic segmentation offload
Hi,
Which option you cannot add ?
You should be able to add any option with "menu config".
In case it is something you added, than you should also
add entry in a Kconfig file.
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Sat, May 25, 2013 at 7:46 AM, Lakshmipath
Hi
Just of pure curiosity, can you please provide a link to the blog you had
mentioned?
Regards
Rami Rosen
http://ramirose.wix.com/ramirosen
On May 6, 2013 10:46 PM, "neha naik" wrote:
> Hi,
>Reading a blog on device mapper api got me confused about when one
> should us
Hi,
Take a look in:
http://lxr.free-electrons.com/source/Documentation/filesystems/sysfs.txt
You should consider the sysfs API like
sysfs_create_dir(), sysfs_create_group(), sysfs_create_file()
Best Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
files.
4) try to use i2cset of the i2c-tools project.
5) tell us the results.
best regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Tue, Apr 23, 2013 at 8:30 AM, Sagar Padhye wrote:
> I tried to use 'mknod /dev/i2c-0 c 89 0' and then tried to use the device.
> but sti
(NET_TX_SOFTIRQ);
...
whereas the dev_kfree_skb_irq() is called from the driver TX path for
freeing the skb.
There are other case; look in __netif_reschedule(), and in
dev_cpu_callback(), in net/core/dev.c
regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Wed, Apr 10, 2013 at 3:18 PM
source/drivers/net/ethernet/davicom/dm9000.c
dm9000_rx() is called from the interrupt isr, dm9000_interrupt.
And grepping for the network drivers subtree will easily find some
more examples.
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Mon, Apr 8, 2013 at 8:42 AM, Robert Clove wrote
;
struct pci_dev *pdev;
...
...
And indeed nic->netdev represents an Ethernet interface, which
is the struct net_device (see: include/linux/netdevice.h)
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Sun, Apr 7, 2013 at 5:52 AM, ishare wrote:
> On Fri, Apr 05, 2013 at 03:0
SHARED,
nic->netdev->name, nic->netdev)))
...
This means that e100_intr is registered as an interrupt handler.
Best,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Fri, Apr 5, 2013 at 11:50 AM, Robert Clove wrote:
> Hello All,
>
>
> I am new here.
> I want to kno
.
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Tue, Apr 2, 2013 at 9:14 PM, wrote:
> On Tue, 02 Apr 2013 16:46:24 +0300, Kevin Wilson said:
>> Hi,
>> Thanks a lot Vlad. This explains it.
>> - Does anybody know of a ps command (or a filter to ps command)
>&
Hi,
Stay tuned as I intend to put on the web an expanded document,
including documentations about kernel internals (besides networking).
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Fri, Mar 29, 2013 at 4:36 PM, Kumar amit mehta wrote:
>> On Tue, Mar 26, 2013 at 09:31:01PM
send
/proc/interrupts | grep eth0 before and after sending, let's say, 5
pings)?
Rgs,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Tue, Mar 26, 2013 at 9:05 PM, Kumar amit mehta wrote:
> On Tue, Mar 26, 2013 at 08:35:56PM +0200, Rami Rosen wrote:
>> 1) Regarding rx queues: wha
Hi, Kumar,
1) Regarding rx queues: what does
"ls /sys/class/net/eth0/queues"
show ?
2) can you try setting affinity for working only with CPU3
and see what happens after some traffic is sent by
cat /proc/interrupts?
regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Tue, Mar 2
as I wrote it...)
rgs,
Rami Rosen
http://ramirose.wix.com/ramirosen
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Mon, Mar 25, 2013 at 4:57 AM, Moritz Fischer
wrote:
> On Sun, Mar 24, 2013 at 1:29 PM, Kevin Wilson wrote:
>
> Kevin,
>
>> Any idea which methods adds the following entries:
>> /sys/devices/system/clocksource/clocksource
u see:
context_switch(struct rq *rq, struct task_struct *prev,
...)
and prev is the process which ran in the run_queue of the scheduler
previously, before switching
to the new kernel thread. And we borrow memory descriptor from this process.
Rgs,
Rami Rosen
http://ramirose.wix.com/ramirosen
O
gt;mm_count);
enter_lazy_tlb(oldmm, next);
} else
...
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Sat, Mar 23, 2013 at 7:02 AM, Niroj Pokhrel wrote:
> Hi all,
> I have been going through the Address Space in the linux and came across two
Hi,
Can you post your client and server code?
rgs,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Thu, Mar 14, 2013 at 12:55 PM, devendra.aaru wrote:
> Hey all,
>
> I have got a strange bug(?) while testing the multicasting server and client.
>
> I have done only the INA
will not go to mainline)
I don't know of any usage of ICMP for purposes beyond what is
declared in the ICMP RFC.
regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Fri, Feb 22, 2013 at 5:15 PM, Adel Qodmani wrote:
>
> On Fri, Feb 22, 2013 at 4:54 PM, wrote:
>>
>> On
a sock
in ip_route_output_flow()
The xfrm_lookup() is empty when building without IPsec.
So in you case, if you know that your solution does not require
IPSec traffic, you can use __ip_route_output_key().
rgs.
Rami Rosen
http://ramirose.wix.com/ramirosen
On Fri, Feb 22, 2013 at 3:53 PM, Adel
Hi, Adel,
You should use
ip_route_output_flow().
For this you should construct a
flowi4 instance.
ip_route_output_flow() is exported via EXPORT_SYMBOL_GPL.
See for example how this is done in udp_sendmsg().
Good luck!
Rami Rosen
http://ramirose.wix.com/ramirosen
On Fri, Feb 22, 2013 at 2:36
Hi,
You can pick a kernel to download from:
http://www.kernel.org/pub/linux/kernel/v3.x/
The latest stable kernel is
Regarding configuration, you can take the config file of Ubuntu
in order to avoid risk of errors in configuration.
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Sat
uck!
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Sat, Feb 2, 2013 at 11:43 AM, Shubham Sharma
wrote:
> Hi,
>
> I understand that ext2 and ext3 are kind of obsolete now. But AFAIK, there
> is not much difference in ext3 and ext4.
>
> Moreover for a newbie , it is
Hi,
Have you considered to start with ext4?
it seems that ext3, ext2 are a bit out of fashion,
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Thu, Jan 31, 2013 at 8:58 PM, shubham wrote:
> Thanks Rami,
>
> I am also trying to understand ext3 and write some document for
HI,
I will try to write something for Linux Filesystems (and maybe for
other subsystems) but this will probably take a lot of time.
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Wed, Jan 30, 2013 at 5:44 PM, shubham wrote:
> Thanks for sharing the document.
>
> I hope we c
/sysadmins/researchers/students may find help with it.
regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi,
This is done via:
kobject_create_and_add(), which
eventually calls sysfs_create_file(), or sysfs_create_group().
Look in Documentation/kobject.txt
regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Fri, Dec 28, 2012 at 1:22 PM, Rahul Bedarkar wrote:
> Hi,
>
> When driver
Hi,
These are character devices for I/O.
/dev/tty0 is a special device, representing the current terminal.
/dev/tty1 is the first virtual terminal, /dev/tty1 is second virtual terminal
(usually there are 6 virtual terminals).
The other /dev/tty* are for other purposes.
Regards,
Rami Rosen
68 matches
Mail list logo