parameters to a kld
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 movie trailors. http://server1.msn.co.in/sp03/gprs/index.asp On your mobile! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: parameters to a kld
hi thanx for that procfs stuff. I have mounted procfs now. I dont think you can create your own sysctl variable. If its possible, please tell me how. It allows you to only set or get values of existing variables thanx Chaudhary Anurag From: Andrey Simonenko [EMAIL PROTECTED] To: 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. Not sure that it is possible, at least kldload(2) doesn't accept any arguments, except kld file path. Probably sysctl variables can help. Also my /proc directory is empty.Why is it so? Is procfs(5) mounted to /proc directory? Checkout output of the mount command and content of the /etc/fstab file. If I have to see the address of a pci port or say parallel port, how can I do so? dmesg(8) usually helps (also see /var/log/messages). _ It's new, it's here! It's full of fun! http://server1.msn.co.in/sp03/messengerpromo/index.asp MSN Messenger V6.0 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to make iso images
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 PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to make iso images
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 PROTECTED] Subject: Re: how to make iso images Date: Fri, 13 Jun 2003 00:42:08 -0400 dd if=/dev/cdrom_dev of=filename.iso bs=1024 - Original Message - From: Anurag Chaudhary [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 13, 2003 12:29 AM Subject: how to make iso images 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 PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Looking for love? Yearning for friendship? http://www.msn.co.in/Romance/ You're in the right place ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mutex in kld
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 out what's the prob. thanx Anurag _ Staying fit. It's about being happy! http://server1.msn.co.in/features/stayingfit/index.asp Check out the new mantra. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
lockmgr
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://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mutex in kld
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 there some solution to the problem. Is lockmgr a better idea for this. this is urgent thanx Anurag _ Dress up your desktop! Get the best wallpapers. http://server1.msn.co.in/msnchannels/Entertainment/wallpaperhome.asp Just click here! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nanosleep crashed my kernel
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://server1.msn.co.in/msnleads/citibankrca/citibankrca2.asp Do it in a jiffy! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
writing on parallel port
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/stayingfit/index.asp Check out the new mantra. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]