changes to a different branch (using the '-- onto' option).
>
> HTH,
> -mandeep
>
>
>
> On Fri, Dec 12, 2014 at 6:58 AM, Kumar Amit Mehta
> wrote:
> > Hi,
> >
> > I know that it's not a typical Linux kernel related query but I reckon
>
Hi,
I know that it's not a typical Linux kernel related query but I reckon
that people involved in Linux kernel testing/development might have
gotten into similar situation. So, please bear with me for this rather
generic framework related query.
The scenario:
1: Cloned linux-next at time T1
$ gi
On Fri, Apr 04, 2014 at 01:49:05AM -0700, aaditya.gavandal...@yahoo.com wrote:
> Hi,
>
> You can you a heap profiler to check heap usage for example massif.
>
> Massif is a tool under valgrind package. You can research on valgrind more
> for other helpful tools as well. Memcheck is bydefault in
On Fri, Apr 04, 2014 at 10:34:54AM +0200, Vegard Nossum wrote:
> On 4 April 2014 02:45, Kumar Amit Mehta 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
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 driver).I found some tools such as kmemcheck[1] and KEDR [2]
but before I go f
On Thu, Oct 31, 2013 at 11:59:23AM -0700, Robert Clove wrote:
> I have an 10Gbps link between my servers.
> I want to achieve the line by 1200 -1500 packet size how can i do that i
> only able to achieve the 4Gbps rate.
I remember, referring this nice presentation[1] by Mark Wagner, while I was
do
On Mon, Oct 21, 2013 at 05:43:50AM -0700, Robert P. J. Day wrote:
> the standard solution is to simply order the resources and require
> everyone to request resources in that order. problem solved. don't
> make this into a bigger issue than it really is.
Thank you for giving me some directions.
Hi All,
This query is not about linux kernel in any way, but rather is a very
primitive question on scheduling and resource management principles,
using the dinning-philosphers analogy. I assume, most of the people here
would have faced such situation and hence thought of discussing this in
this f
On Mon, May 20, 2013 at 02:56:26PM +0530, Rajat Sharma wrote:
> Following book describes GNU assembler in a very simple manner:
> http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764579010.html
Thank you for suggesting me this book, I'll have a look, though this book
seem to be covering the IA32
On Mon, May 06, 2013 at 08:09:03PM -0400, Kumar amit mehta wrote:
> If I have one logical volume(Talking in LVM terms)and have two paths to the
> same logical volume, then it seems that the two logical volumes will have the
> same major number(refer [1]).
My apologies for typo mistake
Hi,
I've a query regarding the major numbers for block devices that the
block layer would provide (upon invocation of register_blkdev() with '0'
as the major number) for the multipath devices, i.e. If I have one
logical volume(Talking in LVM terms)and have two paths to the same
logical volume, th
On Wed, May 01, 2013 at 10:24:40PM +0530, Pranay Srivastava wrote:
> https://github.com/pranjas/block_driver
>
Thank you so much, looks pretty heavy-duty right now though!!!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.ker
Hi,
I'm new to block layer in linux and to learn the same, I'm trying to
come up with a sample memory based block device driver, with which I can
experiment and learn along the way. I'm referring to sample code from
the linux tree [1] and assorted information available over the internet.
My curre
I'm looking for information on device-mapper, the kernel space utility for
Logical Volume Management (LVM2). It seems that the relevant code resides under
drivers/md and a lot of other information is under Documentation/device-mapper/
That's fine, but is there any other document that gives more fi
On Tue, Apr 02, 2013 at 10:04:31AM +0700, Mulyadi Santosa wrote:
> Could you paste roughly 20-30 lines of boot messages when you hit the hung
> point? Kernel config alone usually can't help much
I'm trying this on a Virtual Machine using VMware Player. When the VM boots up,
it throws lots of messa
> On Tue, Mar 26, 2013 at 09:31:01PM +0200, Rami Rosen wrote:
> > Hi,
> >
> > 1) You can be sure that it does not use more than one rx queue.
> >
> > You can find more info about RX queues in
> > http://media.wix.com/ugd//295986_4ef6dbdf11fd0a7f74f09741b4b5b2ee.pdf
> >
Thank you so much for sha
On Tue, Mar 26, 2013 at 09:31:01PM +0200, Rami Rosen wrote:
> Hi,
>
> 1) You can be sure that it does not use more than one rx queue.
>
> You can find more info about RX queues in
> http://media.wix.com/ugd//295986_4ef6dbdf11fd0a7f74f09741b4b5b2ee.pdf
>
> (I wrote it, a shameless plug...)
>
> 2
On Tue, Mar 26, 2013 at 08:35:56PM +0200, Rami Rosen wrote:
> 1) Regarding rx queues: what does
> "ls /sys/class/net/eth0/queues"
> show ?
>
$ ls /sys/class/net/eth0/queues
rx-0 tx-0
> 2) can you try setting affinity for working only with CPU3
> and see what happens after some traffic is sent b
On Tue, Mar 26, 2013 at 11:45:55AM -0700, Arlie Stephens wrote:
> I don't know for sure what linux does, but the NICs I've seen with
> multiple queues tend to select queues by hashing incoming packets
> based on source IP, sourse port, destination IP, destination port and
> (if TCP) protocol.
>
Hi All,
I was reading some stuff on interrupts and irq lines today and I thought I'll
expermient with the network rx path. To start with, I've a Virtual Machine
running 3.8 linux kernel. My machine has 4 CPU cores, network (eth) interface
is driven by pcnet_32 AMD driver and is tied to IRQ line #
On Sun, Mar 24, 2013 at 12:49:55PM +0700, Mulyadi Santosa wrote:
> On 3/22/13, Kumar amit mehta wrote:
> > I've uploaded the kernel configuration and the screenshot in google drive
> > [1].
>
> ok let's see... hmmm, stuck during I/O memory mapping?
On Fri, Mar 22, 2013 at 10:41:56AM +0700, Mulyadi Santosa wrote:
> On Thu, Mar 21, 2013 at 1:16 PM, Kumar amit mehta
> wrote:
> boot issue. But
> > before attaching these small files(136K and 32K respectively) and send it to
> > the mailing list, I'd like to ask, if
Inline
On Wed, Mar 20, 2013 at 12:07:57AM -0700, Kumar amit mehta wrote:
> On Tue, Mar 19, 2013 at 11:56:44PM -0700, Kumar amit mehta wrote:
> > On Tue, Mar 19, 2013 at 09:43:11PM +0700, Mulyadi Santosa wrote:
> > > Hi ...
> > >
> > > On Tue, Mar 19
On Tue, Mar 19, 2013 at 11:56:44PM -0700, Kumar amit mehta wrote:
> On Tue, Mar 19, 2013 at 09:43:11PM +0700, Mulyadi Santosa wrote:
> > Hi ...
> >
> > On Tue, Mar 19, 2013 at 12:28 PM, Kumar amit mehta
> > wrote:
> > > grep for copy_from_user_overflow gi
On Tue, Mar 19, 2013 at 09:43:11PM +0700, Mulyadi Santosa wrote:
> Hi ...
>
> On Tue, Mar 19, 2013 at 12:28 PM, Kumar amit mehta
> wrote:
> > grep for copy_from_user_overflow gives me this:
> >
> > amit@ubuntu:~/linux-next/linux-next$ grep -ri copy_from_user_overfl
On Mon, Mar 18, 2013 at 11:21:52AM +0700, Mulyadi Santosa wrote:
> On 3/17/13, Kumar amit mehta wrote:
> > I'm facing a kernel build issue with the latest kernel on my machine. It
> > seem
> > like a configuration issue, and I haven't been able to resolve it for
&g
I'm facing a kernel build issue with the latest kernel on my machine. It seem
like a configuration issue, and I haven't been able to resolve it for sometime,
hence need your help. The error message is as below:
ERROR: "copy_from_user_overflow" [net/core/pktgen.ko] undefined!
ERROR: "copy_from_use
My current understanding is that the skb, while being passed along various
layers in linux network stack, will be manipulated majorly, using the
skb->{head|data|tail|end|len} fields.
Suppose that my application (say 'ping') sends a ICMP echo request with a
large packet size of 4k, i.e. $ ping -s
On Sun, Feb 24, 2013 at 08:53:20PM +0800, Peter Teoh wrote:
> Another good article on atomicty and data sizes:
>
> http://www.ibm.com/developerworks/library/pa-atom/
>
> On Sun, Feb 24, 2013 at 8:50 PM, Peter Teoh wrote:
>
> > in simple terms, any operation, in terms assembly instructions, whic
Hi All,
After watching Greg's video on "How to write and submit your first patch",the
discussions that happened over kernel newbie mailing list and the assorted
information scattered in the kernel Documentation directory, I was able to set
up my Linux box for sending janitorial related patches (mo
On Tue, Nov 27, 2012 at 12:44:45PM +0800, horse_rivers wrote:
> hi,
> when we compile kernel,gcc will put elf format information into the target
> file ,then we use build-tools construct the kernel Image,
>
> during this procedure,will elf information be copyed into Image file ?
>
Yes, it d
On Wed, Nov 21, 2012 at 02:47:15AM -0500, devendra.aaru wrote:
> that maintainer's tree is next tree so that next can pickup. once the
> next pics up your changes gets merged there in next.
>
> always its good to work against' maintainers trees, if its a fix then
> its better work on the maintain
On Wed, Nov 21, 2012 at 01:51:14AM -0500, devendra.aaru wrote:
> On Wed, Nov 21, 2012 at 1:43 AM, Kumar amit mehta
> wrote:
> > On Wed, Nov 21, 2012 at 12:52:58AM -0500, devendra.aaru wrote:
> >> On Wed, Nov 21, 2012 at 12:36 AM, Kumar amit mehta
> >> wrote:
>
On Wed, Nov 21, 2012 at 12:52:58AM -0500, devendra.aaru wrote:
> On Wed, Nov 21, 2012 at 12:36 AM, Kumar amit mehta
> wrote:
> > Hi,
> >
> > After some discussions that happened over kernel newbie mailing list in
> > past,
> > I've managed to send some
Hi,
After some discussions that happened over kernel newbie mailing list in past,
I've managed to send some trivial patches to linux janitors and to relevant
maintainers. My patch base has been linux-next tree and I'm glad that some of
them got merged. Recently, for one of my patch, I got a reply
gt; this problem?.
>
> On Mon, Nov 5, 2012 at 11:36 PM, Kumar amit mehta
> wrote:
> > On Mon, Nov 05, 2012 at 09:34:55PM -0500, A B wrote:
> >> I'm facing an issue where
> >> ifconfig command output doesn't display the interface that is created
> >>
On Mon, Nov 05, 2012 at 09:51:19AM +0400, Vladimir Murzin wrote:
> I've not tried your module, but I suppose that you should get warning
> as soon as you try to take write semaphore once again.
>
Thank you for your mail. I wanted to try what you've suggested, but now I'm
facing a different problem.
On Mon, Nov 05, 2012 at 09:34:55PM -0500, A B wrote:
> I'm facing an issue where
> ifconfig command output doesn't display the interface that is created
> using alloc_netdev and registered using register_netdev.
>
> If i do 'ifconfig -a', i'm seeing the interface which i created.
>
> Under what c
On Thu, Nov 01, 2012 at 03:13:04PM +0200, Gregg Douglas wrote:
> Thanks Anmol, first installed the following extra packages
> "linux-kernel-headers kernel-syms module-init-tools" then ran make
> oldconfig && make prepare, I get further:
> make M=drivers/staging/bcm/
>
> WARNING: Symbol version
On Mon, Oct 29, 2012 at 12:03:08AM +0530, Srivatsa Bhat wrote:
> You'll need CONFIG_LOCKDEP=y as well. An easy way to configure lock debugging
> checks is to run 'make menuconfig' and enable the required options under the
> "Kernel hacking" section.
>
> >
> > If above configuration is all that I n
On Sat, Oct 27, 2012 at 09:26:51PM +0530, Srivatsa Bhat wrote:
> On Sat, Oct 27, 2012 at 10:11 AM, Kumar amit mehta
> wrote:
> > Hi,
> >
> > I recently came across this tool called KEDR[1] for checking memory leak in
> > kernel modules. I'm using it to check
Hi,
I recently came across this tool called KEDR[1] for checking memory leak in
kernel modules. I'm using it to check If my trivial kernel modules (based on
LDD3 examples) are leaking memory. I was wondering if there exist a similar
tool for checking incorrect usage of locking techniques implem
On Fri, Oct 19, 2012 at 11:40:35AM -0400, Greg Freemyer wrote:
> On Fri, Oct 19, 2012 at 5:00 AM, Kumar amit mehta
> wrote:
> > On Fri, Oct 19, 2012 at 03:03:28PM +0800, Adam Lee wrote:
> >> On Thu, Oct 18, 2012 at 10:31:29PM -0700, Kumar amit mehta wrote:
> >> &g
I came across the following information in
~Documentation/kbuild/makefiles.txt
--- 3.7 Compilation flags
ccflags-y, asflags-y and ldflags-y
These three flags apply only to the kbuild makefile in which they
are assigned. They are used for all the normal cc, as and ld
i
On Fri, Oct 19, 2012 at 03:03:28PM +0800, Adam Lee wrote:
> On Thu, Oct 18, 2012 at 10:31:29PM -0700, Kumar amit mehta wrote:
> > Hi,
> >
> > I've a query regarding the coding style for Linux Kernel code. I'm
> > reading the CodingStyle under Documentation a
Hi,
I've a query regarding the coding style for Linux Kernel code. I'm
reading the CodingStyle under Documentation and what I've understood is
that I shouldn't be using spaces for indentation purposes and should use
tabs of width 8 characters. Quoting from the same document:
"Outside of comments,
On Mon, Oct 15, 2012 at 04:23:59PM +0530, Niroj Pokhrel wrote:
> Thank Matthias!!!
> I have tried using printk . What I really want to do now is to implement
> the methods I have written by calling from the user space. Like I want to
> read or write to the character devices via user space.
>
Did y
On Mon, Oct 15, 2012 at 07:46:08AM +, Pietro Paolini wrote:
> 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.
>
Hi Pietro,
The host doesn't care how the data has tra
48 matches
Mail list logo