cleanup and diffs ?

2005-05-03 Thread Thordur I. Bjornsson
Hello. I was surfing the dragonflybsd wiki site the other day and found out that they are doing a "base-cleanup". That is they are compiling the tools that come with the base system with WARNS?=6 ... Humm... This is something that I could do.. Minor cleanup (since I'm no C expert or a OS develope

Checking sysctl values from within the kernel.

2005-08-04 Thread Thordur I. Bjornsson
Hello list. If I want to check a sysctl value from within the kernel (e.g. an KLD), should I use the system calls described in sysctl(3) ? If not, what is the propper way to do so ? And if it is and I want to do error checking e.g: if((sysctl(name, namelen, &val, NULL, 0)) != 0) { "Erro

Re: Checking sysctl values from within the kernel.

2005-08-05 Thread Thordur I. Bjornsson
On Fri, 05 Aug 2005 09:33:06 -0600 Scott Long <[EMAIL PROTECTED]> wrote: > Dan Nelson wrote: > > > In the last episode (Aug 05), Thordur I. Bjornsson said: > > > >>If I want to check a sysctl value from within the kernel (e.g. an > >>KLD), should I

Re: Checking sysctl values from within the kernel.

2005-08-05 Thread Thordur I. Bjornsson
On Fri, 5 Aug 2005 11:01:32 -0400 John Baldwin <[EMAIL PROTECTED]> wrote: > On Friday 05 August 2005 10:50 am, Dan Nelson wrote: > > In the last episode (Aug 05), Thordur I. Bjornsson said: > > > If I want to check a sysctl value from within the kernel (e.g. an > > &

xl driver proplem.

2005-08-21 Thread Thordur I. Bjornsson
Hello list. I had this proplem with the xl driver: Aug 21 22:45:38 caulfield kernel: taskqueue_drain with the following non-sleepable locks held: Aug 21 22:45:38 caulfield kernel: exclusive sleep mutex xl0 (network driver) r = 0 (0xc23c00a4) locked @ /usr/src/sys/pci/if_xl.c:2796 Aug 21 22:45:38

Re: xl driver proplem.

2005-08-22 Thread Thordur I. Bjornsson
*snip* > Hello list. > > I had this proplem with the xl driver: *snip* Hello list (again). I'm sorry for the noize last night. I was way to sleepy ;) Now I had this proplem with a non-sleepable lock in if_xl.c (As explained in the previous post. Now, I did not provide alot of info in my last ma

Re: xl driver proplem.

2005-08-24 Thread Thordur I. Bjornsson
On Wed, 24 Aug 2005 16:15:08 -0400 John Baldwin <[EMAIL PROTECTED]> wrote: > On Monday 22 August 2005 01:07 pm, Thordur I. Bjornsson wrote: > > *snip* > > > > > Hello list. > > > > > > I had this proplem with the xl driver: > > > > *sn