Re: Porting OpenBSD's sysctl hw.sensors framework to FreeBSD (was: Re: PERFORCE change 123040 for review)




A number of observations:

The main problem about hardware monitoring is the lack of a name-space.

The OpenBSD sysctl doesn't get anywhere close to providing that.

Putting stuff in the kernel is not a magic solution to that problem,
as we have seen far too many examples of, starting with the socket(2)
mistake in early BSD UNIX, and reaching a preliminary pinnacle with
the SysV IPC mechanisms.

The first task therefore, must be to design a namespace where all
the assorted pieces of software can contribute their measurements
and registrations.

Once that's designed, we can start to argue if the code should live
in the kernel, userland or in ports.

But please don't import any half-assed "Ohh, I'll just hack this in
there" non-solutions.

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@xxxxxxxxxxx | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: pppd crashes, was: kde-freebsd
    ... User PPP is very easy to use, Kernel PPP is not. ... It appears to me that PPP is the more normal way on FreeBSD, whereas, in my own experience Linux, prefer PPPD. ... Over time FreeBSD and Linux drifted apart on this design issue, and it became something of a characteristic of BSD, perhaps that is why Kernel PPP became less well maintained ... Regarding the various comments by Michael Nottebrock, Firstly: The bug you mentioned I have not experienced. ...
    (freebsd-stable)
  • Re: A Layered Kernel: Proposal
    ... (I can't believe that a kernel programmer will not ... So give us a design. ... layer, the SCSI layer, the network layer, etc.), but it is always ...
    (Linux-Kernel)
  • Re: [PROPOSAL/PATCH] Fortuna PRNG in /dev/random
    ... > in random.c with the Fortuna PRNG designed by Ferguson and Schneier (Practical ... The kernel will break if CONFIG_CRYPTO is false ... don't want crypto, then you don't want secure random numbers." ... design a system that is closer to "true randomness" as possible. ...
    (Linux-Kernel)
  • Re: OpenGL-based framebuffer concepts
    ... How is a printk generated in the kernel going to find this ... User space is messed up ... Your display process has ... Why don't you write up a comprehensive design for your system and post ...
    (Linux-Kernel)
  • Re: Allocating kernel memory
    ... > design of the kernel you are using. ... memory available within the kernel does not imply I do not understand ... > You don't understand the architecture you are ...
    (comp.os.linux.development.system)