Linux kernel, Linux general

soft lockup and hang

Submitted by gondim
on October 29, 2009 - 6:02pm

Hi,

I´m looking for this kernel messages. I would like to know how resolve this problem. Please help me. :)
My system is: CentOS 5.4 - kernel version 2.6.18-164.el5PAE
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
eth0: Ethernet controller: Intel Corporation 82566DC-2 Gigabit Network Connection (rev 02)

checking TSC synchronization

Submitted by handrix
on September 14, 2009 - 9:38am
Linux

Im' trying to upgrade a Linux kernel from 2.6.18 to 2.6.30.
The machine is a HP Proliant with Intel Xeon processor double six core. The 2.6.18 kernel work fine.

When booting with the 2.6.30, the kernel can not identify more than 8 CPU and i get this message :

checking TSC synchronization [CPU#0 -> CPU#8]: passed.

And the kernel could not boot.
Please can you help me with this

GDT assignment

Submitted by Anonymous
on September 12, 2009 - 5:22pm
Linux

In older kernels, GDT is set in arch/i386/kernel/head.S. Now, in newer kernels everything moved to arch/x86, bud in arch/x86/kernel/head_32.S i can't find where is GDT set. I mean something like


.quad 0x0000000000000000 /* NULL descriptor */
.quad 0x0000000000000000 /* not used */

Dealing with Linux kernel configuration's diffs

Submitted by Dmitry Shurupov
on September 11, 2009 - 12:22pm
Linux

We're using a lot of different kernel configurations on our servers running Gentoo Linux and Linux VServer. Kernels' configs depend on hardware and functions of every server. Every time new kernel is released and/or we need to enable/disable some features for all servers' kernels we have to update .config's manually.

Unix Architecture

Submitted by Anonymous
on September 9, 2009 - 6:28am
Linux

Any one please send the UNIX Architecture which specifies how the UNIX Operating System handles all the System Calls.

ZFS on linux

Submitted by mayurt
on September 9, 2009 - 5:18am
Linux

ZFS support on linux

Using EXPORT_SYMBOL in a 64bit architecture

Submitted by Anonymous
on September 7, 2009 - 3:08pm
Linux

Dear friends,

I have hacked a kernel and created a module that invokes some functions from this kernel. The mods work perfectly on my workstation, but I'm having several problems on a 64bit server which runs the exactly same Linux distribution.

The distro is a Ubuntu 7.04 and the kernel is 2.6.20.3-ubuntu1.

The only difference is that my workstation is i686 and the server is x86_64.

how to get proc_root

Submitted by Anonymous
on August 28, 2009 - 1:57pm
Linux

Hi, i am trying to hook readdir call in proc filesystem.

        struct file_operations *fops;

	fops = proc_root.proc_fops;
	readdir_old = fops->readdir;
	fops->readdir = readdir_new;

       

But, proc_root is no longer exported. So, how can I get it?
(No System.map, /dev/kmem ...)

Thank you

How backtrace work ?

Submitted by Anonymous
on August 28, 2009 - 8:58am
Linux

What is the source of info for the backtrace API to display the symboling names of API sequence?

a12a

Submitted by Anonymous
on August 28, 2009 - 2:24am
Linux

non cached memory for user space DMA

Submitted by Anonymous
on August 27, 2009 - 10:08am
Linux

I am trying to write a MAC driver for Arm 11 MPcore in 2.6.23. The DMA'ble memory required is supposed to be non-cached for performance reasons.

A chunk of memory(~ 6MB) is allocated at startup using bigphys area patch. This physical area in the RAM is mmap'd to userspace as follows and thereafter carved into network buffers:

fd = open("/dev/mem", O_RDWR|O_SYNC);

glibc detected *** free(): invalid pointer 0x2aca1e6c ***

Submitted by Anonymous
on August 17, 2009 - 6:59am
Linux

What is the reason of error msg:
glibc detected *** free(): invalid pointer 0x2aca1e6c ***

swap_dup: Bad swap file entry

Submitted by Anonymous
on August 17, 2009 - 6:52am
Linux

I faced the following error once in my linux machine:
swap_dup: Bad swap file entry

What this error indicates?

bzImage error

Submitted by kingos82
on August 14, 2009 - 1:56pm
Linux

Hi I am trying to compile a new kernel (2.6.9) so that I can install rtlinux however when I run sudo make bzImage I get the following error:

include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[6]'
arch/i386/kernel/process.c: In function 'show_regs':

Incorrect SCSI target size on initiator

Submitted by justvaibhav
on August 9, 2009 - 4:49am
Linux

Hi All,

I have query regarding exposing SCSI target with file system & data on it. I am using 32-bit machine.