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.
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.
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.
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.
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.
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?
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.
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.
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.
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?
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.
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.
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)
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
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.
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.
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.
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
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?
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,
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.
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.
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?
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!
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.