Re: KLD: program.ko: depends of kernel - no avaiable

2009-01-28 Thread M. Warner Losh
In message: <20090129045304.ga18...@debian.samsung.router> Alexej Sokolov writes: : Can you paste please the dmesg after KLDloading ? Sometimes there are : in /var/log/messages more helpful information. And I would like to look : your syscall code if it possible. : : Alexej : : On

Re: KLD: program.ko: depends of kernel - no avaiable

2009-01-28 Thread Alexej Sokolov
Can you paste please the dmesg after KLDloading ? Sometimes there are in /var/log/messages more helpful information. And I would like to look your syscall code if it possible. Alexej On Tue, Jan 20, 2009 at 05:21:02PM +0100, Jacky Oh wrote: > Hi, > > I'm writing a syscall module and he compil

Re: Mackbook pro nvidia based video backlight

2009-01-28 Thread Patrick Lamaizière
Le Wed, 28 Jan 2009 17:33:28 +0100, Ed Schouten : > > Not really. The xorg intel driver is already able to deal with this. > > I don't know about NVIDIA. > > Yes, but that's what I mean. It will be a cold day in hell when "nv" > supports this. As far as I can tell, it's just a pile of obfuscated

Re: critical floating point incompatibility

2009-01-28 Thread John Baldwin
On Wednesday 28 January 2009 2:24:21 pm Bakul Shah wrote: > On Mon, 26 Jan 2009 16:51:28 EST John Baldwin wrote: > > On Friday 21 December 2007 3:16:33 pm Kostik Belousov wrote: > > > On Fri, Dec 21, 2007 at 10:11:24AM -0800, Bakul Shah wrote: > > > > Peter Jeremy wrote: > > > > > On Wed, Dec 19

Re: Fwd: KLD: program.ko: depends of kernel - no avaiable

2009-01-28 Thread John Baldwin
On Wednesday 28 January 2009 10:40:20 am Jacky Oh wrote: > hi everyone, > > the main goal of KLD are load code for executing as part of kernel at > run-time, so, i don't think that rebuild the kernel are a good solution.. > In other way a try to load any dev/syscall example at > /usr/share/example

Re: critical floating point incompatibility

2009-01-28 Thread Bakul Shah
On Mon, 26 Jan 2009 16:51:28 EST John Baldwin wrote: > On Friday 21 December 2007 3:16:33 pm Kostik Belousov wrote: > > On Fri, Dec 21, 2007 at 10:11:24AM -0800, Bakul Shah wrote: > > > Peter Jeremy wrote: > > > > On Wed, Dec 19, 2007 at 09:40:34PM -0800, Carl Shapiro wrote: > > > > >The default

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread Giorgos Keramidas
On Wed, 28 Jan 2009 10:19:00 -0700 (MST), "M. Warner Losh" wrote: > : lseek(3,0x8000,SEEK_SET) = 32768 (0x8000) > : read(3,0xbfbfe3a3,2048) ERR#5 'Input/output error' > > OK. That's definitely not page aligned. Slightly modified to force the alig

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread M. Warner Losh
In message: <87d4e7e4y0@kobe.laptop> Giorgos Keramidas writes: : On Wed, 28 Jan 2009 18:29:10 +0200, Giorgos Keramidas wrote: : > On Wed, 28 Jan 2009 09:20:46 -0700 (MST), "M. Warner Losh" wrote: : >> Not going to look at glabel for this. I lifted the code from glable, : >> bu

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread Giorgos Keramidas
On Wed, 28 Jan 2009 18:29:10 +0200, Giorgos Keramidas wrote: > On Wed, 28 Jan 2009 09:20:46 -0700 (MST), "M. Warner Losh" > wrote: >> Not going to look at glabel for this. I lifted the code from glable, >> but must have done it badly. I'll grab a core 10 cd and see what's up. > > It may not b

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread M. Warner Losh
In message: <87mydbiecp@kobe.laptop> Giorgos Keramidas writes: : On Wed, 28 Jan 2009 09:20:46 -0700 (MST), "M. Warner Losh" wrote: : > Not going to look at glabel for this. I lifted the code from glable, : > but must have done it badly. I'll grab a core 10 cd and see what's up.

Re: Mackbook pro nvidia based video backlight

2009-01-28 Thread Ed Schouten
* Rui Paulo wrote: > Not really. The xorg intel driver is already able to deal with this. > I don't know about NVIDIA. Yes, but that's what I mean. It will be a cold day in hell when "nv" supports this. As far as I can tell, it's just a pile of obfuscated C code. -- Ed Schouten WWW: http://8

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread Giorgos Keramidas
On Wed, 28 Jan 2009 09:20:46 -0700 (MST), "M. Warner Losh" wrote: > Not going to look at glabel for this. I lifted the code from glable, > but must have done it badly. I'll grab a core 10 cd and see what's up. It may not be Fedora specific. I just happened to have it handy... Sorry for creat

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread M. Warner Losh
In message: <87k58f7npu@kobe.laptop> Giorgos Keramidas writes: : On Wed, 28 Jan 2009 02:09:50 -0700 (MST), "M. Warner Losh" wrote: : > Please find enclosed patches to enable printing of the ISO-9660 Volume : > label, if present, for a CD. I've connected this to the 'status : > l

Re: Mackbook pro nvidia based video backlight

2009-01-28 Thread Robert Noland
On Wed, 2009-01-28 at 14:29 +, Rui Paulo wrote: > On 28 Jan 2009, at 13:43, Ed Schouten wrote: > > > * Daniel Lannstrom wrote: > >>> I'm asking which method will be the best to interface the driver > >>> with > >>> userland applications? > >> > >> You might want to make it a character devic

Fwd: KLD: program.ko: depends of kernel - no avaiable

2009-01-28 Thread Jacky Oh
hi everyone, the main goal of KLD are load code for executing as part of kernel at run-time, so, i don't think that rebuild the kernel are a good solution.. In other way a try to load any dev/syscall example at /usr/share/examples/kld the result was the same.. When i was thinking in S. Sedov reply

Mutually exclusive kernel modules

2009-01-28 Thread Andrew Brampton
Hi, I'm writing a new kernel module which can not be run with another module. If both run then bad things will happen and the kernel will fall over. Fixing the modules so they can be run together is not a option, so I wanted to code something in this new module which would A) Check if the other mo

Re: Mackbook pro nvidia based video backlight

2009-01-28 Thread Rui Paulo
On 28 Jan 2009, at 13:43, Ed Schouten wrote: * Daniel Lannstrom wrote: I'm asking which method will be the best to interface the driver with userland applications? You might want to make it a character device driver. And write a small userland control program. Sysctl isn't really made

Re: Mackbook pro nvidia based video backlight

2009-01-28 Thread Rui Paulo
On 28 Jan 2009, at 13:43, Ed Schouten wrote: * Daniel Lannstrom wrote: I'm asking which method will be the best to interface the driver with userland applications? You might want to make it a character device driver. And write a small userland control program. Sysctl isn't really made

Re: Mackbook pro nvidia based video backlight

2009-01-28 Thread Ed Schouten
* Daniel Lannstrom wrote: > > I'm asking which method will be the best to interface the driver with > > userland applications? > > You might want to make it a character device driver. And write a small > userland control program. Sysctl isn't really made for this kind of > functionality. No. sys

dublicated vm stats in sysctl

2009-01-28 Thread pluknet
Hi. What is a purpose of some dublicated vm stuff in vm. and vm.stats. branches? vm.v_free_min: 6392 vm.stats.vm.v_free_min: 6392 vm.v_cache_min: 26928 vm.v_cache_max: 53856 vm.stats.vm.v_cache_max: 53856 vm.stats.vm.v_cache_min: 26928 and so on.. I see some relevance in vm/vm_meter.c#rev1.62 b

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread Giorgos Keramidas
On Wed, 28 Jan 2009 02:09:50 -0700 (MST), "M. Warner Losh" wrote: > Please find enclosed patches to enable printing of the ISO-9660 Volume > label, if present, for a CD. I've connected this to the 'status > label' command. Please comment. The style looks ok, but this didn't work for a Fedora C

Code review request: cdcontrol status label additon

2009-01-28 Thread M. Warner Losh
Please find enclosed patches to enable printing of the ISO-9660 Volume label, if present, for a CD. I've connected this to the 'status label' command. Please comment. Warner Index: cdcontrol.1 === --- cdcontrol.1 (revision 187760) +