The kernel of operating systems popularly known as Linux, or sometimes GNU/Linux.

learn more… | top users | synonyms

1
vote
0answers
528 views

How do I create more /dev/tty entries and /dev/ptmx on boot up?

After building kernel 3.2.13 and installing via RPM on my system, I have this problem: There is no /dev/ptmx which the rest of my system is expecting. There is actually a /dev/tty/ptmx device ...
0
votes
1answer
68 views

Good ways to host or distribute my patch for the Linux Kernel Mailing List

I have an approximately 1500 line patch for the Linux kernel - introducing a new file system. I have lots of problems with posting a patch straight to the kernel mailing list (gmail mangles the ...
5
votes
2answers
243 views

Linux kernel headers' organization

While I was doing some reading on system calls, I did a search for "syscalls.h" to find the header file in LXR. The search results puzzled me. There is a dozen of "syscalls.h" files coming from ...
7
votes
3answers
8k views

mptscsih: ioc0: task abort: SUCCESS (rv=2002) causes 30 seconds freezing

I/O to my software RAID6 often freezes for around 30 seconds after which everything is back to normal. After the freeze is over this is put into syslog: Mar 14 18:43:57 server kernel: [35649.816060] ...
7
votes
2answers
2k views

What is the appropriate value of vm.swappiness when using zram?

I'm using zram on my computer as a compressed RAM-backed swap. When the system needs to swap something out, swapping it to a zram-backed swap file is more or less equivalent to compressing that data ...
4
votes
3answers
685 views

How to compile my own linux kernel? [duplicate]

I want to learn about compiling a kernel from scratch. How can I download the latest stable Linux kernel from http://kernel.org/, compile it, and install it in a VMware virtual machine? This is just ...
0
votes
0answers
73 views

Linux Operating system-NOT A KERNEL CHANGE [closed]

I tried to make an operating system with my on custom built kernel. It didn't work out to well. I am using ubuntu and have downloaded linux 3.2.7 from kernel.org . I am not trying to change the kernel ...
1
vote
2answers
330 views

Can't switch to console using my own compiled kernel

In my Ubuntu, I can't switch to console through Ctrl+Alt+Fx using my own compiled kernel, and a black screen appears. I can switch back through Ctrl+Alt+F7. Using the default Ubuntu kernel, I can ...
7
votes
1answer
1k views

How to debug system freeze?

I'm experiencing strange bug when I close lid of my laptop - system freezes (no reaction on keys, no response form ssh) hard and displays some strange colour effects. The kernel log (after reboot) ...
1
vote
1answer
268 views

Does CentOS fall into System V family? How is it considered to be while comparing with Unix System V family?

CentOS is "derived entirely from the Red Hat Enterprise Linux (RHEL) distribution" (more here). Does it fall into any UNIX System V family? Such as PDP-11 or etc? If not, where does CentOS stands ...
4
votes
1answer
155 views

How/why can Firefox packages work on all Linuxes?

How/why can a Firefox 64bit (or 32bit) package work on different Linux distributions since each Linux distribution has a different version for gcc, glibc, linux kernel, etc. ?
-4
votes
1answer
398 views

illegal seek,system call [closed]

here is my test_code: And,when i run it,it prompt: Anyone can show me why?thx
7
votes
3answers
4k views

Can vmlinux be used instead of uImage?

I want to use an uncompressed kernel image and boot the BeagleBoard. Generally I use uImage to boot the kernel which is in compressed format. How do I use an uncompressed kernel image?
0
votes
0answers
282 views

network device module equivalent to ping

I have made a module which is transmitting but I don't know whether the packet which I am transmitting is a ping packet or not. Code is shown below: icmp.type = 8; icmp.code = 0; ...
6
votes
2answers
4k views

How to list console and kernel fonts?

I have a number of console fonts installed in /lib/kbd/consolefonts/ installed. How do I list them (obviously all I can do, is just look at the filenames, but not at a list at available fonts). How ...
0
votes
1answer
302 views

Difference between vmlinuz-2.6.32-34-generic and vmlinuz-2.6.32-34-generic-pae

Can someone please tell me the difference between these two vmlinuz images ?
7
votes
2answers
233 views

Linux /proc/sys/kernel: where are the files sysrq-sticky, sysrq-key, and sysrq-timer?

Documentation for Red Hat Enterprise Linux 3 (section 5.3.9.3) mentions these files in /proc/sys/kernel/: sysrq sysrq-key sysrq-sticky sysrq-timer The documentation for RHEL 5 also mentions them. ...
2
votes
0answers
136 views

Need good ideas about improving any Linux service [closed]

I have a project assigned to me by OS teacher to choose any Linux service and improve it. Currently I am totally blank in this. I am not sure which service should I use which can easily be implemented ...
4
votes
1answer
215 views

After re-compiling the kernel, my grub stop after the bios

After recompiling my kernel, I copied the corresponding files to /boot, and my /boot directory looks like: Then, I inserted a new item in grub, and /boot/grub/menu.lst now looks like: After ...
6
votes
2answers
9k views

Where is the struct task_struct definition in the 2.6.30.5 Linux Kernel?

In the version 2.6.15 kernel, I got that I can rewrite the task_struct in the file (include/linux/sched.h),like: struct task_struct { unsigned did_exec:1; pid_t pid; pid_t tgid; ...
6
votes
1answer
3k views

Why does Linux show both more and less memory than I physically have installed?

I know about swap - this question isn't about that. In dmesg, the Linux (x86-64) kernel tells me this about how much memory I have: [ 0.000000] Memory: 3890880k/4915200k available (6073k kernel ...
4
votes
4answers
3k views

cp vs. cat to copy a file

cp a b and cat a > b, what's the difference? In x86 install script of linux kernel's source tree (arch/x86/boot/install.sh), both are used: cat $2 > $4/vmlinuz cp $3 $4/System.map Why don't ...
1
vote
1answer
599 views

Compiling driver for RNX-MiniN2 on kernel 3.X

I'm trying to compile an open source driver for my new USB Rosewill RNX-MiniN2 wireless adapter, and I'm running into the following error: make ARCH=x86_64 CROSS_COMPILE= -C ...
8
votes
3answers
504 views

Using real time kernel headers to compile userspace code vs default headers

Per customer requirements, I installed CentOS 5.6 with the default kernel. With this kernel installed, the time.h file includes the #define CLOCK_MONOTONIC. Now, a real-time kernel was installed ...
5
votes
1answer
444 views

What are the main differences between Unix and Linux kernels today?

I know that many of the same programs run flawlessly on top of both kernels. I know that historically, the two kernels came from different origins. I know philosophically too that they stood for ...
5
votes
1answer
334 views

Loading speedstep_centrino kernel module

Because of a noisy fan in my laptop, I need to change CPU frequency and for this task I need to load the appropriate kernel module. The CPU in my laptop Acer TravelMate 4002WLMi is: $ cat ...
13
votes
3answers
4k views

Does Android really use the same kernel as Linux?

I read from somewhere that Android uses the Linux Kernel. Is it really true? I thought the Linux Kernel was meant for desktop operating systems.
3
votes
3answers
4k views

Compiling kernel modules in Arch Linux

I'm currently running Arch Linux on linux-3.0-ARCH and I'm looking to compile kernel modules written for linux-2.6.22.14. I've only compiled kernel modules on a pre-configured debian. So all I had ...
2
votes
1answer
1k views

Unpacking kernel-source rpm off-system (OpenSuse)?

I'm using OpenSuse 11.2 from a LiveUSB USB flash/stick, which arguably has not much place on it. I need to get the Linux sources for this version of OpenSuse, as they are needed to build a driver for ...
4
votes
2answers
251 views

Why won't my Linux install boot?

It's my first time compiling a Linux kernel. Everything went well until I hit this problem. After I edit my /etc/fstab: and edit etc/lilo.conf: I want to set the info about crux in lilo, so I ...
1
vote
1answer
770 views

create a debian installer with custom kernel

First what I need to do is install a debian on a 3300mx computer which is based on a vortex cpu. The problem is the debian installer always crash because the required drivers are in the kernel as ...
3
votes
1answer
165 views

Is oops of kernel tainted by staging device less likely to be investigated?

I understand that kernels tainted by binary modules are less likely to be investigated by kernel maintainers. However what is the policy if kernel is tained by staging driver (if the staging driver is ...
2
votes
0answers
377 views

Kernel 3.0.0-1 and NVIDIA driver boot problems

I can't boot kernel 3.0.0-1 on Asus G53S running Debian, it freezes when booting with: NVRM loading NVIDIA Unix x86_64 kernel module 275.28 then it times out with: udevd[350]: timeout: killing ...
4
votes
1answer
2k views

What is the difference between /proc/self/stack and output from pstack?

I have been looking through the documentation for /proc and the "stack" object being a new'ish object in proc, I have also looked through the kernel commit to create it -- however the documentation ...
8
votes
2answers
1k views

minimal TCP MSS in Linux

The TCP MSS in Linux must be at least 88 (include/net/tcp.h): /* Minimal accepted MSS. It is (60+60+8) - (20+20). */ #define TCP_MIN_MSS 88U My question is: where did they come up with ...
2
votes
3answers
2k views

Linux Kernel 3.x new versioning scheme

As almost everybody knows, Linux moved from the 2.6.x version to the brand new 3.x version. I've seen around many comments also about the fact that the versioning number for the kernel was changed ...
3
votes
1answer
724 views

What does this Linux kernel trace mean?

I’m running a linux server at home which is mostly a file and e-mail server and a digital video recorder. All the data goes on an ext4 partition on a software raid-6. Every now and then (sometimes ...
12
votes
1answer
2k views

What happens in each step of the Linux kernel-building process?

I've read many tutorials about how to build custom kernels and boot Ubuntu using those kernels, and successfully followed the guides and booted custom kernels, but I have no understanding about what ...
3
votes
5answers
4k views

Kernel can't find /dev/sda file during boot

I configured a gentoo kernel (kernel-2.6.36-gentoo-r5), but when I boot it can't mount /dev/sda1: ALERT! /dev/sda1 does not exist . Dropping to a shell . I use the shell to go to the /dev ...
25
votes
7answers
16k views

Linux Kernel: Good beginners' tutorial

I'm interested in modifying the kernel internals, applying patches, handling device drivers and modules, for my own personal fun. Is there a comprehensive resource for kernel hacking, intended for ...
282
votes
7answers
24k views

Where is implemented the definitions of the kernel header files?

I am trying to understand how a function, say mkdir, works by looking at the kernel source. This is an attempt to understand the kernel internals and navigate between various functions. I know mkdir ...