I noticed that a little test program which calls nanosleep is showing a huge difference in CPU usage when run on Linux machines with a kernel newer than 2.6.22.
#include
int main (void)
{
struct timespec sleepTime;
struct timespec returnTime;
sleepTime.tv_sec = 0;
sleepTime.tv_nsec = 1000;
while (1)
{
nanosleep(&sleepTime, &returnTime);
}
create a new folder and rename as con ,but you will see the folder not getting renamed do type "con + alt+0160 and you can create the folder named con
i am trying to flash rootfs (root.jffs2) on pyhtec iMX27 board with ARM on it .
i've properly configured the switch on the board for NAND boot .
the same root.jffs2 image works fine with NOR setting but not with NAND .
NFS port have been configured properly since it works fine with NOR .
Hi All,
How do i detect the insertion/removal of external devices like SDCard, USB drives etc.,
Somebody told to use "udev". I want to do my C program. Please anybody help me.
Google operating system to take on Microsoft Windows.Google is planning its own operating system, in a direct challenge to Microsoft and its Windows hegemony. The New York Times and tech-news site Ars Technica, broke the news on their respective websites.
Hello,
We have the following question regarding the (re-)allocation of dma-able memory for a PCIe device. We want to know on which CPU / Memory controller the dma-able memory will be allocated. In addition we would like to know how we can control this allocation process, or how to reroute it to another CPU / Memory controller.
slab allocator only allocates memory from low memory region(896MB). Even with more than 16GB physical memory, the size of LowMem is same.So, any case will it lead to out of memory by performing operations,like filesystem, network, process..? Thanks.
Hi,
I'm having intermittent issues with my implementation of Dummynet.
I've got two FreeBSD 7.0 systems running an IPSec/Racoon VPN which runs stably. On one BSD box, I've set up a dummynet pipe to limit the amount of traffic going across my gif tunnel.
eg.
ipfw pipe 1 config bw 300Kbit/s queue 80Kbytes
ipfw add pipe 1 all from any to any via gif0
Hello Sir/Madam
I m using the chip xr20m1172 with s3c2451 development board.But i am not getting any sample linux driver regarding this or like same.
I am using spi interface for making 2 uarts with the help of xr20m1172 chip.Can you please help me regarding this.
With Regards
Nitin
Hi all,
I wrote two program given below just for testing .
I want to measure the time that signal takes to travels between two process.
In these program, Two signals are send,
1) SIGUSR1(from sigTime2.c) to sigTime1 process &
2) SIGUSR2 (from sigTime1.c) to sigTime2 process.
---------------------------- sigTime1.c -----------------------------------------
#include "stdio.h"
Anyone have an idea why this login fails?
ed92626@gmail.com
read whole readPASSED first char gsm l 108
response2 = ATD*99***1#CONNECT 115200~�}#�!}!}!} }6}!}$}%�}"}&} } } } }'}"}(}"}#}$�#&�~
CONNECTED!
Start using connection in modem.c
_connectedPid = 35
username = jasper EOM
echo off = 1
_connectedPid = 0
username = jasper EOM
path2a
613 usb_control_msg returned 32
Hello,
Sorry, I'm not a low-level programmer so I'm kinda lost on what's happening...
I updated the kernel of a linux router to 2.6.29 today and I got this dump a few minutes after the server boot.
Jun 19 14:20:34 firewall64 ------------[ cut here ]------------
Jun 19 14:20:34 firewall64 WARNING: at net/sched/sch_generic.c:226 dev_watchdog+0x122/0x1ca()
I am writing a user space MAC driver in Linux 2.6.23 hosted on a Arm11 mpcore. A contiguous block of physical memory is allocated and mmap'd to userspace.
/dev/mem with O_SYNC flag is used to mmap so that the user virtual memory is uncached (with no much benefit).
Kernel
------
kptr = kmalloc(sz, GFP_DMA|GFP_KERNEL);
pptr = __pa(kptr);
User
----
Hi everyone, I have been facing following problem in my Linux kernel after load the CPU at max. and network as well
So what could be the reason of this page fault? How to reproduce the same?
Mar 4 19:15:55 kernel: kernel BUG in page_add_anon_rmap at mm/rmap.c:438!
Mar 4 19:15:55 kernel: Oops: Exception in kernel mode, sig: 5 [#1]
Mar 4 19:15:55 kernel: PREEMPT
I was trying to plug in a Mobidata EDGE modem (100EU) to my Linux (Ubuntu 8.04.2, kernel 2.6.24). It was not working. The lsusb command shows a device id 10CE:EA6A. In the line of 100 of cp2101.c, it says the device id should be 10C5:EA61. I think that's the source of problem everyone is facing with Mobidata EDGE modem.