Re: Learning things

2015-04-06 Thread Anupam Kapoor
> [2015-04-07T00:08:10+0530]: "Mike Thompson" (mike-thompson): ,[ mike-thompson ] | As others mention, using the Linux kernel to come up to speed with C is the | wrong approach. If you have a strong desire to learn kernel programming | concepts while coming up to speed on C, I would sugge

VFS/driver core overhead

2015-04-06 Thread nick
Greetings All, After reading through the code for the usb and vfs core infrastructure, I was wondering if after reading it if I am correct in my notion of there being very little overhead or none at all int these areas of the kernel. This is due to be noticing most drivers and file systems wra

Re: cross-compiling kernel using a 32-bit toolchain on a 64-bit machine

2015-04-06 Thread Rock Lee
On 2015/4/7 6:50, Mandeep Sandhu wrote: > Hi All, > > I'm having trouble compiling my kernel using a 32-bit toolchain (for > ARM) on a 64-bit host (Ubuntu 14.10). The kernel version is 3.14.17. > > I understand that 32-bit binaries require "ia32-libs" (or equivalent) > for compiling on 64-bit hos

Re: cross-compiling kernel using a 32-bit toolchain on a 64-bit machine

2015-04-06 Thread John de la Garza
On Mon, Apr 06, 2015 at 03:50:41PM -0700, Mandeep Sandhu wrote: > > I'm having trouble compiling my kernel using a 32-bit toolchain (for > ARM) on a 64-bit host (Ubuntu 14.10). The kernel version is 3.14.17. > > Any hints on how to get make to use the toolchain? > after you export CROSS_COMPILE

Re: Learning things

2015-04-06 Thread Joris Bolsens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thanks for the suggestions, I'll look into those, hopefully ill find something I can help out with and learn at the same time xD - -Joris -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCAAGBQJVIxJCAAoJEORnMHMHY2Frq1IP/21ZJWUnTseYFnD1HOaDgG

cross-compiling kernel using a 32-bit toolchain on a 64-bit machine

2015-04-06 Thread Mandeep Sandhu
Hi All, I'm having trouble compiling my kernel using a 32-bit toolchain (for ARM) on a 64-bit host (Ubuntu 14.10). The kernel version is 3.14.17. I understand that 32-bit binaries require "ia32-libs" (or equivalent) for compiling on 64-bit hosts. I installed the required packages (lib32z1 lib32nc

packet_mmap: How to kernel address from user-space address

2015-04-06 Thread selvamuthukumar v
I'm trying to accelerate snort with a hardware Pattern Matching Engine. snort gets packets using libpcap which uses packet mmap. snort gets the mmap-ed address, it does all header parsing, now I want to offload the content detection to hardware. PME driver currently provides and ioctl interface to

Re: Learning things

2015-04-06 Thread Mike Thompson
> I'm working on trying to teach myself C and was wondering if you had any > kernel specific recommendations. I started the eudyptula challenge but > so far it seems to be mostly learning the standards and whatnot. Are > there any kernel/C books or online tutorials you guys think would help? As ot

Re: Learning things

2015-04-06 Thread Greg KH
On Mon, Apr 06, 2015 at 10:43:46AM -0700, Joris Bolsens wrote: > Hey list, > > I'm working on trying to teach myself C and was wondering if you had any > kernel specific recommendations. I started the eudyptula challenge but > so far it seems to be mostly learning the standards and whatnot. Are >

RE: Learning things

2015-04-06 Thread Jeff Haran
-Original Message- From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Joris Bolsens Sent: Monday, April 06, 2015 10:07 AM To: valdis.kletni...@vt.edu Cc: kernelnewbies@kernelnewbies.org Subject: Re: Learning things -BEGIN PGP SI

Re: Learning things

2015-04-06 Thread Joris Bolsens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 In that case do you have any general recommendations? Or is there some sort of project that covers most of the basics? I learn best by doing and most stuff I found online goes pretty slow and is a bit boring :/ Thanks a ton On 04/06/2015 10:02 AM,

RE: Learning things

2015-04-06 Thread Jeff Haran
-Original Message- From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Joris Bolsens Sent: Monday, April 06, 2015 10:44 AM To: kernelnewbies@kernelnewbies.org Subject: Learning things >Hey list, > >I'm working on trying to teach myse

Re: Learning things

2015-04-06 Thread Valdis . Kletnieks
On Mon, 06 Apr 2015 10:43:46 -0700, Joris Bolsens said: > I'm working on trying to teach myself C and was wondering if you had any > kernel specific recommendations. Don't bother trying until you have an actual good working knowledge of C. Work in userspace where your screw-ups just take the pro

Learning things

2015-04-06 Thread Joris Bolsens
Hey list, I'm working on trying to teach myself C and was wondering if you had any kernel specific recommendations. I started the eudyptula challenge but so far it seems to be mostly learning the standards and whatnot. Are there any kernel/C books or online tutorials you guys think would help?

RE: /sys/module/ info for pci driver

2015-04-06 Thread Jeff Haran
From: kernelnewbies-bounces+jharan=bytemobile@kernelnewbies.org [mailto:kernelnewbies-bounces+jharan=bytemobile@kernelnewbies.org] On Behalf Of rahul b Sent: Monday, April 06, 2015 4:37 AM To: kernelnewbies@kernelnewbies.org Subject: /sys/module/ info for pci driver Hi After loading p

/sys/module/ info for pci driver

2015-04-06 Thread rahul b
Hi After loading pci driver for proprietary ethernet card, i dont see the few module detail in in /sys/module//drivers/pci:/net . Can someone tell what APIs should be used to get the ethernet interface name , mac address details . Thanks ___ Kerneln

Re: "Hurr durr I'ma sheep"

2015-04-06 Thread Kaushal Shriyan
Thanks Alan for the reply. Regards, Kaushal On Mon, Apr 6, 2015 at 1:01 PM, Alan Braithwaite wrote: > Linus put up a poll for the 4.0 code name on google+ > > https://plus.google.com/+LinusTorvalds/posts/TvigQqA9m3w > > That was the result. > > - Alan > > On Mon, Apr 6, 2015 at 12:08 AM, Kaush

"Hurr durr I'ma sheep"

2015-04-06 Thread Kaushal Shriyan
Hi, what does "Hurr durr I'ma sheep" mean in context to kernel version Linux 4.0? Regards, Kaushal ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies