On Wed, Dec 23, 2015 at 3:30 PM, Daniel. wrote:
> Well, no body except Lucas, but I also had never researched for this
> like I'm doing right now. I think that the vim is still the more used
> editor for C programming on Linux.
Emacs has really awkward key stroke
On Wed, Aug 19, 2015 at 6:57 AM, Chetan Nanda chetanna...@gmail.com wrote:
1. Better to have a proper review process in place, gerrit is one of the
best tools I have used so far for reviewing,
2. Keep a master branch always compilable (run able) and merge rights should
be only to integrator.
Hello All,
This query is not about Linux kernel, but is rather generic query on
development framework with git. Since, Linux Kernel project is
significantly large, with astonishing number of people involved and
large number of branches, I'm assuming that people have faced
similar situation and
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
$
(using the '-- onto' option).
HTH,
-mandeep
On Fri, Dec 12, 2014 at 6:58 AM, Kumar Amit Mehta gmate.a...@gmail.com
wrote:
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
We are working on a school project in which we are trying to develop a
audio mixer
on Zedboard (Development board from Digilent). We have developed the IP and have
integrated it with the overall hardware using Programmable logic. This
board has ARM
core. We have a Digilent pre-configured Linux
On Fri, Apr 04, 2014 at 10:34:54AM +0200, Vegard Nossum wrote:
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
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 usage
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
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
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
On Thu, May 23, 2013 at 10:16 AM, Giridhara RP (grp) g...@cisco.com wrote:
Hi,
I am trying to build 64bit kernel (linux kernel 2.6.32-60). But, once I boot
the image (ISO), uname -a still shows as i686. It does not show as 'X86_64'.
My vmlinuz and vmlinuz.o shows 64bit. Any pointers much
On Thu, May 23, 2013 at 2:45 PM, Giridhara RP (grp) g...@cisco.com wrote:
Looks like I copied wrong output in my previous email. Here is the output.
Also, what should I do with 'grub'?
5. After boot 'uname -a' , shows this.
Linux 2.6.32-60 #1 SMP Mon Mar 25 16:20:30 IST 2013 i686
Folks, Can you please suggest me some nice books or tutorials
that concentrates more on the x86_64 assembly programming
using GNU assembler. Unfortunately, I haven't done any assembly
programming for the last seven years, but my current job requires
me to analyse kernel crashes and a lot of them
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,
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 above. I
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
On Wed, May 1, 2013 at 5:09 PM, Prasad Lakshman prasad.bl@gmail.com wrote:
Hi all,
Is there any document that explains how to analyze the Linux kernel crash
dump. What are the sections of crash dump what are these sections signify
and explain about the crash ,.etc please someone help me
Forgot to reply-all
On Wed, May 1, 2013 at 5:40 PM, Prasad Lakshman prasad.bl@gmail.com wrote:
Thanks for your reply ,but the link you provided is explaining how to use
crash utility .I think it's tool by Redhat. But what I am looking for is
different.
crash is an open source tool, you
On Wed, May 1, 2013 at 6:03 PM, Prasad Lakshman prasad.bl@gmail.com wrote:
Hi amit,
What you mentioned is correct , dmesg or /var/log/messages display the
crash log ,somehow I got this log even after the system crash. After
obtaining the crash log we need to know the reason of crash.
I
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
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
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) Does
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 sharing this.
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 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.
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 by
cat
On Sun, Mar 24, 2013 at 12:49:55PM +0700, Mulyadi Santosa wrote:
On 3/22/13, Kumar amit mehta gmate.a...@gmail.com 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?.
sadly, no further
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 gmate.a...@gmail.com
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 that's fine
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, 2013 at 12:28 PM, Kumar amit mehta gmate.a...@gmail.com
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 gmate.a...@gmail.com
wrote:
grep for copy_from_user_overflow gives me this:
amit@ubuntu:~/linux-next/linux-next$ grep -ri copy_from_user_overflow *
arch/s390
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 gmate.a...@gmail.com
wrote:
grep for copy_from_user_overflow gives me this:
amit@ubuntu
On Mon, Mar 18, 2013 at 11:21:52AM +0700, Mulyadi Santosa wrote:
On 3/17/13, Kumar amit mehta gmate.a...@gmail.com 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
sometime,
hence
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 snip
ERROR: copy_from_user_overflow [net/core/pktgen.ko] undefined!
ERROR:
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 htmldevelo...@gmail.com wrote:
in simple terms, any operation, in terms assembly
On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote:
can anybody tell me how to look into source code, as most are hidden in
kernel.
You can find the Linux source code at http://kernel.org/ .
for browsing the code unfortunately there is no good tool as in windows we
have source
On Wed, Dec 26, 2012 at 8:57 PM, Javed Iqbal javedd.iq...@gmail.com wrote:
Hi,
I just want to know that can I add documents in linux kernel version
3.x.x.?? If yes then please tell me the procedure to add the documents?
I guess it won't be any different than sending those as patches.
-Amit
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 does
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 maintainer's
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
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 gmate.a...@gmail.com
wrote:
Hi,
After some discussions that happened over kernel newbie mailing list in
past,
I've managed to send some trivial patches to linux janitors
, 2012 at 11:36 PM, Kumar amit mehta gmate.a...@gmail.com
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
using alloc_netdev and registered using register_netdev.
If i do 'ifconfig
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
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 dump
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 need, then
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 gmate.a...@gmail.com
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:
Hi,
I've a query
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 and what I've understood is
that I shouldn't
I came across the following information in
~Documentation/kbuild/makefiles.txt
snip
--- 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
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
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 you
On Tuesday 13 March 2012 11:28 PM, Alexandru Juncu wrote:
On Tue, Mar 13, 2012 at 7:43 PM, Amit Mehta gmate.a...@gmail.com wrote:
Hi All,
This is not a Linux Kernel related query but is rather on the infrastructure
to
manage patches using git. Before asking here, I did some search
I was wondering if I need to
go through the entire kernel build process and boot from the modified kernel
and
do some tests before sending this patch to kernel-janitor mailing list and
the
relevant maintainers.
Hi Amit
If it were me I would compile and boot test this anyway (especially
You can remote track linux-next from your existing repo. (this is how
I do it.) cd into your linux-2.6/ and do this;
$ git remote add linux-next
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
$ git fetch linux-next
$ git fetch --tags linux-next
You will then be all
Just a couple of thoughts, Amit - you seem to have your kernel tree in
/root and be doing everything as root, are you sure you want to do it
this way rather than in $HOME as your normal user account?
I've access to this machine as root also but as you've suggested I can use my
user login
On Mon, Jan 30, 2012 at 11:02 PM, Srivatsa Bhat bhat.sriva...@gmail.com wrote:
On Mon, Jan 30, 2012 at 10:51 PM, amit mehta gmate.a...@gmail.com wrote:
Hi,
kernel janitors group seem like a good place to start learning linux
kernel and
after reading some of the information available
I'm trying to understand Linux Network subsystem and after
reading some documents, my broad level understanding for
Rx Path is as follows:
1: Card receives the packet.
2: Assume everything is fine, the card DMAs the frame for
the driver to process it further.
3: Driver allocate an skb buffer,
How do i find the linux kernel version from which a certain
feature was first incorporated. For example , How do i find the
first kernel version which had support for
GRO (generic receive offload) ?
Thanks,
Amit
___
Kernelnewbies mailing list
On Wed, Oct 12, 2011 at 2:20 PM, rohan puri rohan.pur...@gmail.com wrote:
On Wed, Oct 12, 2011 at 2:14 PM, amit mehta gmate.a...@gmail.com wrote:
How do i find the linux kernel version from which a certain
feature was first incorporated. For example , How do i find the
first kernel version
On Wed, Oct 12, 2011 at 4:46 PM, Jeff Kirsher tar...@gmail.com wrote:
On 10/12/2011 02:17 AM, amit mehta wrote:
On Wed, Oct 12, 2011 at 2:20 PM, rohan puri rohan.pur...@gmail.com wrote:
On Wed, Oct 12, 2011 at 2:14 PM, amit mehta gmate.a...@gmail.com wrote:
How do i find the linux kernel
On Mon, Oct 10, 2011 at 11:54 PM, sri bskmo...@gmail.com wrote:
Thanks for the Inputs.
As there is not kernel crash, crash files are not create here to debug more.
Is there any way to force the kernel to create kernel crash files under
/var/crash.
echo 1 /proc/sys/kernel/sysrq
echo c
I'm currently referring The Linux TCP/IP Stack: Networking for
Embedded Systems - David H. Kaufman . Though I haven't read the
book completely but so far it seems to me that it provides a detailed
information on most of the Networking data structures and APIs with lot
of code snippet from e100
On Thu, Sep 22, 2011 at 12:56 AM, Abu Rasheda rcpilot2...@gmail.com wrote:
I am inserting packets into Linux stack and they are accepted by net_rx
function, but are latter dropped. What tools are available in Linux kernel
to for debugging this issue.
If you know the packet processing path,
On Fri, Aug 26, 2011 at 11:48 PM, Facundo Viale
facundo.m.vi...@gmail.com wrote:
Hi! I'm new here and i what to introduce myself i'm teacher in a University
in the course Operation Systems. During the course the students learn some
Operatyng Systems concepts, specially everything relating to
It seems there is a bugzilla from Red Hat on this issue(680864) in RHEL
6.0 kernel. Please could you try this issue on RHEL 6.1 kernel ?
Also as mentioned in the
https://bugzilla.redhat.com/show_bug.cgi?id=680864, which is similar to your
issue, you should be able to see the output of bt
I've a Linux box which is crashing under a particular test scenario.
To debug this issue I was thinking of using the crash (man 8 crash)
utility (available by default on recent releases of RHEL and SuSE) .
This tool requires the kernel crash dump (vmcore) and the debugging symbols.
On my machine,
On Wed, Aug 17, 2011 at 3:04 PM, amit mehta gmate.a...@gmail.com wrote:
I've a Linux box which is crashing under a particular test scenario.
To debug this issue I was thinking of using the crash (man 8 crash)
utility (available by default on recent releases of RHEL and SuSE) .
This tool
You need to configure kdump on your RHEL system to enable it to dump the
vmcore file when the panic happens... Kdump configuration is explained
below.. There is a crashkernel boot parameter to be passed to kernel to
specify the memory reserved for the crash kernel.
system, i tried this:
goon:/boot # gdb -q
(gdb) symbol-file System.map-2.6.32.12-0.7-default -readnow
`/boot/System.map-2.6.32.12-0.7-default': can't read symbols: File
format not recognized.
I might be missing something else as well.
-Amit
On Thu, Aug 4, 2011 at 10:19 PM, amit mehta gmate.a
Not sure about the symbol table, but was your kernel compiled
with -g flag (-g to the CFLAGS variable in the kernel Makefile) ?
-Amit
On Fri, Aug 5, 2011 at 10:42 AM, Akash email2akashj...@gmail.com wrote:
Hello,
I have a core dump from following machine :
# uname -a
Linux sing-vto2-dst
download sg3-utils and its souce code. good place to begin with.
-Amit
On Mon, Aug 1, 2011 at 2:41 PM, RKK kulkarni.ra...@gmail.com wrote:
HI all,
Im working on a storage protocol which uses SCSI commands set as
the command set and also the SCSI Task Management functions for
processing
that version yet, so if you use
this feature your makefiles will not be portable to older systems (you
might not care about that).
- Amit
On Mon, Jul 18, 2011 at 10:40 AM, amit mehta gmate.a...@gmail.com wrote:
Thank you. With your work around I do not need to edit my vimrc file
everytime i need
Hi,
How to set .RECIPEPREFIX variable to whitespace(say 4 whitespces) , so that
make uses this particular set of characters to identify the recipe for
a particular target.
In my $HOME/.vimrc file, for code indentation purpose, I've put the
following entries
to replace tabs with 4 whitespaces:
Tons of resource
http://wiki.osdev.org/
On Wed, Jul 13, 2011 at 2:07 PM, Vaibhav Jain vjoss...@gmail.com wrote:
Hi,
Thanks for the link.I really appreciate but I need something more basic and
something that
explains these concepts from a broader perspective and not in the context of
a
I find these two articles on this topic by the same guy extremely helpful:
http://duartes.org/gustavo/blog/post/how-computers-boot-up
http://duartes.org/gustavo/blog/post/kernel-boot-process
-Amit
On Sun, Jul 10, 2011 at 10:07 PM, Niamathullah sharief
newbie...@gmail.com wrote:
Dear friends,
That was quick Silesh. Thanks it worked.
On Mon, Jun 27, 2011 at 11:22 AM, Silesh C V sailes...@gmail.com wrote:
Hi,
On Mon, Jun 27, 2011 at 2:30 PM, amit mehta gmate.a...@gmail.com wrote:
I've two 64 bit machines,both have Linux kernel running, but on one of
the machines
I'm not seeing
I've two 64 bit machines,both have Linux kernel running, but on one of
the machines
I'm not seeing any node under /sys/kernel/debug.
I checked some config(CONFIG_*) in the kernel configuration file on
both machines
but they seem to be the same. More information below:
1: SuseX86_64:~ # uname -a
Hi,
I've written some kernel modules using kprobes infrastructure
to grab some more information on network packets. I've lots of
printk which by default show up in syslog file(/var/log/messages),
I was wondering if there are some method to redirect my printkS
to appear in somewhere else(say
kernel modules are represented by the data structure(struct module) as
defined in ~include/linux/module.h, and they seem to be connected by a doubly
circular link list. Now suppose I want to access all the elements in
this linked list
of kernel modules(modules that show up in /proc/modules), then
U printk
snip
Regards,
amit
On Wed, Jun 15, 2011 at 3:29 PM, amit mehta gmate.a...@gmail.com wrote:
Hi,
After looking at some Makefiles under Linux Driver sources
which uses multiple files to create the target, i tried to write
a simple hello world kernel module spanning multiple
Hi,
I recently got to know about kprobes for dynamically putting probes inside
Linux kernel. I tried some simple probes and it worked well. Now to extend
the understanding on kprobes and using it for some useful work, I'm planning
to gather some data on a particular driver(say network driver) by
83 matches
Mail list logo