A Sun engineer on Linux
Posted Sep 25, 2004 1:04 UTC (Sat) by
mmarq (guest, #2332)
In reply to:
A Sun engineer on Linux by khim
Parent article:
A Sun engineer on Linux
" That's exactly problem with "split drivers": you must literally redesign everything to make idea feasible...
... If some piece of hardware is so slow that speed is not an issue you can just move everything to userspace and avoid drivers in kernel altogethers "
Sound a little contraditory... you would need some interface to the kernel anyway, and userland to kernel is somehow 'split' anyway... pardon my hardness of speech... and some ignorance in the details that i might show...
But the big question is *Everything ?*... well is just a big ??... what particular *existing* implementation or patch are we discussing about ???...
I2O ?,... from what i read and understood it seems really a dramatic change to go beyond what is already in kernel: (links in URL)
http://207.44.246.88/cgi-bin/netoh/page.cgi?g=Computers%2...
But is that all there is ?
An idea was laying arround from reading:
http://freedesktop.org/Software/dbus/doc/dbus-tutorial.ht... http://www-106.ibm.com/developerworks/linux/library/l-dbu...
It is a clearly identified technical problem, not political :
The problem solved by the systemwide or communication-with-the-OS case is explained well by the following text from the Linux Hotplug project:
A gap in current Linux support is that policies with any sort of dynamic "interact with user" component aren't currently supported. For example, that's often needed the first time a network adapter or printer is connected, and to determine appropriate places to mount disk drives. It would seem that such actions could be supported for any case where a responsible human can be identified: single user workstations, or any system which is remotely administered.
This is a classic "remote sysadmin" problem, where in this case hotplugging needs to deliver an event from one security domain (operating system kernel, in this case) to another (desktop for logged-in user, or remote sysadmin). Any effective response must go the other way: the remote domain taking some action that lets the kernel expose the desired device capabilities. (The action can often be taken asynchronously, for example letting new hardware be idle until a meeting finishes.) At this writing, Linux doesn't have widely adopted solutions to such problems. However, the new D-Bus work may begin to solve that problem.
And:
D-BUS may happen to be useful for purposes other than the one it was designed for. Its general properties that distinguish it from other forms of IPC are:
* Binary protocol designed to be used asynchronously (similar in spirit to the X Window System protocol).
* Stateful, reliable connections held open over time.
* The message bus is a daemon, not a "swarm" or distributed architecture.
* Many implementation and deployment issues are specified rather than left ambiguous.
* Semantics are similar to the existing DCOP system, allowing KDE to adopt it more easily.
* Security features to support the systemwide mode of the message bus.
Whow!!... i dont know for sure, but i bet, if this could be extendend somehow (at least) to *some* Linux kernel subsystems, that are to implement *objects* anyway,..., this could be made to beat the shit out of of UPnP or of JINI...
Better, even if i degress above, never the less it seems the answer to the prayers of technical problems( not political) raised here:
http://www.linuxdevcenter.com/pub/a/linux/2004/09/02/driv...
And since it is a messaging system that dosent have to bend any ABI complaiance, then it dosent have to be in conflit with what is said here:
http://www.kroah.com/log/2004/09/23/#2004_09_23_sun_rebuttal
And since it is *so* low footprint, to the point of herding somewhere of putting 'libdbus' in kernel space anyway, how much more intrusive it could be from an average structural change in kernel anyway ??, if that "small" structural change has the propose of only load *tiny* module extension to the Linux drivers already present in kernel, in a similar way to the *single* NVIDEA driver that loads *tiny extensions* relative to the particular Graphic Board present.
Ok, OK,... it means to change all the actual hardware device drivers that this thing touch... but according to a real expert;... here again :
http://www.kroah.com/log/2004/09/23/#2004_09_23_sun_rebuttal
those drivers not only change often, but somehow they are meant to change.
Well why not keep that way where the support is good, and change to new structures where the support is bad ?... the loss and the work of that change dosent seem much.
Rest my case.
(
Log in to post comments)