Linux

Fedora-ARM Blog

Submitted by Kedar Sovani
on June 13, 2009 - 10:10pm

We started of a blog for Fedora-ARM contributors. You can find the blog over here:
http://fedora-arm.blogspot.com

Currently we are in the F-11 bootstrap phase. Once that is done, expect to see some technical problems and probable solutions for new packages that we attempt to bootstrap on ARM.

Just a question

Submitted by 4DA
on May 4, 2009 - 4:57am

I have installed OpenSolaris on my Core2 Duo E4600 with 1gb of RAM.
What i don't understand, why is it considerably slower in gui, than linux running on the same configuration?

Solaris runs gnome as the default WM, and linux - kde 4.2 from debian-unstable.

U-boot-v2 bootloader and IMX27ADS target

Submitted by gattusunil
on April 21, 2009 - 6:54am

I am looking the source for U-boot-v2 bootloader for IMX27ADS target.
Can anybody help regarding this to start with??

vzctl create failing with disk quota

Submitted by mator
on February 24, 2009 - 4:33am

vzctl is fauting to create container with the following error

Creating container private area (....)
tar: ./boot: Cannot mkdir: Disk quota exceeded
...
vps-create ERROR: Error in tar -z -xf /vz/template/cache/....tar.gz
Creation of container private area failed

Write a linux application and win US $50,000!

Submitted by ciscozine
on January 28, 2009 - 11:04am

Cisco is inviting application developers who “think outside the box”, to innovate and promote the concept of the network as a platform. This is your opportunity to build exciting Linux based applications on the Cisco Application Extension Platform (AXP), and win a share of the total prize pool valued at US $100,000.

But what is AXP?

Hacking Windows Administrator Password (with good intentions) Using Linux

Submitted by UMBRO
on January 21, 2009 - 12:40am

Tech Source From Bohol: "I'm going to show you how you can smoothly hack a Windows Administrator password using Linux. You will only need a Live CD, and for this example, we will utilize Ubuntu. Also, I assume that you have the basic knowledge on using the Linux command line."

Complete Story: http://www.junauza.com/2009/01/hacking-windows-administrator-password.html

linux usb wireless adapter

Submitted by mator
on November 23, 2008 - 3:14pm


Brought Belkin Wireless G USB Adapter this week. My home ubuntu 8.10 recognised it and networked without any additional settings besides wireless security. Just to let you know.

How to find Syscall table...

Submitted by jmaladrie
on November 10, 2008 - 2:39am

I needed to recompile my code to test it against UML but it always complained about the unlock_kernel() function. The original code comes from subversity.net

So I decided to slightly modify the code to make it works for UML and x86. I did not have the chance to test it for other architectures.

Fiddling with sys_call_table in Linux Kernel 2.6.21.5

Submitted by Eus
on October 14, 2008 - 3:52am

A friend of mine would like to try to implement a new system call based on the example in Chapter 8 of Linux Kernel Module Programming Guide 2.6 Series (http://www.dirac.org/linux/writing/lkmpg/2.6/lkmpg-2.6.0.html) in Linux kernel 2.6.21.5. The example requires that the kernel exports `sys_call_table' symbol. Although Linux kernel 2.4.x, on which the guide is based, still exposes that symbol, Linux kernel 2.6.x does not do that anymore for it is harmful (e.g., it is unimaginable if a module replace the system call of `link' with `unlink' via the table). The guide comes with a patch to expose the table in Linux kernel 2.6.x. However, the patch does not work in particular for Linux kernel 2.6.21.5. So, I helped him to do so.

How does the IPv4 Receiving Mechanism Assemble Fragmented Datagrams?

Submitted by Eus
on October 4, 2008 - 7:26am

How does the IP receiving mechanism assemble fragmented datagrams?

First of all, this writing is based on Linux kernel 2.6.21.5.

When I looked into ip_frag_reasm() that was commented with /* Build a new IP datagram from all its fragments. */ in net/ipv4/ip_fragment.c, I could not find the code that I had looked for, specifically, the code to construct a new big SKB and copy all data fragments in the received SKBs into the new big SKB. Of course, if I had found what I had looked for, it would have meant that ip_frag_reasm() was so inefficient (i.e., dumb). Instead, ip_frag_reasm() only prepared the chain of the SKBs to be processed by skb_copy_datagram_iovec() as I have described here.

Information On skb_copy_datagram_iovec().txt

Submitted by Eus
on October 3, 2008 - 12:01am

Information on skb_copy_datagram_iovec()

This writing is based on Linux kernel 2.6.21.5.

This function is defined in net/core/datagram.c. The main task of this function is to copy the data of an skb in the kernel-space to a memory location in the user-space. Usually, this function will be the one who finally satisfies recvmsg() system call and its variants, which are recv() and recvfrom(). Nevertheless, this main task also carries one unique responsibility: taking care of fragmentation.

The Crisp Boundary between HardIRQ-context, SoftIRQ-context, and User-context

Submitted by Eus
on October 2, 2008 - 11:56pm

As mentioned in Rusty's Unreliable Guide to Kernel Locking, the Linux kernel has three contexts of thread executions: hard-IRQ context, soft-IRQ context, and user/process-context. As on July 10, 2008, the guide does not mention anything about the boundaries between those contexts. So, I studied the source code of Linux kernel 2.6.21.5. From my study, it is clear that the boundaries are queues. It represents the classical IPC problem: the Producer-Consumer Problem.

Tuning to a New Unusual Multicast Address

Submitted by Eus
on September 27, 2008 - 8:52pm

During my work on the ATN TP4/CLNP Networking Suite, I helped a friend of mine to be able to capture Ethernet frames destined to unusual Ethernet multicast addresses. What I mean by unusual is that it is not the common IANA's range for multicast addresses, which is from 01-00-5e-00-00-00 to 01-00-5e-ff-ff-ff.

17 years of Linux

Submitted by mariuz
on September 21, 2008 - 11:55pm

On 17 September 1991 Linus Torvalds was announcing the first version of Linux 0.0.1.
The rest is history.

http://alexandrubucur.com/2008-09-17/17-years-linux

here is more info about dusting off the linux 0.0.1 on modern distributions
http://draconux.free.fr/os_dev/linux0.01.html

and how to run in qemu
http://kerneltrap.org/Linux/Dusting_Off_the_0.01_Kernel

FireFox 3 and back

Submitted by shuaib
on September 5, 2008 - 6:06pm

Upgraded to Firefox 3, and downgraded back in an hour. Why? Because the native look and feel of FireFox 3 was making me suffocate. It may have been working fast, may have been consuming less memory, but it did remind me of the good old Konqueror as a web browser, which I never liked. FF3's font rendering on Linux platform is simply unimaginably awful.