22 ms·
The 5.7 kernel is out
- freedomben 6y ago> a new, Microsoft-blessed exFAT filesystem implementation For those of us who lived through the "Linux is cancer" days, we are truly living in interesting times :-)
- gsich 6y agoExtend phase.
- stefan_ 6y agoEhh, Microsoft only opened exFAT after smartphones dropped all SD card slots and it was no longer possible for them to extort Android device manufacturers with patent licensing.
- beefhash 6y agoHow long until the patents expire?
- loeg 6y ago~2009 + 20 years. You've got a long time to wait if you're not part of OIN. They're arguably invalid patents, in the sense that the filesystems concepts within are not remotely novel and the application to FAT is trivial and obvious.
- ComputerGuru 6y agoReleased 2006, actually. Shipped with WinCE 6.0.
- loeg 6y agoDoesn't matter when the code shipped, only when the patents were applied for. The application date on the later patents is 2009. https://worldwide.espacenet.com/patent/search/family/040789901/publication/US2009164539A1?q=pn%3DUS8606830 https://worldwide.espacenet.com/patent/search/family/0407899... https://worldwide.espacenet.com/patent/search/family/040789823/publication/US2009164440A1?q=pn%3DUS8321439 https://worldwide.espacenet.com/patent/search/family/0407898...
- toast0 6y agoIn a sense, it doesn't matter if the patents are valid or not, but isn't the rule that you have to apply within one year of making the invention available, and shouldn't including it in a release count for that? (Maybe that rule changed with the big changes around first to file and expiration based on application instead of grant date.)
- rayiner 6y agoNo, you are correct. Publicly shipping the product that implements the invention starts the clock. But here, the parents claim priority to an application filed in 2004. (That means the invention was disclosed in that earlier application, even if it wasn’t specifically claimed.) When you claim priority like that, your 20 years starts running from the earliest priority date. So the patents expire in 2024.
- pjmlp 6y agoAround here there are plenty of Android phones and tablets with SD card slots to chose from.
- fierarul 6y agoI agree. It's a token gesture. Even if you do have SD card slots android offers to extends storage to that, which I think means it formats the card as EXT4 or something. Maybe TV manufacturers care about this, but in mobile it's a non-event. Maybe Microsoft could open-source MSDOS in order for FreeDOS to have a rejuvenating moment.
- compsciphd 6y agowell, they have for early versions of msdos[1], though probably anything less than 3.3 only has historical value to anyone. [1] https://github.com/microsoft/MS-DOS https://github.com/microsoft/MS-DOS
- fierarul 6y agoYes, they like to do these kind of things in the name of loving open source nowadays. Also open sourced a 40 year old BASIC implementation which can only be good for a Computer Museum display. MSDOS 6.0 might be interesting. Windows 3.1 too.
- danieldk 6y agoMSDOS 6.0 might be interesting. Windows 3.1 too. And MS-DOS 4.0/4.1, not to be confused with 4.00/4.01, which had multi-tasking features: https://en.wikipedia.org/wiki/MS-DOS_4.0_(multitasking) https://en.wikipedia.org/wiki/MS-DOS_4.0_(multitasking)
- asveikau 6y ago> after smartphones dropped all SD card slots Last I checked, only at the high end and Google devices, and substantially less true in non-US markets. Careful with proclaiming such a bubble to be universal. I am sure in mountain view some PMs make decisions based on "oh but we killed the SD card years ago" but they don't have actual power to do that.
- easytiger 6y agoYou can also plug any USB stick into most androids
- solarkraft 6y agoIt's fun to see bubble-driven remarks like "no phones have SD card slots anymore" or "there are no headphone jacks on phones nowadays". Welp, you can influence that and I won't buy a phone without either.
- fdgbd23 6y ago>I won't buy a phone without either You used to be able to say the same for phones without holes in their screen or TV sets without internet connectivity.
- asveikau 6y agoOr a phone with a removable battery. I am personally disappointed by that one. A lot of phones are skimping on internal batteries these days and it kills the life of the phone fairly quickly. The previous phone I had, since I had been burned repeatedly by phones I was otherwise happy with but the internal battery didn't last a year, I decided to shop around for the few remaining Android phones with decent performance that had an easily replaceable battery. I had to pick a model from late 2016.
- tadfisher 6y agoIt's more the ubiquitous and uncontrollable fast-charging that kills batteries. I would love for charging power controls baked into Android, as I know there are one or two manufacturers who have them (ASUS and Sony?).
- aries1980 6y agoCamera/camcorder makers are huge market, and they use Linux internally. E.g. Sony's stuff: https://oss.sony.net/Products/Linux/ https://oss.sony.net/Products/Linux/
- exikyut 6y agoWhat a fastidiously/meticulously organized wall of text. I want the picture book version :(
- amelius 6y agoPatents should not be allowed on communication protocols and storage formats, or anything with lock-in potential really.
- kchr 6y agoHear hear!
- magicalhippo 6y ago> after smartphones dropped all SD card slots So companies like Samsung[1], Sony[2], Motorola[3], Xiaomi[4] and LG[5] don't make smartphones anymore? [1]: https://www.gsmarena.com/samsung_galaxy_s20-10081.php https://www.gsmarena.com/samsung_galaxy_s20-10081.php [2]: https://www.gsmarena.com/sony_xperia_1_ii-10096.php https://www.gsmarena.com/sony_xperia_1_ii-10096.php [3]: https://www.gsmarena.com/motorola_edge-10133.php https://www.gsmarena.com/motorola_edge-10133.php [4]: https://www.gsmarena.com/xiaomi_mi_a3-9769.php https://www.gsmarena.com/xiaomi_mi_a3-9769.php [5]: https://www.gsmarena.com/lg_k61-10088.php https://www.gsmarena.com/lg_k61-10088.php
- nickysielicki 6y agoFinally, we get a non-journaled semi-cross-platform filesystem. fat32 just wasn't cutting it... /s When will we get a proper performant journaled cross platform filesystem that doesn't require additional software on Windows, MacOS, and Linux? I can't believe we still don't have anything like that.
- cmurf 6y agoBtrfs and WinBtrfs. The file system is the journal. https://github.com/maharmstone/btrfs https://github.com/maharmstone/btrfs Previous discussion on WinBtrfs https://news.ycombinator.com/item?id=15177002 https://news.ycombinator.com/item?id=15177002 Journal is about obviating fsck, just do journal replay to make the fs consistent again. I think for most media like USB sticks, the most platform interoperable file system is UDF. The gotcha that trips most people up I think, is that you shouldn't partition the media device. Just format the whole block device as UDF. I do this with mkuddf using defaults and it works fine across all three operating systems with similar performance as FAT32.
- ComputerGuru 6y agoI think the complexity of btrfs and its mix of device and file system layers rules it out for general purposes.
- leadingthenet 6y agoWhy? I use it on my laptop with 0 issues. It’s really not that complicated...
- amenod 6y agoIt's not about that - the filesystem needs to be simple snough that multiple vendors' implementations will be compatible. Remember SOAP interoperability? Me neither. It was too complex for its own good. That's why REST is used everywhere today and experienced web developers smile every now and then when they remember they don't need to use it anymore. Well, most of them at least...
- minedwiz 6y agoMy favourite part of this (source: https://kernelnewbies.org/Linux_5.7#New_exFAT_file_system https://kernelnewbies.org/Linux_5.7#New_exFAT_file_system) is that they originally went with an MS-produced exFAT driver, but dumped it because even MS said the Samsung one was better.
- tw04 6y agoGiven that Samsung has had years to perfect theirs, and it was an ms licensed implementation, that’s not really surprising tbqh.
- ComputerGuru 6y ago(To clarify, this is in reference to the Linux driver implementations from both and not in comparison to the Windows version.)
- juergbi 6y agoThat's not accurate. The initial implementation (in Linux 5.4) was also a derivative of Samsung exFAT code, however, it was not contributed by Samsung directly and it was based on a much older version. Samsung then suggested¹ it would be better to upstream their latest exFAT driver (sdfat), which is what has happened now - after improving the code to be suitable for mainline. ¹ https://lore.kernel.org/linux-fsdevel/003701d56d04$470def50$d529cdf0$@samsung.com/ https://lore.kernel.org/linux-fsdevel/003701d56d04$470def50$...
- parhamn 6y agoSeriously curious: Is there better looking mailing list viewing software thats "free"? I loathe stumbling on one of these links.
- kasabali 6y agoThere was Gmane. Too bad nothing had replaced it. It was the de facto site used when sharing links to mail list posts and it did have thread navigation that made sense.
- bluedino 6y agoNot to rain on the parade but it's exFAT, not NTFS.
- Havoc 6y agoHow is this for shared storage among dual boot? Terrible idea?
- LockAndLol 6y agoIt's a business investment, nothing more. There was a recent story about how M$ treats open-source devs (AppGet vs WinGet). If they could EEE Linux, they'd do it.
- KenoFischer 6y agoOh, already? I got a patch in to fix PTRACE_SYSEMU on aarch64, but I still have a few patches queued up to fix a few more issues there. I had hoped to get them all into the same release so there is only broken and not broken releases, rather than broken, semi-broken and non-broken releases. Oh well, ptrace on aarch64 has a few other big issues anyway that wouldn't have been mergeable during the RC window, so I suppose I should just try to get that in for 5.8.
- _-___________-_ 6y agoI hate to break it to you, but there are only semi-broken releases ;)
- KenoFischer 6y agoWell aware, but I was hoping to say to people "Just use 5.7 and it'll be fine". At the moment I have to say "Don't use anything prior to 5.7, unless you have a recent stable backpoint. In either case, some things are fine others aren't - I'll hope to have it fixed by 5.8". Which is fine, but more complicated ;).
- pabs3 6y agoJust CC stable@ and get them into the next point release?
- exikyut 6y agoWas curious; quoting https://www.man7.org/linux/man-pages/man2/ptrace.2.html https://www.man7.org/linux/man-pages/man2/ptrace.2.html: > PTRACE_SYSEMU, PTRACE_SYSEMU_SINGLESTEP (since Linux 2.6.14) > For PTRACE_SYSEMU, continue and stop on entry to the next system call, which will not be executed. See the documentation on syscall-stops below. For PTRACE_SYSEMU_SINGLESTEP, do the same but also singlestep if not a system call. This call is used by programs like User Mode Linux that want to emulate all the tracee's system calls. The data argument is treated as for PTRACE_CONT. The addr argument is ignored. These requests are currently supported only on x86. That sounds like a fun pile of dragons. Good luck backspacing the last bit out soon ;)
- chungy 6y agoNot yet finished kernelnewbies summary of changes: https://kernelnewbies.org/Linux_5.7 https://kernelnewbies.org/Linux_5.7
- srl 6y agoNot mentioned in the change summaries as far as I can tell, but this contains a (for me critical) fix to the intel graphics drivers (i915): https://gitlab.freedesktop.org/drm/intel/-/issues/1600 https://gitlab.freedesktop.org/drm/intel/-/issues/1600.
- dnr 6y agoWill this fix my "i915 0000:00:02.0: Resetting rcs0 for hang on rcs0" that's makes my screen freeze for 5 seconds multiple times a day??? It's been driving me slightly crazy.
- cmurf 6y agoDepends on the model. Quite a few were hit in 5.4, including mine, but was fixed in 5.5. I haven't seen a problem with 5.6 or 5.7 so far.
- undecisive 6y agoThere is a fix for this available. I believe it's in 5.5. My distro (mint) doesn't have it in their kernels utility, so I'm sticking to 5.0.0 until they do. (Note: It took me ages to find any information about this - https://gitlab.freedesktop.org/drm/intel/-/issues/673 https://gitlab.freedesktop.org/drm/intel/-/issues/673 is where the bug is supposedly fixed)
- dyingkneepad 6y agoWe can't know the answer. What you are describing is a GPU hang and GPU hangs are a whole class of bugs, it pretty much means "the hardware was misused and now it doesn't know how to move forward, so we reset it" (and the reset is why you get the 5s freeze, your graphics card was essentially rebooted). When this happens, i915.ko creates a nice file in your file system that you can use to create a bug report. Please check dmesg and do so.
- dnr 6y agoThanks for the overview. I know HN isn't the place for this but just for the record: there are no other i915 messages in dmesg (certainly nothing about a file with debug info). This is on Ubuntu 19.10, kernel 5.3.0, and it started happening after a minor update, so I figured it would probably get fixed in another minor update. That didn't happen, so then I thought I'd better update to a newer kernel before reporting anything. Then 20.04 was almost here, so I decided to wait for that. Hopefully I'll get around to that soon and discover my particular bug has been fixed, otherwise I'll try to report it.
- paxys 6y agoLinux* kernel
- SCdF 6y agoOK so let's say that I want to run a relatively stable linux install (so not the arch bleeding edge methodology), but I do want to run the latest linux kernel, or as close to it as possible. What are my choices? Or is the only choice to alter my interpretation of the word "stable"? :-)
- pipeep 6y agoSee if your preferred distribution has a kernel backport available. Most have backports of the kernel because it has relatively few dependencies and is backwards compatible, making it easy to backport. E.g. Debian currently has a 5.5 kernel in buster-backports[1]. However, Debian's backported kernel doesn't get the same level of attention and isn't subject to the same security policies as stable releases, so may be lacking some security patches that the stable kernel has. [1]: https://packages.debian.org/buster-backports/linux-image-amd64 https://packages.debian.org/buster-backports/linux-image-amd...
- spindle 6y agoI find NixOS is good for this - but it depends partly on what userspace programs you need. You can run NixOS Stable, which is on a six-monthly release and testing schedule, and add the latest kernel, very easily.
- tennineeight 6y ago+1. NixOS benefits especially, because a broken kernel/nvidia update never renders your system unusable. You can make changes to all your heart's desire, and if something does break, all you have to do is reboot and select previous configuration
- tvb12 6y agoI don't know enough about Linux to offer a complete answer, but I can offer the distribution I use as a suggestion. I've been using Solus (getsol.us/) for a few years and I think it comes close to what you're asking for. The kernel version is currently 5.6.13. There's no i3 flavor installation image, but you can grab it from the software center/eopkg.
- raverbashing 6y ago> was this one deprecating the long-standing 80-column limit for kernel source Amen! Let's try to get rid of the "80 column limit" dogma and move on to more flexible and realistic limits, in all languages.
- dguest 6y agoApparently it's been moved up to 100, and 80 is still preferred [1]. I have a personal bias toward 80 because I like having multiple buffers side by side (100 would also work). I always assumed that the hard limit on column length was as much excuse to reject sloppy merge requests as anything else: I don't mind a few 150 column lines, but if every single line has to wrap a 100 column buffer there's something wrong. [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bdc48fa11e46 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
- ed25519FUUU 6y ago> +However, never break user-visible strings such as printk messages because +that breaks the ability to grep for them. Amazing it took this long for such a common sense formatting method to be acceptable.
- dyingkneepad 6y agoThis is not a new rule, it's just a rule that was not written there. You can probably find emails from Linus with nsfw-language bashing people for breaking messages.
- sersnth 6y agoThe rule was already written there. The patch just reformatted things a bit.
- badrabbit 6y agoBpf-lsm is a welcome addition. I can see a new generation of endpoint defense tools built on it. [Meta] what's with all the auto-collapsed comments.
- LockAndLol 6y agoAnd once again, no NVIDIA drivers but lots of AMDGPU stuff. How are people still buying NVIDIA?
- einpoklum 6y agoA much farther developed ecosystem for most/all aspects of computation, including lots of free software. I know, nVIDIA are terrible with their close-sourcing of almost anything and their OpenCL betrayal. But AMD is too much of an inferior option for doing compute work.
- teruakohatu 6y agoMachine Learning.