Hurd: H2 CD Images 312
An anonymous submitter sends in: "The Debian GNU/Hurd team released a new Hurd CD Image. Snapshot images are produced at a four to eight week interval and the H2 images are the tenth of the series. The Hurd has grown from one CD image in August 2000 (A1) to four images in December 2001 (H2). These images are snapshots of a developing operating system, so suitable precautions must be taken when making an installation. Similar to other architectures, most important programs reside on CD 1, while the other ones contain less important packages. For the moment, Hurd doesn't support card sound and partition size is still limited to 1 GB. Hurd use the Debian packaging system (dpkg and apt as for Debian linux) , so it is simple to install and update packages."
first hurd post! (Score:1, Insightful)
Re:first hurd post! (Score:2)
If one national constitution allows any of the states, provinces, citys, counties, departments and what-not to enact laws that take away freedom of speech, religion, movement or what have you, does the fact that it does not make that restriction on subordinate governments make it freer than a constitution that guaranteed freedom of speech etc. and forbade other governments from abridging those freedoms? I don't think so. The restrictions placed on a few - specifically, the restrictions on the ability to restrict - mean greater freedom for all.
That said, I don't object to the BSD license in its own right - it may fairly be called a more useful or a more flexible license. But to call it "freer" would be misleading.
When Linus released Linux... (Score:1, Flamebait)
maybe if slashdot talks a litle bit more about it more ppl will join and code for it... maybe...
Re:When Linus released Linux... (Score:1, Insightful)
It probably wasn't this far away... until most of the potential HURD hackers were working on Linux instead.
It's just as well, though--there was more urgent need for a Free system (BSD wasn't yet) that's readily hackable than for one with an elegant but expensive design.
Hurd vs Linux vs *BSD (Score:4, Interesting)
What they have now is a rather "chicken and the egg" syndrome - it won't achieve popularity until more people start developing for it, and people won't care enough to develop for it until it's more popular.
However, the biggest drawback to Hurd is probably the fact that the people it might most appeal to (people who don't like linux or bsd style unix purists) are less likely to use it because they won't want to put up with the Hurd philosophy, when BSD is already there.
Who is going to use it? Linux has all the bells and whistles for people who love the GPL, and the BSD people who like pure unix and freedom (I know, what is pure unix anyway) are going to stick with *BSD.
Re:Hurd vs Linux vs *BSD (Score:2, Insightful)
Besides, if it looks and acts (for the most part) like your Debian GNU/Linux system, the entry bar is very low and people are more likely to try it.
Re:Hurd vs Linux vs *BSD (Score:1)
Yes, this seems like a very good idea. I'm very much looking forwards to a completely different the same thing.
Re:Hurd vs Linux vs *BSD (Score:1)
Having different kernels doesn't prevent Debian from being vastly the same system on multiple architectures, for example. Different implementations of a kernel aren't going to make huge differences either. The only differences a user will see are some userland tools being different, hardware support being different, etc. - actually using the system will be vastly similar..
BTW - OT - WTF is up with slashdot and signatures? Someone, please, fix it....
Re:Hurd vs Linux vs *BSD (Score:2)
innovation in the kernel that, with a few userland
changes, allows for significant changes in the
way the system is used. Check out
http://www.debian.org/ports/hurd/reference-manu
Re:Hurd vs Linux vs *BSD (Score:1)
but if it looks and acts just like Debian, what's the point in using it over Debian?
Re:Hurd vs Linux vs *BSD (Score:1)
Re:Hurd vs Linux vs *BSD (Score:3, Interesting)
There seems to be much confusion in the philosophical, technical, and intangible Free Software world, I wonder why?
Debian is an operating system, that is an interface between the user and underlying hardware. If you will pretend with me that MS Wordpad is a reasonable word processor, then there is no reason to have to buy any other software for a basicly functional system. In this context, you can understand why MS had a valid reason to consider Internet Explorer an integral part of Windows... because the Web became significant. Earlier, MacOS included MacWrite, making WYSIWYG word-processing a significant part of the "operating System"... you get it now.
The Kernel isn't important to the OS, other than that there is something interfacing the higher level systems to the low level hardware - consider Windows NT 4.0 and Windows 95. They have the same basic userland minus a few changes, even though the underlying systems are completely different, i.e. a 32 bit microkernel in NT versus an 8 bit monolithic kernel in 95. Both have 16 bit Windows components integrated.
Likewise, Debian is a consistent operating system... namely, an incarnation of the GNU operating system. This GNU operating system is the realization of the GNU project, an OS that you can share freely with your friends without worrying about any corporations taking away that right.
But Debian is Linux! Right? No, Debian uses Linux. Debian GNU/Linux and Debian GNU/Hurd are both GNU, with Debian policy and integrated management utilities. There are slight differences in the userland, major changes in the underlying system... but you don't directly use "Linux".
Yes, that also means that RedHat is GNU.
While Redhat uses Linux, that doesn't mean that RedHat "is" Linux. But for the sake of Redhat's marketshare, they are willing to ignore that fact. Wall Street doesn't care that "Guh-new" wants "hackers" to be "Free", or even that it is a clever little recursive acronym. They care that "Linux" is recognizable for investors of software developers, like "dot-com" and "information superhighway". Linux sounds cool, money is cool, that's why were here, put it on the label.
If you are are using Windows NT, you aren't using the underlying hardware... the HAL, the microkernel components... at the lowest level most users see, your interface is the command interpreter. Usually you use the Explorer.exe interface. With Win 95, without the underlying components, the lowest you'll see is still the command.com text interface, ot the Explorer GUI.
If you are using a GNU (GNU/Linux) distribution, you aren't using your computer's internal hardware, or the Linux Kernel. If would be very uncomfortable to try using Linux without at least a BASH interface running atop, to accept input from you the mere user.
The issue isn't that of using the Hurd instead of Debian, Debian will use the Hurd as well as Linux. The issue is that of using The Hurd instead of Linux in your Debian system. Theoretically, the difference can be compared to using Win NT 4.0 instead of Win 95. That is, poorer hardware support, somewhat less simple subsystem configuration, but the promise of a microkernel proving to be more robust than a monolithic kernel like Linux.
-castlan
Re:Hurd vs Linux vs *BSD (Score:1, Interesting)
Obviously it isn't a trivial change to fix that (well maybe if it was a 64bit HURD
Who is going to use it? Developers. In therory anyway, once The Hurd is at a useable level (nothing like the 1gig partition limit remaining), being microkernel based it should experience growth FASTER than Linux. Of course Linux is very mature (ignore the VM trouble!) so it'll take a while to catch up, but hacking the Linux code is a very steep learning curve.
Hacking The Hurd is something that will be well within reach for CS students.
Once The Hurd reaches a maturity level close to Linux/BSD only then will people use it. It offers features beyond Linux, or Unix in general.
But it isn't there yet so don't get download it unless you know you want to.
Re:Hurd vs Linux vs *BSD (Score:2)
This is analogous to the Linux on Windows problem. Linux would get popular a lot faster if it were easier to install a Linux-on-Windows setup. (Well, it may be easy now. I've seen statements to the effect. But now I'm out of disk space on the Win95 machine, and as I don't like the recent licenses... Well, to be truthful, I didn't like the old one either. But I installed it before congress passed that law making digital signatures binding (and conveniently not defining what a digital signature was). I don't know what I'll do if I ever need to reinstall. I might just drop Windows entirely (what I've heard about the XP license is sufficiently frightening that I don't feel any need to pay money to prove that I don't want it).
Re:Hurd vs Linux vs *BSD (Score:5, Interesting)
Time to repost the famous announcement [google.com] again:
-- Linus Torvalds, October 1991Re:Hurd vs Linux vs *BSD (Score:2)
He didn't ask who is going to develop it, but who is going to use it.
I'm sure there are still some people that prefer building an OS "from scratch", so there will be developers for The Hurd..
But if we look at the speed of development of The Hurd, there may not be that many developers interested by The Hurd.. (not a flame, just an observation)
From the user POV, the situation is a bit different, when Linux was started:
- Minix users were frustrated because they couldn't do what they want with the OS..
- BSD future was uncertain because of the lawsuit (I think that it was at the same time).
So the free OS choice was limited, which is not the case now..
Re:Random Torvalds Quote = +4 insightful? (Score:2)
Take your flamebait to the advocacy newsgroups (Score:5, Interesting)
You imply that people either love freedom or the GPL, but not both. Do we *really* have to have that conversation again here? Unless you're being paid by microsoft, this is just senseless infighting between two groups whose goals are almost totally in alignment.
It reminds me of a time some friends of mine wouldn't speak to each other. Why? They were both animal rights advocates- but one group thought that it was a good idea to argue that animal testing was ineffective, and the other team thought this was a bad idea because it implied that if testing worked, it would be a good idea. As a result, the movement splintered, while the research advocates ("animal rights opponents") spoke with a unified voice. The internal strategic debate ruined the overall message they were both trying to send.
The parallel to the BSD vs. GPL debate is striking. It is a fun and important debate to have, but ultimately the harm that comes from ubiquitous closed-source can't-build-on-it software, which satisfies the goals of neither camp, vastly overwhelms the importance of this philosophical discussion. It makes it seem like theologians arguing over how many angels can fit on the head of a pin. If I was Microsoft's head evangelist, I'd be silently funding extremists on both sides trying to create bad political blood between these groups.
I'm not saying we shouldn't argue, obviously the issues need to be fleshed out. I'm just saying that these arguments ought to show respect for the other side (no more "we're more freedom-loving than you" namecalling), and that they ought to always be mindful of the context they are operating in - discussing the best way to create a body of free software in a world of proprietary de facto standards.
So I'm begging with all of you, show respect for your adversaries in this discussion. Acknowledge that the point of view held by the other side is understandable even if you believe that it's in error, but most importantly always make a special effort to identify the context of the discussion: that is, how can we best preserve freedom against those who would prefer all software to be proprietary?
Re:Hurd vs Linux vs *BSD (Score:1)
You mean Win9x.
NT is an operating system, microkernel, running
as services:
- drivers
- GUI (since between 3.x and 4.x)
- a Win32 server
- a POSIX server
- a OS/2v1 server
Yup, you can even code native NT applications!
(M$ got bashed by IBM when they got that the NT
API, called then "NT OS/2", is mostly the Win16
API on 32 bit, with "Nt" prefixing the names,
but here you go. Win32 is different, though.)
What are technical advantages of Hurd? (Score:2, Insightful)
Comment removed (Score:4, Informative)
Re: (Score:2, Informative)
Re:More importantly (Score:3, Insightful)
Re:More importantly (Score:1)
Re:What are technical advantages of Hurd? (Score:1, Informative)
Re:What are technical advantages of Hurd? (Score:5, Informative)
Because they have some ideas as to how the hurd could be adapted to their purposes.
The list goes on.
A lot of people are saying things like 'this will take years to reach the popularity of linux' or 'until it has all the bells and whistles'. Hello....
Who ever said the hurd was supposed to be ready yet? I don't recall hearing it. The hurd is there for people to work on because they want to, period.
There was a time when Linux was just as much of an ugly duckling, you know.. where nobody would use it for anything serious. It was something to be tinkered with, nothing more.
Re:What are technical advantages of Hurd? (Score:1, Interesting)
Re:What are technical advantages of Hurd? (Score:2)
It is quite possible going to be the open-source architecture to power the future power-architectures consisting of hundreds of CPUs.
Another nice thing about the HURD, even if it doesn't do that, is it's an interesting test-bed of new Operating System ideas. That's one reason it hasn't reached 1.0 - everyone keeps testing new things out. There's no problem with that - it brings new innovations to a lot of other stuff.
Anyway, HURD shows the true power of free software. There's almost noone working on it (comparitively), but it has just as rich an environment as everything else because of the large mass of free software that can be ported. It shows that with Free Software, innovation can happen easily, because the developers can focus on the new stuff, and just use the existing tools to make a complete environment. Think about the uphill battle the HURD would have to go through if they had to write all of the userland themselves, too!
Hurry! (Score:1, Funny)
*ducks*
Why? (Score:1)
Linux really doesn't impress me, but if I was into that whole GPL philosophy, it seems like Linux would be an easy choice over Hurd, which seems pretty far behind. Can a Hurd supporter give a couple of reasons why anyone would choose Hurd over Linux?
Re:Why? (Score:2, Funny)
I'm not a HURD proponent :) (Score:2)
Because it's new.
Because it's different.
Because it's a work in progress.
Because it's an adventure.
Because it's exciting.
Because it offers features monolithic kernels do not offer.
Variety is good... (Score:1)
> On the negative side, the support for character devices (like sound cards) and other hardware is mostly missing. Although the POSIX interface is provided, some additional interfaces like POSIX threads, shared memories or semaphores are still under development.
Ah, folks that is the heart of HURD, the advantage of handling shared memories, semaphores, clusters, etc. What the HURD developers should have done is focused on the hard stuff and then I think people would whine less.
Card Sound (Score:2, Funny)
Okay, I'll shut up now
speed? (Score:1)
Re:speed? (Score:4, Informative)
Re:speed? (Score:3, Informative)
I can smell a flamebait when I read one. Sorry, but that statement is plain silly. ia32 has (as you asked earlier in an other comment) excellent features to support a microkernel (or any OS), such as multiple levels of privileges, extensive protection mechanism and relatively fast context switching.
A system call (which is essentially nothing more than a jmp) takes 40 times longer than a regular function call (on my PII 300 anyway).
A jmp?? Don't you want it to return??? Linux uses a software INTERRUPT to do system calls (bad decision in my opinion, ia32 provides fine call-gates that are a lot faster).
A context switch (which microkernels do tons of)
A microkernel does not have to do tons of context switches. I think what you are talking about is message-passing kernels. A microkernel does not have to based on message passing. It can use calls, and in fact the ia32 architecture lends itself very nicely to switch between privilege levels quickly, thereby providing protection that a monolythic kernel lacks.
The prove that a well designed microkernel can be VERY fast is QNX.
Re:speed? (Score:3, Interesting)
>>>>
It would be quite ugly. There are several problems that crop up. First, each driver would have to dynamically map pieces of process address space into its own space during execution (paltry 4GB address space on x86). To do that, you not only have to make a round-trip to the kernel, but you have to mess with the process address space (which involves an AVL-tree lookup and attempts to merge regions). The kernel doesn't have to do this, because whenever a system call is invoked, the current process's address space is already mapped. Then there is the fact that it becomes a pain to manage all those shared mappings. There can easily be hundreds of processes in the system, and multiple drivers processes would have to map each one. Managing that many shared mappings quickly becomes very messy (and very dangerous, due to the extensive sharing of memory).
Re:Yes. Microkernel technology died last millenium (Score:1)
So, you being a representative of these "x86 kernel hackers" (I assume that you believe yourself to be one), would you be so kind as to enlighten us about what the overhead of context switching really is? Believe me, most academics working in the field has a pretty good idea of what's going on. I just find statements like yours completely hillarious, and a testament to the ignorance and stupidity of people who find Linux kernel hacking to be 1337.
Re:Yes. Microkernel technology died last millenium (Score:2)
Hmm let us see, back in 1991 how many academics would have been basing their O/S research on such an unfashionable and underpowered device as the 386? It was mid 1995 before anyone outside Intel realised that they might be able to win the processor race with brute force application of cash. Back in 1991 the SPARC chip and the MIPS series were the hot devices and the smart money was betting on the just introduced Alpha. Even Microsoft was supporting 3 different architectures for NT.
The MACH kernel was designed even earlier when the first wave of RISC was just comming in with the ARM and the SPARC.
The microkernel concept was very closely bound to the then fashionable RISC idea. The academics working on microkernels would not be as old fashioned to consider the limitations of the i86 series when designing an O/S. After all the whole point of RISC is build you silicon to the demands of the compiler and adding the O/S to that list is not a big step.
As to whether the Hurd based on Mach will outdo Linux, I am skeptical. After all the whole point of a microkernel is you keep it small and tight. Let us assume for the sake of argument that the Hurd does start to show positive advantages, then what, do we all move to the Hurd? I very much think not.
The first obstacle to any move to the Hurd is the vast installed base of Linux. The second is that the increased overhead of added RMS is far greater than the reduced overhead of a microkernel.
So if Hurd starts to show major earth shattering performance advantages, someone somewhere will hack up MACH-Linux. After all the majority of the Linux code is the support, packaging, device drivers etc. The actual kernel is pretty small and actual dependencies on the kernel architecture relatively few. OK so not an insignificant undertaking, but compared to the overhead of managing RMS trivial, but then again so would be recoding the whole of Win2k using punch cards.
We don't need to wait for the Hurd to see whether the microkernel offers a real advantage. Just benchmark an Alpha running Linux against an Alpha running the Mach based Digital Unix. My guess is that there will be no real difference since the disparity between VMS and Digital Unix was never vast (except on highly UNIX specific benchmarks).
microkernels may be the way out (Score:5, Insightful)
Microkernels attempt to give you a much more "UNIX-like" way of making a kernel: a lot of independent little "servers" that talk to each other and are somewhat isolated from each other. A bug in one kernel module will often not crash the whole system, and there is much less coupling between kernel components. Microkernels are not the most efficient way of achieving that kind of modularity, since the memory protection mechanisms they use are more costly than relying on compiler/language support together with dynamic loading, but given that people are going to continue to write lots of C code for the kernel, a microkernel may be the best compromise for achieving a modular, extensible kernel in the real world.
Well, it's good to see that both the Hurd and the Darwin projects are coming along. I'll certainly give this a try. Its hard for any new kernel architecture to replace something as mature, functional, and widely-used as Linux. But if something like the Hurd turns out to be significantly easier to extend and hack, it may well catch up quickly. Another path to acceptance is that people find that, despite having fewer drivers and less functionality, the functionality that something like the Hurd offers may be easier to configure and deliver to end users in prepackaged form (i.e., without "make menuconfig" and lots of obscure decisions).
Re:microkernels may be the way out (Score:4, Insightful)
>>>>>>>
A microkernel-based OS would be just as big. Unlike Microsoft, the Linux developers need to develop (and distribute) all of their own drivers.
Getting the right ACPI or APM options requires endless recompiling and rebooting.
>>>>>
That's not the fault of the monolithic design. AtheOS, for example uses a modular monolithic kernel, and it can dynamically update kernel components.
A bug in any one kernel module will usually take down the whole system.
>>>>>
But Linux is generally as stable as any microkernel, and monolithic kernels like FreeBSD are more stable than any existing microkernel (except maybe QNX).
None of the major Linux distributions has placed reconfiguration of the kernel within reach of the average user, and even for the experienced user it's kind of a pain.
>>>>>>>>
And it would be the same on a microkernel. The compiling process isn't complicated, the configuring is. That configuring would still be present on a microkernel system, its just that less compiling would be necessary. Since compiling can be hidden behind a GUI tool, and the kernel only takes a few minutes to compile on modern hardware, this doesn't gain much.
microkernel may be the best compromise for achieving a modular, extensible kernel in the real world.
>>>>>>>>
Experience has shown that a moduler monolithic kernel seems to be working quite well.
Debian themselves have a small way out (Score:1)
Oh well.
Re:microkernels may be the way out (Score:5, Insightful)
Of course it would. But the different parts of it (drivers, file systems, personalities, distributed shared memory, clustering, video support, VM strategies, etc.) could be developed and tested by different developers, independently. With the Linux architecture, almost everything goes through the bottleneck of the Linux kernel developers, and it just isn't working in practice: important functionality takes years to make it into the kernel. It's not for lack of effort or dedication, it's the architecture and lack of modularity.
The compiling process isn't complicated, the configuring is. That configuring would still be present on a microkernel system, its just that less compiling would be necessary.
Of course, compiling is "complicated". It a process that involves many steps and is completely alien to many users. It also takes forever. And minor configuration problems result in complete failure. And if the module you want isn't part of the kernel distribution, things only get worse.
With a microkernel, module installation could be as easy as installing a new command line program. You can still make configuration mistakes, but a lot of the time and effort can be eliminated. And with a really good microkernel architecture, you can also automate the process much more than it currently is.
Experience has shown that a moduler monolithic kernel seems to be working quite well.
It functions well. It doesn't "work well" in the sense of being easy to install, configure, or extend.
Re:microkernels may be the way out (Score:2)
I run it. (Score:5, Insightful)
It's not great as for device support but getting there. Drivers have always and will always be a problem for ANY OS (look at MacOS X and *BSD for living examples.) There are other features in the OS itself that make it forth a try.
If you guys are curious about it, you should definitely give it a try. Some compatibility layer is also provide for Linux drivers and apps. This needs work but what doesn't really.
The good thing is the upper layers which will provide POSIX compatibility for Unix developers to port their work. Pretty straightforward. The main reason why the distro has grown so largely in a small amount of time.
I read false assumptions and mistaken comments on this list about what is HURD. It's a kernel like Linux, and it's based on a microkernel architecture. Mach 4.0 happens to be this micro kernel but the architecture is not locked down so this can evolve if needs to be.
I read also people asking why does HURD exist at all. The answer is pretty simple: Why not? In the ten years it has existed, it should have died many times but it's still here. It's not a commercial OS like BeOS, some it doesn't need to generate streams of revenues to survive. It's just a bunch of code with ideas in it that are still pretty amazing today for it to still occupy developers to put efforts in it.
After all, we are living in a society that should encourage diversity and growth of new ideas (the US haven't being built with pioneers.) So, I am getting sick and tired of the moronic way of thinking in black & white (binary): Only two alternatives (Linux vs. Windoz) and no space for the others . And why is that? Why not letting people who enjoy using BSD and developing with HURD just do it without being hassled by the 2 main opponents?
Feeling grumpy because of the rain today.
PPA, the girl next door.
Re:I run it. (Score:2)
I read also people asking why does HURD exist at all. The answer is pretty simple: Why not?
That's a pretty rotten explanation and justification of HURD that I've ever heard. The reason why HURD exists can be broken down into two categories: technical and political.
The technical reason(s) is the philosophy of uKernel design. It boils down the uKernel to the bare bone requirements; memory allocation and time slicing. This allows for greater abstraction of O/S services from system services. One practical benefit is greater ease in O/S porting (just a couple of K of assembler for the memory allocation and time slicing. All other services can be expressed in C code.) Another benefit is that one can prototype radically different design in O/S services without disrupting working implementation s of those services (multiple O/S APIs; Timeshare MVS with Linux with Hurd....). Its also been rationalized that uKernels will work more efficiently in SMP hardware environments, because it easier to distribute all O/S services as threads to different CPUs (better abstraction model in SMP environment).
The actual reason HURD still exists (sort of) is that RMS is a raving technoideologue that thinks HURD is a purer, ultimate form of an O/S than Linux.
Me? I like the ideas in HURD, but I want something that works better than M$ now. Wake me up when HURD officially runs on the L4 uKernel rather than MACH. Until that happens, HURD will always run like a dog.
Alternative to microkernel (Score:5, Interesting)
Portability is nicer (Score:3, Insightful)
in large architectural decisions if you want to be
portable. Besides, it's nicer for modern systems
to have components that are layered better than
a cake, so that if I have two very important parts,
I know that they can't crash each other
accidentaly.
Re:Alternative to microkernel (Score:4, Informative)
Under VAX/VMS, you didn't jump directly to the code though. The resulting page access fault would take to long to execute. You did a call that triggered a change-mode which went through a dispatcher. However this was relatively fast as no process switches were involved. Also, it meant that the argument list was always passed in a checked form (however, not the contents of the list, that was up to the system service).
Unfortunately, Unix concentrated on the two levels only, User and Kernel. Some RISC microprocessor designers then decided that all this extra stuff was superfluous so they dumped the support from the MMU.
So if you design for the lowest common denominator, then ok, you have two levels only. The uKernel makes it difficult because you have to context switch to process requests. If this is a heavily used system service, do you really want to do this? However, modern processors combined with a modern Unix, can context switch pretty fast.
Re:Alternative to microkernel (Score:1, Insightful)
It's always a trade-off between security/stability and speed. x86 has these cool segmentation features, but no one uses them because they are slow. The more levels of execution you have, the more time you spend switching between levels. The more bulletproof error checking you add, the more time the CPU spends checking for errors.
And as someone already noted, for non-x86 architectures you won't even have segment support in the hardware, so it will be slower still there.
The way most *NIX operating systems protect themselves is to rely on the memory manager hardware. If a process tries to touch something it shouldn't, the OS can get a page fault and trap the error.
I will be interested to see if HURD works out as they hoped: in principle, it ought to be really secure and really crash-proof. But the reality seems to be that it is taking years to get off the ground; perhaps some HURD fan can explain why.
Re:Alternative to microkernel (Score:2)
Re:Alternative to microkernel (Score:2)
Re:Alternative to microkernel (Score:2)
>>>>>
I know. And a modern x86 OS has to do it on every system call and every interrupt. That's why syscalls are so dreadfully slow on x86.
Context switches are expensive enough as it is; changing the segment setup during context switch would make them even more expensive.
>>>>
Linux has to do it anyway. When the timer interrupt occurs, the chip loads CS with the kernel code selector and the timer code loads DS with the kernel data selector.
On the one hand, we have Linux, a monokernel that works. On the other hand, there are microkernels that work (and HURD will work someday I am sure). Your proposal is somewhere in the middle, and it would work too. I shouldn't like to guess in what ways it would be better or worse. Maybe you can find some students in University to do a project using your design and see how it goes.
>>>>>>>
See, the problem is that I don't know of any existing hardware that does this. There are projects out there that try this with x86 segmentation, but they are limited by the fact that selector switches are slow. I don't know of anything (which was why I was asking) that meshes multiple protection levels with a paging-based mechanism.
Ok, so HURD is a microkernal os... (Score:1)
So tell me, what advantages/disadvantages does this have over QNX? QNX may be closed source, but it is free for home use. I really would like to know how this stacks up against QNX, in which I was actually able to play Quake3, WITH SOUND! Oh, and QNX sets-up and configures everything on my system, AND WORKS, you cant get much better than that.
Something about HURD that doesn't make sense to me. One gigabyte partitions and FOUR distro cds. Now lets say each CD only uses 512megs. That is two gigabytes. Something here strike you as odd?
Anyways, I am really not an avid linux person, after attempting to install debian(video setup, ARGH!!), mandrake(VNC would stop the system from finishing boot), and darwin(ok, that was stupid to even try). Things like QNX and Windows 9x/2k just work. So Windows9x is unstable, at least I can get it installed with my eyes shut.
Re:Ok, so HURD is a microkernal os... (Score:3, Informative)
Re:Ok, so HURD is a microkernal os... (Score:2)
Re:Ok, so HURD is a microkernal os... (Score:2)
Switch to HURD! (Score:5, Funny)
We should all use Hurd instead of Linux. Linux numbers disk partitions from 1 (/dev/hda1, /dev/hda2, ...), while GRUB, the Hurd bootloader, numbers partitions from 0. As any self-respecting computer scientist knows, it is more proper to index things beginning with 0. Therefore, Hurd is a superior operating system, and we should all immediately switch to Hurd.
Re:Switch to HURD! (Score:2)
Re:Switch to HURD! (Score:2, Informative)
Which also means that you don't have to put up with LILO messing up your system every now and then, or having to run 'lilo' every time you install a new kernel or want to change something in the boot configuration.
Re:Switch to HURD! (Score:2)
Actually I'm using Grub w/ Linux, too. Works pretty nice. And I'm planning on upgrading my lilo-based system at work to grub the hard way (I've actually recompiled everything from scratch a la Linux From Scratch [linuxfromscratch.org]. Then I want to install grub and upgrade to ext3.)
hurd and microkernels in general.... (Score:2, Interesting)
i _do_ know that microkernels are much more than what i seem to think of them from the above:) yes the design and the philosophy is very different and surely interesting but practical ?....
i have taken advanced OS classes and i really do feel that the Mach though it had great ideas WAY beyond its time , was horribly complex and interwoven and so much so that anyone cringes on hearing a system based on the Mach:)
i think the Hurd is in a good position to prove us all wrong:) as its closely tied with the debian developers [who have done great work till now] and it has been slowly [very:)] progressing....
best of luck to them:)
vv
Y'know...this SOUNDS like... (Score:2, Interesting)
Except free (as the spoken beer is...), and not quite hitting puberty yet...
I've scanned all the postings, and I haven't seen any other comparisons, but the descriptions from here and from the web page seem like about the same architecture...minus the extreme multi-threading and the integrated gui...
At any rate, it sure seems like this would be (yet another) great base to work from for re-building that OS that ain't no more...
Re:Y'know...this SOUNDS like... (Score:1)
Re:Y'know...this SOUNDS like... (Score:2)
HURD has no sound and a 1GB partition limit.
Say what?
Re:Y'know...this SOUNDS like... (Score:2)
Re:Y'know...this SOUNDS like... (Score:2)
Microkernels are a stupid idea. (Score:2, Interesting)
The basic premise behind a microkernel is that device drivers will be black box proprietary binary code from untrusted third parties, hence require clumsy run-time protection. This hypothesis has been invalidated in practice for proprietary systems, and doesn't even make sense in theory for free software systems.
There is no need whatsoever for expansive memory protection between modules at runtime. Modularity is great, but at development-time, not runtime. HURD doesn't give you any additional development-time modularity; if anything, it removes it. If you want development-time modularity, drop that stupid C language, and use a modular language, such as Modula-3 (SPIN-OS), SML (Fox, Express), or Erlang (standalone Erlang).
Microkernels were the latest hype in the 1980's for OS development. They've only ever been hype, and it's sad that GNU people waste their time with such a stupid concept, whereas there's so much more to OS design, including lots of proven concepts, that just await to be implemented in free software (who's gonna implement the lost features from Genera? from Eumel?)
Re:Microkernels are a stupid idea. (Score:3, Informative)
Re:Microkernels are a stupid idea. (Score:2)
Even more important to me, I don't think they can prevent you running your own modules. The reason that is important is education: I learned amazing things on my school accounts by compiling perl, fetchmail, etc. and installing them in my home directory. Just think what I could have learned if I could have simulated a whole operating system! (Which you can do by running a "sub-hurd".)
It's the 21st Century! (Score:4, Funny)
Re:It's the 21st Century! (Score:2)
Andy Tanenbaum:
>I still maintain the point that designing a monolithic kernel in 1991 is
>a fundamental error. Be thankful you are not my student. You would not
>get a high grade for such a design
Linus:
Well, I probably won't get too good grades even without you: I had an
argument (completely unrelated - not even pertaining to OS's) with the
person here at the university that teaches OS design. I wonder when
I'll learn
It's like the guy that passes on that one of time opportunity.... something makes you feel small down the road.
great.. (Score:2, Insightful)
I think I'll stick with debian/linux and wait for Hurd to get a little bit more mature
Re:great.. (Score:2)
But I think quite a few people agree with you, I have been reading the comments and noticed the same.
Hurd has potential, but right now there is absolutely no reason to switch from linux, sides the only difference between Hurd OS and Debian Linux is the kernel ... both have apt :-)
is there a "User Mode HURD"... (Score:2)
I'd be interested in trying HURD out, but I don't want to (a) reboot my machine between HURD and Linux use; (b) buy a new box (my UPS is out of sockets...)
Looking for an excuse for bicker and complain (Score:2)
I've pretty much come to the conclusion that most disputes that persist are in fact sources of entertainment or diversion rather than legitimate issues of importance. People get bored and engage in a high-tech version of the dispute from Gulliver's travels where two groups were fighting over which end of an egg should be cracked.
Let me give you all a little piece of advice. Think for yourself, form your own conclusions. It is not necessary that anyone agree with you, or that you agree with anyone else. Everyone is going to do exactly what they damn well please, including you, so quit yer bitching. Or at least find something more productive to discuss.
Now don't get me wrong, I'm all for open debates of issues. Its just that when those debates drag on forever and nothing gets resolved then they aren't serving any productive purpose. Instead they create division where none need occur.
Another thing to remember is that people are going to disagree on things. That is normal and not something to pick a fight over. Anytime I see a group of people in perfect, or near perfect, agreement on something it is a sign that people aren't thinking for themselves. Of course on the other hand when there is a group where no one agrees it is often the case that they are all just trying to disagree for its own sake. Neither situation is a good one.
Think for yourself and expect others to do the same. Sometimes you'll find agreement with another person. Sometimes you won't. Just because the two of you see things differently doesn't mean that only one of you is right, or that either of you is right for that matter. You've got to call 'em like you see 'em. If everyone were to do that the world would be a better place.
Lee
Re:what is hurd? (Score:1)
Re:what is hurd? (Score:1)
Re:what is hurd? (Score:5, Informative)
Re:what is hurd? (Score:1)
'Funny' may have been appropriate (vaporware) but certainly not 'informative'.
Re:screenshots (Score:1, Funny)
int proc_doulongvec_minmax(ctl_table *table, int write, struct file *filp,
void *buffer, size_t *lenp)
{
return -ENOSYS;
}
Re:Why bother? (Score:2, Insightful)
Re:not BSD ... but BFD ... (Score:2)
Re:not BSD ... but BFD ... (Score:4, Insightful)
Re:not BSD ... but BFD ... (Score:2, Informative)
Where do you get this thing about "putting GNU on everything"?
The only thing I can think of that you could mean is the whole GNU/Linux thing.
There is a kernel called Linux.
There are operating systems built using that kernel and also using the GNU utilities and other GNU code (i.e. things that actually come from the GNU project, not just stuff that's under the GPL).
These operating systems are generally called Linux, just like the kernel. I call them Linux just like most people do, it's a nice easy name and people have a pretty good idea what you mean when you use it.
The FSF would like people to call these operating systems GNU/Linux to reflect the GNU code that's used in them as well as the Linux kernel. This has nothing to do with Linux being under the GPL. It has nothing to do with them wanting to "put GNU in front of everything". They explicitly and emphatically are not asking people to call Linux (the kernel) anything except Linux.
I can understand disagreeing with their wish that you call these operating systems GNU/Linux. Like I said I call them Linux. But from your post it doesn't seem that you actually understand their position well enough to disagree with it. They aren't asking for GPLd programs in general or software in general to be prepended with GNU. I doubt very much that you have any reason for your apparent fear that they will wish to call your software GNU/whatever just because it's under the GPL. I'm assuming that you were genuinely confused on this point.
If you were just trolling then yes, ha ha how stupid of me to respond seriously, you really got me there. My I'm stupid. Well done.
I hope you were honestly confused and that I've helped you to understand the FSF's position. By all means disagree with it but try not to misrepresent it.
Re:not BSD ... but BFD ... (Score:2)
Re:not BSD ... but BFD ... (Score:2)
I suppose because I don't like the entire GNU communistic philosophy and don't agree with stallman on just about everything... that makes me an idiot.
I didn't take the time to reply because it was an AC post, but since yours wasn't I guess I will make it a point to reply.
GNU is more than just a license and is more than just a way of thinking. GNU is about freedom. I think we also need to get a little something straight ... the GNU is much more than stallman, but for every great group everyone looks to the man on top, and in this case it happens to be stallman.
Americans and many other parts of the world live in a captilastic society, the only ones who whine about this are the ones that don't make the money. I have yet to hear a rich man complain about having too much money. Second if everything was free then there would be no driving force for innovation or success. The main reason communism fell, no reason to do more than the status-quo and even more reason to do less.
I'm going to take Eli's Cheesecake. I like Eli's cheesecake, but because I don't have the receipe I can't make my own so I have to go and buy Eli's or settle for something else. But Eli's is the best in my mind and I will stand for only Eli's. Now Eli's has a receipe that they themselves came up with, if they were an open source cheesecake company someone would take the receipe and make the cheesecake cheaper without taking anytime to create the perfect cheesecake. So why would I complain I would be getting the same great cheesecake for a lot less money, but where does that leave Eli's? The inventor is now screwed because he wanted to give back ... and at what cost he no longer has a business anymore because everyone and their brother is making the same product for less money.
Innovation dies, because now the receipe is out and there is no driving force to create a better cheesecake when there's already a working product to sell ...
So that's the open source aspect ... now lets hit the GNU aspect. If Eli's were to have licesened their receipe code under the Nabisco licesnse (which happens to have many fine products as well) ... would the product then be called the Nabisco Eli's Cheesecake? Well if you want to see things like RMS then ... yes ... it is now Nabisco Eli Cheesecake ... or NEC ... :-) ...
That's where I stand and that's what I believe. For things that people take the time to work on for the sole purpose of helping others out, then the world embraces the open source and elaborates on it. If it's a product that is new to the world and has a use for everyone then so be it ... the source stays closed and people make money ...
The argument that you can't make money off of opensource is a correct argument in essence.
no trademarks were harmed in this comment
Re:not BSD ... but BFD ... (Score:2)
Nevertheless your argument does not hold for Free/ Open Source Software, in practice at least - as it just keeps getting better
- Derwen
Re:not BSD ... but BFD ... (Score:2)
To quote a /. sig "GNU is like sex, better when RMS isn't involved." Many people embrace the open source movement and I myself am one of them, all of my public binaries I've ever made are open source, they happen to be GPL because it seemed like the best at the time. Reall I believe in the "I don't really care what you do with the code, but here it is anyways", which seems to be the model of the BSD license (in a very naive sorta way).
GNU would be a whole lot of nothing without linux, that's a fact ... Linux would also be a whole lot of nothing without GNU, that's a fact, but is Mandrake a GNU OS? No ... is Debian HURD a GNU OS? Maybe ...
It's all a matter of politics and politics seem to scare people morst of the time, FSF and GNU are the same thing I don't care what you or an essay says. Why are they the same thing, they both have the same leader. And yes because of that they are the same thing. GNU is an idea, but it is made through the people behind it ... without the supporters of GNU there would be no GNU so GNU is the people behind it.
This is like arguing whether a hacker is someone who intrudes in a system or someone who writes code. Granted every geek will tell you NO that's a script kiddie, but it wasn't until the word script kiddie was made that people started to defend the word hacker.
I wouldn't be so defensive, but being told I don't understand the GNU, GPL, FSF, or Linux tends to piss me off a bit when I have had contact with major players of all those fronts. So my posts reflect words straight from the horses mouth.
Re:not BSD ... but BFD ... (Score:1)
Personally, I think capabilities (securely running untrusted code) are the Next Big Thing in operating system innovation, because we've seen what a vulnerable environment we get if we have to delegate all our privileges to any random code we want to run. User-space drivers (a la HURD and Plan 9) seem to be a step towards that.
Re:Shouldn't that be Linux/Hurd? (Score:1)
The packages were designed for the GNU operating system, which first ran under the Linux kernel, and now runs under the Hurd kernel which is the designated native kernel of the GNU operating system.
Re:Shouldn't that be Linux/Hurd? (Score:1)
Re:Shouldn't that be Linux/Hurd? (Score:2)
Isn't that the point of GNU's NOT UNIX? You can fold up as many mentions in front as you like, because it's a recursive acronym, and it still means the same infinite amount no matter how many of them you stick in front.
Uh, no.... (Score:4, Informative)
GNU was never really finished -- if the HURD kernel is ever final, it will be the last piece. But when you clone a highly modular system like Unix, you end up with a lot of bits and pieces that are useful as separate products. So GNU's libraries, utilities, and (most of all) compilers developed a life all their own. Personally, I've never been impressed with the quality of GNU software, but it does have functionality that closed-source venders always seem to overlook. So GNU products are almost ubiquitous in the Unix world, and have a fair following on other platforms.
So time passes. It's 1991. People are still waiting for an alternative to paying fees to whoever owns Unix. (It changed hands several times.) One cheap alternative is minix [cs.vu.nl] a sort of toy Unix that sells for $100. But a certain Finnish grad student can't even afford even that much. He decides to write his own Unix kernel. He gives away copies to a few friends. Who give it to a few friends... All of a suddent, lots of people are using this kernel to run all the GNU software. Which means there's now a free alternative to Unix! Project GNU has succeeded! It's just not complete.
And since the final piece of the puzzle is a non-GNU program, that program ends up being the name for the whole conglomeration! Much to the disgust [gnu.org] of Stallman. Maybe he's just testy because Torvalds doesn't like EMACS.
Re:Uh, no.... (Score:2)
Re:Uh, no.... (Score:2)
And they were developed for linux ... not for HURD ... maybe if you want to feel all fuzzy thinking about GNU before you go to bed tonight ... then ... aight ... night
Re:Uh, no.... (Score:2)
Re:Uh, no.... (Score:2)
Perhaps it would be better to say that Project GNU's concept of an OS hasn't kept up with the times. I still meet old Unix people who think that GUIs are just a passing fad. Perhaps RMS is one of them?
Now there's a bit of history I was ignorant of. Still, I don't think it's a secret that a lot of GNU source is contributed. That's the way it's supposed to work.I have to point out that glibc is still having problems.
No, but I've read other GNU source code, and I agree that a lot of it's pretty bad. If you think I'm a fan of Project GNU (silly idea, too much cool-but-buggy software) or RMS (over-opinionated, socially naive, doesn't play well with others) you're mistaken. But you have to acknowledge their accomplishments. And the fact remains that, strictly speaking "Linux OS" is not a correct technical description of the system. You might be right in saying that calling it "GNU/Linux" overemphasizes Project GNU's role. But that's not why people will go on calling Linux Linux. They'll do it because words evolve based on usage, not logic.Right.... (Score:2)
I don't feel like searching for GNU/BSD arguments, but I can assure you there's plenty of pro-BSD comments that got very high mods. Do the search yourself, I've already wasted enough time on your flamebait.