LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 02-23-2007, 07:35 AM   #1
sharad
Member
 
Registered: Dec 2005
Posts: 48

Rep: Reputation: 15
Dazuko is loading in the kernel but my application is failing to register with dazuko


Dear all,

When I am loading the dazuko module manually and then running my application, it is able to register with dazuko without any problem.

But I want to do this automatically, i.e I want to write a code to insert the dazuko module and then register the application. For this I am invoking the system function as,

system("/sbin/insmod dazuko.ko");

so it is loading but my application is failing to register with dazuko.

To solve this problem, I invoked sleep() function for 6 seconds after inserting the module and then tried to register the application. then it is working. But I want the solution without sleeping the process for 6 seconds. Because till that time my remote application on another machine wating for the respone will shut down.

I would appreciate if anybody could help me to solve this problem.

Thanks & Regards,
Sharad.
 
Old 02-24-2007, 03:53 PM   #2
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 397

Rep: Reputation: 33
I don't know if this will be beneficial to you, but for AntiVir to work properly I also need the dazuko module installed. I have edited rc.modules to probe for dazuko upon startup. Depending upon your situation, you may not want dazuko loaded all of the time, but in my case AntiVir needs it, and this application is running all of the time as well. Also, I need to have the commoncap module loaded prior to loading dazuko for the module to work properly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dazuko help needed b3rx Slackware 4 08-27-2006 03:43 AM
Dazuko Stevecook Linux - Software 5 08-02-2006 12:39 AM
dazuko for klamav ciopi Mandriva 0 12-29-2005 08:30 AM
installing dazuko NNP Linux - Software 3 05-16-2005 07:31 AM
Compiling Kernel for Dazuko - make error timmywo Linux - General 2 03-28-2005 04:55 PM


All times are GMT -5. The time now is 12:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration