01-25-2009
Yeah sorry accidental post, can the forum administrator delete this thread,,thnx
10 More Discussions You Might Find Interesting
1. Linux
Hi,
I builded the linux kernel 2.6 with the following tool chain
binutils:2.16
gcc:3.4.4
glibc:2.3.5
kernel:2.6.10
and applied the corresponding patches to it.I got the kernel Image.I downloaded the Image on to the AT91RM9200 board.But when i am booting the image it is showing the... (1 Reply)
Discussion started by: yugandhar
1 Replies
2. UNIX for Advanced & Expert Users
hi all
I want to make a kernel call which takes as input an integer x and prints 2*x
Anyone who knows how could i do that? (1 Reply)
Discussion started by: sasa
1 Replies
3. UNIX for Advanced & Expert Users
hello;
i'm trying to install a new kernel in fedora core 5 i'm using the following command:
/usr/src/linux-2.6.15.1# make && make modules && make modules_install && make install
but i always have the following error:
ld: édition de lien finale en échec: Aucun espace disponible sur le périphérique
... (1 Reply)
Discussion started by: jalil smail
1 Replies
4. Red Hat
Hi All
Im trying to access the my windows XP NTFS from Redhat linux 4.0 Enterprise edition
I have downloaded the respective rpm
And im able to install it successfully
Then i have given the following command , but got an error
Here are my partitions
And when i give the below... (1 Reply)
Discussion started by: balumankala
1 Replies
5. Linux
Hi masters,
I am new to linux and unix forum and this is my first forum. So please excuse if
I am not giving sufficient information. I will give them on request.
I have created a bandwidth manager module. I am using a 2.6.9 kernel and in Red Hat 3.4.3 distribution. But when i run make... (1 Reply)
Discussion started by: iamjayanth
1 Replies
6. Red Hat
Hi all,
When i load my block device driver in Fedoracore10 kernel 2.6.27. i got this type of error kernel panic - not syncing : Fatal exception in interrupt. I am unable to save the log file....
Can any one help me.....
regards
sundar (4 Replies)
Discussion started by: sundhar
4 Replies
7. UNIX for Advanced & Expert Users
I have one big module 2.6.18 kernel mod.c
I want to divide this to several files.
The problem is to write right Makefile
lib1.h
lib1.c
mod.c
mod.c works fine normally but when I divide into several files
and try to compile with this makefile
obj-m := mod.o
mod-objs := lib1.o
... (3 Replies)
Discussion started by: marcintom
3 Replies
8. Programming
hello,everyone,I'm reading LDD3.Topics about oops,it said the code bellow would cause a fault condition because "this method copies a string to a local variable,unfortunately,the string is longer than the destination array".Well,hard to understand....Is that right?I thought the fault should be... (1 Reply)
Discussion started by: homeboy
1 Replies
9. Red Hat
please tell me the list of kernel parameters in RHEL 5.7
Because we've a requirement in one project.
Also tell me the importance of eah kernel parameter if possible.
==Thanks in Advance==:):D (1 Reply)
Discussion started by: vamshigvk475
1 Replies
10. Solaris
please tell me the list of kernel parameters in solaris10. Because we've a requirement in one project.
Also tell me the importance of eah kernel parameter if possible.
Thanks in Advance.:):cool: (2 Replies)
Discussion started by: vamshigvk475
2 Replies
postwait(2) System Calls Manual postwait(2)
NAME
postwait: pw_getukid(), pw_wait(), pw_post(), pw_postv(), pw_getvmax() - lightweight synchronization mechanism
SYNOPSIS
DESCRIPTION
Postwait is a fast, lightweight sleep/wakeup mechanism that can be used for synchronization by cooperating kernel threads within a single
process or between separate processes.
A thread calls to block. It resumes execution when it is posted by another thread, the call expires, or is signaled. If one or more posts
are already pending, returns immediately.
Threads using postwait are identified by their ukid. A thread retrieves its ukid by calling It shares this ukid with anyone it chooses by
any means it considers appropriate (for example, shared memory).
is called with a timeout ts. If ts is NULL, the thread will not timeout. It will remain blocked until posted or a signal wakes it up.
If ts points to a zero-valued timespec, will return immediately with a value (and indicating whether or not it was posted.
If ts points to a timespec whose value is greater than zero, the thread will block for that amount of time unless it is posted or inter-
rupted by a signal, in which case the timespec pointed to by ts is updated with the remaining time. The return value and are set to indi-
cate the reason the call returned.
is used to post many threads with a single call. It posts to all threads in the targets array. An value for each target is returned in
the errors array. (0 indicates success.) If the errors pointer is zero, no target-specific errors are copied out.
There is a maximum number of threads that can be posted with a single call. This value is returned by
Posts sent to a kernel thread that already has a post pending against it are discarded.
RETURN VALUE
returns 0 if it succeeds, -1 otherwise.
returns 0 if posted, -1 otherwise.
returns 0 if the post succeeds, -1 otherwise.
returns 0 if every post succeeds, -1 otherwise.
returns the maximum number of kernel threads that can be posted with a single call to
ERRORS
sets to one of the following values if it fails:
ukid points to an illegal address. The reliable detection of this error is implementation dependent.
sets to one of the following values if it fails:
was called with a timeout of 0 but the caller has no post(s) pending.
was called with a timeout that expired.
ts points to an illegal address. The reliable detection of this error is implementation dependent.
was interrupted
by a signal.
The timespec pointed to by ts is invalid.
sets to one of the following values if it fails:
The ukid refers to a non-existent kernel thread.
sets to one of the following values if it fails:
targets points to an illegal address. The reliable detection of this error is implementation dependent.
errors points to an illegal address. The reliable detection of this error is implementation dependent.
count is less than 0.
count exceeds the maximum value (as returned by
A ukid refers to a non-existent kernel thread.
postwait(2)