Everything about UNIX kernels: development, configuration, compilation, design, etc.

learn more… | top users | synonyms

2
votes
1answer
9k views

/lib/modules/2.6.37.6/build missing in linux puppy? what should I do?

I am new to linux as of yesterday. I'm using linux puppy to try to get the most out of a 10 year old, slow laptop. I installed it fine, no problems there, but as soon as I try to use my usb dongle's ...
7
votes
1answer
626 views

Linux kernel 3.3 power regression

I am using Fedora 16 in my DELL n4110. I recently upgraded the kernel from 3.2 to 3.3. In contradiction to the official claim, my system still drains battery as hell. It only provides 1:30 to 2 hrs of ...
7
votes
2answers
5k views

How can you determine which process scheduler is being used? [duplicate]

I.e. is it the O(1) scheduler, the CFS scheduler, or an older one?
1
vote
2answers
4k views

How to add boot parameters in arch linux

I want to add i915.i915_enable_rc6=1 as a kernel line as described here but I'm unsure where/how exactly.
0
votes
0answers
932 views

adding system calls to kernel without recompiling during implementation

Could anyone tell me if it is possible to add several system calls to the linux kernel (version 2.6.35) and not have to recompile the kernel each time I change one of their implementations (i.e. ...
2
votes
2answers
677 views

Joli OS on ARM devices

I didn't really know where to ask this question, so since Joli OS uses the linux kernel and they don't seem to have a forum here I go. All the official information I could gather says it doesn't work ...
0
votes
0answers
358 views

“TouchPad lost synchronization” errors in dmesg

My openSUSE 11.3 laptop is running slow. dmesg shows the following errors: [ 733.162161] psmouse.c: TouchPad at isa0060/serio4/input0 lost synchronization, throwing 5 bytes away. [ 774.230841] ...
25
votes
4answers
61k views

What's the difference of dmesg output and /var/log/messages?

AFAIK dmesg shows information about kernel and kernel modules, and /var/log/messages also shows information produced by kernel and modules. So what's the difference? Does /var/log/messages ⊂ output ...
2
votes
1answer
450 views

Cannot find config option “CONFIG_CRASH_DUMP” for kdump

I'm studying on kdump which is a linux kernel crash dumping mechansim. According to documentation/kdump/kdump.txt under the kernel source tree, I need to set the kernel config option ...
2
votes
1answer
511 views

360 degree scrolling with Apple Magic Mouse in Linux?

I read that there is out of the box support for the Apple Magic Mouse in recent Linux kernels, but does that include full functionality such as multiple mouse buttons and multitouch?? For me the two ...
2
votes
0answers
317 views

Perform test of aes-ni and aes module in linux kernel

Since both aes-ni and aes module are available in linux kernel , how can I give it a performance test , to decide which one's faster ?
16
votes
4answers
7k views

How can I write to dmesg from command line?

I'd like to write a statement to dmesg. [How] can I do this?
0
votes
1answer
1k views

FreeBSD source and how to build

A few questions about FreeBSD Where/how should I obtain the source code (ex. through terminal, Download off website) How (on ubuntu) should I build it? Before I build it can I customize it (in other ...
1
vote
3answers
279 views

Am I in the right direction for a linux os?

I compiled the linux kernel by downloading it from kernel.org, put it on my desktop, and opened up terminal. I changed to the linux-3.2.13 folder, typed mr proper. Then I use make menuconfig to ...
0
votes
1answer
703 views

init.exe: Caught segmentation fault, core dumped - what is the source of this error

On my embedded device, I have this error showing up after kernel boot: init.exe: Caught segmentation fault, core dumped But I cannot understand why is this happening? If I do battery cut( i.e. ...
2
votes
2answers
1k views

Linux I/O shared memory access

I'm pretty confused on how linux manages I/O shared memory to communicate with devices that use it. If I understood it correctly linux kernel starts mapped at 0x100000 (to avoid the first megabyte ...
3
votes
2answers
2k views

How much RAM can an application allocate on 64-bit x86 Linux systems?

Is it true that a single application can not allocate more than 2 GiBs even if the system has GiBs more free memory when using a 32-bit x86 PAE Linux kernel? Is this limit loosened by 64-bit x86 Linux ...
5
votes
1answer
4k views

What is syscall-template.S?

I've come across a file syscall-template.S more specifically its location is .../sysdeps/unix/syscall-template.S What is this file? Where is it. It is not on my system and I cannot find it in ...
2
votes
0answers
797 views

To what does the byte sequence in this kerneloops (syslogd@hostname) message refer?

Message from syslogd@ROOROO at Mar 22 19:36:12 ... kernel:[13988.165672] Oops: 0000 [#1] SMP Message from syslogd@ROOROO at Mar 22 19:36:12 ... kernel:[13988.169607] Stack: Message from ...
8
votes
2answers
340 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 ...
0
votes
1answer
1k views

How to create initrd.img from initrd.lz

I need to create initrd.img file from initrd.lz file. How may I do this?
1
vote
0answers
72 views

Mouse pad error after new Linux kernel install

Yesterday I upgraded my debian laptop with the backports repository. Amongst the packages it installed, a new kernel was added (3.2.0). When booting on this kernel, the right-click on my mouse pad (is ...
1
vote
0answers
236 views

Install an app made for SUSE Enterprise 11 on openSUSE 11.4

I'm trying to see if I can install Symantec System Recovery 2011 Linux edition on an openSUSE 11.4 system. According to the docs, SSR 2011 for Linux supports (among others) SUSE Linux Enterprise ...
2
votes
1answer
2k views

How often is PSS value updated for a given process in /proc/pid/smaps

So if n processes are sharing a library L with size M then the contribution to their PSS is M/n. Now imagine one of the process terminates. So the contribution would be M/(n-1). Q1: My question is ...
1
vote
1answer
281 views

Recommendation on filesystem for embedded device - RAM or USB

It's been 4 years since I stopped working on my Linux internet radio box. My Linux box was Ubuntu 6.04 with Ext3 fs. At user-space, everything works perfectly except I occasionally bumped into ...
1
vote
2answers
3k views

Writing a Kernel from scratch [closed]

I'm not sure whether it's the right place for this question. I am writing a kernel from scratch and want links or tutorials where I can get a few pointers.
3
votes
1answer
718 views

NVidia driver for the 3.2.9 kernel

I upgraded the kernel on my OpenSUSE 12.1 64bit from 3.1.9 to 3.2.9, and when I rebooted, X-windows refused to start, and I got into shell. I tried to run it manually with startx, but still no good. ...
5
votes
4answers
17k views

What is the max partition supported in linux?

May i know the max partition size supported by an Linux system. And how much logical and primary Partition as we can create in an disk installed by linux system?
3
votes
2answers
790 views

Launching Gentoo from external hard drive

I have an external hard drive (Transcend TS500GSJ25M - not sure M1, M2 or M3, but guess it's M1) and I'd like to install Gentoo on it. It's pretty easy, using genkernel, though it compile a lot of ...
2
votes
2answers
262 views

IPv6 NDP timer problem

Need to change Fedora Linux's IPv6 stack for NDP DAD timer changes. How to locate the Fedora's IPv6 and IPv4 stack in Fedora distribution dvd/site so that, we can recompile and generate new stack ?
16
votes
2answers
792 views

Linux kernel for Nintendo Wii

I'm trying to compile a Linux kernel for the Nintendo Wii newer than the version 2.6.32 with mike p5 patches, which I have been using since now without problems. Since version 2.6.33 Wii support is ...
2
votes
1answer
785 views

Memory profiling the linux kernel on an embedded device

I have an linux kernel 2.6.30 on an ARM based embedded device and I have to do some kernel memory usage profiling on the device. I am thinking of monitoring the ps output on various kernel threads ...
1
vote
1answer
896 views

Wireless not showing a network in the scan results

I have a weird problem of connecting to a wireless network. I am connecting to a network named "C-202" with WPA-Personal. This network shows up in the scan results some time and won't show some time. ...
9
votes
3answers
5k views

How do I begin with building a Linux system from scratch?

I tried to make an operating system with my on custom built kernel. It didn't work out too well. I am using Ubuntu and have downloaded Linux 3.2.7 from kernel.org . I am not trying to change the ...
3
votes
1answer
540 views

When would an initrd be necessary?

I've read that I can boot the kernel without initrd, and I've also read that additional modules are loaded during the initrd stage -- as I understand it, for necessary drivers that weren't included in ...
9
votes
2answers
6k views

How to update kernel without reboot? (ksplice alternative)

How to update running kernel without reboot? I know about Oracle ksplice but it's not free and it supports only distributions that I don't use. Are there alternatives to ksplice?
3
votes
2answers
298 views

How does the kernel “give up” control to distribution-specific initialization?

I've always wondered how the kernel passes control to third-party code, or specifically distribution-specific code, during boot. I've dug around in GRUB's configuration files, suspecting a special ...
27
votes
3answers
6k views

What does the vm.swappiness parameter really control?

Per the kernel documentation: This control is used to define how aggressive the kernel will swap memory pages. Higher values will increase aggressiveness, lower values decrease the amount of swap. ...
9
votes
1answer
1k views

User Kernel split in 64bit Linux

What is the default user/kernel split in the 64bit linux ? I read Documentation/x86_64/mm.txt (which someone pointed out), but I could not make out. Can somebody provide a direct answer (something ...
4
votes
1answer
81 views

Timescales of any task in linux kernel?

I am studying how Linux kernel works and getting interested in the timescale of anything that happens in the kernel. Of course I know it depends on the HW, but would like to get an example. For ...
2
votes
1answer
3k views

i686 versus i486 kernel on an Intel Core i3

I had installed Debian 6 Squeeze on my laptop a couple of weeks ago. Coming from Ubuntu, I did this by downloading the hybrid i386 image and booting it off a USB drive. Now on GRUB, I'm presented ...
2
votes
1answer
285 views

Writing Linux Kernel module for non-MSDOS disk labels/partition tables

Linux supports a set of different disk label or partition table formats. For example, Sun Disk Labels and MS-DOS partition tables are both disk labels that contain (largely) the same information ...
1
vote
1answer
2k views

How to have CoreAudio from Mac to Linux/Unix?

After using Alsa and PulseAudio for a while, I feel they are not yet strong enough for Audio capture and audio playback. When I test with loud-speaker and microphone, there is self feedback-loop. ...
1
vote
1answer
508 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 ...
2
votes
1answer
207 views

Why is kernel-default 114MB on SUSE Studio?

I see that $ du -h /boot/initrd-2.6.37.6-0.5-pae 3.9M /boot/initrd-2.6.37.6-0.5-pae $ du -h /boot/vmlinuz-2.6.37.6-0.5-pae 4.1M /boot/vmlinuz-2.6.37.6-0.5-pae $ du -sh /boot 17M /boot ...
10
votes
2answers
2k views

Are kernel threads really kernel processes?

I've read in many places that Linux creates a kernel thread for each user thread in a Java VM. (I see the term "kernel thread" used in two different ways: a thread created to do core OS work and a ...
4
votes
2answers
8k views

Kernel Panic - not syncing: VFS: Unable to mount root fs after new kernel compile

So I've been at this for a while and have been poking around for an answer for a few days, and figure it's about time to ask for help. I am running Ubuntu 10.10 in VMWare Fusion, and have downloaded ...
8
votes
3answers
7k 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?
7
votes
1answer
6k views

getrusage system call: what is “maximum resident set size”

man getrusage 2 says ru_maxrss (since Linux 2.6.32) This is the maximum resident set size used (in kilobytes). For RUSAGE_CHILDREN, this is the resident set size of the largest ...
3
votes
2answers
4k views

Undefined reference to symbol 'acs_map' when running makeconfig

I get a linker error when I try to configure the Linux kernel with menuconfig: # make menuconfig HOSTLD scripts/kconfig/mconf /usr/local/bin/ld: scripts/kconfig/lxdialog/checklist.o: undefined ...