Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

3
votes
1answer
785 views

More doubts in bzImage

The description of the bzImage in Wikipedia is really confusing me. The above picture is from Wikipedia, but the line next to it is: The bzImage file is in a specific format: It contains ...
1
vote
2answers
334 views

Why is badblocks segfaulting?

I am trying to check a mounted partition to see if the drive has errors: [root@virtuality ~]# /sbin/badblocks -v /dev/sdb1 Segmentation fault Uh oh. What does this mean? Why is badblocks ...
1
vote
1answer
362 views

How to build a python egg for a TRAC plugin?

I'd like to install a mercurial plugin for Trac. The manual provides an svn path with the source code. I need to create an "egg" from that source code. Do I need to have SVN installed in order to do ...
16
votes
2answers
6k views

Why does high disk I/O reduce system responsiveness/performance?

I never quite understood why high disk I/O slowed the system so much. It's strange to me because I would expect the slow-down to affect only those processes dependent on the hard/optical drive data, ...
2
votes
3answers
2k views

installing ffmpeg-php on centos

With the help of this guide, I am trying to install ffmpeg using these commands: # cd ffmpeg-php/branches/ffmpeg-php/ffmpeg-php-0.6.1/ # replace 'PIX_FMT_RGBA32' 'PIX_FMT_RGB32' -- * # phpize # ...
0
votes
3answers
1k views

Who wrote the “Linux kernel” (Linus Torvalds and his team)?

Who are the authors of the pure Linux kernel from scratch, which was integrated with GNU tools and formed the full GNU/Linux Operating system in the 1990s? I have read some wiki articles but I haven't ...
1
vote
1answer
473 views

System.map file update

I found that System.map file contains addresses of symbols. Does it involve system calls? I read that it is only updated when a new kernel is newly compiled. So does that means that except for a new ...
9
votes
1answer
1k views

What's the progress regarding improving system performance/responsiveness during high disk I/O?

Whenever there is high disk I/O, the system tends to be much slower and less responsive than usual. What's the progress on Linux kernel regarding this? Is this problem actively being worked on?
12
votes
2answers
8k views

What is the difference between the following kernel Makefile terms: vmlinux, vmlinuz, vmlinux.bin, zimage & bzimage?

While browsing through the Kernel Makefiles, i found these terms. So i would like to know what is the difference between vmlinux, vmlinuz, vmlinux.bin, zimage & bzimage?
30
votes
3answers
2k views

Can a bash script be hooked to a file?

I want a script to sleep unless a certain file is modifed/deleted (or a file created in a certain directory, or ...). Can this be achieved in some elegant way? The simplest thing that comes to my mind ...
4
votes
1answer
2k views

What are shmpages in laymans terms?

What exactly are shmpages in the grand scheme of kernel and memory terminology. If I'm hitting a shmpages limit, what does that mean? I'm also curious if this applies to more than linux
3
votes
5answers
3k views

Why do all my DNS queries resolve to 192.168.1.251?

All my queries on one machine on my network have suddenly started to resolve to 192.168.1.251. This machine was used as the DNS server by other machines, so I noticed it as soon as it started ...
3
votes
1answer
4k views

How to understand the kernel panic core dump output?

This is the output I get when I run one of my applications: Kernel bug detected[#1]: Cpu 0 $ 0 : 00000000 00000000 0fffff00 0fffff00 $ 4 : c6800000 850b7780 8b0043c0 00000040 $ 8 : 000004ac ...
3
votes
2answers
2k views

Is it possible to execute code in heap space?

I would like to know if i can execute a code piece sitting inside the heap space?
3
votes
1answer
418 views

`power/persist` file not found in USB device sysfs directory

The file /usr/share/doc/linux-doc/usb/persist.txt.gz mentions that the USB-persist capability can be enabled for a given USB device by writing 1 to the file persist in that device's directory in ...
5
votes
2answers
2k views

Network connection drops after a few seconds

I am on Debian. I configured my NIC with a static IP (192.168.1.56). When I try to connect to a network, initially with ifconfig eth2 I get (correctly): eth2 inet addr:192.168.1.56 .... inet6 ...
2
votes
2answers
5k views

How to stop avahi-daemon

I'm trying to disable avahi-daemon. I tried to modify the file /etc/default/avahi-daemon, setting the AVAHI_DAEMON_DETECT_LOCAL=0 instead of 1, but when I connect to a network it starts anyway; is ...
2
votes
2answers
2k views

How to change the install path of my Linux Source tree?

I was trying to bring up my custom kernel. I did the following : $ make menuconfig && make modules && make modules_install && make install I would like to change the ...
12
votes
2answers
14k views

What is the concept behind “tty” in linux?

Where did the terminology "tty" come from in Linux?
11
votes
1answer
42k views

How do I get sar to show for the previous day?

on our servers, typing sar show's the system load statistics for today starting at midnight, is it possible to show yesterdays statistics?
11
votes
2answers
574 views

Removing abstraction from Ubuntu boot process

I have been using Linux after almost 5 years and observed that boot process has been almost abstracted. I mean, not much is visible to the user what is going on behind the scenes (Due to splash ...
5
votes
2answers
8k views

How to avoid powering down certain USB devices when a machine is suspended

I'd like to maintain power supply to a USB-powered drive when the system goes into suspend (AKA S3 or "suspend-to-RAM") mode. Normally the power is cut while the machine is suspended, which causes it ...
2
votes
2answers
252 views

How to reuse Physical memory in the absence of swapping?

How can I reuse physical memory in the absence of swapping?
2
votes
0answers
934 views

power management of USB-enclosed hard drives [closed]

With a typical USB hard drive enclosure, is the full range of drive power management functionality available? edit: moved this into a separate question: In what may be an unrelated matter: is it ...
10
votes
1answer
4k views

What's the difference between fork() and vfork()?

I would like to understand in detail the difference between fork() and vfork(). I was not able to digest the man page completely. I would also like to clarify one of my colleagues comment "In ...
7
votes
3answers
4k views

How do I jump to the next or previous word with CTRL + arrow keys in a console?

In terminal emulation applications, pressing CTRL + Left / Right arrows jumps from one word to the previous or next one. Is it possible to have the same functionality in a Linux console, whether it is ...
6
votes
1answer
405 views

What controls turning off during overheating on Linux

I started experience overheating (I have a few possible troublemakers for it and the cause is separate question) but I wondered what controls handling of overheating? Sometimes my computer: Halts ...
7
votes
2answers
320 views

What is the state of the Linux Standard Base?

In learning some assembly programming I have found the documents of the Linux Standard Base very useful. It seems they tell me how things are supposed to be (on standard based systems), not just how ...
4
votes
1answer
689 views

Is it possible to boot an x86 Linux kernel using both 80x25 text mode consoles and VESA framebuffer consoles?

The Linux kernel documents that you can choose to boot Linux with VESA framebuffer consoles instead of the default 80x25 text mode consoles. For text application testing purposes, one may need both ...
11
votes
4answers
4k views

How to give HTTP traffic higher priority?

When I surf the web, I find that I have to pause my BitTorrent client, to help improve the painfully slow speed (I'm sadly on a 384kbps line). It's not too nice to have to do this manually every time. ...
23
votes
1answer
7k views

What are ConsoleKit and PolicyKit? How do they work?

I've seen that recent GNU/Linux are using ConsoleKit and PolicyKit. What are they for? How do they work? The best answer should explain what kind of problem each one tries to solve, and how they ...
8
votes
4answers
913 views

A small challenge to familiarize myself with Linux [closed]

I would like to learn more about Linux. I briefly went through a few books and quite a few articles online, but the only way to learn something is to actually start using it. I would like to jump in ...
6
votes
1answer
809 views

How to find the BSP sections in the Linux source code?

I would like to know how can i search for the BSP(Board Specific Packages) sections in the Linux Source code? All comments are welcomed.
7
votes
3answers
2k views

What happens after loading the linux kernel image into RAM

I just to want to know the flow of activities happening after loading the linux kernel image into the RAM after boot process.
6
votes
2answers
13k views

What is the difference between Non-preemptive, Preemptive and Selective Preemptive Kernel?

What is the difference between a "Non-preemptive", "Preemptive" and "Selective Preemptive" Kernel? Hope someone can shed some light into this.
3
votes
1answer
384 views

Linux Live CDs that are able to save configuration on the boot disk?

Puppy Linux has a great feature: as in wikipedia is mentioned However, it is possible to save files upon shutdown. This feature allows the user to either save the file to disk (USB, HDD etc.) or ...
3
votes
4answers
392 views

Bootable image with LAN drivers

I'm looking for an image which will boot quickly (I assume it'll be linux) and have LAN drivers- for sending TCP / UDP packets to another system in the same network. Ideally, if possible, I would like ...
5
votes
2answers
1k views

ZONE_NORMAL and it's association with Kernel/User-pages?

Above is presented a case where I have only 512 MB of physical memory. What I have read up so far, is that ZONE_NORMAL is mapped to the kernel virtual address space as shown. Essentially I have a ...
1
vote
1answer
780 views

Could not connect to host 127.0.0.1: Connection refused

Could not connect to host 127.0.0.1: Connection refused. - I am getting this error message on ktorrent on slackware 13.1 and the torrents cannot start. I tried to reconfigure the ktorrent prefernces, ...
6
votes
2answers
851 views

Loading 3rd-Party Drivers before Fedora 14 Installation

My server is equipped with a megaraid controller that cannot be identified by most linux installer. I have to load it's driver before installation can proceed. I know how to do it with CentOS that ...
6
votes
5answers
919 views

Can I install Linux on Ankya 7802L 266MHz 128MB 2GB laptop?

I recently bought this cute little laptop computer (not much memory/HD/CPU): http://www.dinodirect.com/netbook-anyka-7802l-266mhz-128mb-2gb-nand-flash.html Has anyone successfully installed any ...
4
votes
1answer
585 views

Setting processor fan to 100%

How can I set fans speed to 100% or more in linux ?
2
votes
0answers
283 views

Would anyone like to help me start a Wikipedia page “List of rolling release Linux Distribustions”? [closed]

I can't find a definitive list of rolling distros any where on the web. DistroWatch doesn't have one, though I posted a comment suggesting they add such or label rolling releases and the type of ...
12
votes
1answer
6k views

What does the Virtual kernel Memory Layout in dmesg imply?

While going through the "Output of dmesg" I could see a list of values which i am not able to understand properly. Memory: 2047804k/2086248k available (3179k kernel code, 37232k reserved, 1935k ...
16
votes
1answer
558 views

How is new hardware support added to the linux kernel?

Imagine there's a company A that releases a new graphics adapter. Who manages the process that results in this new graphics adapter being supported by the Linux kernel in the future? How does that ...
2
votes
3answers
7k views

Why are spin locks good choices in Linux Kernel Design instead of something more common in userland code, such as semaphore or mutex?

I understand that Spinlocks are real waste in Linux Kernel Design. I would like to know why is it like spin locks are good choices in Linux Kernel Design instead of something more common in userland ...
11
votes
1answer
6k views

How can I configure cgroups to fairly share resources between users?

There used to be a kernel config option called sched_user or similar under cgroups. This allowed (to my knowledge) all users to fairly share system resources. In 2.6.35 it is not available. Is there a ...
11
votes
4answers
3k views

How does one atomically change a symlink to a directory in busybox?

I am trying to (as close as possibly) atomically change a symlink. I've tried: ln -sf other_dir existing_symlink That just put the new symlink in the directory that existing_symlink pointed to. ln ...
19
votes
4answers
22k views

What is a spinlock in Linux?

I would like to know about spinlocks in detail? Could someone explain that to me?
17
votes
6answers
25k views

How to see disk details like manufacturer in Linux

With sfdisk -s I can see the disk capacity as follows: $ sfdisk -s /dev/cciss/c0d0: 143338560 total: 143338560 blocks How do I see disk details like disk manufacturer? I tried hdparm, but got an ...