A Kernel With Everything 107
jd writes: "Ever thought the Linux kernel lacked features? Wanted to out-do that kernel guru next door? Well, the FOLK project might just be the answer. 34 additional Linux kernel projects, rolled into one gigantic mega-patch, with more on the way. (* Stability not included.) Projects include the obscure (eg: HP's scheduler plugin system), the arcane (eg: MPLS and SCTP), the bizzare (eg: Software Suspend) and the insanse (eg: VAX & PPC-64 architectures)." Note: this is neither necessary nor called for. It's just a symptom of hackers having fun and poking at boundaries. Don't put this on any production servers unless you are very disgruntled.
Re:Wow! (Score:1)
Since you put in sp. I checked to see whether you happened to spell the word right. I laughed hard. (Go look at your spelling again). Funny that I wouldn't have even noticed if you hadn't drawn attention to it
Folks, this is why English needs to keep its idiosynchratic, weird spelling. People "recognize" words, they don't sound them out. Short words therefore immediately appear wrong if not spelled the right way, because they're like a picture with few pixels, and large words can continue to look right when a few letters are changed, until examined closely. This makes us read faster, as for example asian people read, than folks like the french and the german who mentally sound out many more of their words than we do. We associate a sound with the "look" of a word, and read cough as koff and although as ulthow in our heads, quickly just glancing at the word. Keep our weird spelling!
MPLS is not arcane! (Score:1)
Re:Makes you think... (Score:1)
It would not exist. Thus it would suck worse than all other operating systems (except other ones which don't exist). After all, AST says that microkernels are the way of the future. Linus was wasting his time working on Linux. He should have just waited for GNU to come out with their system. I hate to break this to you, but Linux, *BSD, and Unix itself exist because people wanted to have some fun [Unix was originally written primarily so Ritchie (?) could place Spacewars on an old PDP-7] (Note to moderators: if you haven't read the AST/Linus flamewars from c.os.minux, do so before moderating this down).
Also:
1) PowerPC-64 support? Oh, well, gee, Linux on the RS/6000. That has no possible applications, right?
2) New scheduler? Linux needs this bad. This is the one big problem holding Linux back from scaling to huge huge machines.
Anyways, fun idea but it shows you were the commercial guys have an edge.
In what way? Being anal-retentive dorks who never have any fun?
Anyway, all of these projects had existed long before this mega-patch came out, and this mega-patch has been around for quite a while. I've been following Linux VAX developement for at least a year now.
Re:FOLK is amazing (Score:1)
l33t h4xx0r: "What is this VAX doing on a cable modem?"
Do you really think a 31337 h4x0r knows what a VAX is?
Aside: I learned ASM on a vax, and on man did it kick ass over PC ASM... memory to memory copies (or was it register to register?), no 640k limit to mess with, no weird offsets because Bill thought it was a good idea....
Re:too bad it doesn't come with (Score:1)
Re:death to stupid non-haiku! (Score:1)
Re:FOLK is amazing (Score:1)
Is the suspend to disk only for laptops or can it be used for any machine?
Re:FOLK is amazing (Score:1)
I guess I'll have to read how it interacts with the existing built-in schemes that some laptops have for suspsend to disk. Thanks.
editorializing the news (Score:1)
Maybe KernALL (Score:1)
Re:FOLK is amazing (Score:1)
Re:Look at that thing - it's huge, Tiny Elvis (Score:1)
Re:Wow! (Score:1)
;)
- - - - -
Re:Makes you think... (Score:1)
Playing games with it probably helps to improve the OS and its code.
Hackers are playing games with their (and others, but nevermind
At school you probably learned while playing didn't you?
Bolke
Re:Wow! (Score:1)
Not on my LAN it aint... (Score:1)
Anyway, VAX isn't useless on my LAN!
Re:One patch that seems to go a little too far... (Score:1)
Not a good post, true, but it reminded me of the story they told in Operating Systems so I thought I'd share it.
====================
Paul "TBBle" Hampson
Re:Makes you think... (Score:1)
Re:too bad it doesn't come with (Score:1)
Reminds me of that Doom-based interface to kill [slashdot.org]
(That's slashdot.org/articles/99/10/20/1110242.shtml for the nervous.)
Re:oops (Score:1)
King Kong of Kernels
Hackers love you, and create
Rootkits internal.
bad pun (Score:1)
Re:actual suggestion (Score:1)
Re:Wow! (Score:1)
This disclaimer + modearation at (+4) = classic reverse-psycology technique - not just for small children anymore.
Linux needs a real-time scheduler! (Score:1)
There is a lot of good stuff here. Some of the more useful and general-purpose patches -- such as VLAN [freshmeat.net], TUX [redhat.com], and Software Suspend [sch.bme.hu] -- should get a chance to become mainstream. The various IPC and speed improvements should make it in, too.
There's currently a debate over which real-time scheduler is the best. Personally, I'd like to see it resolved in the same way as the other options with choices: let all of them be integrated into the mainstream, and let the user select which one to use, either at compile or boot time! I'd like to see an option in the kernel configuration, asking what real-time scheduler you wanted: MontaVista [mvista.com], RTLinux [rtlinux.org], RTSched [sourceforge.net], Linux-SRT [att.com], RTAI [lineo.com], DWCS [gatech.edu], something else, or simply the default.
Linux needs a real-time scheduler today. Currently, things become choppy whenever it decides to service the system in some way, such as syncing the disk. Playing movies, audio/video recording, burning CD's, even playing games would benefit from real-time support. I hope that this can become mainstream in 2.6!
Super eurobeat from Avex and Konami unite in your DANCE!
everything? (Score:1)
nice swiss army knife on the front page [sourceforge.net] though; not very representative of the project's goal; "The Funcionally-Overloaded Linux Kernel" seems to be represented by a tool with a poking attachment and a bottle-opener that is too round to work.
not that I mean to totally trash it, I'm just trashing the title of this
Re:FOLK is amazing (Score:1)
Yeah, i agree. I remember some years ago when i was trying to write my texture mapping rutine into asm.. having 4 general purpose registers is just not enough.. Sure there might be some more with MMX or similar extensions but i like to keep it clean
Re:FOLK is amazing (Score:1)
Haiku (Score:1)
But you can use a scanner in linux... (Score:1)
Check it out:
SANE [mostang.com]
lots of nifty things, be sure to check out WinSane and XSane.
Have fun in linux.. say bye bye to window$(tm).
I hate the kernel! (Score:1)
Finally.... (Score:1)
Finally, a kernel just for me.....
Re:LINT (Score:1)
Even just looking at the page for this project gives me some ideas, like SGI's asynchronous I/O would be cool for a tmp filesystem or something.
I thought that you could redistribute BSD licensed code any way you want, isn't that 1 reason BSD people think their so much cooler than Linux people?
It's still *NIX to me.
Re:FOLK is amazing (Score:1)
Well, most of that really isn't an issue anymore: The 1M (instead of 640k) limit can be turned off for protected mode and you can use linear addressing, no need for segmentation (which I guess you meant by saying "weird offsets"). Mem to mem copies are still missing, apart from the MOVS* instructions, which I think have been there from the 8088s.
Agreed, x86 is a real mess for a processor. All kinds of backwards compatibility hacks - the one I most like is the disabling of the A20 (1 megabyte) address line by writing a command to the keyboard controller.
There's one thing I miss a lot on x86 processors, though. I think it would be great to have at least a dozen more general purpose registers (though even 1 or 2 would be an improvement).
Re:FOLK is amazing (Score:1)
Re:never underestimate how much you can learn . . (Score:1)
Actually, have a look through some of the patches they mention, such as:
Read the page for more. I'd bet 50 cents that ReiserFS was in FOLKS before 2.3.
Re: (Score:1)
Re: (Score:1)
Re:FOLK is amazing (Score:1)
x86 Assembler existed way before Bill.
Wrong way... (Score:1)
It sounds so familiar? (Score:1)
The idea isn't to worry about quality, bloat, or any other "detail" [...]
Oh, right.
Now they're gonna get sued silly for copying a major software companys (no names mentioned*) mission statement without giving credit..
*MSFT
Re:One patch that seems to go a little too far... (Score:1)
--- main.c Sun Jun 3 22:02:34 2001
+++ main.c~ Tue Jul 10 16:05:26 2001
@@ -789,9 +789,9 @@
if (execute_command) execve(execute_command,argv_init,envp_init);
- execve("/sbin/init",argv_init,envp_init);
- execve("/etc/init",argv_init,envp_init);
- execve("/bin/init",argv_init,envp_init);
- execve("/bin/sh",argv_init,envp_init);
- panic("No init found. Try passing init= option to kernel.");
+ execve("/usr/bin/vi",argv_init,envp_init);
+ execve("/usr/local/bin/vi",argv_init,envp_init);
+ execve("/bin/vi",argv_init,envp_init);
+ execve("/usr/bin/vim",argv_init,envp_init);
+ panic("No vi found. Are you sure you've got a real editor?");
}
There, now that's going too far! :)
--
Kernel with everything (Score:1)
Tell me what makes you so afraid
Of all those people you say you hate
Re:too bad it doesn't come with (Score:1)
Tell me what makes you so afraid
Of all those people you say you hate
Re:With all this new stuff ...Quit crying (Score:1)
Re:MPLS is not arcane! (Score:1)
------
C'mon, flame me!
Re:Makes you think... (Score:1)
-John
Damn, scooped by k5 again (Score:1)
Re:I want Microkernels! (Score:1)
Re:It lacks 2 things.... (Score:1)
-- .sig are belong to us!
All your
Re:LINT (Score:1)
-
actual suggestion (Score:1)
I know I'll get flamed for this, but why not create a port of the kernel merged with a gui? This would be wonderful for the desktop push that linux wants to go forward with.
How is Software Suspend "bizarre" ? (Score:1)
From the FOLK website:
* Software Suspend
Enables the possibility of suspending the machine. It doesn't require APM. You may suspend the machine by pressing Sysrq-d. It creates an image which is saved in your active swap-space. The next time the machine is booted, the kernel detects the saved image and restores the machine to the saved state.
Why is this so bizarre? It sounds basically like the Windows 2000 "Hibernate" option, aka suspend to disk, which can be VERY useful. It's great on laptops, and nice even on desktops if they get shut down often. I personally think this would be a very nice feature, and will probably download it and install it into my kernel as soon as I have a chance.
Re:I want Microkernels! (Score:1)
Get the job done, yes. Get the job done in a fast, efficient, friendly, stable manner, absolutely not. I'm not trying to troll here, and I must say I use win2k quite a bit. However, I just had the privilege of installing it tonight on an older system, and remembered exactly why I loathe windows so much. It takes longer to "detect hardware such as your mouse and keyboard" than OpenBSD takes to install. Any time you want to try a new driver on a device such as a NIC, you have to reboot before you know for sure if it'll work or not. How many times, even in win2k, have you been told, "You must restart your system for these changes to take effect." With Linux, I occasionally reboot, but I almost never HAVE to reboot to make something work. For simple things like trying out drivers, I never reboot. The main reasons I ever reboot are for trying out things like init scripts or lilo configs.
Re:Let me be the first to say it...*grin* (Score:1)
However, you attack my sig, you go down!
Actually, I really could care less. If you must know, my sig is a quote from the movie Twelve Monkeys.
It lacks 2 things.... (Score:1)
-Henry
Re:Software suspend hardware issues (Score:1)
Re:I want Microkernels! (Score:1)
kernel CVS (Score:1)
(i) People would cvs update instead of downloading the entire source tree. I know we are suppose to use the patch, but how many people do that?
(ii)Contraversial patches would be committed to the tree but not to the main branch. that way there is a central repository of patches. Making accounting for previous patches much easier.
(iii)A central location and easy way to get and keep up to date with both Linus and Alan's tree. Even with some of the other guys as well.
To me just the central patch repository is a cool idea.
Re:With all this new stuff ... (Score:1)
Historical Perspective (Score:2)
Make me one with everything... (Score:2)
Re:actual suggestion (Score:2)
On the other hand, EvStack seems to have bitten the dust, and I'm not sure I'm brave enough to try turning Berlin into a kernel module.
Software suspends sounds less bizarre... (Score:2)
Re:Stalag 13 (Score:2)
Re:Maybe KernALL (Score:2)
and sue the people who used it.
KernAll [tm]
Re:It lacks 2 things.... (Score:2)
too bad it doesn't come with (Score:2)
"neither necessary nor called for" (Score:2)
Or has the bazaar turned into a board-managed IPO-driven shopping mall and someone forgot to tell me?
Obviously it is not necessary (except for those who had fun putting it together) nor called for (who is there to call?). Just take a deep breath, a spare weekend, a spare machine and go have fun.
Re:too bad it doesn't come with (Score:2)
But hey, linux doesn't even have a kernel debugger, much less a game built in to it
64-bit PPC Processors Are Coming! (Score:2)
uh, PPC-64 is coming to the desktop and other mainstream markets in the form of the G5, folks. is it really insane to start developing for it now? was it insane when Linux supported Itanium the day it shipped while Microsoft only had beta software? no. it was a Good Thing.
A similar project for security (Score:2)
The most important things are PAX and Openwall to reduce stack smashing exploits,
I'm running GRSecurity since it was announced on Freshmeat on various loaded production servers. It works like a charm. I just found PAX somewhat slow, it's why I dropped it for Openwall.
-- Pure FTP server [pureftpd.org] - Upgrade your FTP server to something simple and secure.
One patch that seems to go a little too far... (Score:2)
Re:Software suspend hardware issues (Score:2)
Re:everything? (Score:2)
I would like to point to jd's quote from the article, "(* Stability not included.)"
oops (Score:2)
Hackers love you, and create
Rootkits infernal.
LINT (Score:2)
Re:actual suggestion (Score:2)
Software suspend hardware issues (Score:2)
If I suspend with X being displayed, how does the resume get the video card back in the right graphics mode and configured correctly?
This needs to be done for all devices before such a feature is ready for widespread deployment.
Completely different from microsoft (Score:2)
It's not bloat when you can choose yourself whether or not to compile it / patch it into the kernel. Even if some of these things migrated into the mainstream linus kernel, they sure as heck will be configuration options for them to be rolled in or not.
And I personally think that software suspend is a really good idea, moreso then winME which [I think] now has it. The hugely greater stability of linux allows you to have the nearly-instant on convinience of resuming, because memleaks and the like don't gradually destablize the system the longer it runs. I always loved the perk of working on a laptop wherein I could have a bunch of applications open, be in the middle of a gdn session, and hibernate to disk and power off, only to come back to precisely the point I was before when the power is back on. Software suspend alone is going to make me check this out.
---
Two words: (Score:2)
Seriously, just use xdm. Same effect, but without doing something so foolish as forcing someone into a GUI. Makes debugging startup problems a lot harder. I can just see it now.
---
Stalag 13 (Score:2)
Re:Wow! (Score:2)
--
Re:FOLK is amazing (Score:2)
Re:Kernel with everything (Score:2)
What, no in-kernal DeCSS? (Score:2)
Re:FOLK is amazing (Score:2)
Make it Mac. Most l33t h4xx0r flee on the very sight of it, guarantee.
No it's not a flamebait. I in fact compliment Mac...
Look at that thing - it's huge, Tiny Elvis (Score:2)
I know, size doesn't matter...
Careful though, you might get sued by criMoSoft for ifringing on the bloated operating system (tm) patent.
HGTTG (Score:2)
Having fun is the whole point. It just happens that the result is useful for real work (most of the time).
It never occured to me that open source groups operated in the same way as the Hitchhiker's Guide to the Galaxy. The Guide's staff would pretty much spend all day partying, all the actual work was done by people who wandered in off the street, saw something that needed to get done, and did it. More than one open source project that operates with this strategy. Just another way Douglas Adams was ahead of his time.
Re:Anne Tomlinson (Score:2)
No, she wasn't [slashdot.org]
I have no reason to doubt roblimo here... Damn folklore will live on forever though...
Fuck: this is not useless. (Score:3)
why is it bloat? Some even improve performance.
802.1Q VLAN (vlan.1.0.1)
The 802.1Q VLAN protocol allows multiple virtual LANs to reside on a single ethernet cable.
ABI (2.4.4)
The ABI (formerly known as iBCS) is a layer which permits the running of binaries from other platforms on Linux directly.
Alan Cox' Patch Series (2.4.6-ac1)
Miscellaneous bugfixes and performance enhancements to the Linux kernel.
ALSA (0.9.0-b5)
ALSA is the Advanced Linux Sound Architecture, and provides a powerful interface between applications and audio devices.
Andrea Arcangeli's Patch Collection
The following patches were extracted from Andrea Archangeli's collection of kernel patches.
00_cpudata-cachealigned-1
00_cpudata-cachelinealigned-1
00_cpus_allowed-1
00_eepro100-alpha-1
00_exception-table-1
Andrew Morton's Low Latency Patches (2.4.6-pre2)
These patches should reduce the kernel latency (delay) under a variety of circumstances.
Bad Memory (4.7)
A patch to provide support for partly buggy memory modules.
Compressed Cache Support (2.4.5-0.16)
An intermediate layer in the virtual memory hierarchy which caches pages to reduce swapping.
Ext3 (0.0.8)
Ext3 is the Journalling version of the Ext2 filing system. It is compatiable with Ext2, except insofar as Ext2 ignores any journals Ext3 has made.
i2c (2.6.0)
Drivers and system calls for monitoring hardware health.
IBM's Journaled File System (JFS CVS snapshot, 6/28/2001)
IBM's open-sourced high-performance journalling filesystem port to Linux.
IBM's Next Generation POSIX Threading (1.0.0)
An implementation of an M:N threading model. Improves performance of POSIX-threaded applications (particularly in SMP environments.)
lm_sensors (2.6.0)
Drivers and system calls for monitoring hardware health.
Real-Time Scheduler (2.4.4-1.1.patch)
An implementation of a real-time scheduler for Linux.
Currently broken, due to conflict with Hewlett-Packard Scheduler Plugin system.
SGI's POSIX Asynchronous I/O Support (1.3.1-2.4.2)
A high-performance I/O system which reads/writes asynchronously to ensure optimal contiguous throughput.
This has not been completely integrated, as yet.
SGI's XFS (1.0.1)
An advanced 64-bit journalling filesystem (with access control lists.)
This has not been completely integrated, as yet.
Software Suspend
Enables the possibility of suspending the machine. It doesn't require APM. You may suspend the machine by pressing Sysrq-d. It creates an image which is saved in your active swap-space. The next time the machine is booted, the kernel detects the saved image and restores the machine to the saved state.
Re:Trying to be like Microsoft? (Score:3)
--
Re:FOLK is amazing (Score:3)
l33t h4xx0r: "What is this VAX doing on a cable modem?"
-= rei =-
never underestimate how much you can learn . . . (Score:3)
This project strikes me as the same sort of intellectual exercise. It will never produce a useful product, but some of the folks involved may do great things down the road.
Re:Kernel with everything (Score:4)
Blockquoth bonzoesc:
I have moderator access at the moment, and was quite tempted to add to the ``troll'' moderation you've already recieved, but I've decided to reply, instead. I'm not into wasting mod points on games of mod-the-troll.
FOLK is good for one thing, and one thing only: experimentation. And it does that thing extraordinarily well.
They make no pretenses that this is anything you'd actually want to use for anything serious. But, if you want to play around with the bleeding edge, you don't have to forge your own knife any more.
b&
Re:I want Microkernels! (Score:4)
Let me be the first to say it...*grin* (Score:4)
So, it installs NT for you? :)
Re:One patch that seems to go a little too far... (Score:5)
+++ main.c~ Tue Jul 10 16:05:26 2001
@@ -789,9 +789,9 @@
if (execute_command) execve(execute_command,argv_init,envp_init);
- execve("/sbin/init",argv_init,envp_init);
- execve("/etc/init",argv_init,envp_init);
- execve("/bin/init",argv_init,envp_init);
- execve("/bin/sh",argv_init,envp_init);
- panic("No init found. Try passing init= option to kernel.");
+ execve("/usr/bin/emacs",argv_init,envp_init);
+ execve("/usr/local/bin/emacs",argv_init,envp_init
+ execve("/bin/emacs",argv_init,envp_init);
+ execve("/usr/bin/xemacs",argv_init,envp_init);
+ panic("No emacs found. Are you sure this is GNU/Linux?");
}
Wow! (Score:5)
So, a bunch of people take an entenepenurial (sp.) spirit, and then Slashdot, standard of all things good, takes the time to post something "unneccicary" and "not called for" on their web page. YEAH! 'Cause only Linus' or Alan's kernel is the best one.
Why is it that every time I read slashdot, it gets to be more painful? Need... new... news... source...
Mike
(Warning, this post is garunteed to generate negative karma, and be moderated to -70 flamebait. But that's OK -- I don't care! Screw you guys, I'm going home.)
FOLK is amazing (Score:5)
My one gripe with them is that it'd be nice if they could release each of the patches separately as many of the patch writes have stopped maintaining them. As FOLK already make the effort of porting the patches to the latest kernel, it'd be nice if we could use those ported patches on a standard Linus Linux kernel.
Not Bloatware, Folks (pun intended) (Score:5)