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.
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
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);
I faced the following error once in my linux machine:
swap_dup: Bad swap file entry
What this error indicates?
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':
Hi All,
I have query regarding exposing SCSI target with file system & data on it. I am using 32-bit machine.
Hi
I have a system that consists of 14 processoes .Under high load one processor shows 100% usage and rest show normal behaviour.Driver is NAPI compliant.So is it a driver issue or scheduler issue?. Kernel is 2.6. The output of "top" commands show that the cpu that is 100% consumed is running ksoftirqd and it is 0% idle and 100% SI.
Interrupts are evenly distributed over the system
I am using Debian Lenny with 2.6.30 kernel on my Intel Atom Poulsbo chipset computer and I get the following messages in my dmesg when I start the X server:
[ 22.760737] mtrr: type mismatch for 3ffc0000,10000 old: write-back new: write-combining
[ 22.760805] mtrr: type mismatch for 3ff80000,40000 old: write-back new: write-combining
I want to use a vanilla kernel on my embedded x86 machine.
I have 3 options:
1. Run Dan kegel's last script: it uses 2.6.15.4
2. Use the LFS 6.4: It uses 2.6.27.4
3. Use the last version in kernel.org: 2.6.30.1, But with what tools version ?