Kernel :: Use Message Queues For Sending Message?
Apr 16, 2010
I was trying to use Message Queues for sending message from aninserted kernel module to user space. The function sys_msgsnd failedgiving the obvious error -EFAULT.However, I was able to send the message from kernel to user space when I had made the same driver part of kernel (and not inserting it).How is that possible?I am using linux.2.6.19.x (arch=ppc)I now use Netlink socket to communicate from kernel to user, but the aboveproblem seemed strange to me.
View 2 Replies
ADVERTISEMENT
Jan 26, 2011
I am implementing an IPC mechanism using message queues (Sys V).I can receive the messages using msgrcv() function. I am wondering how can I listen on the new messages. I would like to implement a mechanism that would notify me when there is a new message in the queue for me and I will call the msgrcv() function to retrieve the message.
View 4 Replies
View Related
Mar 10, 2010
I have this daemon I'm writing in Python, but I still a Python n00b. I've coded the part of the daemon that does the work, but not the part that receives messages. I need a simple system so that other processes on the same (Linux) computer can occasionally send text-string messages to the daemon (without needing to stay running all the time themselves). Once in the past we did something similar by (mis)using pyliblo to listen for OSC messages coming in on a certain port. That option isn't as workable here because the pyliblo interface (as near as I can tell) requires you to know in advance specifically what messages you are expecting, and forward them to specified functions, rather than just allowing you to generically process incoming messages as you see fit.
View 1 Replies
View Related
Mar 1, 2011
recently I had been to interview where I had a question to be answered, that what are advantages and disadvantages when desiging an application in linux.
View 1 Replies
View Related
Apr 15, 2011
I have a pthread waiting forever on a POSIX message queue and then call mq_close and mq_unlink on the POSIX message queue. I've found that the pthread never wakes up from it's call to mq_receive and remains blocked indefinitely. Is there a way to wakeup all pthreads blocked on a POSIX message queue after calling mq_close/mq_unlink? The goal is to include error handling during message queue deletion to avoid leaving any pthreads blocked forever.
View 2 Replies
View Related
Jan 3, 2011
I want to communicate between two threads, each belonging to a different process. Iam using message queues for this. I use mq_open()call. I created the queues with the same queue name starting with a '/'. But when I open the queue, the queue ID is different in both the process. What should I do so that both the process have the same queue ID?
View 1 Replies
View Related
Jan 17, 2011
i am working on a project that uses message queues. i am able to successfully create them and they are working fine. now the problem is to close/remove message queues without software or mq_close / mq_unlink command. earlier when i worked on rh9, there is ipcs utility. we use ipcs to see all the existing message queues and ipcrm to remove them. however ipcs is not working for message queues in RHEL 5.3. Neither ipcs shows the exisiting message queues and neither we are able to use ipcrm. Plz guide to close/remove the queues with ipcs or any other command/utility from shell itself.
View 1 Replies
View Related
Oct 1, 2010
In windows we used to send a pop up message to another computer that is connected in home network using the following command,
Code:
Netsend [username] "message"
what is the equivalent command in ubuntu..?
View 4 Replies
View Related
May 8, 2011
is it possible to send text message alerts instead of emails to a phone from ubuntu?...
View 2 Replies
View Related
Apr 8, 2011
Is it possible to send a message to a specific user of group with "wall" command? Seems that this command will broadcast the message.
View 3 Replies
View Related
Oct 18, 2010
Just upgraded to 10.10, evolution worked the first time but has not worked since. Have tried re installation but no joy. Starting for terminal shows:-
(evolution:16876): Unique-DBus-WARNING **: Error while sending message: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
It was working in 10.04.
View 3 Replies
View Related
May 1, 2011
Since upgrading to 11.04 yesterday, nauilus has been acting strangely. It takes about 30 seconds for a right click on the desktop to respond, whereas before it would've taken 1 or 2. Also, when trying to open a directory, say, the Home direcotry accessible from the launcher,it takes about a minute to open, which is odd,because all of my other applications (Chrome, Banshee etc) ares all running smoothly. And when the direcotry windowe does open, within 10 sconds it will turn grey and prompt me to force quit. When i try to open nautilus from a terminal, it comes back with the message
Code:
(nautilus:3508): Unique-DBus-WARNING **: Error while sending message: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
View 5 Replies
View Related
Jan 6, 2010
I am seeing log messages that I don't understand. If I run tail -f /var/log/messages, some times I will see this this sort of repeating pattern. I don't know if I have cut at the start of the sequence or not. Incidentally, this is a normaly well-behaved client/host.
[Code].....
Why is the client repeatedly sending the (1/4) message and then timing out?
View 1 Replies
View Related
May 29, 2010
I have set up SSH and redirected the ssh server to listen on another port other than 22 for a bit of added security.
Now in hosts.deny I have:
ALL : ALL
In hosts.allow I have:
SSH : ip_address_of_client
I can no longer connect. I get the message: ssh_exchange_identification: Connection closed by remote host.
When I change hosts.allow to read:
ALL : ip_address_of_client
I can successfully connect the server.
However, I only want to allow SSH access in hosts.allow. What is the correct syntax?
I have tried and failed with each one of these:
SSH : ip_address:port_number
SSH2 : ipaddress
sshfwd-portnumber : ip_address_of_client
View 2 Replies
View Related
Feb 2, 2010
Did anyone heard about or can suggest mabe a postfix serverside solution in order to insert a counter number into the subject line before the message is sent?
I mean something similar with helpdesk tickets, because I would like to create the possibility for the senders, to make further refference about a speciffic message using it's counter number provided by postfix server.
View 5 Replies
View Related
Apr 30, 2009
Hi I am running a fedora 10 desktop. when i send an email using evolution the message was not sent but returns a error message:"Error while performing operation.DATA command failedError: 550 Viagra SPAM - Hi in Subject" and the message did not have an attachment just plain words. what might have gone wrong for i have been using this for sometime without a problem. or what security measures should be in place to remove this viagra spamAm I infected by virus on this fedora, all my updates are up to date.
View 1 Replies
View Related
Nov 10, 2010
Im trying to instal Sun Virtualbox but when download completes and I click on install I get the following error>>Message did not receive a reply (timeout by message bus) I wont even bother with this software if there are others out there that are as easy to use. I used it on Windows and thought it was great ! (thats how I eventually switched to Linux, by using it virtually at first)
View 5 Replies
View Related
Dec 31, 2010
Using IMAP to retrieve emails in Evolution is not working correctly. Some messages are recieved, others are not. Those messages that cannot be recieved, reports the following error message: Unable to retrieve message
Running the following;
evolution 2.28.3-0ubuntu10
Ubuntu 10.04.1 LTS
2.6.32-26-generic
View 4 Replies
View Related
Jan 28, 2011
When I send mail via Evoultion it does seem to send ok but still the following error message comes up: Error while sending message. Failed to append to : Unknown error Appending to local 'Sent' folder instead. Not sure what's up with that but thought I would mention it.
View 3 Replies
View Related
Sep 6, 2010
We are trying to create a message forwarder program that receive a message on Port A and pass it on t Port B. Also receive a message from Port C and Pass it on to Port D as follows.
[Code]...
View 4 Replies
View Related
Aug 11, 2011
I have installed Ubuntu 10.04 LTS on a flash drive and everytime I try to do an update I get the following error message:
Code:
Setting up linux-image-2.6.32-33-generic (2.6.32-33.72) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.32-33-generic
lzma: Encoder error: -2147467259
Failed to create initrd image.
[Code]...
also, I would like to know if I want to make clones of the flash drive, would a copy and paste suffice or do i need to use some cloning software? I have followed the instructions on ubuntu wiki to make my casper-rw larger than 4GB by making it an ext4 partition.
View 3 Replies
View Related
Aug 7, 2010
These days, I tried to compile my own kernel. Now, it seems work. However, when the kernel is booting, I always get the error message like below:
acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed
It looks that something is wrong with my acpi subsystem's configuration. But no matter How I reconfig it, this message still occurs.
My distribution is UBUNTU 10.04 LTS
original kernel with the distribution is 2.6.32
My own kernel is 2.6.35
View 7 Replies
View Related
Jul 30, 2009
After CentOS5.3 install to /sdb7 partition (on 2nd HD) and using Ubuntu Grub(on 1st HD mbr) to boot CentOS, I get "memory for crash kernel 0x0 to 0x0 not within permissible range" as soon as CentOS starts. I have 2G of ram. The message is on every boot. I've had several other linuxes on that partition without such an error message. Otherwise the OS starts fine. Is the message of concern/import?
View 3 Replies
View Related
Jul 20, 2009
KMail 1.11.4, KDE 4.2.4: I'm migrating from WinXP to Mandriva, and installed KMail at the weekend. Works fine, but I have a niggle - the message list displays headers grouped by month order. I'd like the option of having a simple list (no groups), and suspect that it could be done - but I haven't been able to find out how. I've checked in the Handbook without success, and a search in LQ hasn't turned up anything yet.Any suggestions gratefully received. If this isn't the right place for a KMail query,
View 1 Replies
View Related
Jan 26, 2009
I'm new to fedora and when I boot from a cd I get the message: could not find kernel image. I currently have windows xp and my motherboard is and ix38 quad gt if that helps.
View 2 Replies
View Related
Jul 9, 2010
I used the Netlink mechanism before but it seems that it is not High-Efficiency.Is there another way or other ways better?
View 1 Replies
View Related
Mar 12, 2010
I recently did a fresh install of current and once I had it up and running I compiled a fresh 2.6.33 kernel using my old config file, but now I get this warning durning boot, specifically during module loading WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release. This doesn't seem to be causing any problems but I am curious to know what the message meams? I checked /etc/modprobe but everything looks normal.
View 1 Replies
View Related
Apr 7, 2010
Kernel driver function was called via ioctl and returned success, but when I checked the kernel display buffer with dmesg the printk message was not there. Then when you do lsmod, the driver you were calling showed "used by zero". So it seems like the kernel driver was not accessed. In the kernel driver, I had many printk statements, but nothing printed in the buffer. if the driver get accessed and what could cause this?
View 1 Replies
View Related
Jan 29, 2010
I got a notification that there was an upgrade available today in ubuntu 9.10 64, after the update i restarted my system and while booting i encountered this error message:
Kernel panic - not syncing : VFS : Unable to mount root fs on unknown - block (8,17)
does this have something to do with the OS looking at the wrong hd?
theres no command prompt to actually do anything and i tried booting in safe mode and had the same problem. Let me know what i can do!
View 3 Replies
View Related
May 21, 2011
I was about to do upgrade from 11.3 to 11.4.I was following the guide I found in opensuse's website. I was to the point where I had to disable all 11.3 repositories and add the 11.4 at that point I forgot to change my nvidia repository ( I have a g210m graphic card).
thus after the upgrade the X could not start at all. I think this was because Yast could not find the nvidia driver.
Using text mode YaSt2 I added the nvidia driver but after restart I can not see and X running. I receive an error message that the current kernel can not be loaded!!!
I also checked in command line if there is something like Sax2.. but I couldnot find anything.
View 6 Replies
View Related