Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Server Daily
IT Management Daily
Subscribe News
Subscribe PR
Subscribe Security

internet.com
Internet News
Small Business

Advertise
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

Tech Comics: "Groundhog Day"

Want a Job? Learn Linux

PC-BSD 9 review – to FreeBSD what Ubuntu is to Debian

Time to dispel open source myths, says Liam Maxwell

SECURITY: Nmap Inside and Out

Eight features Windows 8 'borrowed' from Linux

Malware devs embrace open-source

A tale of two distros: Ubuntu and Linux Mint

Raspberry Pi benchmarked against Beagleboard, low price is long term

20 popular Ubuntu Linux apps you may want to try



Applications Management Engineer Sr (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
:The Kernel Newbie Corner: Your First Loadable Kernel Module
The Kernel Newbie Corner: Your First Loadable Kernel Module
Jul 2, 2009, 08 :02 UTC (0 Talkback[s]) (3799 reads)

(Other stories by Rob Day)

"While I'll try to keep this series distro-agnostic, I'll admit up front that I have a tendency to do all my work under the latest version of Fedora, but translating to some other Linux distro should not be difficult. And so, to work.

"Getting Started
Every beginning kernel programmer has a dream--to write, compile and load their first kernel module. So if you follow along here, we're going to do exactly that. In this opening article, we're going to keep it simple, and leave the trickier stuff for later pieces. One step at a time, as they say.

"Do You Need Root Privilege?
Ultimately, yes. There are ways to get around needing root privilege for things like setting up your kernel source tree and compiling your module, but there's no way to avoid being superuser when you're finally ready to load that module. So you either need the root password, or you need a friendly administrator--whichever is easier to get your hands on."

Complete Story

Related Stories:
How to get ath5k working on Jaunty with Compat-wireless and a self-compiled kernel(May 27, 2009)
Linux Unified Kernel -- Run Windows Applications Just Like Running a Linux Program(May 18, 2009)
Kernel Log: What's coming in 2.6.29 - Part 7: Audio, FireWire, USB, Video and more(Mar 16, 2009)
Interactive map of Linux Kernel(Mar 15, 2009)
Linux 2.6 kernel Storage Tuning Tips(Jan 19, 2009)
Kernel Log: What's new in 2.6.29 - Part 2: WiMAX(Jan 12, 2009)
Using Kernel Customization Tools(Dec 23, 2008)
Keeping the Kernel Klean(Oct 14, 2008)
It's... Linux kernel 2.6.27(Oct 10, 2008)
Anatomy of Linux Loadable Kernel Modules(Jul 23, 2008)
Kernel Space: Tightening Symbol Exports(Dec 06, 2007)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!

..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP