Linux 4.1 Bringing Many Changes, But No KDBUS 232
An anonymous reader writes: The first release candidate of Linux 4.1 is now available. Linus noted, "The merge window is pretty normal in terms of what got merged too. Just eyeballing the size, it looks like this is going to fit right in — while 4.0 was a bit smaller than usual, 4.1 seems to be smack dab in the middle of the normal range for the last couple of years." There are numerous new features in Linux 4.1, like Xbox One controller force feedback support, better Wacom tablet support, Intel Atom SoC performance improvements, Radeon DisplayPort MST support, EXT4 file-system encryption, ChromeOS Lightbar support, and ACPI for 64-bit ARM, among other additions. However, KDBUS wasn't accepted for Linux 4.1.
KDBus - another systemd brick on the wall (Score:3, Insightful)
Say what you want, systemd already whack too much havoc for Linux and I do not wish to see yet another systemd brick inside the Linux Kernel
Re:KDBus - another systemd brick on the wall (Score:5, Insightful)
Say what you want, systemd already whack too much havoc for Linux and I do not wish to see yet another systemd brick inside the Linux Kernel
Well, don't forget while we're waiting, really important shit got added to the kernel.
After all, what good is a Linux distro without XBox One controller force feedback support.
Re: (Score:3, Insightful)
You mean the de facto standard [steampowered.com] controller for PC gaming these days?
1) People complain about poor driver support in Linux every year. It's been getting better. This is an example.
2) Adding feedback to Xbox controllers is a minor change compared to adding an entire, new IPC interface for systemd.
3) Kernel changes are not a zero-sum game. Just because some kid in college wants his controller to work and submits a patch, doesn't mean Linus cries himself to
Re:KDBus - another systemd brick on the wall (Score:5, Insightful)
On a desktop/laptop I would trade 1G of space any day of the week to have whatever random input things I plug in just work...
Re:KDBus - another systemd brick on the wall (Score:5, Interesting)
I know, it's almost like you'd want a distro to have different versions to suit server vs desktop usage.
Re: (Score:2)
Or even better to have desktop / workstation distributions that are tweaked that for that use. So for example mainly support server applications in developer modes rather than being tweaked for large numbers of users, or have much the ability to shift security levels up and down easily to see if what security feature is introducing a bug in interprocess communications. Caldera, Mandrake, Corel Linux / Xandros...
Re: (Score:3)
I loved Windows Server 2003 Enterprise Edition, it was a perfect OS for running games. DirectX 9, sound, joystick input (I had to extract the .inf file for the Xbox 360 controller and feed it to device manager), even wifi and the semi-poor support to run DOS games.
It was a slightly improved version of Windows XP with graphical effects turned off and ctrl-alt-del as the log in.
Re: (Score:2)
WiFi is disabled by default. Sleep/hibernation is disabled and cannot be re-enabled (so much for taking demo laptops to clients! Thanks, Microsoft for making my job easier!).
And I just learned this today, apparently many free versions of software will refuse to install unless you buy them because they use the OS ID to tell whether you're a business or consumer. Businesses have to pay.
Re: (Score:2)
Yes, most noticeably antivirus software.
Re: (Score:3)
Re: (Score:3)
may just not be enough to be worth the trouble
Can you do it faster than on windows, where I plug a usb printer in and it spins for minutes searching windows update for a driver? I don't know how long it actually takes, since when I did this last week, it took me less time as a human to go to google, search for the printer, download the driver, cancel windows update and install the driver by hand.
Re: (Score:3)
Can you do it faster than on windows, where I plug a usb printer in and it spins for minutes searching windows update for a driver?
The best part is when you then plug the device into a different USB port and it goes through the whole minutes-long process again.
Re: (Score:2)
I love those free coffee breaks that windows give me!
Re: (Score:2)
The best part is when you then plug the device into a different USB port and it goes through the whole minutes-long process again.
While I am a Windows man these days, I often belly laugh when that happens. Why the heck does it do that? It happens even with simple memory sticks if they are inserted into an USB port in which they have not been before.
Re: (Score:2)
Re: (Score:2)
At least with Debian and derivatives, you have a locally stored cache of package data(not the packages themselves, but their metadata). Searching that is pretty fast unless you have a lot of repositories or a brutally slow storage system.
The obvious(and probably flawed in some less obvious way that I'm not thinking through) extension would be to add the VID/PID combinations (or device classes, for class drivers) to
Re: (Score:2)
Stop using XP. It's much faster now.
Bullshit. It's much, much slower now, not least because the subset of printer drivers included is pathetic. What's pathetic about the list of supported printers that extremely common printers supported with precisely the same drivers that they have already shipped plus just a different PPD are not included. But it also takes much longer to hit windows update and find your printer driver than it did on XP.
Re: (Score:3)
A desktop distros even starts lots of crap such as cups, samba etc. just in case you need it. (even avahi daemon which you perhaps never need)
I went to some lengthes to disable avahi daemon, but the rest is useful. A quite illiterate user had success sharing a folder on the network by right-clicking on it (which was that easy in Windows 95, but grew more complex over time). That's a pretty big success for a linux desktop, and the user did it to watch video on a set top box and it worked. I was impressed to
Re: (Score:2)
storage tends to be cheaper than any human labor you'd want touching important software...
Especially when it is other peoples' storage.
Re: (Score:2)
Even situations that are highly cost sensitive and have customers who bear the entire cost of the extra hardware or the extra software engineering (like embedded systems) have seen a fair amount of hardware growth. Cortex-M0 or a bunch of extra squeezing to get it into an 8 or 16 bit micro?
Re:KDBus - another systemd brick on the wall (Score:5, Interesting)
Which is good. Systemd has already stated they will hard depend on it and equally a systemd bump will require a bump of the kernel.
For those that are on systemd then finding themselves in a situation where an upgrade/downgrade of either the kernel or systemd (oh I don't know... due to a issue) renders the system unbootable is worrying...
How much longer can non-systemd hold out (with gnome/kde swallowing it ...)? how long until it is wrapped in that behemoth that is PID1.
It isn't the UNIX way... its the windows way with svchost.exe & binary logs... and we all know how well that works.
Not only that but Systemd has shown to be hostile to that which it has assimilated...
https://lkml.org/lkml/2015/4/15/104
> To make this clear, we expect that systemd and kernels are updated in
> lockstep. We explicitly do not support really old kernels with really
> (which means 3.4 right now), but even that should be taken with a grain
> of salt, as we already made clear that soon after kdbus is merged into
> the kernel we'll probably make a hard requirement on it from the systemd
> side.
Thats plenty clear, isnt it? As soond as kdbus is merged into kernel,
systemd will depend on it, and then if I need to go back to older kernel,
I have to downgrade systemd as well?
http://utcc.utoronto.ca/~cks/space/blog/linux/SystemdAndSyslog
Anyone who works with systemd soon comes to realize that systemd just doesn't like syslog very much. In fact systemd is so unhappy with syslog that it invented its own logging mechanism (in the form of journald). This is not news. What people who don't have to look deeply into the situation often don't realize is that systemd's dislike is sufficiently deep that systemd just doesn't interact very well with syslog.
I won't say that bugs and glitches 'abound', because I've only run into two issues so far (although both issues are relatively severe). One was that systemd mis-filed kernel messages under the syslog 'user' facility instead of the 'kernel' one; this bug made it past testing and into RHEL 7 / CentOS 7. The other is that sometimes on boot, randomly, systemd will barf up a significant chunk of old journal messages (sometimes very old) and re-send them to syslog. If you don't scroll back far enough while watching syslog logs, this can lead you to believe that something really bad and weird has happened.
Re:KDBus - another systemd brick on the wall (Score:4, Interesting)
Systemd is one of those thing that people know will end in disaster. Sure, it works at the moment. But a personality will jump into it, or a bug will catch up with their design, or something else. And it will all come crashing down.
What bugs me about systemd is not the idea behind systemd. It's the implementation. Using cgroups and other kernel-provided features, it's able to provide functionality that we don't have elsewhere. But rather than break-down that functionality and make each part replaceable, and use "old" methods to do some things while they are replaced with "new" methods.
It's the all-or-nothing nature of systemd that I hate. There's no reason it can't be done in some other way. There's no reason that, even at a base level, you can't write scripts that do the same as it does - for all functions, but also for parts of the functions. As such, it's not modular, not changeable, it's just a lump of code that you accept having complete control of your machine or not. And I don't.
Honestly, I'm waiting for the crash-and-burn moment at which someone steps up, gives us the same features, using predictable, modular code or even scripts, and we can put in the bits we like and leave out the bits we don't like and replace any bit and NOBODY will know or care that we've done that.
Re: (Score:2, Interesting)
Systemd is one of those thing that people know will end in disaster. Sure, it works at the moment. But a personality will jump into it, or a bug will catch up with their design, or something else. And it will all come crashing down.
Sure, many systemd-opponents harbour fantasies like that. Since they claimed that the systemd developers are bad and inexperienced programmers that can't code or design, that the systemd design is bad and that the code is bad, it puzzles them that despite all this, systemd have worked beautifully for so many years.
But the brutal and inescapable fact is that systemd is coded and designed by top notch, seasoned Linux programmers that really knows their stuff well, and that systemd also work really well and so
Re: (Score:3, Informative)
Sure, many systemd-opponents harbour fantasies like that.
Many systemd proponents harbour fantasies of it being the one true way of doing......anything and want to wave away the problems.
This, by the way, is Linus's take on kdbus and why it won't be seen in the kernel for some time to come, if ever:
http://lkml.iu.edu//hypermail/... [iu.edu]
Greg - just for your information, I will *not* be merging any code from Kay into the kernel until this constant pattern is fixed.
This has been going on for *years*, and doesn't seem to be getting any better. This is relevant to you because I have seen you talk about the kdbus patches, and this is a heads-up that you need to keep them separate from other work. Let distributions merge it as they need to and maybe we can merge it once it has been proven to be stable by whatever distro that was willing to play games with the developers.
Regardless of any other bullshit and hearsay, that is the policy of the kernel. When he says 'Kay', read any systemd developer. Oh, and no, it's not a joke and no he doesn't write the e-mails on the kernel mailing list for the goo
Re:KDBus - another systemd brick on the wall (Score:5, Insightful)
And since the systemd-opponents party line is is that binary log files are always bad, they won't make such an alternative.
I'm not even going to get into a pro/anti systemd argument becauser that's actually not relevant here, but this is why people get annoyed with the systemd folks, because of the mindless zealotry/ignorance. No offence, but solutions to this have existed for YEARS and have been implemeted in plenty of other systems.
You have a text based log file, which just works with everything. You also have a separate binary index which indexes the textual log file. You get the benefit of fast lookup if you use the index and it will just work no another machine if the original tanks and you don't have the right version of systemd on the new machine.
There are more than "text-only sysV style log files" and "opaque windows style binary ones". The systemd folks pretending that this dichotomy are the only options is just plain annoying.
Re:KDBus - another systemd brick on the wall (Score:4, Insightful)
Did you actually read my post which was about a very specific point about binary versus text versus INDEXED text log files and decide to post an irrelevant rant on complete nonsequiteurs, or did you decided to post the nonsequiteurs without reading my post.
You really are uniformed about systemd's journal; its structure and layout and API have been fully documented and is stable. That means you can read any journal with any systemd version.
Well if so, that's new. It never used to be the case that the binary format was stable. So, I'm going to ask you to provide a link to the description of the binary structure.
The current journal file format, which is basically an appended text file with index, is a great compromise between having unstructured, unindexed text logs with no meta-data, and running a full sql-server.
Jesus fucking H. Christ on a stick what is wrong with you? I specifically went into detail about how noisy the pro-systemd people like you insist on a dichotomy between unstructured text files and binary file formats. There is no fucking dichotomy you moron. If you actually read my sodding post instead of going off on a rant then you would actually become marginally more informed and stop spouting the same old shit repeatedly.
Re: (Score:2)
Sure it is possible and has been done before. My point is that no distros seem to use such a init-system and that no other init-system have anywhere near all the nice features that systemd has.
Re: (Score:3, Insightful)
Seasoned programmers that "know their stuff" that have been told to keep their un-maintained junk out of the kernel before now? And in no polite terms?
"Worked beautifully" resulting in many unbootable (or, worse, variably bootable) systems over the years. It's far from perfect (I'm not expecting perfect, but it's far from it).
Though I don't doubt that there are entire swathes of people happy with it, that there is so much opposition is not only indicative that it's far-from-perfect, but that many people m
Re: (Score:2)
"What he and Linus disagreed upon was whether you should fix broken kernel features or not. Kay thought you should, Linus disagreed."
And it's exactly because of this that I can hardlock just about any Linux machine with five simple steps, and I'm not even a serious hacker. I don't even need admin priv to do it.
Linus is too fucking incompetent for his own good.
Re: (Score:2)
I'm curious about this. What are those five steps?
Re: (Score:2)
Make swapfile
encrypt swap
put swap in as loop
Memory overflow
hardlock, the end.
And it's been sitting there for at LEAST a decade. Still hasn't been fixed despite many others like myself making note of it and submitting reports.
Someone else even wrote a nice little blurb about it - http://spiralofhope.com/how-to... [spiralofhope.com] Though that one uses a slightly different method (but similar to mine.)
Re: (Score:3)
What he and Linus disagreed upon was whether you should fix broken kernel features or not. Kay thought you should, Linus disagreed.
I don't know whether you're being this fucking stupid on purpose, but this shit needs shooting down and it currently is on the Linux kernel developer's mailing list. Existing and expected behaviour from the kernel does not get altered. EVER. Userspace does not get something different. That was made abundantly clear.
Who the fuck are you or Kay Sievers to tell kernel developers what flags they will now suddenly pass as debug that have been used forever? I'm afraid this attitude problem is going to get shot
Re: (Score:2)
Rather typical LKML discussion in my opinion, but blown out in all proportions by the systemd-haters because they wrongly think that Linus don't like systemd nor its programmers because of this.
No it wasn't. Linus made his views on when this stuff will get merged, if ever, abundantly clear. It's not blown out of all proportion. That's what was written.
Re: (Score:2)
Rather typical LKML discussion in my opinion, but blown out in all proportions by the systemd-haters because they wrongly think that Linus don't like systemd nor its programmers because of this.
No it wasn't. Linus made his views on when this stuff will get merged, if ever, abundantly clear. It's not blown out of all proportion. That's what was written.
You don't seem to have experienced many LKML flame fests before, so I think you will be sadly disappointed when Linus merges kdbus.
Re: (Score:2)
Practically nobody was using Upstart on Debian at that time according to popcon. That the Upstart maintainer voted for his own project was natural, but among the rank and file DD's the support for systemd was strong, while the fact that there was a Upstart CLA made it unacceptable for many others. I think it was only Debian's affinity with Canonical that even made it an alternative at all.
I think Ian simply cooked off in some major rage fit. He wasn't entirely rational about this issue after that.
Re: (Score:2)
Wow wish I could mod you up. Your last paragraph is spot on.
Re: (Score:2)
Sure, many systemd-opponents harbour fantasies like that. Since they claimed that the systemd developers are bad and inexperienced programmers that can't code or design, that the systemd design is bad and that the code is bad, it puzzles them that despite all this, systemd have worked beautifully for so many years.
You missed one. "Anyone who stands up for systemd doesn't know anything bout Linux. Because if they knew anything about Linux, they would hate systemd." Its a rinse and repeat situation.
But as you've noted, many have graduated to the systemdpocalypse mode, of saying "Just you wait! You'll see! You'll see!" mode.
Re:KDBus - another systemd brick on the wall (Score:4, Informative)
Since they claimed that the systemd developers are bad and inexperienced programmers that can't code or design,
We have seen this proven true with pulseaudio.
that the systemd design is bad and that the code is bad,
Which should surprise nobody
it puzzles them that despite all this, systemd have worked beautifully for so many years.
Which it hasn't, and many slashdotters have given examples in this and other systemd-related threads, which you have willfully ignored because they don't fit the narrative you swallowed.
Re:KDBus - another systemd brick on the wall (Score:4, Informative)
"Working" is not a very high bar to meet when you're talking about something as simple as an init system. init systems are not at all hard to write. They start programs according to rules and restart them if they quit or crash. Read a config file, fork() off your children, then use waitpid()/waitid() with W_NOHANG in a loop to handle terminations. The sysvinit code used by all Linux distros until SystemD reared its ugly head had been floating around has been effectively without a maintainer for probably decades. And that was fine because the code was so damn simple any competent coder could clone it in his sleep if necessary.
So SystemD's cloning sysvinit is not particularly impressive. Dumping everything and the kitchen sink into the same source tree is also not particularly impressive. Not supporting any OSes other than Linux because it would cramp their brogrammer style is another thing that makes them look bad.
I don't know if SystemD will ultimately crash and burn. I can't predict the future. But, if these clowns keep going as they are, good chance.
Re:KDBus - another systemd brick on the wall (Score:5, Interesting)
But the brutal and inescapable fact is that systemd is coded and designed by top notch, seasoned Linux programmers that really knows their stuff well, and that systemd also work really well and solves so many old problems.
Since you resorted to an ad hominem argument, I'll follow this up. The initiator of systemd is Lennart Poettering, who was also responsible for the pulseaudio and avahi projects. I discovered pulseaudio when Ubuntu implemented it ~7 years ago, and my audio randomly started breaking. A release or two later (6+ months) it was fixed, and audio worked the same as it had before, except that I've noticed pulseaudio occasionally using a few percent of my CPU. Avahi is apparently a service that allows me to make printers connected to my computer available to other computers on the network, which I've never used - but I've still noticed it occasionally at the top of "top" in CPU usage. I'm using a laptop: when a process advertising non-existent printers is sometimes the number one drain on my battery, that's a problem.
So the head programmer of systemd has previously been responsible for projects that did nothing of any benefit to me, caused occasional instability and breakage, and consumed resources unnecessarily. That doesn't tell me that he's a "top notch, seasoned Linux programmer". It tells me that he's a poor architect, probably an indifferent programmer - but very, very good at politicking to get projects incorporated into distros when they shouldn't be. Why should I think that systemd is any different?
Re: (Score:2)
Re: (Score:3)
Yes and "virtually every program" is something that the user voluntarily and directly starts. Avahi, pulseaudio, and systemd... aren't. Which makes it exceptionally frustrating for both users and developers when there is a problem, both from a standpoint of not knowing where the problem came from, and from the standpoint of finding an alternate program to use instead.
Which is why sy
Re: (Score:2)
Actually there is. Systemd does lots of things that run at very low levels and thus performance matters. Processes that run multiple times per second aren't scripted in Unix. Unix has always accepted that you use a high level scripting language to tie together low level binary function, not that you script the whole system. What you are asking for i
Poettering thinks he's the next Linus (Score:4, Insightful)
Saidly too many people are believing this delusion. I can't help thinking thats one reason why systemd is taking over - its not that its any good , its who wrote it. Which is mystifying given what a POS PulseAudio was/is.
Re: (Score:2)
2. Systemd is good, and the quality of it has nothing to do with PulseAudio.
Re:KDBus - another systemd brick on the wall (Score:4, Informative)
Which is good. Systemd has already stated they will hard depend on it and equally a systemd bump will require a bump of the kernel.
For those that are on systemd then finding themselves in a situation where an upgrade/downgrade of either the kernel or systemd (oh I don't know... due to a issue) renders the system unbootable is worrying...
A typical misunderstanding by people quoting a systemd-devel mail out of context. They don't intent to keep the kernel and systemd in lock step for every release. They haven't done before so why should they do it in the future. What they do want to do is require kdbus kernels in the future, and that will bumb the minimum kernel version from 3.8 (or whatever) to 4.2 (or whatever).
At the time when such an edition hits stable distros, there will be no problems with downgrading to a previous kdbus enabled kernel.
Also remember that systemd follows the same pattern as the kernel development with bleeding edge releases and long term stable releases. Nobody is forcing anybody to use the newest systemd available, use a long term stable version (208, 215 etc) if you please.
Re: (Score:3)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:3)
SystemD doesn't in any way resemble the "Windows way", stop being ridiculous.
Yes, it absolutely does. It ties functionality together in a way which is designed to be difficult to tease apart specifically because of NIH.
Re: KDBus - another systemd brick on the wall (Score:2)
Re: (Score:2)
" If your application does not work with that kernel then why don't you run an older distribution until the problem has been fixed?"
Yep, you'd be waiting YEARS AND YEARS to get any fucking thing fixed on Linux.
Re: (Score:2)
Actually, it's quite common in the world of machines that might be vaguely important to something to keep the old kernel around when doing an upgrade. That way if some subtle bug shows up weeks later, you have an immediate path to recovery. That is, the ability to get back to a known good kernel.
Jumping forward doesn't do that for you, since the newer kernel will also be untested and probably contains the same bug introduced in the version you had a problem with.
Nobody who values stability in a server wants
Re: (Score:2)
Re: (Score:2)
Please stop the Phoronix shouting! (Score:3, Insightful)
The original announcement from Linus says: No earth-shattering new features come to mind. Yet Phoronix and now also Slashdot are shouting: "numerous features!", and then listing a few things which will not matter for most users. Can we please not follow this Phoronix shouting mentality and stay a bit more realistic and neutral?
Re:Please stop the Phoronix shouting! (Score:5, Funny)
Yet Phoronix and now also Slashdot are shouting: "numerous features!
Just wait until they benchmark that xbox controller force feedback. They'll have useful graphs such as "Bootup time with and without xbox controller (lower is better)", "Strenght of feedback on odd and even numbered seconds (higher is better)", and the ever so important "Adbucks generated by pointless benchmarks on an xbox conroller (higher is better)".
Hell, I can't wait to see the graphs on that last one.
Re: (Score:3)
AGP not working with SMP (Score:4, Informative)
Re: (Score:2)
Multi-core x86 processors only appeared well after PCI-E had taken hold
True, but SMP systems are older. I used a dual P3-700 for years, which I picked up cheaply on eBay because not many people searched for 'duel processor' (I think eBay now does some phonetic matching in their search). Before that, the ABit BP6 (1999) was quite popular. It ran two Celerons, so you could get a dual-processor machine for cheaper than a single-processor one (though you needed to run Windows NT or *NIX to be able to use the second one, as XP was the first SMP-capable consumer OS from MS). The
Re: (Score:2)
Re: (Score:2)
If you had RTFA, the guy who raised the issue is running an arcade machine. A perfect example of how old hardware is used.
Furthermore, there are plenty of older chipsets that have internal AGP cards.
Oh grow up (Score:5, Insightful)
KDBUS is just another IPC mechanism, and while it might need a little more work before going mainline, its not some evil systemd plot to take over the world. I think its time some of you put down the tin foil hat, take a deep breath, calm down and look at it as the IPC interface that it is.
DBUS is used by lots of none systemd projects as a user space IPC currently, moving it to the kernel will help with performance, and potentially security. If some of you stopping look at every thing systemd tinted glasses you might start reacting like rational adults.
The issue of systemd and the kernal needed to be down/up-graded in lock step will probably turn into an none issue on the server side. That kernel/systemd version will not just be introduced as an update to RHEL etc, it will be held back for a major version change. So any hardware regression issues will only hit when doing an OS re-install which is always a risk, the kernel/systemd lock step will make no difference here.
Re: (Score:3)
If some of you stopping look at every thing systemd tinted glasses you might start reacting like rational adults.
Funny you should say that, AC. I'll wait (not holding my breath though) for the rational, adult answer of G H-K to this message and a timeline for addressing the issues it raised:
http://lkml.iu.edu/hypermail/l... [iu.edu]
To quote the last part:
Not that this complaint is not in any sense new you have been ignoring people who try to bring up meaningful issues for a long time. The fact that when people bring up uncomfortable points about the kdbus code they get routingely blown off certainly contributes to the lack of meaningful review as it is not rewarding to work with someone who does not listen to criticism. At this point the strongest possible language and the strongest possible push back are being used because everything else is routinely swept under the rug.
So, feel free to engage in that rational discussion anytime now.
Re: (Score:2)
KDBUS is just another IPC mechanism, and while it might need a little more work before going mainline, its not some evil systemd plot to take over the world. I think its time some of you put down the tin foil hat, take a deep breath, calm down and look at it as the IPC interface that it is.
Well, Kdbus is more than just simple IPC, it is also provide a control framework with policies etc. just like dbus does.
What the tin-foil brigade don't understand, that any non-dbus compatible IPC will be a major problem for all non-systemd distros and BSD variants, since it per default will be Linux only, and in reality a systemd-only affair, since only systemd distros will have the developer manpower to implement and support the necessary userspace libraries.
With Kdbus, userland can just continue to use l
Re: (Score:2)
Read the entire LKML thread. You are wrong, but I don't feel like regurgitating several dozen emails in a slashdot post to illustrate why. The link is in the Phoronix article.
Re: (Score:3)
moving it to the kernel will help with performance, and potentially security.
Performance likely, because data can actually be shoveled between processes with probably greater concurrency than with a third user land context in the mix.
Security I don't see how, moving it in the kernel is an improvement. You add all the risks associated with being able to step all over systemically important data structures to a "process" that by definition has to communicate with a largish number of less trusted processes. If you limit who/what is allowed to talk to dbus with a firewall like soluti
Re: (Score:2)
Security I don't see how, moving it in the kernel is an improvement. You add all the risks associated with being able to step all over systemically important data structures to a "process" that by definition has to communicate with a largish number of less trusted processes. If you limit who/what is allowed to talk to dbus with a firewall like solution you make dbus less useful as an IPC channel.
Kdbus will really will provide several layers of extra security since LSM's like SELinux can hook into the system from the kernel and not in the much less secure userspace. You also gain kernel guarantee for the message marshalling.
The performance considerations might be a justification but I have never really seen DBUS as a high performance IPC channel anyway.
That is exactly because dbus is extremely slow when it comes to data transport.
Maybe I am just badly misinformed on its planned usecases. I thought it was for deriving simple short messages like "A new input device is a available" not shoveling megabytes of data between processes. We have fifo pipes and UNIX sockets for that, and if latency is an issue there is always shared memory.
The point is that many developers, especially embedded and IVI (and DE's like Gnome and KDE) are interested in using the same framework for both control and data. Having side channels to dbus in order
Re: (Score:2)
Thanks for the link very interesting, and helpful. I am not sure I fully buy the security argument, mainly because most of the time I don't see the LSMs themselves adding much value; but the points about DOS resistance and keeping the work load in the senders own timeslice being generally desirable makes sense.
Re: (Score:2)
Here is a write-up on DBUS vs KDBUS [lwn.net] for those who are interested.
To sum up: D-Bus is great for sending control messages ("change volume") but not for lots of data (audio streams), it's not available at boot-time (a serious problem if you need to talk to it!), and it's got security flaws. KDBUS is the incremental solution to these problems. A kernel space message sending system that all programs can use at boot to talk to ea
Re: (Score:3)
Mr. Pottering can spell better than that. But I'm afraid that many of the systemd features are being written by people who spell that badly and with such poor grasp of synax. The poster also seems to have no idea of how often development kernels are run in older or slightly out of date to bring new features, especially hardware drivers, into critical, high performance environments. So the "lockstep" systemd and kernel requirements become a much larger issue, because systemd components have become locked to
Re: (Score:2)
STOP LINKING TO PHORONIX (Score:3)
It's possible that Michael Larabel didn't get his facts wrong this time, but he has a history of (a) sloppy reporting and (b) completely ignoring requests for making corrections. Considering the number of times his mistake was pointed out in this one case (https://twitter.com/phoronix/status/575005596501590016, http://www.phoronix.com/forums/showthread.php?115543-An-LGPL-Licensed-Larrabee-Inspired-GPGPU-Processor/page2), I think he does it on purpose just to fuck with people.
Re: (Score:2)
history of (a) sloppy reporting and (b) completely ignoring requests for making corrections.
So 100% Slashdot-compatible? ;)
ChromeOS Lightbar support should not be in kernel (Score:2)
For all the noise about systemd, we are totally ignoring the fact that it's the Linux kernel that is the most egregious violation of UNIX modular philosophy. ChromeOS Lightbar has no place in main kernel distribution. System should at least provide enough of a stable binary interface for users to get a binary from outside developer and use it for a couple years. It's not crazy for a non-critical driver like this run in userspace, where a crash is less likely to bring down the whole system.
Anyone interested
Re: (Score:3)
Because of serious design flaws introducing security, privacy and slow code issues. KDBUS is a good idea but badly implemented, sending a message is 5-10 lines of code. And you send thousands per second.
Re: (Score:3)
Hopefully the open source community will review kdbus code very carefully and perform security testing before adopting this.
Pulseaudio-style bugs and instability could be very bad in the kernel.
Re:Why? (Score:4, Informative)
A previous poster linked to a post by Eric Biederman that should be required reading for this Slashdot thread. I'm not sure which part to quote, because the whole thing is pretty damning: Kdbus needs meaningful review [iu.edu]
On one hand, the post (and lack of kdbus in kernel 4.1) seem to indicate that you are correct, and the process is working. OTOH, Eric argues that:
This post was from last week.
Yeah, I don't know. I've been using Linux for 20 years, and of course it's steadily become much more usable. My experience with PA was that it implemented some very useful features, but was not rock solid.
When I tried to configure PA to use a sample rate over 100KHz last year, it consistently brought down the entire system. This was on a very capable machine, and high sample rates should be a basic use case for PA. I didn't dig into the cause, but it was PA itself that thrashed the CPU, so it seems unlikely that particular defect was caused by the layers underneath.
Re: (Score:2)
A previous poster linked to a post by Eric Biederman that should be required reading for this Slashdot thread. I'm not sure which part to quote, because the whole thing is pretty damning: Kdbus needs meaningful review [iu.edu]
On one hand, the post (and lack of kdbus in kernel 4.1) seem to indicate that you are correct, and the process is working. OTOH, Eric argues that:
You are interpreting this much too hard. Every time a new important kernel features come you have these kind of statements. The point being that some reviewers set the standard to "perfect" to begin with. That way nothing will be merged, so from now on people have to battle out the details until Linus is satisfied. Eg. Linus has personally stated that some of the criticism that Biederman repeats are wrong (about caps metadata in an exchange with Lutomirski).
All in all this is business as usual, and the kdbu
Re:Why? (Score:4, Informative)
Please note that PA is for consumer audio, that means general purpose desktop and sound server use.
You know what's different about consumer and pro audio? Nothing. As it turns out, consumers also want high-fidelity audio, and they want to be able to mix multiple streams. The only difference lies in what the industry is willing to sell us.
It works great for that and doesn't drain batteries and so on.
Actually, pulseaudio has notably drained batteries [launchpad.net] in the past, because shitcode.
Re: (Score:2)
Re: (Score:2)
You know what's different about consumer and pro audio? Nothing. As it turns out, consumers also want high-fidelity audio, and they want to be able to mix multiple streams. The only difference lies in what the industry is willing to sell us.
This not about spending money or HiFi, but on what you use the audio system for. On consumer audio you want low cpu and battery drain and accept the tiny latency associated with this; that a music stream start 20ms second later doesn't matter. It is also important that features such as streaming, bluetooth head sets integration etc. works out of the box etc.
With Pro audio latency is king. cpu and battery drain means nothing.
PA can provide both things, by suspending out if your need shift from consumer audio
Re: (Score:2)
Re: (Score:2)
Having used Linux audio from before PA came into existence, and having used PA from the beginning, I can assure that PA was a major step forward in fixing Linux audio. With PA sound on Linux actually began to work. Sure it exposed a lot of kernel bugs (drivers) and ALSA bugs
And there you have it. Perhaps much of PulseAudio's "problems" are a case of shooting the messenger. It fixed many things for me with my audio needs.
Re: (Score:3)
Oh so you miss the days of manually setting sound card jumpers to set DMA and IRQ
What? I say, what, son? That shit went away with ISA, and it had nothing whatsoever to do with pulseaudio. Nothing. Pulseaudio did nothing to mitigate that because none of those issues went away if you still have that hardware, because pulseaudio does not handle that part of the audio system. Do you know anything about the software we are now discussing?
Re: (Score:2, Informative)
The whole point I was trying to make that looking back on sound on Linux in the days before ALSA and PA shouldn't be done with rose tinted glasses. Claiming that, like the OP does, that everything went backwards with the invention of ALSA and later PA is just absurd. Those where the bad days regarding sound on Linux. There is nothing to miss from those days, including ISA sound cards.
With ALSA and later PA there were actually people working on the Linux soundstack and developers that could coordinate bug fi
Re: (Score:2)
Linus Torvalds have long signalled that he wants kdbus in the kernel.
No he hasn't you liar. I'm afraid this propaganda ain't going to have any effect whatsoever on his views.
Re: (Score:2)
Linus Torvalds have long signalled that he wants kdbus in the kernel.
No he hasn't you liar. I'm afraid this propaganda ain't going to have any effect whatsoever on his views.
Have you even read the lkml? Linus is deep into discussion of the code and even defended kdbus design decisions. He would never do that if he didn't intend to merge it as some point when enough people thought it was good enough.
Also notice how Linus appeared in the first kdbus patch threads. He didn't comment on the code, so the only reason he mailed was to signal to everybody that he followed this, and this was just business as usual.
Sure, the kdbus maintainers will have to do a good enough job in fixing p
Re: (Score:2)
Re: (Score:2)
RedHat has had their own kernel for a quarter century. They don't need Linus' permission to introduce change into their kernel.
Re: (Score:2)
Because systemD is being pushed by red-hat. And red-hat makes money, no their 'entire' business model is selling support.
So would they want a piece of software that you can use yourself correctly? No, they want a piece of software that is so arcane and labyrinth ridden that you have to pay them to tell you how to use it.
I can't say this is fair. Was RH's support level going down? They were doing fine with init processes that were composed of shell scripts too.
From what I've heard, there's serious debate *within* RH about systemd as well; not everyone's been on-board with it internally.
I think a lot of this can be blamed squarely on Fedora leadership... Over the course of about 3 years between Fedora 14 and Fedora 19, it feels like all the sysadmins looking product stability in the project got replaced with developers looki
Re: (Score:2)
"The upsides of Linux in 2015 are in spaces like huge range of software, IaaS, supercomputing "
Supercomputing? HAH!
Linux is so fucking weak that it can't even support my super-server with 12 GPUs PER BOX.
Yet, some how, Windows Server 2008 works just fine with ALL TWELVE, rolling Hyper-V and RemoteFX, delivering native performance REMOTELY.
Pretty sad a nearly decade old server OS rips the shit out of Linux in hardware support AND in usability.
Re: (Score:2)
http://www.top500.org/statisti... [top500.org]
In 2011 Cray deployed a Linux supercomputer with 9600 GPUs and from that point on Linux has been able to handle essentially infinitely many. I think you may want to read up a bit.
Re: (Score:2)
Yea, which is why just about any Linux distro, down to CentOS, horks when it sees more than 4.
Let me know when that infinite-gpu support hits mainstream and doesn't rely upon proprietary code to work.
Re: (Score:2)
I hope your vendor bothered to check the architectural limitations of the processor you're using. The old Xeon E7 CPUs had a nasty problem where you could run 2CPU/4GPU or 4CPU/2GPU but you could not run 4CPU/4GPU. The E5v2s have the same problem, requiring multiple linked nodes in order to get around the issue.
99 of the 100 fastest supercomputers in the world (Score:2)
> Supercomputing? HAH!
Of the top 100 supercomputers in the world, 99 run Linux.
Re: (Score:2)
Multiple modes linked using a customized backplane to present everything as a single component. 8 CPUs? Seen as a single 192-thread processor. 12 GPUs? Seen as a single 37,000+ GPU core unit.
Re: (Score:2)
But bear in mind that SysV Init has been straining at the seams now for around two decades, probably more.
Only because people keep trying to shove things into init that don't belong there.
Bear in mind SysV init was never upgraded to take into account changing usage.
It didn't need it.
Take a look at /etc/inittab. Try and find a man page that still describes the format.
On debian, you would use 'man inittab'.
Nobody should have continued reading your comment beyond this point, because it's clearly ignorant at best.
Re: (Score:2)
"It didn't need it." - it obviously does hence the emergence of replacements like Launchd, upstart, systemd
You must be lucky on Debian. opensuse doesn;t have it
iuser@opensuse:~> man inittab
No manual entry for inittab