Slashdot Mirror


Moving the Linux Kernel Console To User-Space

jones_supa sends this quote from Phoronix: "David Herrmann has provided an update on his ambitious initiative to kill off the Linux kernel console. Herrmann has long been working on making the Linux kernel CONFIG_VT option unnecessary for providing a Linux console by punting it off to user-space. The Linux kernel VT console hasn't been changed much in the past two decades and Herrmann is hoping to see it replaced with a user-space solution he's been developing that would allow for multi-seat support, a hardware-accelerated console, full internalization, and other features."

311 comments

  1. why? by andjeng · · Score: 2, Insightful

    if something have any purpose, why should we kill it?

    1. Re:why? by andjeng · · Score: 2

      and serving its purpose decently, offcourse.

    2. Re:why? by Anonymous Coward · · Score: 5, Informative

      The idea is to replace a kernel functionality with few features and several crucial limitations with a user space solution that is fully-fledged. The fully-fledged solution is not what you want to have inside the kernel, therefore taking the console to user space.

      The need for this arose primarily with the introduction of kernel mode setting etc. Before these advances, the console would somewhat be lame by definition. Now it is much more viable to have a nice console even without a windowing system and that opens new applications to a user-space console.

      E.g. look at Terminology. It is a virtual terminal emulator from the Enlightenment guys, built on the EFL core libraries. It works with David Herrmanns patches, without X11 or any display server!
      http://www.youtube.com/watch?v=AD-BJThtNnc (here run within X)

      Compare this to the basic kernel console. It could replace it if David's work gets through.

    3. Re:why? by andjeng · · Score: 1

      interesting. :) i think i'll try it out.

    4. Re:why? by Anonymous Coward · · Score: 4, Insightful

      I guess my questions boils down to this: why can't someone who wants a more advanced terminal just open up an X session, and put a few xterms on it? Please leave the very robust kernel console for its failsafe properties.

    5. Re:why? by jedidiah · · Score: 3, Insightful

      Quite. This sounds like a solution in search of a problem and users that actually care. On the other hand, it could break things horribly especially for those failsafe situations.

      it sounds like yet another example for of change for it's own sake not driven by any actual end user requirements that is actually being done DESPITE end user objections.

      It seems like a perfect microsoftism.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    6. Re:why? by Hatta · · Score: 4, Insightful

      The idea is to replace a kernel functionality with few features and several crucial limitations

      But those few features are crucial.

      The need for this arose primarily with the introduction of kernel mode setting etc.

      And what happens when KMS fails? What happens when all you have are VGA text modes?

      Will the user space console work in every instance where the current console works? If so, great. If we give up any of the reliability we've grown to rely upon, no thanks. I'd rather have a "lame console" I know will be there, than a full featured console I have to troubleshoot.

      --
      Give me Classic Slashdot or give me death!
    7. Re:why? by Anonymous Coward · · Score: 5, Insightful

      So you two & everyone who's modded these up, thinks that 1) something being moved to a secondary option is the same as "being killed", and 2) that technology shouldn't be used to improve anything.

      Please rethink.

    8. Re:why? by Anonymous Coward · · Score: 4, Insightful

      Wrong. Less functionality running in the kernel, the better. The kernel is a highly constrained environment, and it is also very security sensitive. Console processing does not belong there.

      This sounds like yet another example of uninformed people assuming that they know anything about the subject matter at hand, and assuming that actual kernel developers do not.

    9. Re:why? by Anonymous Coward · · Score: 0

      Damn that's ugly. What's the advantage over a pty?

    10. Re:why? by Anonymous Coward · · Score: 0

      Presumably, moving the console code out of the kernel makes it more stable. But it also is going to make the console less stable. The only issue I have had with the kernel console has been due to some modesetting issues with proprietary drivers. Is the kernel console code actually causing instability, or is this move an attempt to replace a barebones console with a fancier one in userspace? If its the latter, why not just work on an X console, instead of breaking something that already works?

    11. Re:why? by Anonymous Coward · · Score: 0

      Why doesn't it belong there? Console during port and boot is frequently informative and helpful. How are you supposed to run a user space console when the kernel hasn't even finished booting?

      So please enlighten us, why most kernel developers (even beyond Linux) are completely wrong.

    12. Re:why? by Bill_the_Engineer · · Score: 2

      Only if you ignore that the basic console has been stable for how many years/decades?

      --
      These comments are my own and do not necessarily reflect the views or opinions of my employer or colleagues...
    13. Re:why? by Spazmania · · Score: 5, Insightful

      But it's not fully fledged.... it doesn't provide two of the three features I need in a text console: kernel diagnostic messages prior to the start of user space and kernel diagnostic messages following a crash.

      --
      Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
    14. Re:why? by armanox · · Score: 1

      Forget about if KMS fails - what if you're just outputting to a serial port?

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    15. Re:why? by Junta · · Score: 1

      You don't have VT on a serial port. Although it seems pointless to me in general. The concern about VT in kernel vs. userspace is more religious than practical. The concerns about poor font behavior and such are overblown for a console that, in practical terms, is the console when things go wrong and not generally for day to day use nowadays.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    16. Re:why? by unixisc · · Score: 1

      I think that if David's work works, then it could also be used w/ Minix 3.2, where what you have is a microkernel, so that anything new that's user space would be welcome. I agree w/ the submitter - if they are trying to build in things like internationalization, then moving this from the kernel to user space is a good idea. As for running it within X, I think that with the recent attempts to phase in Wayland and relegate X to be used only when necessary, it's a good idea to move the console too into user space. Although since Linus seems to be opposed to microkernels, I wonder what he'll think about this idea?

    17. Re:why? by tibit · · Score: 3, Interesting

      What's wrong with it being in the userspace? At least if it crashes, it doesn't bring the whole kernel down. The process is relaunched by the kernel, and off you go. It's the Erlang mantra of reliable software: fail fast, in limited scope. I love it. That's why I'm a big fan of userspace drivers for all devices that are application-specific. Suppose you have a USB-based toy that has a vendor-specific functionality and isn't one of the standard USB device classes. You have an application for. It should only have a userspace driver bundled with the application. You start the app, it claims any USB devices it can handle, and goes from there. That's often how it's done on OS X, it's quite onpopular on Windows, unfortunately.

      --
      A successful API design takes a mixture of software design and pedagogy.
    18. Re:why? by tibit · · Score: 0

      It's fine if the userspace console process will be less stable. It can restart without undue consequences! Fail fast, isolate failures. That's the way to reliable software. Ericsson people knew what they were doing when they were coming up with Erlang's approach to handling software failure. It's 20 years later and linux kernel people finally get the message. I applaud that.

      --
      A successful API design takes a mixture of software design and pedagogy.
    19. Re:why? by tibit · · Score: 3, Insightful

      It's not a long stretch to imagine that you can start a userspace process long before all of the kernel drivers are initialized. It's basically a big waste of time that the kernel delays starting init to *after* all the drivers are initialized. It's a waste of time. The applications that depend on functionality of certain parts of the kernel should simply wait until those parts become available. That's all there's to it. Also, the drivers can be initialized in parallel. No reason for the network card driver initialization not to run in parallel with waiting for the scsi raid driver to come up. The console doesn't need any of that and can be started up as the first thing, even if it were a userspace driver. Kernel usually starts off an initrd image, that's where the console application would be. I think it'd be wonderful if the kernel went in this direction, not only for console but for all other drivers as well. The applications that need to wait for certain things can get notifications when drivers get ready.

      --
      A successful API design takes a mixture of software design and pedagogy.
    20. Re:why? by tibit · · Score: 1

      It's better if those few crucial features are in a process that can be restarted without having to reboot the kernel after a panic! That's the whole point. If a console server process fails, it simply gets restarted and that's it. You get your consoles back. That's reliable software to me. The alternative would be a kernel oops or a panic. Even if a kernel keeps running after an oops, you should normally reboot at the earliest opportunity because you can't be sure without examining the oops in detail to what extent kernel's internal data structures are consistent. A panic is simply an immediate forced reboot, an oops is a reboot that's forced but may be postpone-able -- IMHO an oops is only postponeable if there's a pair of understanding eyes that can examine the oops, check where in the kernel it happened, and how safe it is to continue. Otherwise, an oops should result in an instant reboot, but preceded with as much of an orderly shutdown as possible. For the most part this means: send sigterm to database and cache processes, send sigkill to all other processes, wait for the terminated processes to shutdown within some window of opportunity, kill them after the window has passed, recursively unmount filesystems, reboot.

      --
      A successful API design takes a mixture of software design and pedagogy.
    21. Re:why? by Anonymous Coward · · Score: 0

      I'd rather have 'always working' than 'nice'.

      For 99.9% of Linux users, it's there one second gone the next - but given it's the debug option if things go wrong - this is not a wise move.

    22. Re:why? by Hatta · · Score: 4, Insightful

      What's wrong with it being in the userspace? At least if it crashes, it doesn't bring the whole kernel down. The process is relaunched by the kernel, and off you go.

      Suppose you never make it to user space?

      --
      Give me Classic Slashdot or give me death!
    23. Re:why? by Hatta · · Score: 1

      It's better if those few crucial features are in a process that can be restarted without having to reboot the kernel after a panic!

      You're rebooting after a panic no matter what.

      If a console server process fails, it simply gets restarted and that's it. You get your consoles back.

      I've never had a console fail. I have had userspace fail though.

      --
      Give me Classic Slashdot or give me death!
    24. Re:why? by Wolfrider · · Score: 1

      --O RLY? You can't run "screen" on a serial console?

      / please enlighten me if I'm wrong, see .sig

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    25. Re:why? by Wolfrider · · Score: 1

      --I tend to agree with "don't kill off the current TTY console code" - at least leave it as a failsafe -- but would really like to see multi-monitor separate console screens... ;-)

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    26. Re:why? by fa2k · · Score: 3, Insightful

      Wrong. Less functionality running in the kernel, the better. The kernel is a highly constrained environment, and it is also very security sensitive. Console processing does not belong there.

      When everything breaks down, it isn't worth much to have a rock solid kernel if you can't interact with it through a console

    27. Re:why? by Cramer · · Score: 1

      When was the last time the console caused a panic? I've used linux for a very long time, and I cannot remember a system crashing due to the *console*. I've seen many instances of X crashing in ways requiring a reboot, and fbcon applications panicing the system. The age old linux console does exactly what it NEEDS to do; if you want fancy fonts, graphics, multi-head multi-seat mini-computer esq functions, you use something else. (X11 and fbcon)

      Multi-head, multi-seat installations... I remember mini-computers. Today, it's cheaper to buy a little PC than all the systems and hardware to do multi-seat that's actually usable for anything more than IRC. VT520??? Show me one application in common use that needs a VT520 terminal. I can point out several TN3270 terminal apps (usually in banking, government, and point of sale), but no VT line graphics apps.

      I love the guy's inventiveness, but it's a solution in search of a problem. It's like a RADIUS server written in BASH, or prime factoring with sed -- neat, but completely impractical.

    28. Re:why? by epyT-R · · Score: 1

      No, more like it's you who pretends to lack the understanding that newer isn't always better, and that, these days, ideology is doing most of the driving behind 'innovation' rather than technical improvement or capability enhancement. The linux console is already hardware accelerated, and has a non accelerated fallback option, as well as a fast character mode output for those of us using the nvidia blob and don't like wasting half our cpu cycles redrawing the screen during long builds. It also works over serial ports without a bunch of annoying usespace glue, making it great for debugging and embedded systems, and it's proven code. The only thing I think it needs is the ability to retain buffer after a VT switch.

      No one said technology shouldn't be used to improve. You are implying that disagreement with this initiative is the same as doing such. Nice fallacy.

    29. Re:why? by epyT-R · · Score: 1

      ..and if you have the hardware required for a quick running, nice looking, highres userspace based console, you might as well run X and the terminal of your choice. Then you'll be able to take advantage of the gpu. Of course, if X isn't running, you'll want a console that works no matter what. I don't mind simple acceleration for character blits, but shoving it out to userspace is foolish. This aspect reeks of ideological rather than technical reasoning to me.

      Either way something has to shove those pixels around. In character mode, the VGA card does that (on x86/64 anyway) which is faster than anything else. In vesa/uvesa mode, the CPU does it, which is slow. Having the cpu do it AND having it switch context between user and kernelspace will make it even slower, getting worse as the resolution increases. Even if there's a DRM2 enabled driver running (like nouveau), the kernel based console will still be noticeably faster. The system console wasn't meant to be super flexible and pretty. It's meant to be available at all times, not eat resources, and offer maximum screen space for looking at text with speedy updates.

    30. Re:why? by Anonymous Coward · · Score: 0

      I'll gladly retain my failsafe, if it only costs me a couple seconds (if that). I already hate what "zomg my laptop takes 12 seconds to boot!" did ala systemd - bloody messy crap that is, another solution in search of a problem. As someone who has sysadmin'd (more or less...bit beyond it for a decade or so, but it's still my roots) for a couple decades - losing your primary failsafe method of recovering from the very start of everything is really, truly, not worth the couple stupid seconds you'll save. Take a sip from your coffee - there, you found something to fill those couple seconds with, and you feel better. Slow down there cowboy. Your mindset already ruined enough.

    31. Re:why? by epyT-R · · Score: 1

      Or perhaps you're misinformed about security being the sole factor in play here. It's very important for sure, but not the only issue. Performance and simplicity still matters, even with today's hardware. There are plenty of security issues in all current operating systems, even the ones that like to claim they're secure.

      If you are 'that' concerned about security for your application, I recommend you steer clear of general purpose OSs altogether and build a custom solution for your application. If you want an extreme example, use FreeDOS to bootstrap a protected/flat mode runtime, a-la 1995. That way, the only code running is what's needed for your app, and nothing else. It'd be a pain in the ass, for sure, as you'd have to write your own drivers for every single peripheral your highly sensitive application requires, but since such apps are usually for vertical markets anyway, it's doable. Of course, these difficulties are not much different than dealing with a theoretically more secure, yet laggy console that'll likely fail in recovery, embedded work, or some other application where the userland glue falls apart and you're the lucky one who gets to fix it.

    32. Re:why? by epyT-R · · Score: 1

      Ah, no. Parallelizing the kernel like that is not an easy undertaking. Really, the kernel shouldn't hand off to userspace until all drivers are ready to take input from it. It's possible to make the system APPEAR to boot faster by starting the login prompt dependencies early, but that doesn't mean the systems' fully booted. Modern windows does this too, and, on most systems, I find it frustrating when I login only to have to wait another 30 seconds for everything else to catch up. I prefer to see the login prompt when the system's truly ready to go, and have a quick jump to the desktop. If the login prompt isn't coming up fast enough for you, then clear out the cruft or get faster hardware (or both).

      As it turns out, on-demand, post userspace initialization is already possible with kernel modules and udev. For those applications, it works fine (though I'm not wild about udev's configuration files).

    33. Re:why? by snadrus · · Score: 1

      Agreed almost completely. Parallel initialization is important, so is reducing the kernel size (for some situations), but growing initrd is a bad idea. I'd parallelize by blocking callers (to an API that requires more boot-up) at the OS until the setup & call is done. That way almost nothing changes and if someone's interested enough to profile their code then they can re-arrange something. Then later if Async/Notify APIs are in-demand they could be added.

      --
      Science & open-source build trust from peer review. Learn systems you can trust.
    34. Re:why? by snadrus · · Score: 1

      Last I read, KMS allows crash messages. I'd assume similarly that they'd allow pre-userspace messages as well.

      --
      Science & open-source build trust from peer review. Learn systems you can trust.
    35. Re:why? by epyT-R · · Score: 2

      I've never seen the character based console crash in linux.. not once in 15+ years. The uvesafb graphic mode consoles for non-x86 and x86_64 are another story, and because they don't initialize until halfway through the kernel's boot, the earliest printk() text is lost. DRM2 hardware accelerated drivers like nouveau seem to catch it all, but I"ll bet users have had more crashes with this than with the VGA character mode console. There's just more code being shoved around and more hardware being monkeyed with per character printed, and that increases failure rate.

      User space everything has a price: performance, and it's heavy. It's quite unpopular on windows, yes, for good reason. OSX is dog slow by comparison on the same hardware and maybe this behavior is one reason why. While it's nice having ntfs-3g for reading usb flash drives and the like, it's way too cpu intensive for any sort of performance IO..and yes many of us need to read/write ntfs at speed when needed (say shared external disks). I don't get why it was rewritten for fuse. The old ntfs kernel driver still persists to this day in all its limited glory, so it can't be a patent issue.

    36. Re:why? by Spazmania · · Score: 1

      That's a neat trick. Display messages before the kernel starts scheduling me *and* after the kernel stops running me too. You did say the console was implemented in *user space*, right?

      --
      Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
    37. Re:why? by I+AOk · · Score: 2

      VT is a virtual terminal running on the VGA hardware. On a serial console you just get a getty over a standard tty (i.e., serial device). Work great for managing remote servers to which you get via a BMC (HP ILO), with serial port redirection.

      --
      [iconv --from-code=utf-7]
    38. Re:why? by Anonymous Coward · · Score: 0

      I think your fallacy is a strawman argument, 'cause you're putting words in my mouth & arguing against those -- not against what I was really saying.

      First of all, I said "improve", which doesn't mean the same thing as "newer". Of course, an improvement is definitely "newer" than whatever it's improving upon, but that doesn't necessarily express that "newer" always means "improvement". I wouldn't equate improvement with innovation either. The whole purpose of this console change is for improving, not just for making it newer or innovating.

      Secondly, you replied to me with "No one said technology shouldn't be used to improve. You are implying that disagreement with this initiative is the same as doing such." Sad that I need to inform you, but when the original poster said "if something have any purpose, why should we kill it? and serving its purpose decently, offcourse.", it's clear that the poster is implying that new technology shouldn't be used to improve the old, since they are stating it should be kept in original form, since it works decently already. That's basically an "if it ain't broke, then don't fix it" argument, which is a classic form of backwards thinking that has held mankind back back from progress when the tech is available.

      Your strawman didn't knock my argument down, it just forced me to spell it out for you. Booyaka!

    39. Re:why? by Anonymous Coward · · Score: 0

      The kernel is a highly constrained environment, and it is also very security sensitive. Console processing does not belong there.

      How many bugs in the console/vty layer can you name?

    40. Re:why? by sjames · · Score: 1

      I wouldn't like to see the kernel left with nothing. It should keep the most primitive text mode display and serial console.

      However, I would be happy to see the rest go entirely to userspace.

    41. Re:why? by Anonymous Coward · · Score: 0

      Suppose you never make it to user space?

      Good luck running /bin/sh then...

    42. Re:why? by Bomazi · · Score: 1

      You don't need a terminal emulator for that. A simple output only console is sufficient to display kernel messages.

    43. Re:why? by arkenian · · Score: 2

      I think the question wasn't "why should we want a new userspace console" it was "why not have both?"

    44. Re:why? by amorsen · · Score: 2

      It is the terminal emulator part of the console which is going to user space (optionally). The console itself will not go away, so your serial port console is safe.

      The built-in terminal emulator is pretty good for a 90's piece of software, but it is showing its age and the limitations are difficult to fix in kernel space.

      --
      Finally! A year of moderation! Ready for 2019?
    45. Re:why? by ksandom · · Score: 1

      I don't think that's right. Serial via technologies like ILO kick in as early as the BIOS. Ie a long time before the kernel starts, let alone getty. I'm pretty sure it does this via the graphics card (since it's taking text at that time anyway), but certainly not getty (which is great for separate serial connections once the computer has booted).

      --
      Funnyhacks - Wierd, unusual, and fun hacks
    46. Re:why? by Anonymous Coward · · Score: 0

      Suppose you never make it to user space?

      You mean if "init" fails to execute? Then whatever it is that you're booting off is pretty broken, and it's time for a rescue disk. A console isn't going to do you a lot of good if you don't have a working user space, because there's no such thing as a shell without user space.

      Behold the power of rhetorical questions, even when the answer is pretty straightforward and completely unhelpful to one's case.

    47. Re:why? by Anonymous Coward · · Score: 0

      Then the old console will still exist & be usable.

    48. Re:why? by Anonymous Coward · · Score: 0

      There are ncurses-based and framebuffer terminals out there too that can get lots of advances xterm-isms on the raw console.

    49. Re:why? by Anonymous Coward · · Score: 0

      But isn't it clear that they will both be in there. Nobody's getting rid of one. One's just being moved to a different area, outside the kernel.

    50. Re:why? by Anonymous Coward · · Score: 0

      And what do stability and security have in common?

      One does not imply the other.

    51. Re:why? by Anonymous Coward · · Score: 0

      To say nothing of console redirection...

    52. Re:why? by Forever+Wondering · · Score: 1

      On the other hand, it could break things horribly especially for those failsafe situations.

      it sounds like yet another example for of change for it's own sake not driven by any actual end user requirements that is actually being done DESPITE end user objections.

      I think you and the person you replied to have hit the mark. Very few people use VT's. They're more likely to log into X11 and bring up an xterm [or whatever]. Personally, I only use VT's if I want to fix an autostart program before logging into X11. Minimal functionality, such as VT100/xterm compatibility to run vi/emacs is all that is really needed. The guy's time might be better spent in developing a super-duper xterm replacement [that also works with non-X11 graphics systems like Unity].

      As long as the kernel is alive, but X11 is not, being able to CTRL-ALT-F2 to get a [guaranteed] VT is important. Also, if the kernel panics, goes to single user or emergency mode, this isn't something that one wants to leave to userspace to perform.

      If anything, I'd like to see it go the other way. Being able to boot without rhgb/quiet and prompt/single-step:
      - ramdisk operations - the kernel bringup [initializations before systemd can be started]
      - the boot sequence [all operations after systemd and before X11 is ready to go]
      to be able to see the messages that get scrolled off the screen before the kernel ultimately freezes or panics, due to misconfiguration or an errant driver or malfunctioning piece of hardware.

      --
      Like a good neighbor, fsck is there ...
    53. Re:why? by Anonymous Coward · · Score: 0

      Because breaking things in the kernel is a cardinal sin. And given we use that to fix OTHER things that broke, it seems like the sort of thing that should remain rock solid, instead moving it to user space so it can be tinkered with for the sake of bells and whistles.

      But if that's not the case, please do clarify.

    54. Re:why? by Provocateur · · Score: 1

      Looks like he had this in mind, among other things as well. Might do you a bit of good to RTFA this time round. (Blasphemy I know)

      --
      WARNING: Smartphones have side effects--most of them undocumented.
    55. Re:why? by ciggieposeur · · Score: 1

      I'd rather have a "lame console" I know will be there, than a full featured console I have to troubleshoot.

      I like the raw console too, so much so that I wrote an ncurses-based terminal emulator that for several years only looked right on the true raw console. Then Debian's console packages came along and fucked up the CP437 glyphs and I learned that it is a real pain to get the true raw console anymore in a modern distro, even when using UTF-8. My emulator is still ncurses-based but now looks best under xterm with the bolkhov VGA or Terminus fonts and explicitly mapping the colors back to the VGA colors (i.e. yellow = bright brown).

      I wouldn't mind if the console could play nice with stuff like Unicode, keyboards, and multi-seat by default. Plus we could get things like a long *persistent* scrollback and much better VT100 support: who wouldn't like to see double-width/double-height lines? And we could retire that godawful palette sequence (CSI ]) that breaks normal OSC behavior.

      I suspect the right approach will be three consoles: serial for embedded, KMSCON for normal laptops/desktops, and VT for servers. My favorite Linux feature: we can usually have our cake and eat it too.

    56. Re:why? by TemporalBeing · · Score: 1
      Agreed. I've never had issues with the native console support, it's always when the video drivers start coming into play that the console breaks. My AMD64 system has no console one I go into X because the nVidia Blob Driver breaks it.

      While it's nice having ntfs-3g for reading usb flash drives and the like, it's way too cpu intensive for any sort of performance IO..and yes many of us need to read/write ntfs at speed when needed (say shared external disks). I don't get why it was rewritten for fuse. The old ntfs kernel driver still persists to this day in all its limited glory, so it can't be a patent issue.

      Can't recall the last time I used the FUSE NTFS-3G driver as the in-kernel driver now has full read/write support and is at least on-par with the FUSE driver for functionality.

      --
      Truth is like the sun. You can shut it out for a time, but it ain't goin' away. - Elvis Presley (source: imdb.com)
    57. Re:why? by Anonymous Coward · · Score: 0

      The interactive console is user space, but the kernel can write to kms setups when user space is unavailable. It is more limited than the old output compared to console only systems, but can provide panic output even in graphical situations

    58. Re:why? by Anonymous Coward · · Score: 0

      No, we think that a userspace terminal with a ton of library dependencies is not an improvement on a simple in-kernel implementation.

      If the kernelspace terminal is slow or some other way deficient, then fixing it makes a lot more sense than userspace terminal insanity.

    59. Re:why? by tibit · · Score: 0

      Never make it to userspace? What the heck? What prevents the kernel from starting the first process as soon as the scheduler is up? It's a happenstance, in a way, that linux starts all the drivers and only then launches init. There's no solid technical reason for it, other than inertia. Not anymore.

      --
      A successful API design takes a mixture of software design and pedagogy.
    60. Re:why? by tibit · · Score: 1

      Look, I'm not advocating running the fucking filesystem or a network driver in the userspace. I advocate running leaf drivers there -- such as application-specific USB drivers and the console. The console "driver" doesn't provide services used by any other applications. It receives stuff from the kernel and does something with it, and there it ends. It's just like the audit deamon!

      When you have exclusive device ownership by an application, with app-specific USB devices, etc., there's absolutely no point in having a device-specific kernel driver. None. Those devices generally are data sinks or sources, and you don't need anything in the kernel besides the regular USB host stack. All of the requests can be handled by the userspace without loss of performance. I know, I've done that, and it works great. FTDI's unix drivers are completely broken on OS X since they use libusb, and libusb doesn't know how to deal with sub-second timeouts on OS X because it uses the wrong APIs that only time out with a second granularity. Thus I've written my own userspace driver from scratch, and it performs beautifully. I can have a bog-standard userspace process get worken up every two milliseconds to process incoming bulk transfer, and to respond to it. It allows regular userspace to provide soft-realtime kind of performance -- I can easily get 3ms device-to-device latency, with userspace application in the middle. It's very useful for prototyping, where occasional glitches can be worked around or even ignored.

      Same goes for Windows, where FTDI's stupid driver doesn't feel it necessary to inform you that the device got disconnected. Basically FTDI's driver is written mostly for the braindead blocking kind of use, and they have half-heartedly added an event source that signals arrival of data and change in control line status. I mean give me a fucking break, how stupid that is -- obviously in their minds no one cares if the device has gone away, or when a data transfer had finished, etc. Anyway, that driver code works on OS X using their USB api, Linux using their api, and Windows using UMDF. The performance on all of the platforms is exactly the same. So I specifically don't buy any bullshit arguments about userspace being slow. Yeah, if you need to go back and forth between kernel, userspace driver, kernel, and other applications -- like for networking, filesystems, block devices etc, then sure it's slow. If your application is the sole user of a device, there are few if any benefits to having a kernel driver -- at least if a lower-level kernel driver already handles the bus transaction queuing, as is the case in any modern device bus you can think of (ata/sata, usb, modern pci, etc.). If you want to stream data at a low overhead between the USB device and the userspace, the userspace driver merely needs to keep the device's request queue filled in the host stack, and keep the finished requests drained. That's all there's to it, and it works well, and I can easily keep the device saturated -- running at a rate limited by the device itself and the host usb stack. I can transfer about 33 megabytes/s when talking to FT232H chip connected to a fast CPU -- and that's without trying particularly hard. So, again, I don't buy bullshit arguments that don't stand to a simple experimental confirmation. Remember: the ultimate test is the experiment. Nothing else matters.

      --
      A successful API design takes a mixture of software design and pedagogy.
    61. Re:why? by I+AOk · · Score: 1

      At boot up, the BIOS redirects the PC text screen to the serial port (emulating an ANSI console, I think). Then, there's a setting in the bios telling it when to stop redirecting -- after POST, after boot loader, or never. It only works while the display hardware is in text mode, by the way.

      In my case I stop redirecting before the boot loader (grub), and tell Linux it's console is ttyS0.

      Wait... here it is: /boot/grub/grub.cfg:
      serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
      terminal_input serial
      terminal_output serial

      Linux:
      # cat /proc/cmdline
      BOOT_IMAGE=/vmlinuz-3.2.0-37-generic root=UUID=73441761-9587-45c1-a901-63fbb9cac1ff ro console=ttyS0,115200n8 console=tty0

      All done in /etc/default/grub, on Ubuntu (IIRC):
      GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0,115200n8 console=tty0"
      GRUB_TERMINAL=serial
      GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"

      --
      [iconv --from-code=utf-7]
    62. Re:why? by Anonymous Coward · · Score: 0

      RTFA! It does not have enough features! What we NEED is MORE features! Im not sure what they are yet but Im sure they will make some up.

  2. Unneeded by Anonymous Coward · · Score: 5, Insightful

    Lets not mess with the TTY's they are STILL NEEDED for when things go wrong...

    1. Re:Unneeded by Anonymous Coward · · Score: 4, Insightful

      100x This ^^^

      Start messing with the console, and you could end up, like Windows, with no basic, self-reliant recovery options.

    2. Re:Unneeded by dolmen.fr · · Score: 1

      Except that on a VM the need is not the same.
      And on a phone also different.
      Is it really useful to have an ANSI escape sequence interpreter in the kernel ?
      Much of the legacy could be removed/replaced on those kernels.

    3. Re:Unneeded by Skapare · · Score: 1

      The only use for a console when the kernel is so hosed it cannot run any user space is to see the kernel's panic message. The console NOW is not useful unless user space is working. The issues I see are just details on how the console functionality gets moved to user space. It needs to support BOTH framebuffer and text mode displays. But definitely, all those things like cooked line input and such should be in user space, and even pluggable with a clean well defined interface that can be used in C as well as higher languages like Python.

      OTOH, a completely kernel-only escape and recovery system would be nice, too. We do not have it, yet. That would require a kernel shell (with commands sufficient for emergency recovery only ... keep it a small optional module that the kernel does not need for day to day running so it can be left out if not needed).

      --
      now we need to go OSS in diesel cars
    4. Re:Unneeded by Anonymous Coward · · Score: 1, Informative

      /dev/ttyS0 isn't going anywhere.

    5. Re:Unneeded by petermgreen · · Score: 1

      Note that cooked line input is not part of the "console", it's part of the tty system.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    6. Re:Unneeded by Anonymous Coward · · Score: 1

      Except that there are very few computers these days which still have a true serial port.

    7. Re:Unneeded by spyked · · Score: 1

      Short answer: yes.

      If you don't want "the legacy", compile it out of the kernel, but don't remove it, for crying out loud! Some people still use that, and for good reasons.

    8. Re:Unneeded by Anonymous Coward · · Score: 0

      Lets not mess with the TTY's they are STILL NEEDED for when things go wrong...

      YES!

      Hey, it may be messy but with it in kernel space; it has far better responsiveness than in userland. Anybody who has read into the Linux kernel knows that priority is set on a scale.
        Priority Scale

      The best responsiveness in userland is a nice value of -15.

    9. Re:Unneeded by AwesomeMcgee · · Score: 1

      I just noticed an *LPT* port card is installed on my work desktop! What brain damage did my IT team have to think my .NET development workstation would have any reason for an *LPT* port! Just hilarious.

    10. Re:Unneeded by Guignol · · Score: 2

      But there are many things running linux that are not "computers" and for which /dev/ttyS0 is very important

    11. Re:Unneeded by X0563511 · · Score: 1

      Your VM host is broken.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    12. Re:Unneeded by X0563511 · · Score: 1

      Does your company do any kind of development with hardware? If so, someone somewhere probably needs it for debugging, and so it's in the list for machines used by developers.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    13. Re:Unneeded by Anonymous Coward · · Score: 0

      The headers are still there on the motherboard for most consumer motherboards sold even now; you just need to break it out yourself because they didn't want to take up space on the backplane for a port that nobody uses anymore.

      Of course that applies to desktops; you're on your own with a laptop.

    14. Re:Unneeded by ultranova · · Score: 1

      The only use for a console when the kernel is so hosed it cannot run any user space is to see the kernel's panic message.

      Which is very useful for troublesolving.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    15. Re:Unneeded by Brian+Feldman · · Score: 1

      I don't think either of you can truly appreciate the distinction between kernel-mode software and user-mode software. User-mode still exists when things go wrong. That's called "your kernel having actually booted up and started running init scripts."

      --
      Brian Fundakowski Feldman
    16. Re:Unneeded by AwesomeMcgee · · Score: 1

      None. But my company is a proven brain damagedly stupid company, so there's that.

    17. Re:Unneeded by PReDiToR · · Score: 4, Insightful

      And in the situation where your kernel didn't boot up and you're scratching your head, where are those messages that will help you?
      All the text before:
      Give root password for maintenance:
      is very useful to some people.

      I'll admit that I do tend to compile out early printk and most error messages, hide the init confirmations as much as possible and generally like a tidy boot sequence.
      I like to know that I can put them back in when needed though.

      --

      Do not meddle in the affairs of geeks for they are subtle and quick to anger
    18. Re:Unneeded by Anonymous Coward · · Score: 0

      And you're going to be able to tell that your machine locked up due to a kernel panic how, exactly? Logs won't do you any good if it doesn't come back up. You're gonna have to pull the drive to figure out what happened, which is highly undesirable in a server farm.

      We're in the process of switching our entire environment from HPUX/PARISC to RHEL/x86_64, so not only am I well-versed in the differences between user- and kernel-modes, I am also understandably interested in a potential loss of troubleshooting functionality.

    19. Re:Unneeded by armanox · · Score: 1

      I have a USB Serial Cable for my laptop, for connecting to console only servers. Works great (/dev/ttyUSB0, configure just like a serial port).

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    20. Re: Unneeded by Anonymous Coward · · Score: 0

      Well that was obvious when you said .NET!

    21. Re:Unneeded by Junta · · Score: 1

      Every server has one or close enough (e.g. SOL).

      --
      XML is like violence. If it doesn't solve the problem, use more.
    22. Re:Unneeded by epyT-R · · Score: 1

      Is it really useful to have an ANSI escape sequence interpreter in the kernel ?

      Yes, it is: For those of us who you end up asking to fix your crashed system/driver...whether it's a desktop, a phone, or some 'virtual host'.

    23. Re:Unneeded by epyT-R · · Score: 1

      keep your python and other bloated, intepreters away from the system level code, thanks. It's bad enough that people insist on using them to script desktop environments now, as if they already weren't slow enough.

    24. Re:Unneeded by makapuf · · Score: 1

      But not interactive nor multiscreen.

    25. Re:Unneeded by Anonymous Coward · · Score: 0

      The Line PrinTer port's there in case you need to print something, of course.

    26. Re:Unneeded by SuperQ · · Score: 1

      And with this, we don't need to emulate a stupid serial console. We can just have it bring up a virtio variant.

    27. Re:Unneeded by sjames · · Score: 1

      I can think of far too many situations where userspace was for all practical purposes dead where I was able to at least see why that was so, and in some cases actually recover because the kernel and it's console was still sufficiently responsive.

      That goes double or more for the case of serial console. I do hope that's not slated for removal too.

    28. Re:Unneeded by sjames · · Score: 1

      But a heap of servers with IPMI doing serial over lan. Thanks to that, I haven't needed to do a late night dash to the datacenter in years.

    29. Re:Unneeded by Anonymous Coward · · Score: 0

      The kernel's panic message is extremely useful if you're trying to debug a kernel panic. When your kernel crashes the ONLY thing you have is post-mortem debugging, and the panic message is all you get for that.

  3. good thinking HA! by rubycodez · · Score: 5, Insightful

    making console depend on layers of complexity in user space, yeah that'll all be there when things go south.... the console is there for emergencies, needs to depend on as little as possibile

  4. But pleeeease keep the key-combo by Anonymous Coward · · Score: 5, Insightful

    Being able to press ctrl-alt-f1 when anyting hangs the X server is why I feel more at home in linux than in windows or OSX.

    1. Re:But pleeeease keep the key-combo by Anonymous Coward · · Score: 4, Informative

      When you are on the X console, all keys are handled by X, including the Ctrl-Alt-F1 (that's why if you lock up X badly, even Ctrl-Alt-F1 won't work, although you may still be able to remotely log in and fix things; assuming you have sshd or something equivalent running, of course). However switching back to X11 with Ctrl-Alt-F7 (or whereever your current X session is) is handled by the console.

    2. Re:But pleeeease keep the key-combo by Anonymous Coward · · Score: 0

      Or a serial terminal, which is a (kernel) VT.

    3. Re:But pleeeease keep the key-combo by poizan42 · · Score: 5, Informative

      That is why you have Ctrl+Alt+SysRq+R ( http://en.wikipedia.org/wiki/Magic_SysRq_key )

    4. Re:But pleeeease keep the key-combo by Anonymous Coward · · Score: 0

      Well, if kernel is fine, ther is a magic key combo (if not disabled in config) Alt-PrtScn-R, which gives you keyboard back

    5. Re:But pleeeease keep the key-combo by cozziewozzie · · Score: 1

      Yet this is the first thing you have to disable on a multi-seat system because it will bork your system otherwise.

      It's useful in some scenarios, but it is, in essence, a hack which only works in some scenarios. A multi-seat-aware VT would be a blessing.

    6. Re:But pleeeease keep the key-combo by armanox · · Score: 1

      If it's supported in your kernel. Fedora and Ubuntu kernels, by default, do not (part of why I run my own kernel).

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    7. Re:But pleeeease keep the key-combo by Anonymous Coward · · Score: 0

      hangs the X server

      Why the hell does this problem still exist in 2013? Fuck Linux.

    8. Re:But pleeeease keep the key-combo by Junta · · Score: 1

      You know you don't need to press Ctrl for sysrq combos right?

      --
      XML is like violence. If it doesn't solve the problem, use more.
    9. Re:But pleeeease keep the key-combo by Ostrich25 · · Score: 1

      If it's supported in your kernel. Fedora and Ubuntu kernels, by default, do not (part of why I run my own kernel).

      I'm running Ubuntu Server (precise, 12.04.2 LTS) and SysRq is enabled by default.

    10. Re:But pleeeease keep the key-combo by Ostrich25 · · Score: 1

      You know you don't need to press Ctrl for sysrq combos right?

      You might. For instance, under KDE or Gnome where hitting Alt-Printscreen/Sysrq might just cause a screenshot to be dumped. http://en.wikipedia.org/wiki/Magic_SysRq_key

    11. Re:But pleeeease keep the key-combo by thegarbz · · Score: 1

      Nope, they already took the SysRq key off me. Something to do with removing an unused key from the keyboard.

    12. Re:But pleeeease keep the key-combo by Anonymous Coward · · Score: 0

      I think you are wrong. Check /etc/inittab, VT switching and C-M-del are handled either by init(1) or the kernel, I'm not sure. X has nothing to do with them.

    13. Re:But pleeeease keep the key-combo by Anonymous Coward · · Score: 0

      Yet this is the first thing you have to disable on a multi-seat system because it will bork your system otherwise.

      Which means it is still incredibly useful to 99% of the people.
      Ctrl+Alt+SysRq+R followed by Ctrl+Alt+F1 saved my work so many times, letting me kill one fullscreen X app , restore the resolution , restart the window manager etc etc

    14. Re:But pleeeease keep the key-combo by Anonymous Coward · · Score: 0

      Yea, this is why I don't use Linux. So much insanity, brain damage everywhere.

      I keep seeing idiotic talk about "Layering violations", and yet brain damaged layering violations like X11 have been a standard part of Linux since the early 90s.

    15. Re:But pleeeease keep the key-combo by poizan42 · · Score: 1

      You don't have a PrintScreen key?

    16. Re:But pleeeease keep the key-combo by thegarbz · · Score: 1

      Nope: http://www.pcauthority.com.au/News/164694,lenovo-bucks-tradition-ditches-sysrq-button-on-some-keyboards.aspx

  5. Rule no 1 by Anonymous Coward · · Score: 2, Insightful

    If it works, don't fix it

    1. Re:Rule no 1 by Anonymous Coward · · Score: 2, Funny

      Yeah, but the first rule of Linux is: If it ain't broke, take it apart and compile your own

    2. Re:Rule no 1 by idontgno · · Score: 4, Funny

      If it still works, you haven't fixed it enough.

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
    3. Re:Rule no 1 by ellep · · Score: 2

      If it ain't broken, fix 'till it is. fix some more until it is no longer broken. repeat.

    4. Re:Rule no 1 by Anonymous Coward · · Score: 0

      But it is broken for end users who use international keyboards and maybe don't have access to a text output. They're looking to replace the kernel mode console as the "default", but not remove the kernel version, in case someone needs/wants to use it.

    5. Re:Rule no 1 by hduff · · Score: 1

      Fix it' till it breaks.

      --
      "I believe in Karma. That means I can do bad things to people all day long and I assume they deserve it." : Dogbert
    6. Re:Rule no 1 by msauve · · Score: 1

      If we don't have it, you don't need it. If we can't fix it, we'll fix it so nobody else can.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
    7. Re:Rule no 1 by Anonymous Coward · · Score: 0

      If it works, fix it till it won't.

    8. Re:Rule no 1 by jones_supa · · Score: 2

      If it works, just tune it slightly until it suddenly breaks completely.

  6. It Works. Fuck It Up! by Anonymous Coward · · Score: 4, Insightful

    So, it's relatively unchanged for "two decades". No one is complaining about it. It doesn't really seem to require improvement as it does what it needs to.

    Yea, let's completely gut the system, move it to user space, introduce a metric shit ton of unexpected and undesirable behavior because... Well, Gnome is changing.

    1. Re:It Works. Fuck It Up! by Anonymous Coward · · Score: 0

      With that argument you kill off a lot of innovation. We don't need cars, we had horse buggies for centuries, right?

    2. Re:It Works. Fuck It Up! by 0123456 · · Score: 3

      With that argument you kill off a lot of innovation. We don't need cars, we had horse buggies for centuries, right?

      You didn't cut off your legs when you got a horse. You didn't shoot all the horses when you got a car.

      The console is there to fix the system when someone fscks it up. Making it reliant on a ton of user-space code is a really bad idea.

    3. Re:It Works. Fuck It Up! by Anonymous Coward · · Score: 0

      You didn't shoot all the horses when you got a car.

      Only because I was arrested after the 7th one.

    4. Re:It Works. Fuck It Up! by Anonymous Coward · · Score: 0

      Cars were not invented to kill off horse buggies. They were invented as a better alternative to horse buggies. They displaced horse buggies because they indeed were better. However if they had turned out to be worse, almost no one would have even noticed the invention of the car. Also, there are some cases where horse buggies are still superior (e.g. as tourist attraction), and you still can get a horse buggy for that purpose if you desire. That's because cars didn't replace the horse buggies.

      That's the problem with so many software innovations lately. Instead of telling the user: "Here we have this alternative which we think is better" and then letting the user decide whether he thinks it really is better, they shove the new stuff down the user's throat: "Oh, you want to upgrade your system? Well, than you have to use this great new thing we made for you. Oh, you don't like it? Well, it must be your stupidity, because we do like it, so anyone who doesn't must be a retard. Note that soon we won't support the old stuff any longer even if you don't upgrade. So if you like your system to be secure, you better get used to our new stuff."

      I'm all for new console experiments as long as they keep the kernel console intact at least until the new console has been in productive use for long enough that you can be sure it won't ever make troubles. Heck, make VT1 the kernel console, and VT2 to VT6 new type consoles. Then if you want the power of new type consoles, you just use one of VT2 to VT6, but if something is seriously fucked up, you can return to the old, featureless but rock stable kernel console on VT1.

    5. Re:It Works. Fuck It Up! by ArsonSmith · · Score: 1

      "It ain't broke so don't fix it." is a good rule to live by in a production environment. In development/in innovation you have to look at everything and think, "can it be better?"

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    6. Re:It Works. Fuck It Up! by Midnight+Thunder · · Score: 2

      If we took this attitude for everything, then we would still be banging rocks, because they work fine.

      At this point let the guys demonstrate their concept and see how well it works. A compromise could be simply to keep a minimal set of TTY devices for situations where userspace royally failed. It should be noted that for a good number of cases if userspace royally screwed up, then it is time for a reboot anyhow.

      --
      Jumpstart the tartan drive.
    7. Re:It Works. Fuck It Up! by petermgreen · · Score: 1

      The problem comes when the people in charge think something is better and it gets pushed on others even though they disagree about it being better. We have seen this happen sufficiently often with software (both open and closed source) recently that whenever something like this is announced we fear it happening again.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    8. Re:It Works. Fuck It Up! by Anonymous Coward · · Score: 0

      You didn't shoot all the horses when you got a car.

      Right. We put them in burgers instead.

    9. Re:It Works. Fuck It Up! by Chris+Mattern · · Score: 2

      In development/in innovation you have to look at everything and think, "can it be better?"

      And that's fine, as long as you accept that at least sometimes, the answer is "No."

    10. Re:It Works. Fuck It Up! by AwesomeMcgee · · Score: 1

      I'm ok with that.

    11. Re:It Works. Fuck It Up! by lister+king+of+smeg · · Score: 1

      if the user space can be fixed with a few terminal commands though why would you reboot?

      --
      ---Saying gnome 3 is better than windows 8 not so much a compliment as it is damning with light praise.
    12. Re:It Works. Fuck It Up! by Midnight+Thunder · · Score: 1

      What I meant, is that given certain usage scenarios, such as with a desktop, the user may opt for what is easier to them: a reboot.

      --
      Jumpstart the tartan drive.
    13. Re:It Works. Fuck It Up! by Wolfrider · · Score: 1

      > Heck, make VT1 the kernel console, and VT2 to VT6 new type consoles. Then if you want the power of new type consoles, you just use one of VT2 to VT6, but if something is seriously fucked up, you can return to the old, featureless but rock stable kernel console on VT1.

      --Now that's not a bad idea, I like that. I do something similar already - switch tty2-4 to mingetty, turn off all other tty consoles except tty1, and leave tty1 as regular getty.

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    14. Re:It Works. Fuck It Up! by CaseCrash · · Score: 1
      I have been using Windows for too long, as this sentence makes way more sense to me as:

      if the user space can be fixed with a reboot though why would you use a few terminal commands?

      --
      No, that link you posted to a web comic we've all seen a hundred times is not "obligatory."
    15. Re:It Works. Fuck It Up! by Anonymous Coward · · Score: 0

      Yep. It's the Bus to Abilene syndrome. The Linux desktop software bus is halfway to Abilene now and 2/3 of the passengers have no desire whatsoever to go there.

    16. Re:It Works. Fuck It Up! by fikx · · Score: 1

      you do realize when you talk about kernel changes, only the kernel developers themselves are working in a development environment, right? Production is everyone USING the OS (anyone from the average computer user , computer builders, installers, IT support , etc.) are production uses when it comes to an OS.

      --
      AB HOC POSSUM VIDERE DOMUM TUUM
    17. Re:It Works. Fuck It Up! by ArsonSmith · · Score: 1

      Sure, but that's almost never.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    18. Re:It Works. Fuck It Up! by ArsonSmith · · Score: 1

      So they should avoid the kernels with the new console support until it is on par or better than the current offerings. Quite simple actually.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    19. Re:It Works. Fuck It Up! by Anonymous Coward · · Score: 0

      This is the problem with Linux, a bunch of neckbeards living in their mom basement, complaining that we should never get Linux to innovate.

      Fuck you smelly neckbeards! Go get a shower or something.

  7. Re:good thinking HA! by Anonymous Coward · · Score: 5, Funny

    This could be an essential part of GNOME 3!

  8. Re:good thinking HA! by squiggleslash · · Score: 1

    I generally agree although I also don't think it needs to be quite as sophisticated as it is. But that said, answering my own criticism, does supporting multiple character sets, colors, and screen sizes really add so much bloat it'd be worth stripping it down?

    --
    You are not alone. This is not normal. None of this is normal.
  9. Leave in fallback support! by Anonymous Coward · · Score: 0

    I'm guessing it has not changed much because it's simple well understood. If you need more than a bare console I suppose most assume you'll jump to a more advanced environment (X) that already has hardware accell, fancy fonts, high res, unicode support, etc.

    Although it seems a lot of the console's limitation's stem from the fact it was written to accommodate lowest common denominator hardware support for 386 PCs. (MCA/CGA/VGA text modes) These modes are still present in even new PCs, but not on anything that's not a PC.. All non-pcs use some sort of framebuffer console anyway. Most new PC based distros seem to use the framebuffer console too, because it allows for more fonts and higher resolutions (meaning more, longer lines on the screen and a more clean appearance)

    A fancy console would be nice as long as you can fall back to the old one. I'd hate to be locked out of a systems because some random video driver issue, font issue, unicode issue, or input device issue broke the new one.

    Also make sure you're not dupilcating effort. If you're going to put the console in userland anyway, maybe make is share bits with your GUI.

    1. Re:Leave in fallback support! by dolmen.fr · · Score: 1

      A fancy console would be nice as long as you can fall back to the old one. I'd hate to be locked out of a systems because some random video driver issue, font issue, unicode issue, or input device issue broke the new one.

      It can already fail for such reason.
      However what could change is that the userspace console process could be killed by the OOM Killer.

      Also make sure you're not dupilcating effort. If you're going to put the console in userland anyway, maybe make is share bits with your GUI.

      There is effectively some potiential for better integration. What about a console running over Wayland?

    2. Re:Leave in fallback support! by dolmen.fr · · Score: 1

      I'm guessing it has not changed much because it's simple well understood.

      RTFA: "it's a user-interface in kernel-space, the code is poorly maintained, handles keyboards badly [...]"

    3. Re:Leave in fallback support! by Anonymous Coward · · Score: 0

      It's been handling my keyboards perfectly for decades.

  10. I Can't Wait by Anonymous Coward · · Score: 4, Funny

    I can;t wait to hear Linus' response to this plan. I expect it to be something like...

    How 'bout noh! You crazy Dutch bastard.

    1. Re:I Can't Wait by Anonymous Coward · · Score: 0

      Fuck Linus.

  11. Uh by christurkel · · Score: 4, Insightful

    a hardware-accelerated console

    Why?

    --

    CDE open sourced! https://sourceforge.net/projects/cdesktopenv/
    1. Re:Uh by gabereiser · · Score: 1

      mainly for screen-size detection and auto-kerning and smooth font support I'm guessing...

    2. Re:Uh by Anonymous Coward · · Score: 1

      Because I like my serial console with crisper text thanks to gold plated conectors and Monster cables.

    3. Re:Uh by msauve · · Score: 1

      ...because displaying dmesg output in Comic Sans is so useful when trying to fix a low level system issue.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
    4. Re:Uh by EnsilZah · · Score: 1

      Multitouch onscreen keyboard in Stereoscopic 3D, it's like, the future, man.

    5. Re:Uh by Anonymous Coward · · Score: 0

      Otherwise it won't have enough performance for systemd.

    6. Re:Uh by cozziewozzie · · Score: 2

      Because the KMS terminal is so slow that anything that outputs stdout or stderr to it will slow down by orders of magnitude.

      Note -- the old-style VGA console was HW-accelerated. This is what you get if you use binary blob drivers. The new console, using kernel modesetting and native resolution, isn't. Try compiling something large with lots of console output on a KMS framebuffer. It absolutely hurts.

    7. Re:Uh by rrohbeck · · Score: 1

      One thing I hate about the console is that it's slow.

      If you have a driver or piece of HW that misbehaves so lots of kernel messages are printed, scrolling the console screen becomes a bottleneck and the system becomes unresponsive. I've had cases where it took over a half hour to shut down. End users will typically be less patient.

    8. Re:Uh by AwesomeMcgee · · Score: 1

      Could you imagine actually having your terminal displayed in stereoscopic 3D? Watching your DMESG print up all sticking out 3 feet off your screen in your face. I totally disagree with what this dude is doing, but that aside; that would just be totally fucking cool. :D

    9. Re:Uh by gabereiser · · Score: 1

      omg i just had a visual of trying to parse output being printed on screen in 18pt. Comic Sans, nice, thanks for the nightmares for the next few days...

    10. Re:Uh by operagost · · Score: 1

      No deal unless I can use Papyrus!

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    11. Re:Uh by TeknoHog · · Score: 1

      It's a UNIX system! I know this!

      --
      Escher was the first MC and Giger invented the HR department.
    12. Re:Uh by thegarbz · · Score: 1

      Because the console is SLOOOOOOOOOOOW! Very slow. For fast outputs it's a massive bottle neck. You can try this yourself. Time how long it takes to run 'find' from the system root vs running 'find > ~/output.txt'.

    13. Re:Uh by Jonner · · Score: 1

      a hardware-accelerated console

      Why?

      Because the current one is butt slow on anything higher than VGA resolution.

  12. QUICKLY EVERYONE by Anonymous Coward · · Score: 0

    It's new and you don't understand it - YOU MUST DERIDE AT ALL COSTS

    1. Re:QUICKLY EVERYONE by Anonymous Coward · · Score: 0

      It's new and shiny! No time to think about the tradeoffs, let's fap until we die of dehydration!

    2. Re:QUICKLY EVERYONE by Anonymous Coward · · Score: 0

      No, you obviously don't understand it. If you did you would instantly see why this is an abysmally bad idea. If people want a pretty terminal, use X. Hell, you can strip X down to run only your chosen app, in this case a terminal emulator. This whole, "Let's burn all of the old, to INNOVATE!" is ridiculous. How about we don't break what is not broken and move forward intelligently and avoid creating unneeded issues and derailing innovation with bad practices? Following the old and boring careful professional practices got Linux where it is today. The perfect example is Gnome, while never perfect it was rather decent. Then the devs decided to start removing things that would "confuse" the users, then at one point they lost their collective minds and jumped on the "innovate at all costs" bandwagon and we ended up with Gnome 3. Programming is not suited to the next coolest thing, it is more suited to the next good thing.

    3. Re:QUICKLY EVERYONE by Goaway · · Score: 2

      Slashdot: News for Luddites, stuff that scares us.

    4. Re:QUICKLY EVERYONE by Anonymous Coward · · Score: 0

      What I don't understand is how you think. Apparently you're of the belief that because someone is planning an experiment to see if he has a useful idea, you've somehow lost something. It's bizarrely counter to the spirit of open source, and it's annoyingly retarded to have to put up with on a site that supposedly attracts intelligent people.

  13. Re:good thinking HA! by Jawnn · · Score: 1

    making console depend on layers of complexity in user space, yeah that'll all be there when things go south.... the console is there for emergencies, needs to depend on as little as possibile

    Ain't broke. Nuff said. Okay..., maybe not quite, but let's solve the problem(s) without creating new ones. And yes, busting the console most definitely will create problems.

  14. My Console!? by Anonymous Coward · · Score: 0

    You can take my console when you pry it from my cold dead hands!

    Seriously, keep your hands off my console!

  15. Wrong Analogy by Anonymous Coward · · Score: 3, Informative

    Good troll, but the better analogy would be car steering wheels haven't changed in decades. They're all round and don't come in many colors or properly support knee control. So, I want to move them into the back seat so they don't get in the way.

    1. Re:Wrong Analogy by Alioth · · Score: 1

      No! The Austin Allegro had a square steering wheel.

    2. Re:Wrong Analogy by Qzukk · · Score: 2

      Amusingly, a century ago the complaint was that "tillers worked just fine for steering boats so why change things?" so the first cars were steered by tiller.

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    3. Re:Wrong Analogy by 0123456 · · Score: 1

      If I remember correctly, comparative studies have shown that a joystick is a better way to steer a car than a steering wheel. So they were probably right.

    4. Re:Wrong Analogy by ultranova · · Score: 1

      If I remember correctly, comparative studies have shown that a joystick is a better way to steer a car than a steering wheel.

      A joystic is less accurate due to smaller range of motion, more prone to getting spurious input due to small muscle spasm or simply g-forces, and less reliable than a steering wheels due to the lack of mechanical connection to the wheels. On the other hand, it looks cooler, for some definitions of cool. So it's not better, but it is "better".

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    5. Re:Wrong Analogy by MightyYar · · Score: 2

      Why would a joystick need to be 1:1 with the mechanical system? Surely some form of damping would address the spurious input. And as for g-forces... fighter jets have joysticks!

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    6. Re:Wrong Analogy by Anonymous Coward · · Score: 0

      "Less accurate due to a smaller range of motion" seems to contradict the actual trend in steering wheels both over time and in comparison at any given time between standard and high-performance vehicles -- less range of motion is a common change on both scales. What you say might be true in some context, but it's clearly not reflected in what people actually want on their cars, including professional drivers.

      Also "less reliable...mechanical connection" works both ways. Yes, it protects you against an electrical failure. But it also makes you vulnerable to mechanical failures. And while it's possible to install multiple sensors and electrical systems in a joystick to provide backups there's no way to install more than one mechanical linkage in a steering wheel.

  16. Look at the details, this is a joke by advid.net · · Score: 2

    When I read "a hardware-accelerated console" I though that it must be a joke. This whole story.
    Bravo! He made it on /. headlines...
    (otherwise this kind of idea could have made me feel quite anxious)

    1. Re:Look at the details, this is a joke by ultrasawblade · · Score: 4, Informative

      The VT console has been "hardware accelerated" under x86/VGA for years. You don't think it's actually copying memory line for line when it needs to scroll the screen, do you? No, it's incrementing the VGA register that tells it what memory address to start drawing text from.

    2. Re:Look at the details, this is a joke by KiloByte · · Score: 1

      Back in the days of CGA we had a hardware-accelerated console. We do have it to this day, as long as framebuffer is not involved. I've seen a server that takes around a whole booping second to switch VTs. Displaying a screenful of text wasn't pleasant, either.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    3. Re:Look at the details, this is a joke by rrohbeck · · Score: 1

      At least on primitive VGA subsystems like the ones you see on servers because they're integrated with the BMC for IPMI, yes, it's clearly copying memory. They often scroll only around 20 to 50 lines per second.

    4. Re:Look at the details, this is a joke by VortexCortex · · Score: 1

      Wellll, actually, it's doing that, but the BIOS software is emulating the legacy behavior you see.

    5. Re:Look at the details, this is a joke by rrohbeck · · Score: 1

      P.S. in graphics mode - 80x25 text is fast of course.

  17. Re:good thinking HA! by ezdiy · · Score: 1

    Amen. Probably to have best of both worlds - keep minimal dumb terminal (think serial tty or basic 80x25 text) for such emergencies. init=/bin/sh is a nice thing to have.

  18. Noob me? by xonen · · Score: 2

    Learned something new today - because, until now i was always assuming the console already did run in user space, and was as friendly to print kernel messages.

    --
    A glitch a day keeps the bugs away.
  19. You must be stupid, stupid, stupid by fnj · · Score: 2, Insightful

    The linux kernel console; a lightweight, lightning-fast TEXT console not depending on X or anything else. Who needs it, eh? Are you kidding me? This is an imbecilic idea. If you must have pointless cruft like this, add it IN ADDITION to what has ALWAYS worked perfectly, is super reliable, and super simple. Hopefully set it up so that any mature user can leave this garbage out of his system.

    This is just a continuation of the systemd, Gnome 3 type of insanity.

    The way things are going, BSD, here I come. An OS by adults, for adults, not a would-be Windows me-too with stupid people gradually one-by-one breaking everything that has made linux great - up until now.

    1. Re:You must be stupid, stupid, stupid by Anonymous Coward · · Score: 0

      Don't you mean Ubuntu? Alan Cox, the recent maintainer of the network stack for the Linux kernel, threw Fedora out the window with its latest round of Gnome g-nuttiness and systemd system-dithering and has hopped over to Ubuntu.

    2. Re:You must be stupid, stupid, stupid by PRMan · · Score: 1, Interesting

      Seriously. What's with this new generation that has to force their way or the highway on the world? Every new piece of software that comes out forces you to do things you don't want. Now they're trying to turn Linux into Windows 8.

      --
      Peter predicted that you would "deliberately forget" creation 2000 years ago...
    3. Re:You must be stupid, stupid, stupid by Anonymous Coward · · Score: 0

      Overreacting much?

      People bitch all the freaking time about changes coming into the Linux world but as the whole open source philosophy goes - surprise surprise - the environment adjusts!

      Take Gnome 3 which is the worst example ever of changing for the sake of change: Didn't Cinnamon emerge because the new UI was hideous?

      Geez- you sound like those assholes in private clubs about paintbrushing left eyebrow with paint #1233.

    4. Re:You must be stupid, stupid, stupid by drinkypoo · · Score: 1

      The linux kernel console; a lightweight, lightning-fast TEXT console not depending on X or anything else.

      The linux console is slow as hell. This does not distinguish it from other consoles throughout history or in the present day, except that it actually makes it substantially faster than the average Sun console. And that idea is probably out of data, I know it was on Solaris-x86, where it was approximately as slow.

      With that said, while I'd like to see a faster console, I don't require more functionality from it.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    5. Re:You must be stupid, stupid, stupid by cozziewozzie · · Score: 1

      The linux kernel console; a lightweight, lightning-fast TEXT console not depending on X or anything else.

      I guess that you don't use Linux drivers, but rely on third party blobs.

      Ever since Linux switched to kernel-based modesetting, the console has switched to a framebuffer console. No accelerated VGA text mode, but pixel blitting.

      It is painfully slow.

      If you must have pointless cruft like this, add it IN ADDITION to what has ALWAYS worked perfectly, is super reliable, and super simple.

      It is fundamentally broken in many scenarios, like multi-seat. I canot use Linux console, for example, because it is not multi-seat aware. It is not only not reliable, it will bork your system because it accepts all keyboard input.

    6. Re:You must be stupid, stupid, stupid by AwesomeMcgee · · Score: 0

      Trying? Sorry, they won the war in the mid-thousands when linux became trendy so the hipsters came over but decided it was hard and so they remodeled it in the image of what they're used to. Now it's like some half-windows-half-mac cluster. Works well I'm not complaining, but it has gone so far off the highway from it's initial purpose it's hilarious. BSD is the only real option anymore that is still fullfilling the idea of "a bunch of independent pieces that work on their own". Linux is now one big thing that works altogether, and if all pieces of the system aren't working in lock-step huge portions of it will come crashing down (even including the console soon). Just like windows. Just like mac. Whatever, it's a good OS just like windows and just like macOS, but it's no longer a purpose-built OS for stability and modularity like it was. Nowadays if you want a different desktop environment you need a completely different distro for it to work. Just let that fact sink in, and remember what changing desktop-environments meant back around '99. The war was lost, only BSD is left standing; and only because it isn't trendy since the hipsters presume it's just like linux so they don't bother.

    7. Re:You must be stupid, stupid, stupid by aztracker1 · · Score: 1

      This isn't so much that... I think the step of moving the console itself out of the kernel can be beneficial... even if it didn't increase in functionality. In embedded devices, you don't need the kernel to interpret vt-* commands to the screen, if you're using a serial connection... on a local system, you can still isolate the portion of the console running independent of other code.

      Given how much linux deployments are in embedded, and otherwise headless systems, it does make sense to move the UI out of kernel space. Or should we move X into the kernel too? (It's a stupid argument to make.) The point is, the kernel really doesn't *need* core console output *IN* the kernel. I would think that you could keep a stripped console (similar to the current one) in user space, so that it isn't loaded if unused/un-needed or even deployed in the case of a router.

      --
      Michael J. Ryan - tracker1.info
    8. Re:You must be stupid, stupid, stupid by bill_mcgonigle · · Score: 1

      threw Fedora out the window with its latest round of Gnome g-nuttiness and systemd system-dithering and has hopped over to Ubuntu.

      You're a bit behind the times - the state of Fedora was enough to make Cox switch to Ubuntu. The state of Ubuntu was enough to make Cox quit linux kernel development entirely.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    9. Re:You must be stupid, stupid, stupid by bill_mcgonigle · · Score: 1

      systemd

      I'm fairly ambivalent about systemd. I don't see a good way to do parallel startups with shell scripts, but doing it in C really limits the good things that can be done with it.

      What are your objections to systemd and what are better options?

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    10. Re:You must be stupid, stupid, stupid by Anonymous Coward · · Score: 0

      Nowadays if you want a different desktop environment you need a completely different distro for it to work.

      Ugh.. you are sooooo wrong! When last I looked, at least with Fedora you had your choice of KDE, Gnome, Xfce, LXDE, MATE and a few others. Or like me, you can install ALL of them and select at login, from sessions, which you wish to be running. Let me look...yes you can do the same with OpenSuSE, Mint? Yes same with ment. I don't run Ubuntu, so someone else will have to answer for them. Does Ubuntu limit you to Unity with no option of installing other desktops?

      Oh yes each has it's default choice...but guess what...you have the ability to add and run what ever you want! Unlike Windows or OSx where what you see is what you get with no other options.

    11. Re:You must be stupid, stupid, stupid by Anonymous Coward · · Score: 0

      It does not work perfectly. Try a non-latin or non-keyboard input with no text output support platform.

      I agree, it works great for English speaking PC users, but what about the rest of the world?

    12. Re:You must be stupid, stupid, stupid by fnj · · Score: 1

      Ugh.. you are sooooo wrong! When last I looked, at least with Fedora you had your choice of KDE, Gnome, Xfce, LXDE, MATE and a few others. Or like me, you can install ALL of them and select at login, from sessions, which you wish to be running. Let me look...yes you can do the same with OpenSuSE, Mint? Yes same with ment. I don't run Ubuntu, so someone else will have to answer for them. Does Ubuntu limit you to Unity with no option of installing other desktops?

      I can confirm this. I did exactly the same thing back when I still used Fedora. It's just yum install. With RHEL 6, which I have since adopted long term, it's not quite as rosy; they are not all there in the native repos, but you can definitely have both Gnome 2 and KDE, with Xfce being a little more work, with an add-on repo being necessary. In Ubuntu you're not stuck with the default Unity either; I know you can install Gnome 3, KDE, and Xfce; probably others - without even resorting to the specials variants kubuntu, xubuntu, etc. It's just apt-get install.

      Arch is probably the most agnostic of all full-fledged distros with binary packages. It doesn't even have a "default" DE[*]. To get any DE, you have to pacman -S, and you pick what you want.

      ~~~~~~~

      [*] Or an install program either, for that matter - you have to follow a cookbook issuing manual commands to a root prompt - but that's another story.

    13. Re:You must be stupid, stupid, stupid by fnj · · Score: 1

      The linux console is slow as hell.

      Bull. If yours is any less than lightning fast, there is something terribly wrong with your video card or vesa support. It's definitely not the linux console code.

    14. Re:You must be stupid, stupid, stupid by fnj · · Score: 1

      I guess that you don't use Linux drivers, but rely on third party blobs.

      Nope. Lock stock Intel drivers on RHEL 6.

      It is painfully slow.

      Mine isn't. Proving it's not the linux console code itself. Looks like a driver issue.

      I canot use Linux console, for example, because it is not multi-seat aware.

      Then you have a problem, and I have no problem with adding the capability, and categorically do not begrudge the initiative - but NOT INSTEAD of the real console - in addition. Meanwhile, for the 99.9% of us who are not dealing with multiseat, we don't have any problem as is.

    15. Re:You must be stupid, stupid, stupid by fnj · · Score: 1

      Objections are the utter lack of necessity for lightning fast boot sequence, obscurity of configuration, obsoletion of a huge body of existing init scripts, difficulty of troubleshooting, susceptibility to crashing, and the move to making it a prerequisite to the DE.

      If I had to sum it up, I would say utterly unnecessary gross complication.

    16. Re:You must be stupid, stupid, stupid by fnj · · Score: 1

      It does not work perfectly. Try a non-latin or non-keyboard input with no text output support platform.

      Personally I couldn't care less about any of those things. I recognize there are those who do, and I have no problem with adding something for them, but please DON'T take mine away.

      I agree, it works great for English speaking PC users, but what about the rest of the world?

      I recognize the tower of babel problem. Beyond giving these users their own parallel facilities as mentioned above, I could in the long range suggest that a common language for the world; at the very least the technical world; should be the goal. Naturally, I agree with the airlines that that common language should be English :-)

    17. Re:You must be stupid, stupid, stupid by drinkypoo · · Score: 1

      Bull. If yours is any less than lightning fast, there is something terribly wrong with your video card or vesa support. It's definitely not the linux console code.

      There's nothing wrong with my video card or my vesa support. It's a well-known fact that linux console output is vastly slower than, say, xterm output. Or, for that matter, gnome-terminal.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    18. Re:You must be stupid, stupid, stupid by cozziewozzie · · Score: 1

      Mine isn't. Proving it's not the linux console code itself. Looks like a driver issue.

      If it is the KMS-based console, then it's framebuffer-based and not text console. And speed is a subjective impression. Try timing a large compile job with and without console output.

    19. Re:You must be stupid, stupid, stupid by Anonymous Coward · · Score: 0

      Amen! Thanks!

    20. Re:You must be stupid, stupid, stupid by CajunArson · · Score: 2

      You're flat-out wrong with calling the standard console "ultra-fast"

      Wall-clock time to run "tree" on 152,724 files on my Arch system (repeated runs were made for each technique to ensure consistency):

            1. Using the supposedly bloated & slow Konsole under KDE: 1.8 - 1.9 seconds.

            2. Using the supposedly "ultra-fast" kernel konsole: 12.7 - 12.8 seconds.

      --
      AntiFA: An abbreviation for Anti First Amendment.
    21. Re:You must be stupid, stupid, stupid by siride · · Score: 1

      Nearly everything you said is wrong. You can use old shell scripts if you want (and some distros do just this), I've never seen it crash, it doesn't have to have anything to do with the DE and configuration is blindingly simple, unlike SysV, which I guess doesn't really have any standard configuration (and thus is, in fact, extremely obscure).

    22. Re:You must be stupid, stupid, stupid by Anonymous Coward · · Score: 0

      No shit, you can already compile out the VGA console. Thse assholes are talking about dropping it entirely, no one wants this, but Canonical and Redhat are going to force this shit on us, just like dbus, hal, udev, systemd, uinput, grub2, etc, etc.

  20. No by TBedsaul · · Score: 1

    No. Step away from the console.

  21. Re:good thinking HA! by Skapare · · Score: 2

    I suggest 2 different consoles, neither of which would need to be there for the kernel to do it's thing of running user space processes. One would be an optional in-the-kernel console complete with an in-the-kernel shell. Trim down it's capability and keep it small. The other would be an optional all-user-space console which can use the many user-space shells we already have, or any other program we want. PTY's definitely need to be pure user-space.

    --
    now we need to go OSS in diesel cars
  22. Re:good thinking HA! by rubycodez · · Score: 4, Funny

    I think it should require Unity and a touchscreen

  23. Re:good thinking HA! by rubycodez · · Score: 1

    had funny thought, this might work in MINIX kernel architecture, but not monolithic one

  24. Re:good thinking HA! by greg1104 · · Score: 4, Funny

    I await the new console with gesture support. There is one gesture I regularly make to systems that are so broken I have to use the console.

  25. Re: offcourse by jabberw0k · · Score: 2

    Off-course like the Costa Concordia?

  26. If you aren't using a serial port by ultrasawblade · · Score: 3, Informative

    then you aren't really using a "failsafe" console. Even Windows has this with it's "Special Administration Console" / "Emergency Management Services."

    When I was building custom kernels for my server I would remove the VT support. Pure serial.

    So I don't care. Sounds good from a design standpoint. Should have the least in the kernel possible - simple = robust.

    1. Re:If you aren't using a serial port by Anonymous Coward · · Score: 0

      bullshit. Why remove something useful and simple to use what will save you in 90% of all lockups because you also have something which is complicated to use but save you in 95% of the cases? Why not have both?

  27. What exact problem is this trying to solve? by idontgno · · Score: 5, Insightful

    From TFA (to save your delicate eyes from the indignity of RTFA):

    Among his principal complaints about the current terminal is that it's a user-interface in kernel-space, the code is poorly maintained, handles keyboards badly, produces bad font rendering, misses out on mode-setting and multi-head support, contains no multi-seat awareness, and only has limited hot-plugging handling, limited to VT102 compliance.

    Let's look at this one item at a time.

    1. "user-interface in kernel-space": Is this a philosophical objection? I'd argue that depending completely on userspace for system restoration is basically giving up on many classes of system problems. If you don't have user interaction at the kernel level, your only response to certain problems is reduced to "burn it down and rebuild it, lol". If you're all VM, sure, go nuts. But VM isn't universal, and restructuring Linux to only be usable in VM environments only is just foolish and shortsighted.
    2. "code is poorly maintained": [Citation needed]. Is the complaint that it hasn't had commits in a while? Maybe because it's not broke? Simple capability with simple requirements probably attained stable maturity years ago. Maybe the committers should toss in a few random code restructures to make it look like someone cares.
    3. "handles keyboards badly": Does it drop keystrokes? If it doesn't do that, there's absolutely no rational basis for this complaint. Maybe baby wants his arrow keys, or non-ASCII character set? Screw that. This is a console. Use vi commands like a grownup. And you don't need your umlauts and accents. The commands are all composed of ASCII characters. If you're reduced to using the console, internationalization is the least of your problems.
    4. "produces bad font rendering": "bad font rendering?" "BAD FONT RENDERING?" Seriously? "It's not pretty enough?" I'm not even gonna address this drivel.
    5. "misses out on mode-setting and multi-head support": Guess what. There is exactly ONE CONSOLE. It's for the use of ONE ADMINISTRATOR to restore function to a system which can't otherwise run in multi-head, multi-user modes. Not a problem.
    6. "contains no multi-seat awareness": While you're at it, please complain that cars don't have multiple drivers' seats.
    7. "limited hot-plugging handling": Interestingly, when system consoles were serial terminals like God intended, hot-plugging was a non-problem, since EIA RS-232 specifications meant that you could hot-plug serial cabling to your heart's content. Maybe thats' where the solution to this "problem" properly lies?
    8. "limited to VT102 compliance": Oh, I'm so sorry it doesn't include your favorite terminal emulation. But it's good enough to run vi (properly statically linked, in /sbin), and that's as close to a GUI you'll ever get in system recovery operations. so, um, NO.
    --
    Welcome to the Panopticon. Used to be a prison, now it's your home.
    1. Re:What exact problem is this trying to solve? by Anonymous Coward · · Score: 0

      tl;dr version:

      The gnome generation... :/

    2. Re:What exact problem is this trying to solve? by psmears · · Score: 3, Informative

      "handles keyboards badly": Does it drop keystrokes? If it doesn't do that, there's absolutely no rational basis for this complaint. Maybe baby wants his arrow keys, or non-ASCII character set? Screw that. This is a console. Use vi commands like a grownup.

      Maybe the user wants to get the ">" symbol on pressing the ">" key. Which is different on different keyboard layouts. Doesn't seem too unreasonable...

      And you don't need your umlauts and accents. The commands are all composed of ASCII characters.

      ... but the filenames aren't. When you're trying to free up vital disk space by deleting hügë_fïlë.jpg, wouldn't it be handy to be able to type its filename?

    3. Re:What exact problem is this trying to solve? by SuricouRaven · · Score: 1

      I can imagine some sneaky user putting a huge file in and spelling it with homoglyphs, just to annoy the admins. Added bonus if you find a way to mess with GUI tools too - eg, placing two files with the same name in different case in a folder where the admin habitually uses Windows to modify it.

    4. Re:What exact problem is this trying to solve? by Anonymous Coward · · Score: 1

      The Linux console can already set the key map from user space. man loadkeys.

    5. Re:What exact problem is this trying to solve? by Kjella · · Score: 2

      "handles keyboards badly": Does it drop keystrokes? If it doesn't do that, there's absolutely no rational basis for this complaint. Maybe baby wants his arrow keys, or non-ASCII character set? Screw that. This is a console. Use vi commands like a grownup. And you don't need your umlauts and accents. The commands are all composed of ASCII characters. If you're reduced to using the console, internationalization is the least of your problems.

      At least some keyboard layouts rearrange the ASCII letters as well, Germany, Austria, Switzerland Serbia, Montenegro, Croatia, Slovenia, Bosnia-Herzegovina, Hungary, France, Belgium and Lithuania at least - usually just a few letters. What is more important is that all sorts of things like parentheses, slashes, quotation marks, question marks, asterisk, equals sign, colon, semicolon, piping etc. all change places for a lot more countries like us here in Norway, because we've made room on the far right for ÆØÅ so the other punctuation must be pushed around. Being able to set a keyboard mapping is the minimum I'd expect even from an emergency recovery console in 2013.

      --
      Live today, because you never know what tomorrow brings
    6. Re:What exact problem is this trying to solve? by psmears · · Score: 1

      Yes, I know, but the claim is that its keyboard handling is less than perfect. I don't know the details of that; I was merely making the point that "just use ASCII" isn't enough to mean you don't need to worry about keyboard mappings.

    7. Re:What exact problem is this trying to solve? by Anonymous Coward · · Score: 1

      "user-interface in kernel-space": Is this a philosophical objection? I'd argue that depending completely on userspace for system restoration is basically giving up on many classes of system problems.

      Well.. without a userspace shell on that console, you aren't going to be doing much restoration at all, just viewing kernel messages.

      My problem is while UNIX was designed as a multi-user operating system, it was not designed for having this critical system infrastructure in userspace.
      I mean the whole creating a unique system account for each process, giving it a broken shell, giving it no home directory, sort of hoping you don't find files owned as such user with no built in way of preventing that. ... Mucking with its priority because it's scheduled with actual USER processes... and disk or net throughput and quotas, memory quotas, etc.. then mandatory access controls?

      I know some of you just see that as derp service account derp, but maybe you're thinking of a different OS because in Linux these are just a regular user-as-in-human-being account with a long, long list of hacks that are meant to protect userspace from an individual user, not a whole class of system processes from _all_ of real user-as-in-person-pace.

      There really ought to be two levels of userspace IMHO... before more critical stuff comes out of the kernel.

    8. Re:What exact problem is this trying to solve? by Anonymous Coward · · Score: 0

      Wut?
      please "man 1 loadkeys" and get off my lawn!
      It has always worked when I needed a console, and if it did not it would be the least of your problems.

    9. Re:What exact problem is this trying to solve? by ultranova · · Score: 1

      When you're trying to free up vital disk space by deleting hügÃ_fÃlÃ.jpg, wouldn't it be handy to be able to type its filename?

      Is it actually impossible to type in umlauts? Or does the console simply not show them correctly?

      Besides, doesn't ext2/3 reserve some disk space for the root by default? 5% if memory serves. Enough to get userspace - even X - running, at the very least.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    10. Re:What exact problem is this trying to solve? by Anonymous Coward · · Score: 0

      Mod parent up!!!...this is insanity. All these folks who are trying to turn Linux into Windows seriously need to FOAD.

    11. Re:What exact problem is this trying to solve? by Anonymous Coward · · Score: 0

      Sounds like a "first world problem" to me.

    12. Re:What exact problem is this trying to solve? by Anonymous Coward · · Score: 0

      find /home/idiot -size +500000 -exec rm -rf {} \;

    13. Re:What exact problem is this trying to solve? by Anonymous Coward · · Score: 0

      feel free to remove the recursion and add a "-type f" there too, if you want. or put it in a loop and make each delete interactive. But but but...there's no easy way to do this without giving me every character known to man while on the console!!!!!! Or something.

    14. Re:What exact problem is this trying to solve? by Anonymous Coward · · Score: 0

      1. You should have consulted a table of Linux-compatible keyboards before you bought your keyboard.

      2. Putting non-ASCII characters in filenames is an even worse idea than putting spaces in filenames. Don't do it, and you won't have problems.

      3. This is why your shell has wildcards.

    15. Re:What exact problem is this trying to solve? by SigmundFloyd · · Score: 1

      Being able to set a keyboard mapping is the minimum I'd expect even from an emergency recovery console in 2013.

      I've been doing that for years before 2013. Not to mention:

      1. - exchanging the caps-lock and escape keys;
      2. - setting up the console to use UTF-8 to get all the accented characters I'll ever need, plus the Euro sign;
      3. - setting up "dead" keys to accent/modify the next typed character;
      4. - setting up a "combination" key to join the next 2 typed characters into a single approximation;
      5. - using the very nice Terminus bitmap font in place of the default VGA font;
      6. - setting up the colors for green on black (or yellow on black, or white on blue, or...);
      7. - using a blinking block cursor instead of the default blinking underscore.

      The Linux console has been doing all of the above (and more) for years. Remember, kids: Real geeks read the docs!

      --
      Knowledge is power; knowledge shared is power lost.
    16. Re:What exact problem is this trying to solve? by Anonymous Coward · · Score: 0

      First note that CONFIG_VT likely remains possibility to include in-kernel for a while even when other cases are supported in userspace: you are rushing to conclusions here..

      From TFA (to save your delicate eyes from the indignity of RTFA):

      Among his principal complaints about the current terminal is that it's a user-interface in kernel-space, the code is poorly maintained, handles keyboards badly, produces bad font rendering, misses out on mode-setting and multi-head support, contains no multi-seat awareness, and only has limited hot-plugging handling, limited to VT102 compliance.

      Let's look at this one item at a time.

      1. "user-interface in kernel-space": Is this a philosophical objection? I'd argue that depending completely on userspace for system restoration is basically giving up on many classes of system problems. If you don't have user interaction at the kernel level, your only response to certain problems is reduced to "burn it down and rebuild it, lol". If you're all VM, sure, go nuts. But VM isn't universal, and restructuring Linux to only be usable in VM environments only is just foolish and shortsighted.

      From security-standpoint it would be simpler to secure if console was not in kernel-space as it is "priviledged" code there. That is all.

      1. "code is poorly maintained": [Citation needed]. Is the complaint that it hasn't had commits in a while? Maybe because it's not broke? Simple capability with simple requirements probably attained stable maturity years ago. Maybe the committers should toss in a few random code restructures to make it look like someone cares.

      It has been horrible mess of locking problems for ages and no-one has dared touch it due to lack of alternatives. Now there are alternatives at least..

      1. "handles keyboards badly": Does it drop keystrokes? If it doesn't do that, there's absolutely no rational basis for this complaint. Maybe baby wants his arrow keys, or non-ASCII character set? Screw that. This is a console. Use vi commands like a grownup. And you don't need your umlauts and accents. The commands are all composed of ASCII characters. If you're reduced to using the console, internationalization is the least of your problems.

      Considering limitations of supported input-devices and routing of input in conjunction with X or such..
      Also vi has nothing to do with kernel-space drivers so why do you even bring that up here?

      1. "produces bad font rendering": "bad font rendering?" "BAD FONT RENDERING?" Seriously? "It's not pretty enough?" I'm not even gonna address this drivel.

      Considering large part of the world needs UTF-8, UTF-16 or UTF-32 but needs to use weird hackery instead I'd say this is pretty important..

      1. "misses out on mode-setting and multi-head support": Guess what. There is exactly ONE CONSOLE. It's for the use of ONE ADMINISTRATOR to restore function to a system which can't otherwise run in multi-head, multi-user modes. Not a problem.

      Considering that many display-devices are not VGA monitors any more I'd say there's plenty of reasons to support mode-setting properly.
      There's huge range of possible devices today and VGA modes are dying as obsolete.

      Proper multi-head support is also useful when your other display is somewhere else entirely and you want to see display where your input-devices are too..

      1. "contains no multi-seat awareness": While you're at it, please complain that cars don't have multiple drivers' seats.
      2. "limited hot-plugging handling": Interestingly, when system consoles were serial terminals like God intended, hot-plugging was a non-problem, since EIA RS-232 specifications meant that you could hot-plug serial cabling to your heart's content. Maybe thats' where the solution to this "problem" properly lies?
    17. Re:What exact problem is this trying to solve? by Anonymous Coward · · Score: 0

      Not showing them correctly would still be a pretty big problem.

    18. Re:What exact problem is this trying to solve? by psmears · · Score: 1

      Is it actually impossible to type in umlauts? Or does the console simply not show them correctly?

      From memory, it can actually cope with both typing umlauts and displaying them - but the suggestion is that there are other internationalisation cases not handled so well.

      Besides, doesn't ext2/3 reserve some disk space for the root by default? 5% if memory serves. Enough to get userspace - even X - running, at the very least.

      It does do that, but in practice it doesn't always help: if a daemon running as root has issues that mean it writes lots of logs, that can fill the disk completely - and you don't necessarily want to delete the logs since you may need them for further investigation, so finding something else may be necessary.

    19. Re:What exact problem is this trying to solve? by psmears · · Score: 1

      3. This is why your shell has wildcards.

      It's nice to be able to know what the name of a file is before deleting it - it may give some idea about whether it should be kept or not.

      2. Putting non-ASCII characters in filenames is an even worse idea than putting spaces in filenames. Don't do it, and you won't have problems.

      I don't do it. The users on systems I (hypothetically) maintain may not be so considerate. Especially if their first language is written in a different alphabet.

      1. You should have consulted a table of Linux-compatible keyboards before you bought your keyboard.

      Or perhaps consult a Linux compatibility table before deciding to be born into a country with an unsupported language? Or are you suggesting that everyone should keep two keyboards, one for the language they use all the time, and one for Linux console use? (In practice it wouldn't help either, because Linux supports virtually all keyboards in desktop environments, so your compatibility table would likely say "yes" even without full console support.)

    20. Re:What exact problem is this trying to solve? by Anonymous Coward · · Score: 0

      On the OS I use (guess which one), file listings have file numbers, and you can delete them by using the numeric identifiers, completely eliminating the need to use the localised filename.

  28. Going that way for a while now by Anonymous Coward · · Score: 0

    With systemd, upstart and company and all the other rubbish we are going towards a messy opaque system much like windows. I do not like this trend.

    1. Re:Going that way for a while now by AwesomeMcgee · · Score: 2, Insightful

      I have already accepted that the linux I grew up on in the late nineties was killed (sometime in the mid-thousands I think, I was too busy working in .NET at the time to notice until I moved back to linux ~2009) and replaced by a completely opaque box, where everyone chides you for even thinking of recompiling your kernel ever because it will break everything, just choose one of the pre-compiled ones made by your linux masters.

      I remember a beautiful simple system where everyone recompiled their kernels, it was simple and expected; and the system's components were independent enough to roll with changes like this, where running console-only didn't make you out to be a weirdo and switching versions of X wouldn't break every piece of your system, rather it would just switch your X.

      Recently the linux I have met is a nice windows replacement. It acts like windows, I use it like windows, and the whole thing breaks if I try to change anything under the hood like windows.

      Perhaps it's time to go back to FreeBSD, where simplicity was always the purpose, I sure hope in my time away from it (10 years now) it hasn't been won over by the dark side like linux was...

    2. Re:Going that way for a while now by AwesomeMcgee · · Score: 1

      Or to be more succinct... http://www.dreamsongs.com/RiseOfWorseIsBetter.html linux has become worse to become better.

    3. Re:Going that way for a while now by ButchDeLoria · · Score: 1

      At least Upstart has initscript support.

    4. Re:Going that way for a while now by X0563511 · · Score: 1

      FreeBSD should still be good for you. If not, go play with OpenBSD.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    5. Re:Going that way for a while now by gmack · · Score: 2

      I used Linux in the late 90s and I really don't miss my younger siblings crashing my Linux machine by switching back and forth from X to console too quickly. I also don't miss having to enter modelines to get my screen working or write my dialup scripts from scratch.

      FYI I don't know what distro you are using but I still recompile since precompiled kernels don't come with things like RDP (I'm experimenting). It's even easier than it was in the 90s.

    6. Re:Going that way for a while now by Anonymous Coward · · Score: 1
    7. Re:Going that way for a while now by mewyn · · Score: 1

      Of course the Linux that was in the mid-to-late 90s is dead, but it's not difficult to rebuild kernels, or have weird configurations at all.

      I've got a Linux box running on a set of eclectic hardware working as an arcade machine. The monitor needs very special and specific modelines to run, hates KMS, and has some hardware that does not work right under the standard HID input driver. The machine is currently running Fedora 18 and I build a custom kernel with a patch for HID and KMS, and a very funny looking X config. This stuff is not any harder to do, in fact building a kernel was easier than back in the day. "make install" will actually put the kernel into grub, throw it in /boot and make an initrd for you.

      Of note, switching versions of complex software like X would break your system back then too, just as bad, if not more so. APIs back then were way more unstable, changing from time to time, and upgrading something that had a lot of dependencies would usually lead to breakage back then.

      Honestly I'm glad that now people are predominately using stock distro kernels, making things saner in the support realm. It is not beautifully simple to build your own kernel if you don't know what you're doing. There's a huge amassing of various options, subsystems, and drivers that is daunting for someone who deals with low-level system configuration, let alone some new user. These distro kernels are much better for updating, are well-tuned for most applications (most people will not do better in hand-tuning a kernel, but it is possible to do better) and honestly it's not wasteful to use a few extra kilobytes for this or that in a kernel when you have gigabytes of memory.

      If you want to go to something that requires by-hand configuration for every component and doesn't have the ability to configure itself to reasonable defaults, be my guest! I'll stick with things that work most of the time, personally.

    8. Re:Going that way for a while now by sjames · · Score: 3, Insightful

      There have been a lot of improvements in Linux, but there has also been a lot of dane brammage shoveled in. Most of it is in userspace, but sadly, not all.

      Gnome finally exceeded the maximum height BS can be piled and people are switching in droves. I have to agree that the new startup methods are mostly crap. I see no reason to pile in that much poorly documented crap to save 5 seconds at boot time (especially when we're not supposed to need to boot all that often).

      I believe GP is referring to the situation in Fedora (perhaps changed now). For a while, it would break fairly badly if you dared to go back even a single sub-minor number on your kernel.

      I am definitely NOT fond of grub2's configuration system. They took a simple and sane config and turned it into a 20 headed hydra full of config files and scripts that write config files. It's a very complex solution to a very simple problem and it needs to die. I have similar feelings about the way /dev is handled now. I can live with devices appearing and disappearing, but wit's with the bazillion little cryptic files.

      It really IS becoming more opaque like Windows.

      I certainly agree about the modelines. Good riddance to them. DDP is a win!

  29. Introduction of KMSCON... by Anonymous Coward · · Score: 2, Informative

    How about a more informative introduction? All of the concerns raised have been addressed. If only people would avail themselves of a more complete understanding before vehemently opposing any sort of change, the world would be a much better place. If not though, the least you could do is keep quiet if you refuse to inform yourself.

    This isn't change for the sake of change; the present VT system is seriously lacking, and has been since its inception.

    1. Re:Introduction of KMSCON... by noobermin · · Score: 1

      Welcome to slashdot.

  30. How bout a new idea instead? by Anonymous Coward · · Score: 0

    Why not add completely new functionality rather than mucking with something that already works. And for fucks sake stop assuming we all want to switch users every time the wind changes direction. We dont. We want the system to be rock solid, simple to understand, and easily recovered in the event of a failure.

  31. Not again. by gallondr00nk · · Score: 1

    Are *nix developers bored or something? As if the udev/systemd/initscripts changes weren't enough. What possible good can come from messing with TTY?

    Things being around for a while doesn't make them automatically needing replacement. That's Windows logic.

    Oh well, there'll always be sensible fork.

    1. Re:Not again. by Anonymous Coward · · Score: 0

      wish there would be, but I think I'm just going to have to fork over to BSD for the remainining lifespan of this generation of OSs.

    2. Re:Not again. by TCM · · Score: 1

      Don't insult *nix developers. This is Linux we're talking about.

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
  32. The damage is already done. by Guspaz · · Score: 1

    My normally headless file server has a low-end nVidia card in it. This machine has no GUI, just the text console.

    Video output of the text console on this machine does not work without installing the proprietary nVidia drivers. I just get garbled noise on the screen otherwise. This boggled my mind. It's a bug in the Nouveau drivers the kernel loads by default, of course, but the fact that video card driver bugs were preventing me from using the machine's text console...

    It turns out that at some point the linux terminal switched to a GUI mode rather than using the actual character output mode. Hence why you now need graphics drivers for the most basic use of a machine.

    1. Re:The damage is already done. by Anonymous Coward · · Score: 0

      someone needs to get hit by the cluebat a little more.

    2. Re:The damage is already done. by Anonymous Coward · · Score: 0

      Those of us who are not complete morons know that you can STILL use vga console instead of framebuffer, and that you can still use framebuffer with generic vesafb driver and no KMS. Yes, the default case being KMS+fb contributes to your problem, but the root of your problem is that you have no understanding of the console system and thus can't cope with bugs in code you don't need to be running.

      (Or you could use a goddamn serial console for your "normally headless" machine like everyone with half a brain does.)

    3. Re:The damage is already done. by Anonymous Coward · · Score: 0

      That probably is not due to the kernel, but your distribution. I know SuSE puts the console into graphics mode for no good reason other that to have a graphical background.

      I agree with what others have said, keep the console simple and in the kernel. Have an option for those that want to do otherwise, but keep the simple, working, reliable text console available and in the kernel.

    4. Re:The damage is already done. by Guspaz · · Score: 1

      Messing around with kernel boot parameters to solve the problem is not something a typical user should have to do, and researching the problem is frustrating because everybody already assumes you have knowledge that you don't when you approach the problem for the first time. This sort of stuff being broken out of the box is not something you can blame on the user.

      As for your quip about serial consoles... don't make me laugh. Perhaps you'll find such things in dedicated server boards, but few consumer or even workstation class motherboards have onboard serial ports to begin with, and nobody that I know, no matter how may headless boxes they've got, uses a serial port to interact with it.

      Last time that I had to connect to a serial port on something, a year or two ago, finding a goddamn serial port on a computer was the problem. USB serial adapters are extremely special order (none of the local computer or electronic stores carried them, even the business-oriented stores), and ordering online wasn't an option due to time pressures. I ended up having to borrow a 486 laptop with a serial port and a PCMCIA ethernet adapter so that I could connect the serial cable to the laptop, and SSH into the laptop.

    5. Re:The damage is already done. by Anonymous Coward · · Score: 0

      The typical user wants to use his computer's graphics chips to display graphics, and doesn't even know that his computer has a "text mode" capability which was used until 1994. Your distribution does the right thing by switching your computer to graphics mode as soon as it can. It's you who want to do something special and old-fashioned. So the onus is on you to study your OS and make it do what you want to do. It only takes a couple of minutes of reading, or even less time doing a google search, to find out how to blacklist the framebuffer console.

    6. Re:The damage is already done. by TCM · · Score: 1

      Looks like the problem is you running a "file server" on desktop-class hardware, then complaining that several small bits of fail end up as one big mess.

      Seriously, NVidia graphics in a server with binary blobs disguised as drivers and all that? You're doing it wrong. Period.

      Problem is, too many people doing it wrong come up with the next generation of ideas to fuck up perfectly working systems even more. See article.

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
    7. Re:The damage is already done. by petteyg359 · · Score: 1

      You can get a Prolific 2303 chipset USB-to-serial adapter for $6 from Amazon, which is fully supported by Linux. Your excuse is BS.

    8. Re:The damage is already done. by Guspaz · · Score: 1

      And then what? Run a 40 foot USB cable from the server to the nearest computer?

    9. Re:The damage is already done. by Guspaz · · Score: 1

      I had a server-grade SuperMicro motherboard in the thing. It had a serial port, but it was old, supporting nothing newer than a Core 2 and 3GB of RAM. Not wanting to spend money on an upgrade, I repurposed an unused desktop motherboard with an i7-920 and 24GB of RAM.

      Not everybody can afford the latest and greatest rackmount server for their home fileserver.

    10. Re:The damage is already done. by TCM · · Score: 1

      So now you run 24GB of non-ECC memory in a file server.

      It's OK, everyone is allowed to shoot themselves in the foot as hard as they want. But personally, I wouldn't announce it in a public discussion and make a fool out of myself.

      Your use case has no relevance to the discussion.

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
    11. Re:The damage is already done. by petteyg359 · · Score: 1

      Or pick up your any-better-than-lowest-end-Android-device-made-in-the-last-few-years with USB host support, a portable screen, and a bluetooth keyboard. You know, similar to the kind of things datacenters have been using for a decade to manage racked servers.

    12. Re:The damage is already done. by Guspaz · · Score: 1

      Right, because I'm the only person in the world who has a home file server and doesn't use ECC RAM in it.

      Welcome to the real world.

    13. Re:The damage is already done. by Guspaz · · Score: 1

      Don't own any Android devices. Sorry.

    14. Re:The damage is already done. by petteyg359 · · Score: 1

      You're very good at finding excuses. I recommend you get out of system administation and go into middle management.

    15. Re:The damage is already done. by Guspaz · · Score: 1

      I'm not a system administrator... This is a home file server, and apparently you and everybody else is convinced that people who want to use home file servers need to build an enterprise-grade datacenter in their homes.

  33. TermKit already addresses this by Anonymous Coward · · Score: 0

    Why not take all that initiative and put it into more TermKit development. TermKit already is the same idea but is leaps and bounds ahead of whatever this thing is that I'm seeing using Enlightenment. Already has been attempted and I actually learned about this project on slashdot. I suggest forking TermKit to do what this is trying to accomplish rather than reinvent the wheel here.

    https://github.com/unconed/TermKit

  34. Canonical fork linux by Anonymous Coward · · Score: 0

    just to add this for Ubuntu to satisfy there vapid airhead fan boys desire to turn Linux into Windows.

  35. Re:good thinking HA! by Marillion · · Score: 1

    Running the console in User Space really meaning running a kernel thread in the unprivileged mode of the CPU. If you do a process listing on a current system, most of the PID's < 100 are user space threads launched from within the kernel itself and part of the kernel code base. These include things like USB management, software RAID, swapd, ext4-dio-unwrit. They don't create external dependencies. The chief benefit is that failures in those threads can't take the whole system down. I'm surprised we haven't seen a carefully crafted ANSI console attack hack circulating out there. "Hey kidz, try this: curl h**p://hacker.com/badansi.txt"

    While I fully respect the concern of preserving the access of last resort as it is, the only "emergency" I ever have ever needed to use a physical console is when network connectivity goes belly up and you have to fix the network configuration to the point that you can SSH back into it again.

    --
    This is a boring sig
  36. Re:good thinking HA! by aztracker1 · · Score: 1

    Seeing Linux in quite a number of embedded applications, I would say yes... also, just because it is in user mode, doesn't mean it has to be loaded with everything in user-space to be available at the core... It does make more advanced options available, and more easily swapped out, or removed altogether.

    --
    Michael J. Ryan - tracker1.info
  37. Idiotic by Anonymous Coward · · Score: 0

    Yeah, who needs diagnostics *before* user space kicks in?!

    I mean everyone has a serial console hooked to their PC, right?

  38. Re:good thinking HA! by smallfries · · Score: 1

    So just a seven character file with File:/// then? :)

    --
    Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
  39. And what happens on a server... by whitroth · · Score: 1

    when you're just installing, and there's a problem, or the system's crashed? Will there still be a real console in system space?

                mark

  40. Please mod parent up! :-) by zapyon · · Score: 0

    No mod points today

    --
    I like my spaghetti with source.
  41. QNX does this and gets it right. by Animats · · Score: 4, Informative

    QNX, the real-time message passing operating system now owned by Blackberry, does all "console" handling in user space. They've done that for years. That's because, in the embedded world, you can't assume the target machine has a console, or even a serial port.

    When you build a QNX boot image for an embedded system, you can add any programs you want to be available as soon as the system boots. All device drivers are in user space, so that's how the initial set of drivers gets loaded. You can also load applications that way. Having a file system is optional. If necessary, all software can be in a ROM. This allows scaling down to small embedded devices.

    A serial console program is available, and is loaded into most systems that have a serial port. There are other options for systems that don't have a serial port, like connecting it to a network.

    There's also a system logger. It's common to have the system logger log to some network destination elsewhere, so problems out at Pumping Station 42 are reported to the control center far away.

    Linux has tried to emulate this architecture. More drivers are in user space. But in Linux that was an afterthought, and it shows.

    1. Re:QNX does this and gets it right. by Anonymous Coward · · Score: 0

      > QNX, the real-time message passing operating system now owned by Blackberry, does all "console" handling in user space.
      Right and that's why QNX is so popular among desktop users and server administrators alike.

  42. Re:good thinking HA! by Marillion · · Score: 1

    And that only takes down one user process without taking down the whole system. That's an example of a bug in a common library. It's similar to all the sprintf exploits over the years.

    --
    This is a boring sig
  43. ...and if you don't HAVE a serial port by phorm · · Score: 1

    It's not exactly a standard option on all machines these days. I have a USB-serial adaptor to plug into my servers, but if the box that has the issue is the one with no serial port, well....

    1. Re:...and if you don't HAVE a serial port by ultrasawblade · · Score: 1

      Then, PCI/PCIe serial port adapter. No Linux box should be without one. The decision to take this off standard PC motherboards was stupid.

      Laptop? They have PCMCIA to serial port adapters.

    2. Re:...and if you don't HAVE a serial port by phorm · · Score: 1

      "They have PCMCIA to serial port adapters."

      Yes, but will said adaptor work when you're trying to solve an issue that's already broken the machine to the point where the VGA terminal isn't working, or when it's stuck at the busybox bootloader?

    3. Re:...and if you don't HAVE a serial port by Anonymous Coward · · Score: 0

      Yes.
      PCI/Cardbus serial port adapters get mapped into the good old x86 I/O space by BIOS PCI init.
      If *that* fails, all you'll be getting is a beep anyways.

    4. Re:...and if you don't HAVE a serial port by amorsen · · Score: 1

      Laptop? They have PCMCIA to serial port adapters.

      Yes, and floppy disk drives. Laptops don't even have Mini-PCI-Express these days, and they certainly don't have PCMCIA.

      --
      Finally! A year of moderation! Ready for 2019?
    5. Re:...and if you don't HAVE a serial port by ultrasawblade · · Score: 1

      http://compare.ebay.com/like/200851091953?var=lv&ltyp=AllFixedPriceItemTypes&var=sbar

      Yes, gouging out your keyboard or RAM is acceptable to install this. All's fair in love and Linux.

      What laptop doesn't have a Mini-PCIe slot?

  44. I knew it by MichaelSmith · · Score: 1

    Linux is ever so slowly turning into Minix.

  45. Not a new concept by hpa · · Score: 1

    The feature set of the Linux VT console has been intentionally limited from nearly the start, and the line has always been: if you need more than this, do it in userspace. There has been several projects which have, for example kon2 which provided CJK functionality -- not something that one can sanely do in the kernel because of font size; similarly, Arabic/Indic font shaping is just plain too painful. For most people, the solution has simply been to bootstrap out of the console as quickly as possible, most of the time never even showing the console. What you find pretty quickly is that if you want something that is fully featured you end up with something that is as complex as X or Wayland anyway, and then you might as well go straight there. The in-kernel console will remain, of course, as an ultimate fallback. If someone wants to give users more options, more power to them.

  46. Re:good thinking HA! by Skatox · · Score: 0

    hahaha, good one.

  47. xterm by iamacat · · Score: 1

    Most end users can safely disable kernel console, as they will not have skills to debug problems that prevent basic GUI from coming up. On the other hand, for developers debugging such problems, its hard to argue against a fail safe kernel console. How are the developers of this replacement user space terminal planning to debug their code?

  48. Not necessarily bad &%()@@ oh, udev by fa2k · · Score: 1

    KMSCON is also highly modular with its only hard dependencies being libxkbcommon, libudev, libpixman, and glibc. The DRM library (libdrm) is optional.

    I was going to write that this isn't too bad, but then I saw bloody udev. You may not be interested, but I wanted to try out KDE 4.10, but I wanted to try it before making the move for real. So I installed a whole system in a chroot and enabled the testing repositories in that. To my surprise, X11 would start in the chroot, after things like /proc and /dev were properly bind-mounted. The *only* thing that didn't work was the keyboard and mouse. The reason? Auto-discovery with udev. So all of the complex beast that is Xorg could start, but the minor niggle of the input devices wouldn't work. Disable udev auto discovery in xorg.conf -> all is well! Well except the sound used Alsa instead of Pulseaudio. Seems like only the new stuff in Linux breaks. With every new fancy layer of abstraction, we seem to lose a little stability and gain a few features. Pulse is worth it for me, as I can change between my two sound cards while playing sound, for example to put on headphones when watching a movie and it gets late. It seems to me that distros did auto-mounting of removable devices in 2005 so I don't really know what benefit I get from udev/udisks. And because I have hundreds of snapshots of my block devices, the KDE file manager chokes for seconds every time I start it. Not worth it. Having anti-aliased fonts for the rare time I use the kernel consoles ? You got to be fucking kidding me.. (I used them extensively when setting up X in a chroot, and while I'd love to have a mouse and copy/paste, I don't want to think about the additional breakage that would happen with a "better" console)

    1. Re:Not necessarily bad &%()@@ oh, udev by fa2k · · Score: 1

      I should correct myself: udev can actually be useful on a general level. People with multiple SATA adapters may have their drives showing up in a random order, and udev can help manage such things.My problem is that everything gets layered onto it and falls down when something goes wrong

  49. Really?? by ZorinLynx · · Score: 1

    Why are we wasting development time on this?

    This is the biggest example of "If it ain't broke..." ever. This code is ROCK SOLID STABLE, and has been around for decades. Just because something is old does not mean it needs to be replaced if it performs its function well.

    Let's not mess with this code and introduce new bugs unless there's a good reason. If a year down the road I find systems crashing because of console code issues, I'm going to be PISSED.

    1. Re:Really?? by techman2 · · Score: 1

      My sentiments exactly. I am really not seeing the reason to go and redesign such a simple and reliable piece of core functionality. Just leave it the hell alone and go fix something that needs fixing.

    2. Re:Really?? by Anonymous Coward · · Score: 0

      Because this isn't a "we wasting development time". This is a kernel contributor who's re-vamping a pretty dusty part of the kernel. Wait.. Are you even included in 'we'? Or just in the 'wasting time' department? Please, take a more forgiving and interested stance than a completely redundant and unnecessary one. Don't be afraid of change, for the sake of change.

  50. Re:good thinking HA! by SiChemist · · Score: 1

    Then compile it out of the kernel in embedded applications. The kernels on those applications are all custom built anyway.

  51. Re:good thinking HA! by epyT-R · · Score: 2

    poettering should make it part of systemd! problem solved!

  52. Re:good thinking HA! by epyT-R · · Score: 1

    Its capabilities are fine. Don't trim them down just for ideological reasons. If you want some full featured terminal, just write one for the framebuffer. They already exist. If you have a KMS/DRM2 enabled system, it'll be hw accelerated too. Or just run a term in X and be done with it. Leave the system console alone.

  53. Re: offcourse by Anonymous Coward · · Score: 0

    English as a third language is where thing get tricky. I has is ron, off-course.

  54. Console is useless without userspace by Anonymous Coward · · Score: 0

    Are you implying that login, bash and all your favorite console utilities should be moved to kernel space? What use is a console without user space? This user space console would just move more of its functionality to user space, namely on-screen rendering and keyboard input.

    It's not true that the current console is useful without user space even though lots of comments here are making that assumption.

  55. As long as it works when I need it... by Oflameo · · Score: 1

    As long as it works when I need it such as when I want to play nethack or when I borked my system up when I'm experimenting, I don't care. If it makes my system function like the current version of Debian testing and I lose access to tty 1-6 because I started X on tty 7 I am against it because I needed those.

    --
    Perlsix - Second system dun goofed.
  56. Re:good thinking HA! by Anonymous Coward · · Score: 0

    Your language usage is broken, bitch.

  57. HAL9000 by iive · · Score: 1

    "I'm sorry... I can't let you do that Dave."

  58. Car anaology by fikx · · Score: 1

    replacing an oil dip-stick with a digital gauge that shows a dip-stick image.

    --
    AB HOC POSSUM VIDERE DOMUM TUUM
  59. Re: Comic Sans by Anonymous Coward · · Score: 0

    Fsck that. My dmseg output is using Wingdings :-P

  60. He addresses these concerns by inquist · · Score: 1

    I recommend watching at least the first 5-10 minutes of the talk Herrmann gives, in the video on the linked page. He addresses all of the concerns I've seen in comments here.

    As projects grow, to me the question is not whether things should be changed, but how they should change.

  61. GNU/Linux is now a mess by Anonymous Coward · · Score: 0

    Sadly, GNU/Linux is becoming a chaotic mess of an operating system. It lacks consistency and is far too fragmented.