struct definition inside a function

2022-11-29 Thread Anuz Pratap Singh Tomar
Hi all, I have not seen a struct define inside a function in kernel code and couldn't find any guidelines if it's permitted or frowned upon? int fn(int i) { struct my_struct { int var1; int var2 }; /* is this allowed? */ struct my_struct struct_local; return 0; } I'll appreciate any insight on

device tree and config file

2021-08-03 Thread Anuz Pratap Singh Tomar
Hi all, How does device tree file pick up node entries for modules enabled by "make menuconfig"(or just "CONFIG_XX=y "in ,config), which are not part of defconfig. Or If you enable a new module you have to write new device tree entries manually? -- Thank you Warm Regards Anuz

Re: Enquiry for contribute in Linux Kernel

2021-02-05 Thread Anuz Pratap Singh Tomar
On Fri, Feb 5, 2021 at 7:01 AM Abhijit Paul wrote: > Dear Sir, > I am Abhijit Paul and I am from India. I study in high school.I want to > *contribute > *to the Linux Kernel to become a *Linux Kernel Engineer*. But I don't > know what to learn. I know the *C/C++* programming language. Do I need

Re: linux kernel coding style and checkpatch.pl script

2020-03-26 Thread Anuz Pratap Singh Tomar
On Wed, Mar 25, 2020 at 9:38 AM Tomek The Messenger < tomekthemessen...@gmail.com> wrote: > Hi > There is checkpatch.pl script where You can check if You wrote code in > your kernel module according to linux kernel style. > However can I ignore warning message? > WARNING: quoted string split

spaces after typecasts?

2020-02-19 Thread Anuz Pratap Singh Tomar
Hi all, I don't see anything in coding guidelines about spaces after typecasts i.e. (char *)x; vs (char *) x;. Typecasts are considered keywords or not? given you could typecast to a non C keyword as well? -- Thank you Warm Regards Anuz ___

Re: Introduction & Query on Newbie Website Status

2020-02-02 Thread Anuz Pratap Singh Tomar
On Fri, Jan 31, 2020 at 11:14 PM Jack Winch wrote: > Hi All, > > Just joined the mailing list (as I will no doubt be calling on the > community's expertise in the near future). I am looking to get my > hands dirty with some kernel development - mainly because I want to > improve my

Re: Try/catch for modules?

2019-10-18 Thread Anuz Pratap Singh Tomar
On Fri, Oct 18, 2019 at 4:44 PM Martin Galvan wrote: > El jue., 17 oct. 2019 a las 19:13, Valdis Klētnieks > () escribió: > > > > For starters, the *correct* in-kernel way to deal with this is: > > if (!ptr) { > > printk("You blew it!\n"); > > goto

Re: edit wiki

2017-03-28 Thread Anuz Pratap Singh Tomar
send a mail to Rik. On Tue, Mar 28, 2017 at 4:05 AM, Tobin C. Harding wrote: > Could someone please add me to the list of names for editing the > kernelnewbies wiki. > > >From https://kernelnewbies.org/ > > To prevent wiki spam, only users on this list are allowed to edit the >

Re: Problem in First-Patch-Tutorial

2017-03-13 Thread Anuz Pratap Singh Tomar
Seems like these tasks are all part of outreachy program and you are supposed to be submitting it to the outreachy mailing list.: https://kernelnewbies.org/IIO_tasks one of the task is learning how to compile your own module, which is better explained in

Re: sizeof

2017-03-07 Thread Anuz Pratap Singh Tomar
On Tue, Mar 7, 2017 at 11:20 PM, Tobin C. Harding wrote: > Question relating to the validity/usefulness of patching calls to sizeof. > > >From Documentation/process/coding-style.rst > > The preferred form for passing a size of a struct is the following: > > .. code-block:: c > >

Re: want to be a kernel developer

2017-02-24 Thread Anuz Pratap Singh Tomar
On Fri, Feb 24, 2017 at 8:29 AM, sourav mondal wrote: > hi, > I want to be a kernel developer.I don't really know much about linux > kernel. can anyone suggests me some good books that can help to learn more > about the kernel development? > > thanks, > > sourav >

Re: driver todo's

2017-02-14 Thread Anuz Pratap Singh Tomar
On Sat, Feb 11, 2017 at 8:04 AM, srishti sharma wrote: > It was because of the documentation not being proper , as per the mail > sent by your bot , right ? I will fix those errors and re-send it . > > Thanks > > Regards > > Kernel-janitor is the right place to post minor

Sending your first patch[FYI]

2017-02-08 Thread Anuz Pratap Singh Tomar
Hi all, This is not really a question but I am sharing this article written by Julia about how to send your first patch. This question is asked quite a bit lot here on this list and I have not seen this article before. This has a lot of useful and practical info, please feel free to share it

Re: How to get involved with the latest kernel development?

2016-11-10 Thread Anuz Pratap Singh Tomar
On Thu, Nov 10, 2016 at 1:23 PM, Hao Lee wrote: > Hi, everyone > > I'm very interested in memory management, so I have read many > materials such as Understanding the Linux Virtual Memory Manager and > Understanding the Linux Kernel (2nd). These books are all about

Re: Getting started with Development

2016-10-12 Thread Anuz Pratap Singh Tomar
On Wed, Oct 12, 2016 at 2:58 PM, Ganesh wrote: > Hello, > > I am interested in memory management unit of KVM. > > On KVM's website it is mentioned that, try LRU (currently FIFO) and > analyse the performance. > > I want to do it as a final year B. Tech project ;but I

Re: How to search topics in The Kernelnewbies Archives?

2016-09-24 Thread Anuz Pratap Singh Tomar
searching through archive even with google is not that well implemented. On Wed, Sep 21, 2016 at 10:53 PM, Greg Freemyer wrote: > On Wed, Sep 21, 2016 at 2:58 AM, wrote: > > On Wed, 21 Sep 2016 14:27:03 +0800, Chi Wang said: > > > >>

Re: Booting of Linux kernel

2016-09-06 Thread Anuz Pratap Singh Tomar
On Tue, Sep 6, 2016 at 3:32 PM, Er Krishna wrote: > Hi all > > I have a basic question for understanding : > > If we want to boot the Linux kernel without bootloader what needs to be > done? > > In other words what all the core subsystem like memory and all > needs

Re: Request Chinese mail list and FrontPage

2016-09-06 Thread Anuz Pratap Singh Tomar
On Tue, Sep 6, 2016 at 9:48 AM, Schrey, Moritz < moritz.sch...@ias.rwth-aachen.de> wrote: > > On Tue, Sep 6, 2016 at 1:54 AM, Andrey Utkin > > wrote: > > > My vision is that if some nice people of Chinese origination AND > > > qualified as experienced kernel developers

Re: Please, add me to EditorsGroup

2016-08-16 Thread Anuz Pratap Singh Tomar
On Tue, Aug 16, 2016 at 11:11 AM, Aleksander Alekseev wrote: > Hello. > > I would like to contribute to kernelnewbies.org. In particular today I > discovered that link to oftc.net on IRC page is broken and I would like > to fix this. > > My account: AleksanderAlekseev > > You

Re: oh yeah

2016-06-21 Thread Anuz Pratap Singh Tomar
On Tue, Jun 21, 2016 at 3:05 PM, ty armour wrote: > if you all want to you can build computers microchip by microchip, just > post tutorials on it if you do! > > these are fun things to think about. IM like a few years out but im sure > ill get it done > > I would recommend

Re: looking for tutorials

2016-06-21 Thread Anuz Pratap Singh Tomar
On Mon, Jun 13, 2016 at 3:43 PM, ty armour wrote: > I need tutorials on kernel development. And on complete operating system > development. I would prefer them to be in assembly because it is faster, > but it seriously needs to get done. > > If you are interested, simply

Re: Book Material

2016-06-12 Thread Anuz Pratap Singh Tomar
On Sun, Jun 12, 2016 at 7:45 PM, akhilesh baddigam < baddigam.akhil...@gmail.com> wrote: > Grettings every one, > > I am new to linux kernel development, I started reading Robert loves Linux > Kernel Development Book, The book is more theoretical I need to start linux > kernel kernel programming,

Re: list etiquette

2016-06-06 Thread Anuz Pratap Singh Tomar
On Mon, Jun 6, 2016 at 9:53 AM, Tobin Harding wrote: > LKML list etiquette question. > > When asking a [simple] question that receives an suitable answer is it > correct > etiquette to reply with a thank you email or is this just adding noise to > the > list? > > Generally, it is

Re: Submitting patches to non-staging

2016-03-04 Thread Anuz Pratap Singh Tomar
On Thu, Mar 3, 2016 at 1:50 AM, Pratyush Patel wrote: > On Thu, Mar 3, 2016 at 1:15 AM, Christoph Lameter wrote: > > On Tue, 1 Mar 2016, Pratyush Patel wrote: > > > >> I will be pursuing my undergraduate thesis research in the field of > >>

Re: Drivers in staging folder

2016-01-06 Thread Anuz Pratap Singh Tomar
On Wed, Jan 6, 2016 at 11:07 AM, James Miller wrote: > Hi All, > > I've had a look at the TODO files but I'm having some difficulty with > finding out which devices each of the drivers support. My plan was to find > a driver in staging, get a device off ebay which uses the

Two questions

2015-10-28 Thread Anuz Pratap Singh Tomar
1. Is this book still relevant? Linux Kernel in Nutshell by GKH http://www.kroah.com/lkn/ 2. Which is the official mailing list discussion on staging tree/driver? -- Thank you Warm Regards Anuz ___ Kernelnewbies mailing list

Re: Two questions

2015-10-28 Thread Anuz Pratap Singh Tomar
On Wed, Oct 28, 2015 at 4:08 PM, Albino B Neto <b...@bino.us> wrote: > 2015-10-28 13:57 GMT-02:00 Anuz Pratap Singh Tomar < > chambilketha...@gmail.com>: > > 1. Is this book still relevant? > > Linux Kernel in Nutshell by GKH > > http://www.kroah.com/lkn/ &g

Re: Newbie help

2015-08-03 Thread Anuz Pratap Singh Tomar
On Mon, Aug 3, 2015 at 3:38 PM, Rishabh Chakrabarti bassdevelo...@gmail.com wrote: Hello all, Where can I search the archives and other resources for answering the following questions: 1. How to dive into the code? i.e. entry points 2. What are the pre-requisites for understanding the

Re: goto???

2015-07-17 Thread Anuz Pratap Singh Tomar
On Fri, Jul 17, 2015 at 8:55 AM, Navy nav...@126.com wrote: Hello, Goto is recommend in linux kernel programming, but it is despised in many other situation. There are four rationable for using goto in Documentation/CodingStyle. Do you have some viewpoints about why goto or why not goto? I'm

Re: Question about assembly in set bit function for x86 architecture

2015-04-19 Thread Anuz Pratap Singh Tomar
On Mon, Apr 20, 2015 at 12:08 AM, Nicholas Krause xerofo...@gmail.com wrote: On April 19, 2015 5:13:20 PM EDT, Anuz Pratap Singh Tomar chambilketha...@gmail.com wrote: On Sun, Apr 19, 2015 at 9:51 PM, nick xerofo...@gmail.com wrote: Greetings All, I am wondering what the below code

Re: Question about assembly in set bit function for x86 architecture

2015-04-19 Thread Anuz Pratap Singh Tomar
On Sun, Apr 19, 2015 at 9:51 PM, nick xerofo...@gmail.com wrote: Greetings All, I am wondering what the below code in the asm modifier does: static inline void set_bit(int nr, void *addr) { asm(btsl %1,%0 : +m (*(u32 *)addr) : Ir (nr)); } This would be very helpful as I am new to

Re:

2015-03-30 Thread Anuz Pratap Singh Tomar
On Mon, Mar 30, 2015 at 5:56 AM, Woody Wu narkewo...@gmail.com wrote: Hi, I have a kernel already run on production, but I then realized that I need to add one or two driver to it. But I hope I can avoid to upgrade the kernel image for those already running products, I hope I can only

a good video about programming and software engg in Linux kernel

2015-03-23 Thread Anuz Pratap Singh Tomar
Hello folks, This video was shared by Alison to me. Here Dave Chinner talks about some of the recent events which transpired at lkml and kernelnewbies. I think we all have witness the said event and some of us have participated in this so called flame war. Besides all that, this is a very good

Re: New member

2015-01-25 Thread Anuz Pratap Singh Tomar
On Sun, Jan 25, 2015 at 7:38 PM, srinivas bakki srinivas.ba...@gmail.com wrote: Valdis, You got to be polite with people.Not everybody is as smart as you, but they would like to contribute. Just keep in in mind that there's no future for linux without such people. You cannot keep

Re: New member

2015-01-25 Thread Anuz Pratap Singh Tomar
On Sun, Jan 25, 2015 at 8:16 PM, srinivas bakki srinivas.ba...@gmail.com wrote: Anuz, Sorry about that. But am also sorry that you could find a problem as silly as that. We have a greater problem at hand. As a kernel hacker, no problem is silly like that. All problem needs to be

Re: Help

2015-01-14 Thread Anuz Pratap Singh Tomar
On Wed, Jan 14, 2015 at 9:16 AM, SAJID HOSSAIN sajid.sajid5...@outlook.com wrote: Hi everyone, I am new to open source and really interested in contributing to Linux kernel, can someone please help me how to get started. P.S : I have good knowledge in computer architecture, operating systems

Re: catch exit status of daemon

2015-01-06 Thread Anuz Pratap Singh Tomar
On Tue, Jan 6, 2015 at 3:22 PM, Yash Jain yash2le...@gmail.com wrote: Hello All, I have one dumb question, I wanted to write a process which monitors the exit status of the daemon, The Main process would fork a service, which would internally fork a child and , exit from the process. If

Re: Doubt In Char Drivers

2015-01-03 Thread Anuz Pratap Singh Tomar
While we are on the topic of ldd, does anyone know where can the latest source for ldd drivers be found? I think Greg said someone is maintaining a repo kernel wise? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: Issues with Community

2014-09-17 Thread Anuz Pratap Singh Tomar
ahahaha, this is a total win. There are many other theories such as it could be some joruno or redditter trying to get burned by Linus to get some headlines. It could be NSA trying to sneak their code, it could be Russians. But none of these theories beat the one by Giorgio A. Tsoukalos who

Re: Improve my Rep

2014-09-15 Thread Anuz Pratap Singh Tomar
On Mon, Sep 15, 2014 at 3:38 PM, Nick Krause xerofo...@gmail.com wrote: After issues with the community I am wondering how to improve my rep and help out more. I will start out with check patch but if there is other work please let me known :). Seriously, you are beyond help. A lot of

Re: Bad Patches and Issues with other devolopers

2014-08-06 Thread Anuz Pratap Singh Tomar
oh man you have gained prominence in vger? They have banned you from vger. Sarah Sharp, Greg-KH, Ted Tso etc are talking about you, quite some fame lol. https://plus.google.com/116960357493251979546/posts/N1roxd2k1f7 https://lkml.org/lkml/2014/8/4/206 On Wed, Aug 6, 2014 at 12:43 AM, Nick Krause

Re: Bad Patches and Issues with other devolopers

2014-08-06 Thread Anuz Pratap Singh Tomar
On Wed, Aug 6, 2014 at 11:02 AM, Pramod Gurav pramod.gurav@gmail.com wrote: Now Nick can go and Troll these guys in there, Thanks to Anuz! :) Happy to help :D On Wed, Aug 6, 2014 at 3:18 PM, Anuz Pratap Singh Tomar chambilketha...@gmail.com wrote: oh man you have gained prominence

Re: Bad Patches and Issues with other devolopers

2014-08-06 Thread Anuz Pratap Singh Tomar
xerofo...@gmail.com wrote: On Wed, Aug 6, 2014 at 8:47 AM, Nick Krause xerofo...@gmail.com wrote: On Wed, Aug 6, 2014 at 6:30 AM, Anuz Pratap Singh Tomar chambilketha...@gmail.com wrote: On Wed, Aug 6, 2014 at 11:02 AM, Pramod Gurav pramod.gurav@gmail.com wrote

Re: Bad Patches and Issues with other devolopers

2014-08-05 Thread Anuz Pratap Singh Tomar
On Tue, Aug 5, 2014 at 7:04 PM, Nick Krause xerofo...@gmail.com wrote: On Tue, Aug 5, 2014 at 1:59 PM, Mandeep Sandhu mandeepsandhu@gmail.com wrote: Hi Nick, I came across some G+ posts from kernel developers discussing you and your recent patch submissions. I must say you're pretty

Re: Kernel Development

2014-02-24 Thread Anuz Pratap Singh Tomar
On Mon, Feb 24, 2014 at 6:44 AM, subham soni sonikern...@gmail.com wrote: First and foremost do not top post on this mailing list. Google about toppost and bottom post. Which of the Linux Distros should I take into consideration?Debian,Fedora,Gentoo,Slackware,openSUSE,etc.. there are so many,

Re: make kernel driver closed

2014-01-25 Thread Anuz Pratap Singh Tomar
On Sat, Jan 25, 2014 at 7:12 AM, phani kumar yakkaladevi.ph...@gmail.comwrote: Hi all, Is there any way to make kernel driver closed(not open source)? Description: I have driver, I want make it non-open source. how can I do it? You shouldn't be posting such questions in this mailing list

Re: Device driver tutorial

2013-12-13 Thread Anuz Pratap Singh Tomar
On Fri, Dec 13, 2013 at 12:53 PM, s.v.krishna reddy svkr...@gmail.comwrote: Hello everyone, Could you just a easy and quick tutorial for learning device driver concepts, referring to a sample driver all the way? How about NO? There is a reason for it be a long learning process. It would

Re: Device driver tutorial

2013-12-13 Thread Anuz Pratap Singh Tomar
on LWN.net, kernelnewbies.org and other such sites, they are useful. On Fri, Dec 13, 2013 at 6:30 PM, Anuz Pratap Singh Tomar chambilketha...@gmail.com wrote: On Fri, Dec 13, 2013 at 12:53 PM, s.v.krishna reddy svkr...@gmail.comwrote: Hello everyone, Could you just a easy and quick

Re: Device driver tutorial

2013-12-13 Thread Anuz Pratap Singh Tomar
On Fri, Dec 13, 2013 at 1:59 PM, s.v.krishna reddy svkr...@gmail.comwrote: On Fri, Dec 13, 2013 at 7:07 PM, Anuz Pratap Singh Tomar chambilketha...@gmail.com wrote: On Fri, Dec 13, 2013 at 1:26 PM, s.v.krishna reddy svkr...@gmail.comwrote: Thanks for you response, There is always

Re: Make File error

2013-12-05 Thread Anuz Pratap Singh Tomar
On Thu, Dec 5, 2013 at 12:19 PM, Chandan Jay Sharma chandan...@gmail.comwrote: Sometime back I faced similar error on my CentOS machine and after googling I fixed it in 2 steps. 1. ln -s /usr/src/kernels/*2.6.32-220.**el6.x86_64* /lib/modules/2.6.32-220.el6.x86_64/*build* 2. ln -s

Re: Installing CentOs without NetFilter

2013-11-26 Thread Anuz Pratap Singh Tomar
On Tue, Nov 26, 2013 at 8:30 AM, Robert Clove cloverob...@gmail.com wrote: Hi All, Can it be possible to install Centos without installing the Netfilter. http://www.centos.org/modules/tinycontent/?id=16 Thanks Clove ___ Kernelnewbies mailing

Re: Major and minor numbers

2013-11-26 Thread Anuz Pratap Singh Tomar
On Tue, Nov 26, 2013 at 11:06 AM, Nav Kamal navkama...@gmail.com wrote: Am a little stuck at major and minor numbers used to reference the connection between device file and device driver. Can please somebody theoretically explain how they work ? http://www.makelinux.net/ldd3/chp-3-sect-2

Re: Major and minor numbers

2013-11-26 Thread Anuz Pratap Singh Tomar
-udev Regards, Navkamal Rakra On Nov 26, 2013 6:33 PM, Anuz Pratap Singh Tomar chambilketha...@gmail.com wrote: On Tue, Nov 26, 2013 at 11:06 AM, Nav Kamal navkama...@gmail.com wrote: Am a little stuck at major and minor numbers used to reference the connection between device file

Re: Embedded Toolchain

2013-11-18 Thread Anuz Pratap Singh Tomar
On Mon, Nov 18, 2013 at 4:52 AM, Anand Moon moon.li...@yahoo.com wrote: Hi All, During compilation of openwrt it obviously create an embedded tookchain using the gcc, buildutils and the kernel for architecture i.e. (MIPS or ARM). So is it that this toolchain will work for that particular

Re: What is the best distro for starting linux kernel development?

2013-11-13 Thread Anuz Pratap Singh Tomar
Kernel development may not directly be related to the Distro. The choice of distro is completely personal. If you have read kernel development books or Linux in general you would have understood the same. Some distros come ready with development tools right from onsets, for others you can use

Re: Are you interested in a Linux Kernel Off-topic Mailing List?

2013-11-13 Thread Anuz Pratap Singh Tomar
On Wed, Nov 13, 2013 at 11:20 AM, Gustavo da Silva gustavodasi...@gmail.com wrote: Or even who is not interested in Linux Kernel Off-topic Mainling List, just don't subscribe him/her in the list. 2013/11/13 Gustavo da Silva gustavodasi...@gmail.com And... ...Why not?! Of course!! Topics

Re: What is the best distro for starting linux kernel development?

2013-11-13 Thread Anuz Pratap Singh Tomar
On Wed, Nov 13, 2013 at 11:40 AM, Mandeep Sandhu mandeepsandhu@gmail.com wrote: On Wed, Nov 13, 2013 at 5:00 PM, Anuz Pratap Singh Tomar chambilketha...@gmail.com wrote: Linus Torvalds and Alan Cox use Fedora(or other redhat distros), though Alan talked about shifting to other distros

Re: What is the best distro for starting linux kernel development?

2013-11-13 Thread Anuz Pratap Singh Tomar
On Wed, Nov 13, 2013 at 12:49 PM, Geyslan Gregório Bem geys...@gmail.comwrote: 2013/11/13 Mandeep Sandhu mandeepsandhu@gmail.com: Why not ask him? :-D Straight from the horse's mouth! :) -mandeep PS: Put your fire-retardant suit and fire away on LKML! :P I'm not so crazy at

Re: Any interesting linux projects?

2013-09-06 Thread Anuz Pratap Singh Tomar
On Fri, Sep 6, 2013 at 8:16 AM, manty kuma mantyk...@gmail.com wrote: I would like to work on some open source Linux projects. Please share some interesting projects that i can work from home. I am not looking for anything specific. Anything would do. Any interesting debugging tool or some

Re: Any interesting linux projects?

2013-09-06 Thread Anuz Pratap Singh Tomar
On Fri, Sep 6, 2013 at 12:03 PM, Matthias Beyer m...@beyermatthias.dewrote: The website says Most of these lists can be searched via the http://marc.theaimsgroup.com/ archive. That is something which needs to be fixed, or probably we need more user friendly archiving and search

Re: Info Virtual Rootkit Blocker

2013-09-04 Thread Anuz Pratap Singh Tomar
On Wed, Sep 4, 2013 at 4:59 AM, Shubhashish Behera shubhashish_...@yahoo.co.in wrote: There is a ongoing project is present under the kernel projects. http://kernelnewbies.org/KernelProjects/VirtRootkitBlocker?highlight=%28CategoryKernelProjects%29 Ok, First things first, do not top post

Re: Info Virtual Rootkit Blocker

2013-09-02 Thread Anuz Pratap Singh Tomar
On Mon, Sep 2, 2013 at 7:07 AM, Shubhashish Behera shubhashish_...@yahoo.co.in wrote: Please provide me some info about virtual Rootkit blocker. Probably not the right mailing list. Look for security related mailing lists. This is kernel mailing list. -- Thank you Warm Regards Anuz

Re: Need help for getting started

2013-09-02 Thread Anuz Pratap Singh Tomar
On Mon, Sep 2, 2013 at 11:29 AM, 901...@gmail.com 901...@gmail.com wrote: Hello all, I am a newbie here. I'd like to contribute in architectures, kernel features, virtualization, and drivers parts, but I don't know where is a good way to start. I have looked for some advice but I have had a

Re: Understanding disassembly x86 + understanding function call + parameter pass and stack frame

2013-08-06 Thread Anuz Pratap Singh Tomar
On Tue, Aug 6, 2013 at 10:43 AM, Saket Sinha saket.sinh...@gmail.comwrote: Actually I need to ask you something rather than offering a solution. Actually I have a similar sort of situation so I think I would ask here. Please don't do this. Ask the question separately. There are better chances

Re: SNORT/SURICATA LEARNing

2013-04-16 Thread Anuz Pratap Singh Tomar
On Tue, Apr 16, 2013 at 12:17 PM, Robert Clove cloverob...@gmail.comwrote: Dear All, I want to learn the snort and suricata whats the best way to learn it. See there are ample tutorials out there if you want to configure snort for particular box. If you want to get into learning about how to

Re: Interrupt Handler of Ethernet Device

2013-04-05 Thread Anuz Pratap Singh Tomar
On Fri, Apr 5, 2013 at 1:11 PM, Robert Clove cloverob...@gmail.com wrote: Thanks for the link. I have another query too..should i ask right now? If the question is relevant to current discussion, please ask here but if it just piggyback to totally different topic at hand make a new

Re: Design Patterns in Linux Kernel: Fancy Tricks With Linked Lists

2013-03-19 Thread Anuz Pratap Singh Tomar
On Tue, Mar 19, 2013 at 3:53 PM, Dave Hylands dhyla...@gmail.com wrote: Hi Arlie, On Tue, Mar 19, 2013 at 8:34 AM, Arlie Stephens ar...@worldash.org wrote: Hi Folks, I'm trying to understand the linux way of doing things, so as to write code which will be easier for experienced

Re: for interested folks, i'll announce new kernel tutorials via twitter

2013-03-17 Thread Anuz Pratap Singh Tomar
On Sun, Mar 17, 2013 at 1:37 PM, Robert P. J. Day rpj...@crashcourse.cawrote: as i don't want to seem like i'm spamming this list with notes about new, posted kernel tutorials, people who want to stay on top of these are welcome to follow me on twitter at @rpjday. everything written and

Re: gdtr value

2013-02-20 Thread Anuz Pratap Singh Tomar
On Tue, Feb 19, 2013 at 10:18 PM, horseriver horseriv...@gmail.com wrote: On Mon, Feb 18, 2013 at 12:25:43PM +, Anuz Pratap Singh Tomar wrote: On Mon, Feb 18, 2013 at 1:55 AM, horseriver horseriv...@gmail.com wrote: Intel® 64 and IA-32 Architectures Software Developer’s Manual

Re: .a library support for android

2013-02-20 Thread Anuz Pratap Singh Tomar
On Wed, Feb 20, 2013 at 11:16 AM, Shivaprasad Imdapur shiv.imda...@gmail.com wrote: Hi All, I got some library file to support Biometric sensor device for android. The library is libfpc4030.a My Doubts are, 1. What is *.a file? A bit of googling would reveal that *.a are static

Re: gdtr value

2013-02-18 Thread Anuz Pratap Singh Tomar
On Mon, Feb 18, 2013 at 1:55 AM, horseriver horseriv...@gmail.com wrote: hi:) The gdtr reg saves the base address of gdt , whether is this address a linear address or phisical address ? According to Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 3B: System Programming

Re: gdtr value

2013-02-18 Thread Anuz Pratap Singh Tomar
On Mon, Feb 18, 2013 at 5:07 AM, horseriver horseriv...@gmail.com wrote: hi:) I have compiled a .S file ,using command gcc -c x.S -o x. Then I use objdump to look up its asm code, even find that some code is not the same as that .S file , more important is , some code in origin .S

Re: gdtr value

2013-02-18 Thread Anuz Pratap Singh Tomar
On Mon, Feb 18, 2013 at 3:05 PM, Anuz Pratap Singh Tomar chambilketha...@gmail.com wrote: On Mon, Feb 18, 2013 at 5:07 AM, horseriver horseriv...@gmail.com wrote: hi:) I have compiled a .S file ,using command gcc -c x.S -o x. Then I use objdump to look up its asm code, even find

Re: kernel source code tree

2013-02-10 Thread Anuz Pratap Singh Tomar
On Sat, Feb 9, 2013 at 3:48 PM, sunil sunil.slvp...@gmail.com wrote: Hi all, need help, I am trying to write simple device driver. But before that i need to download kernel source code tree someone please explain how to download this and configure. I am very new to this. I am using ubuntu

Re: hd controller

2013-02-07 Thread Anuz Pratap Singh Tomar
On Thu, Feb 7, 2013 at 6:13 PM, valdis.kletni...@vt.edu wrote: On Thu, 07 Feb 2013 16:19:33 +0800, horseriver said: hi:) I am curious about how hd controller work . When user am reaing/writing hd ,it was implemented by sending command to hd controller's special port.Then ,how

Re: /root/.debug/ ... ?

2013-02-05 Thread Anuz Pratap Singh Tomar
On Tue, Feb 5, 2013 at 6:52 AM, Shraddha Kamat sh200...@gmail.com wrote: Might be a silly question - but since I am a newbie I am trying to understand the reason for existance for most of the stuff that I find while reading the code --- here is my question -- I see that there is a directory

Re: Kernel DSO ?

2013-02-05 Thread Anuz Pratap Singh Tomar
On Tue, Feb 5, 2013 at 3:02 AM, Mulyadi Santosa mulyadi.sant...@gmail.comwrote: On Tue, Feb 5, 2013 at 9:13 AM, Shraddha Kamat sh200...@gmail.com wrote: What is a kernel DSO ? I encountered it while I was reading perf code. AFAIK, it's a virtual library, which act as a hub when user space

Re: open image file

2013-02-03 Thread Anuz Pratap Singh Tomar
On Sun, Feb 3, 2013 at 2:03 AM, horseriver horseriv...@gmail.com wrote: hi: Is there mothod to look into a image file ? How can I know its filesystem? I have mounted my fd0 to /mnt with -t tmpfs ,but I find nothing under /mnt.How can I touch the files in image? I think you need

Re: Kernel kallsyms

2013-01-31 Thread Anuz Pratap Singh Tomar
On Thu, Jan 31, 2013 at 10:28 AM, Shraddha Kamat sh200...@gmail.com wrote: What are kernel kallsyms - and why are they used ? Please do google a bit before asking question. Any kernel book would give explanation about kernel symbols( I think Robert Love's book have good discussion about

Re: How to make a bootable hard disk image?

2013-01-31 Thread Anuz Pratap Singh Tomar
On Wed, Jan 30, 2013 at 11:05 PM, horseriver horseriv...@gmail.com wrote: On Thu, Jan 31, 2013 at 03:09:00PM +0700, Mulyadi Santosa wrote: On Thu, Jan 31, 2013 at 4:44 AM, horseriver horseriv...@gmail.com wrote: On Thu, Jan 31, 2013 at 12:51:36PM +0700, Mulyadi Santosa wrote: On Thu,

Re: GRUB question

2013-01-28 Thread Anuz Pratap Singh Tomar
On Sun, Jan 27, 2013 at 10:50 PM, horseriver horseriv...@gmail.com wrote: On Mon, Jan 28, 2013 at 03:07:13PM +0700, Mulyadi Santosa wrote: On Mon, Jan 28, 2013 at 5:10 AM, horseriver horseriv...@gmail.com wrote: Does this /boot/initrd.img file come out when building kernel ? how to

Re: Linux Kernel Networking document (free, 178 pages doc)

2013-01-28 Thread Anuz Pratap Singh Tomar
On Mon, Jan 28, 2013 at 4:53 PM, Rami Rosen roszenr...@gmail.com wrote: Hi everyone, You can find here an up to date and detailed document in pdf (178 pages) about Linux Kernel Networking; going deep into design and implementation details as well as the theory behind it:

Re: how to pick up a patch from a mail

2013-01-24 Thread Anuz Pratap Singh Tomar
On Sun, Jan 20, 2013 at 6:26 AM, Asutosh Das das.asut...@gmail.com wrote: Hi Say I want to pick up a patch

Re: what is the difference between the two command?

2013-01-21 Thread Anuz Pratap Singh Tomar
On Mon, Jan 21, 2013 at 1:01 AM, horseriver horseriv...@gmail.com wrote: On Sun, Jan 20, 2013 at 09:07:15AM -0800, Ian Lance Taylor wrote: On Sat, Jan 19, 2013 at 1:30 PM, horseriver horseriv...@gmail.com wrote: On Sat, Jan 19, 2013 at 09:47:53PM -0800, Ian Lance Taylor wrote: On Fri,

Re: what is the function of do_softirq() ?

2013-01-16 Thread Anuz Pratap Singh Tomar
On Tue, Jan 15, 2013 at 6:31 AM, horseriver horseriv...@gmail.com wrote: hi: what is the function of do_softirq()? It is called by ksoftirqd() ,which is setup by : kernel_thread(ksoftirqd, hcpu, CLONE_KERNEL) ; Please read Understanding the Linux Kernel Chapter on Interrupts and

Re: Kernel documentation

2013-01-16 Thread Anuz Pratap Singh Tomar
On Wed, Jan 16, 2013 at 4:35 PM, shubham kernel.shub...@gmail.com wrote: Hi All, I want to know if we have some documentation of kernel which specifically shows function calls in kernel code (It might be in the form of flow charts). I think we can use tools like doxygen. Is there any work

Re: Is make rpm-pkg and make binrpm-pkg same?

2013-01-15 Thread Anuz Pratap Singh Tomar
On Tue, Jan 15, 2013 at 2:03 PM, Bin Wang wbi...@gmail.com wrote: Hi, I build the kernel with make rpm-pkg and make binrpm-pkg. The make help shows: rpm-pkg - Build both source and binary RPM kernel packages binrpm-pkg- Build only the binary kernel package But

Re: what does this do ?

2013-01-14 Thread Anuz Pratap Singh Tomar
On Mon, Jan 14, 2013 at 4:50 AM, horseriver horseriv...@gmail.com wrote: On Sun, Jan 13, 2013 at 09:27:45PM -0800, Dave Hylands wrote: Hi, On Sun, Jan 13, 2013 at 11:29 AM, horseriver horseriv...@gmail.com wrote: hi: In kernel code . some function is defined by

Re: what does this do ?

2013-01-14 Thread Anuz Pratap Singh Tomar
On Mon, Jan 14, 2013 at 6:02 AM, horseriver horseriv...@gmail.com wrote: On Mon, Jan 14, 2013 at 02:44:11PM +, Anuz Pratap Singh Tomar wrote: On Mon, Jan 14, 2013 at 4:50 AM, horseriver horseriv...@gmail.com wrote: On Sun, Jan 13, 2013 at 09:27:45PM -0800, Dave Hylands wrote: Hi

Re: what mail list can discuss linux network details?

2013-01-13 Thread Anuz Pratap Singh Tomar
On Sun, Jan 13, 2013 at 2:25 AM, horseriver horseriv...@gmail.com wrote: hi: Is there some mail list for discussion of network details? http://vger.kernel.org/vger-lists.html thanks! ___ Kernelnewbies mailing list

Re: Cross Compiling a different architechture

2013-01-09 Thread Anuz Pratap Singh Tomar
. TnR, Ganesh -- *From:* Anuz Pratap Singh Tomar chambilketha...@gmail.com *To:* Ganesh B ganeshsu...@yahoo.com *Cc:* Mulyadi Santosa mulyadi.sant...@gmail.com; kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org *Sent:* Tuesday, January 8, 2013 8:44

Re: Cross Compiling a different architechture

2013-01-09 Thread Anuz Pratap Singh Tomar
such issues or not(but that is highly tentative. ) TnR, Ganesh -- *From:* Anuz Pratap Singh Tomar chambilketha...@gmail.com *To:* Ganesh B ganeshsu...@yahoo.com *Cc:* kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org *Sent:* Wednesday, January 9

Re: Cross Compiling a different architechture

2013-01-08 Thread Anuz Pratap Singh Tomar
these guidelines before asking any question on this list http://kernelnewbies.org/mailinglistguidelines TnR, Ganesh -- *From:* Mulyadi Santosa mulyadi.sant...@gmail.com *To:* Ganesh B ganeshsu...@yahoo.com *Cc:* Anuz Pratap Singh Tomar chambilketha...@gmail.com

Re: can i replace a .S file with .c file.

2013-01-07 Thread Anuz Pratap Singh Tomar
On Mon, Jan 7, 2013 at 12:34 PM, SaNtosh kuLkarni santosh.yesop...@gmail.com wrote: Hi is it possible that the assembly code .S file in linux kernel be replaced by a .C file. This seems like a very general question. Which file do you want to replace and why? You should understand that any

Re: can i replace a .S file with .c file.

2013-01-07 Thread Anuz Pratap Singh Tomar
of tcp/ip/upd checksum routines. if these are the files you are trying to change, then why are you trying to change the format? And how do you know that changing from Assembly to C will improve the efficiency? On Mon, Jan 7, 2013 at 7:09 PM, Anuz Pratap Singh Tomar chambilketha...@gmail.com

Re: Cross Compiling a different architechture

2013-01-05 Thread Anuz Pratap Singh Tomar
On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B ganeshsu...@yahoo.com wrote: Hello, I am receiving a configuration and CC1 Errors when cross compiling ARM64 machine from a i386 version. Any help on correct cross compiling a architechture from a different machine. A weblink is also fine. Been trying

Re: Cross Compiling a different architechture

2013-01-05 Thread Anuz Pratap Singh Tomar
using the configuration like buildroot one. And please do not top post. Warm Regards, Ganesh -- *From:* Anuz Pratap Singh Tomar chambilketha...@gmail.com *To:* Ganesh B ganeshsu...@yahoo.com *Cc:* kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org

Re: Difference x86 and x86_64

2012-12-24 Thread Anuz Pratap Singh Tomar
On Sun, Dec 23, 2012 at 3:58 PM, Shraddha Kamat sh200...@gmail.com wrote: I used x86 - bzImage to boot my machine and 'uname -a' shows this :- Linux phx4 3.7.1 #3 SMP Sun Dec 23 16:28:20 IST 2012 x86_64 x86_64 x86_64 GNU/Linux where I see x86_64 arch (and not x86_64) ??? What is the

Re: Re:Re: Re:Re: gcc 2.95.3 compile failure

2012-12-21 Thread Anuz Pratap Singh Tomar
On Fri, Dec 21, 2012 at 9:56 AM, Bernd Petrovitsch be...@petrovitsch.priv.at wrote: On Fre, 2012-12-21 at 09:11 +0800, horse_rivers wrote: At 2012-12-20 18:01:40,Bernd Petrovitsch be...@petrovitsch.priv.at wrote: On Don, 2012-12-20 at 11:11 +0800, horse_rivers wrote: [] becasue i

Re: gcc 2.95.3 compile failure

2012-12-19 Thread Anuz Pratap Singh Tomar
On Wed, Dec 19, 2012 at 2:10 PM, horse_rivers horse_riv...@126.com wrote: hi: I am trying to compile gcc2.95.3 ,after I patch source code , and configure , make fail with this :gcc-2.95.3/libio/streambuf.h:37: parse error before `}' I find this line is 35 extern C {

  1   2   >