Kernel Bench

Kernel News and How To

Bugs are pervasive in code. And when one finds one bug there are often others of the same type lurking in other parts of the code base. The difficulty then is how to find them efficiently within thousands or millions of lines of code.

by Julia Lawall

At the University of Copenhagen, in collaboration with researchers in Paris and Aalborg, we have been developing the Coccinelle program matching and transformation engine (http://coccinelle.lip6.fr). Coccinelle provides a language, SmPL (semantic patch language), for writing complex code patterns that may perform simple searching or that can be annotated with transformation information. A novelty of Coccinelle is that these patterns look very similar to ordinary source code. Nevertheless, SmPL patterns can be made generic using pattern variables, and are matched according to the semantics of the source code rather than the line-by-line syntax, and hence we have given them the name semantic patches.

In this talk, we will introduce Coccinelle and the SmPL language, and then illustrate its use with examples based on bugs that we have found and fixed in Linux kernel code. In particular, we will focus on how the source-code like language makes it easy to customize the bug finding process to very specific problems and to fine-tune semantic patches to reduce the number of false positives, which plague automated bug finding tools. To date, over 400 patches derived from the use of Coccinelle have been accepted into the Linux Kernel Source tree.

Coccinelle is a program matching and transformation system targeting C code. Coccinelle provides a language, SmPL (semantic patch language), for writing complex code patterns that may perform simple searching or that can be annotated with transformation information. A novelty of Coccinelle is that these patterns look very similar to ordinary source code. Nevertheless, SmPL patterns can be made generic using pattern variables, and are matched according to the semantics of the source code rather than the line-by-line syntax.

In developing Coccinelle, we have particularly targeted Linux kernel code. Nevertheless, Coccinelle has been applied in the context of other open source software projects, such as OpenSSL and Wine. To date, over 400 patches derived from the use of Coccinelle have been accepted into the Linux kernel source tree.

Links:
?http://coccinelle.lip6.fr

FOSDEM (Free and Open Source Development European Meeting) is a European event centered around Free and Open Source software development. It is aimed at developers and all interested in the Free and Open Source news in the world. Its goals are to enable developers to meet and to promote the awareness and use of free and open source software. More info at http://fosdem.org

Duration : 0:15:27

Read the rest of this entry »

Technorati Tags: , , , ,

Why the hell are people still SO SCARED to try out something new??? say linux… i mean if you truly look at the concept and philosophy of an open source the possibilities are endless. Its somehow like comparing a closed family owned business to a cooperation. DO you see the big picture here? look at how much linux have evolved in this short amount of time. compare that to a closed sourced company. glitches and bugs will be fixed on the fly.
There are couple of old sayings that say: United we stand and we are strong, break up to pieces and we are weak. The second one would be, Sharing is truly caring. Just imagine the power of gathering all these intelligent and smart programmers working for a single cause. Imagine a guy in china fixing up the kernel to suit their specific chinese governmental and educational districts, while another guy in brazil using teh same kernel and source code to Compile something that would suit their needs. Now imagine teh power.1 world that stands united.

Sounds nice, but better for the computer/technology forum.

Why the hell are people still SO SCARED to try out something new??? say linux… i mean if you truly look at the concept and philosophy of an open source the possibilities are endless. Its somehow like comparing a closed family owned business to a cooperation. DO you see the big picture here? look at how much linux have evolved in this short amount of time. compare that to a closed sourced company. glitches and bugs will be fixed on the fly.
There are couple of old sayings that say: United we stand and we are strong, break up to pieces and we are weak. The second one would be, Sharing is truly caring. Just imagine the power of gathering all these intelligent and smart programmers working for a single cause. Imagine a guy in china fixing up the kernel to suit their specific chinese governmental and educational districts, while another guy in brazil using teh same kernel and source code to Compile something that would suit their needs. Now imagine teh power.1 world that stands united.

Sounds nice, but better for the computer/technology forum.

Why the hell are people still SO SCARED to try out something new??? say linux… i mean if you truly look at the concept and philosophy of an open source the possibilities are endless. Its somehow like comparing a closed family owned business to a cooperation. DO you see the big picture here? look at how much linux have evolved in this short amount of time. compare that to a closed sourced company. glitches and bugs will be fixed on the fly.
There are couple of old sayings that say: United we stand and we are strong, break up to pieces and we are weak. The second one would be, Sharing is truly caring. Just imagine the power of gathering all these intelligent and smart programmers working for a single cause. Imagine a guy in china fixing up the kernel to suit their specific chinese governmental and educational districts, while another guy in brazil using teh same kernel and source code to Compile something that would suit their needs. Now imagine teh power.1 world that stands united.

Sounds nice, but better for the computer/technology forum.

Why the hell are people still SO SCARED to try out something new??? say linux… i mean if you truly look at the concept and philosophy of an open source the possibilities are endless. Its somehow like comparing a closed family owned business to a cooperation. DO you see the big picture here? look at how much linux have evolved in this short amount of time. compare that to a closed sourced company. glitches and bugs will be fixed on the fly.
There are couple of old sayings that say: United we stand and we are strong, break up to pieces and we are weak. The second one would be, Sharing is truly caring. Just imagine the power of gathering all these intelligent and smart programmers working for a single cause. Imagine a guy in china fixing up the kernel to suit their specific chinese governmental and educational districts, while another guy in brazil using teh same kernel and source code to Compile something that would suit their needs. Now imagine teh power.1 world that stands united.

People are afraid of change and are afraid of taking risks. They only want where they are comfortable and tends to be uneasy in an alien environment. Those who are brave enough often succeeds in life.

my little brothers doing a science project on popcorn. if anybody knows when it was realized that corn bursts into popcorn, or who discovered it, please help? sources please….

No one knows for sure when, but the oldest ears found to date are about 4000 years old and were found in New Mexico. You can read all about the history of popcorn at the link below:

If they are using Linux, are they breaking the GNU license by not putting their product source code out there for people to tinker with? Microsoft may be trying to muscle in on the Linux OS so that they can take it over for themselves.

A kernel is a module/program that allows software to communicate with hardware. It is very very low level. Windows XP, Linux, Mac Osx, etc all have different kernels.

Le Petit Chalet Town Hall Bird Feeder, Red

Create a convenient meeting spot for birds in your garden with the Le Petit Chalet Town Hall Bird Feeder. Vivid color and realistic accents create a dramatic feeder for your yard. A banner above the red door reads “Town Hall”, topped by a faux window. A miniature bird house with red roof also rests on the front of the unit for added effect. Additional window shapes on each side of the item are flanked by red shutters, and a cupola with red faux clock finishes the piece. Black colored wooden shingles cover the roof, adding a charming look to the feeder and helping to protect the seed. The large reservoir holds 2 quarts of seed, and empties onto the feeder base from two slots at the bottom. A small wooden lip on the black tray prevents seed spillage, while two red perching rods on each side offer a place for birds to rest. The removable cupola is held in place by magnets, but can easily be lifted to refill the feeder. Unscrew the back panel for more thorough cleanings. Use the attached chain hanger to hang this item from a hook or tree branch. The wooden construction adds a rustic look to any surrounding. Offer birds a new food source with this Town Hall Bird Feeder. Note: Climate and the elements will weather the feeder and change its appearance over time; however, weathering will add to the item’s natural charm without compromising its function. Should you want to preserve the finish (paint), it is recommended to cover it with two to three coats of a water-based semi-gloss outdoor wood finish. You should expect that once left outside, the product will weather and require refinishing.Birds that use this feeder:cardinals, chickadees, doves, finches, flickers, goldfinches, grackles, grosbeaks, jays, juncos, kinglets, nuthatches, redpolls, siskins, sparrows, starlings, titmice, towhees, woodpeckers, wrensSeed or Feed Options: cracked corn, mixed seed, peanut chunks, safflower seed, sunflower kernels, sunflower seedCapacity: 2 qts., 3 lbs.Dimensions: 7.5″L

Read the rest of this entry »

This is a video presentation on VGA passthrough to open source Xen-based Windows XP Home HVM Virtual Machine using Intel Desktop Board DQ45CB with Intel VT-d technology and nVidia Geforce 8400 GS PCI-E x16 graphics card.

The open source Xen 3.5-unstable hypervisor source code and paravirt operations domain 0 kernel 2.6.31-rc6 are used.

Visit my blog at http://teo-en-ming-aka-zhang-enming.blogspot.com

The “not enough free resources” issue with VGA passthrough has been fixed. Please refer to my latest video presentation:

http://www.youtube.com/watch?v=1ia3IwG6tp4

Teo En Ming (Zhang Enming)
Email: space.time.universe@gmail.com
MSN: teoenming@hotmail.com
Mobile Phone: +65-9648-9798
Street Address: Bedok Reservoir Road
Country: Singapore

Duration : 0:2:27

Read the rest of this entry »

Technorati Tags: , , , , , , , , , , , , , , , , , , , , ,

I just installed ubuntu, and i want to enable the extra visual settings. But i enabled the nvidia driver i thought. The thing is that I want to install the nvidia package for amd64 (my system is a amd 3800+ X2 and 7600GT nvidia card)

when i want to install the package i get the following error
error: dependency is nog satisfiable: nvidia-173-kernel-source

My other comments are, wtf is linux for geeks? why do they make it so hard. And also i’m a foreigner so don’t pay attention to my sentences

http://packages.ubuntu.com/intrepid/synaptic
http://packages.ubuntu.com/intrepid/amd64/nvidia-glx-173/download

Have you enabled all the repositories.

These are the repositories you need :

Community-maintained Open Source software – (universe)
Software restricted by copyright or legal issues (multiverse)

Here is the Official Ubuntu Repositories Documentation https://help.ubuntu.com/community/Repositories/Ubuntu

Once these are enabled install all updates via the Update Manager.

LUg.