mutex in kld

2003-06-06 Thread Anurag Chaudhary
I am using mutex in a kld. mutex protects an open file so lock and unlock functions are called from open and close functions of the kld repectively. but when i start second instance of an application working on this file, my system hangs. there is no sleep call in the code. can anybody figure ou

lockmgr

2003-06-06 Thread Anurag Chaudhary
is lockmgr interface safer than mutexes. _ Himalayan holiday! Waiting to be won. http://server1.msn.co.in/sp03/summerfun/index.asp Find out more. ___ [EMAIL PROTECTED] mailing list http://

mutex in kld

2003-06-06 Thread Anurag Chaudhary
I am using mutex in my kld. but every time i run two instances of a program that uses this driver, the system hangs. I hav put the lock function in the open function of kld and unlock in close function. There is no call to sleep. Although it is a big code to protect, but i need it that way. Is th

writing on parallel port

2003-05-28 Thread Anurag Chaudhary
How can I read-write on parallel port from a kld also I need to know how can sleep be performed for a specified time in kld Thanx Anurag Chaudhary _ Staying fit. It's about being happy! http://server1.msn.co.in/features/stayi

sleep for specified time

2003-05-29 Thread Anurag Chaudhary
someone please tell me how to make a kld sleep for specified number of microseconds its urgent. Thanx Anurag _ Watch Hallmark. Enjoy cool movies http://server1.msn.co.in/sp03/hallmark/index.asp Win hot prizes!

nanosleep crashed my kernel

2003-05-30 Thread Anurag Chaudhary
I used nanosleep() in my device driver, but it crashed the kernel saying pagefault in kernel mode. Can anybody please suggest some other method to be used in a kld to sleep thanx Anurag _ Attention NRIs! Send money to India. http://

memory profiling

2003-06-02 Thread Anurag Chaudhary
isn't compiling saying libiberty required even when libiberty is installed on my system with all binutils. I want something in binary format. thanx Anurag Chaudhary _ Watch Hallmark. Enjoy cool movies http://server1.msn.co.in

adding script to the startup

2003-06-10 Thread Anurag Chaudhary
how can I add my script to the startup programs is it /etc/rc file to edit or some other. thanx Anurag _ Design your own holidays. Make memories that last a lifetime. http://www.flexihols.com/2003/index.php Enjoy! ___

how to make iso images

2003-06-12 Thread Anurag Chaudhary
how can I make CD iso image in freebsd thanx Anurag _ They're big & powerful. The macho mean machines! http://server1.msn.co.in/features/suv/index.asp SUVs are here to stay! ___ [EMAIL PR

Re: how to make iso images

2003-06-12 Thread Anurag Chaudhary
actually I am having a directory on hard disk and i want to make its .iso image in some file on the hard disk so that later I can burn CD with that image thanx Anurag From: "Moti Levy" <[EMAIL PROTECTED]> To: "Anurag Chaudhary" <[EMAIL PROTECTED]>,<[EMAIL P

parameters to a kld

2003-07-14 Thread Anurag Chaudhary
hi How can I pass load time parameters to a kld. Also my /proc directory is empty.Why is it so? If I have to see the address of a pci port or say parallel port, how can I do so? Thanx Chaudhary Anurag _ Polyphonic ringtones. Latest

Re: parameters to a kld

2003-07-14 Thread Anurag Chaudhary
quot;Anurag Chaudhary" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: parameters to a kld Date: Mon, 14 Jul 2003 13:14:56 +0300 (EEST) On Mon, 14 Jul 2003 09:01:46 + (UTC) in lucky.freebsd.questions, Anurag Chaudhary wrote: > > How can I pass load time parameters to a kld.