Re: TCO, Microsoft XP Professional Versus FreeBSD



Moe Trin <ibuprofin@xxxxxxxxxxxxxxxxxxxxxx> wrote:

That piece of sh!t is probably "kudzu" which is a "hardware probing tool"
from DeadRat.

Strange as bad knowledge of a system translates into angry comments about it.
I shall not comment about the problems caused by kudzu when you add a mouse or
some other stuff, but simply remark that Knoppix, which is highly praised for
its automatic hardware detection uses, of course, kudzu to do it. So what is
kudzu and how does it work? The first thing is that Linux kernels, at least
kernels shipped by distros are very bare bone, and unable to recognize most of
the hardware on the machine. On the other hands there is a huge number of
kernel modules able to drive this hardware. But how to load the correct
modules? It scans the various buses on the machine, such as the pci bus,
usb buses, etc. and discovers hardware on the machine. For example
pciconf -l on FreeBSD does that for the PCI bus. Then it uses a feature of
Linux kernel compilation, that when a driver is compiled, it also produces a
list of the hardware covered by it - the same sort of thing that is embedded
in a FreeBSD driver, but which is here exported so that user mode programs can
make use of it. For example in /lib/modules/2.6.17-1.2187_FC5smp i see a file
modules.pcimap containing indications such as:
snd-via82xx 0x00001106 0x00003058 ...
where these numbers are "vendor" and "device", that is the indications given
by the pci sacnning utility. This immediately indicates the correct driver
appropriate for this hardware, and so the correct kernel module to load.

This is *very* convenient, and would not harm FreeBSD at all to have. For
FreeBSD the problem is mitigated by the fact that the sytem ships with an
enormous kernel, able to drive most of the machinery on a given PC, and a
limited number of kernel modules need to be examined to drive further
hardware.

The second part of kudzu, much more objectionable, reacts to discovery events by
taking all sorts of actions, such as rewriting the xorg.conf file when you
insert a mouse, this is ways more troublesome than useful, in my opinion.
But all modern systems need a way to react to kernel events, and FreeBSD has
such a mechanism, devd. Needless to say, due to the high quality of the man
page, which contains little more than the syntax of comments, the only way to
discover what one can do with devd is trial and error.


--

Michel TALON

.



Relevant Pages

  • Re: Upcoming Releases Schedule...
    ... Its important to me that people keep using FreeBSD. ... To that end I'm happy for developers to keep working hardest ... Another thing I think is important is for new hardware to be perpetually ... nor any "core" part of the kernel. ...
    (freebsd-stable)
  • Re: Freebsd 6-Stable lockups
    ... thecommentsabout old hardware are interesting as all my kit is at least 4 years old. ... intel 440GX chipset ... I've noticed the same on three of my FreeBSD 6 systems, until now I haven't found any clue on this. ... I agree with you that it could very well be a user application problem because my kernel config is quite trivial, my updating routines are trivial and actually the whole configuration of my box isn't exciting. ...
    (freebsd-questions)
  • Re: Recommended virtualization technique for debugging/developing FreeBSD
    ... > I was wondering what people use, in the abscense of suitable actual hardware, ... > to debug/develop FreeBSD (the kernel in particular). ... Most initial debugging was done with a super-low-level serial console, ...
    (freebsd-current)
  • Re: From a newbee: Time and sound?
    ... but I'd explore the kernel config first. ... you're using the default install kernel. ... build a kernel that accesses the hardware you have. ... searching the supported hardware lists on the FreeBSD ...
    (comp.unix.bsd.freebsd.misc)
  • Re: FreeBSD Update is the binary update solution [Re: HEADS UP: Release schedule for 2006]
    ... >>systems have loadable kernel modules that work. ... FreeBSD has loadable kernel modules, ... Vendor supplies updated driver for hardware. ...
    (freebsd-stable)