Linux kernel, Linux general

reading On-Chip GPIO from userspace

Submitted by Anonymous
on May 10, 2009 - 5:50pm

Hi folks,

i am successfully using gpio-keys on a custom AT91RM9200 board to react on On-Chip GPIO input events.
But if the system has just started, there is no way to figure out in which state these GPIO's are.
What i could do is enabling DEBUG_FS-Support and check /sys/kernel/debug/at91_gpio - but it seems a bit ugly to use a debug facility for production use.

How to debug an embedded linux Kernel

Submitted by DEF
on May 9, 2009 - 9:27am
Linux

I have a embedded ARM linux target and a linux host. I require to debug the embedded linux usbcore and usbserial.ko. I have built a debug kernel and debuf usbserial.

Now I have gdbserver on the target and gdb on the host. Using tcp how to I configure both the host and target to debug the usbcore?

Not able to generate race condition...

Submitted by Anonymous
on May 8, 2009 - 12:39am
Linux

Hi,

I am learning linux kernel. I have written a simple program to understand the usage of mutex variable.

Ideally the following program should generate race condition and should produce the different values on i,j,k and l rather than i = j = k = l = 100(LOOPCONSTANT * Number of threads) on usage of mutex. Here shared variables between threads are i,j,k and l.

VFS function hook

Submitted by ricardomcm
on May 7, 2009 - 6:27pm
Linux

hi folks, i'm trying to hook a function of the VFS, in order to hide a file in the filesystem
(actually a directory, containing some sensitive stuff)
i've read some papers that i found on google, even rootkit sources such as adore-ng
however they seem not to work under recent kernels

here is what i'm trying to do:

struct file *f;

disk cache configuration

Submitted by mbmessaoud
on May 5, 2009 - 1:18pm
Linux

Hi

How to configure disk cache in linux kernel

the first parameter arametre that is displayed when this command is exceuted

cat /proc/meminfo |grep Cached
Cached: 250492 kB ( How to change this value?)
SwapCached: 4700 kB

Any comment is welcome

XFRM policy Update event for Inbound Policy

Submitted by Anonymous
on May 5, 2009 - 10:13am
Linux

Hi All,
I am looking for Policy update notifications from the XFRM during the IPSec Re-keying. I look for the "XFRM_MSG_UPDPOLICY" event. The issue I see is that i Only get Policy updates for the Outbound Policies and not for the Inbound. Below is the dump of " ip xfrm monitor"

Updated src 9.1.1.0/24 dst 11.0.0.0/8
dir out priority 2360

What is timer overhead?

Submitted by Anonymous
on May 1, 2009 - 3:32am
Linux

I understand the concept of timer resolution and how to measure but what about timer overhead?

scheduler_tick

Submitted by Anonymous
on April 29, 2009 - 8:56am
Linux

what is the use or function scheduler_tick in kernel??????????

Has anybody tried doing PCIe to PCIe DMA? will it work?

Submitted by Anonymous
on April 28, 2009 - 4:29pm
Linux

I have been trying to modify some driver code to essentially setup the DMA engine that is on a PCIe card and have it DMA to another PCIe card's memory region instead of the system memory. I am using a machine that has (I think) an Intel X38 Express north-bridge or similar and I believe it is also using ICH9 south bridge.

2.6.9-67.ELlargesmp rip __do_softirq+0x4d/0xd0

Submitted by Anonymous
on April 28, 2009 - 5:53am
Linux

Hello all,

I'm experiencing in some strange troubles. I've an IBM x series server with 4 quadcore intel processors and 22gb of RAM. I'm using RH 4 U6 with kernel 2.6.9-67.ELlargesmp.
This system serves an heavy used Oracle 10g database.

After 1 hours from boot, under have I/O maybe due to a transaction, system seems to hang. dmesg reports:

xfs slow to delete directory trees

Submitted by Anonymous
on April 26, 2009 - 11:23am
Linux

xfs is so slow at deleting directory trees that I wonder if there's some performance problem with the xfs code. I have read this is a known characteristic of xfs, but still, minutes, as in, more than 120 seconds, to delete a few lousy directories containing a mere 370M of files?

+------ PCI-Express Device Error ------+

Submitted by Anonymous
on April 26, 2009 - 7:12am
Linux

Hello,

I've stumbled upon a problem trying to get a NVIDIA 7300 SE together with my K9VGM mobo, a problem "pci=nommconf" or other grub parameter could not solve with a 2.6.27-11 kernel.

The symptom was a flow of "+------ PCI-Express Device Error ------+" at boot time when plugging the video card in:

+------ PCI-Express Device Error ------+
Error Severity^I^I: Uncorrected (Fatal)

vbn

Submitted by Anonymous
on April 25, 2009 - 2:46pm
Linux

klm

[usb] [ehci-hcd] huge number of interrupts when transfering file

Submitted by mbmessaoud
on April 24, 2009 - 2:43pm
Linux

Hi

when copying file on a usb disk connected to a mips card there are many interrupts issued

before transfert
# cat /proc/interrupts

CPU0

4: 0 ADI fusiv gpio

6: 4899 ADI fusiv serial

9: 15275 ADI fusiv timer

10: 22261 ADI fusiv timerPulse

13: 33 ADI fusiv eth1

Telnet session consumes 8KB which is never released after session is terminated

Submitted by NilesBor
on April 23, 2009 - 3:46pm
Linux

I am seeking assistance to this memory problem in Linux:

My distro: MontaVista version 2.6.10 (mvl401-ep852)

In "steady state", I execute the "free" command to display info about free and used memory on my system:

> free
              total         used         free       shared      buffers
  Mem:       127396        42884        84512            0            0