Linux Kernel Fixes Longstanding Bug in Its Handling of Floppy Disks (theregister.com) 57
"Linux kernel 6.2 should contain fixes for some problems handling floppy disks," reports the Register, "a move which shows that someone somewhere is still using them."
This isn't the only such fix in recent years. As a series of articles on Phoronix details, there has been a slow but steady flow of fixes for the kernel's handling of floppy drives since at least kernel 5.17, as The Register mentioned when it came out....
Back in July 2016, SUSE kernel developer Jiri Kosina submitted a patch. The problem arose because this change broke something else and later got reverted, and so the problem hung around. In July last year, he sent in a new patch that fixed it again for the 5.12 kernel, and was later back-ported to 5.10, an LTS version, and again into kernel 5.15 — another an LTS version, and the one you're running today if you're on the current Ubuntu LTS release, or something built from it such as Linux Mint 21....
Now, in December 2022, a new patch for the forthcoming kernel 6.2 fixes a memory leak that dates back to 5.11 or before.
Back in July 2016, SUSE kernel developer Jiri Kosina submitted a patch. The problem arose because this change broke something else and later got reverted, and so the problem hung around. In July last year, he sent in a new patch that fixed it again for the 5.12 kernel, and was later back-ported to 5.10, an LTS version, and again into kernel 5.15 — another an LTS version, and the one you're running today if you're on the current Ubuntu LTS release, or something built from it such as Linux Mint 21....
Now, in December 2022, a new patch for the forthcoming kernel 6.2 fixes a memory leak that dates back to 5.11 or before.
Dont cry for me achivefloppy (Score:2)
Re:Dont cry for me achivefloppy (Score:4, Informative)
I really feel for whoever is still using floppies.
My optician has a peripheral vision test machine which uses floppy disks to transfer results over to the main system. A quick search shows that such pieces of kit are in the high 4-figure sum to buy (and that's a second hand one via Alibaba, so I'm guessing that a replacement is not going to be bought any time soon
Re: (Score:2)
In theory you probably can just stick a floppy disk emulator there like that gotek unless it's some really wacky proprietary floppy disk
Re:Dont cry for me achivefloppy (Score:4, Insightful)
In theory you probably can just stick a floppy disk emulator there like that gotek unless it's some really wacky proprietary floppy disk
And then have to get it re-approved by the FDA. Or YOLO it and hope you never end up on the receiving end of a malpractice lawsuit where that device was even tangentially involved.
Re: (Score:2)
Re: Dont cry for me achivefloppy (Score:1)
Most of those machines are embedded, sure they run DOS but the machine itself is built around it, taking the floppy out could easily be destructive if not require recalibration.
Re: (Score:2)
Boeing are.
El Reg article again [theregister.com]
Re:Dont cry for me achivefloppy (Score:4, Informative)
It wasn't that long ago my wife had a sewing machine that still used a floppy disk to transfer embroidery design files over from a computer.
Talk about a racket... in terms of interface, expensive sewing machines seem to lag what a reasonable person would expect by a decade or more. I strongly expect it's a deliberate design choice, made in hopes of driving additional future sales. Recent models, like the one she bought, seem to finally make use of USB memory sticks; but her previous machine came with a floppy drive (of course there was a pricey upgrade to a CF-like-but-not-CF card reader/writer available, oh and you need their special software too).
Side note - if you think photography can be an expensive hobby, take a look at sewing sometimes.
Re: (Score:2)
Could it just be that floppy disks are still big in Japan [hackaday.com]? My mom has a sewing machine (think it's by Brother) that does embroidery. I think it runs Windows CE or something similar (it has a small LCD touchscreen through which it's controlled), and I'm pretty sure it has a floppy drive for moving data in and out...don't recall if it also has a USB interface or not.
Re:Dont cry for me achivefloppy (Score:4, Informative)
Re: (Score:2)
I really feel for whoever is still using floppies.
"Whoever" is any industry that has equipment which doesn't get replaced in under 20 years.
aircraft (eg 747s)
cnc machining
pharmaceuticals
embroidery and automated garment industry equipment
etc.
The machines are bound to the digital tech age they were created in. We shouldn't be too smug as I am sure that today's data transfer methods and protocols have shelf lives as well.
Offtopic but lawyers and real estate agents seem to do without them while still clinging to their fax machines. My lawyer told me (with
Re: Dont cry for me achivefloppy (Score:3)
Your lawyer is right up to a point in that hacking POTS is not something your average script kiddy or scammer is going to bother with these days though obviously for governments and similar actors it's a no brainer.
Re: (Score:1)
Re: (Score:3)
POTS is easy to subvert and has only security by obscurity. When you send a fax you have no assurance at all that it went to the desired destination thanks to call forwarding. Likewise a received fax sender identification relies caller id and then sending machine machine configuration, both of which are worthless. The data is unencrypted, readable by anyone.
POTS, fax, and security in the same statement is a not funny joke. A scammer needs zero technical knowledge.
As far as I can tell, lawyers and real
Re:Dont cry for me achivefloppy (Score:4, Insightful)
Offtopic but lawyers and real estate agents seem to do without them while still clinging to their fax machines. My lawyer told me (with a straight face) that fax is more secure than email and that you can't fake where the fax came from, intercept it, or redirect where it is going to.
Real reason, besides just plain old inertia, is that faxes are written into the law as acceptable forms of communication and that comes with certain legal advantages, so they stick around. This is also why, despite the "news" articles decrying their death, telegrams are still alive and kicking. They were written into the law ages ago and are still sometime advantageous due to the level of trust granted to the telegram companies back in the day. For instance cancelling contracts between companies is one thing they are still used for since the time stamp on a telegram is considered virtually indisputable legally.
Re: (Score:2)
Re: (Score:2)
We haven't really gone too many years without the floppy.
I mean, we were still using it well into the 00's, and many longer lived pieces of equipment probably are in the prime of their useful lives and originally started with floppy disks.
I mean, people complain aircraft use them - but I'm sure a 747 made in the 2000-2005 era is perfectly airworthy today and flying, even though its navigation system updates are floppy based. You have to remember they were on
Re: Dont cry for me achivefloppy (Score:1)
Floppies are also extremely reliable in adverse conditions in comparison to hard drives and even solid state memory. Theyâ(TM)re basically compact tapes.
SD Cards are the the new "floppies" (Score:2)
We haven't really gone too many years without the floppy.
I'd say we are still using them, functionality wise SD Cards are the same thing. Cameras, computers, etc.
Re:Dont cry for me achivefloppy (Score:5, Informative)
Hey, floppies were a great start! I came home from computer camp in 1994 with parts of a Slackware Linux distribution on 40 floppies. I was excited... my parents not so much. The compiler package fit on a whole 10 1.44MB disks and you could load up a usable system on top of a FAT16 filesystem (with metadata for long file names/unix permissions) if you didn't want to take the plunge and re-partition your hard disk.
Re: (Score:2)
Re: (Score:2)
I really feel for whoever is still using floppies.
I bought a USB based floppy drive, just in case. :-)
Re: (Score:1)
I remember upgrading from idk 16.04 to 18.04 or something and after the upgrade my system wouldn't boot. It did boot in recovery mode and I could go on from there, but that's not a stable situation.
After long searches and looking through the syslog I saw that it wanted to initialize or access the floppy drive. Why, I don't know, because there was no floppy drive, also not one configured in the BIOS and there had never been a floppy drive on that system.
After removing the floppy drive from
Re: (Score:2)
I had old floppies that I needed to archive. No operating machine with a floppy drive. And although I could cannibalize floppy drives from old dead machines, current machines do not support the interface. You can buy a USB floppy drive. But guess what, they are extremely buggy and don't actually work half the time.
Who needed this? (Score:5, Funny)
How about some priorities? I've been waiting decades for the linux kernel to support for my bubble memory system, and they've been wasting time on floppy disks! Jeeze.
Re: (Score:3)
Some guy at SUSE submitted a patch to correct the problem he had with floppies, and someone at the kernel accepted it. Until YOU submit a patch to correct the problem YOU have, then nobody is wasting their time on that. Except for me wasting useful time replying to that sort of comment.
Re: (Score:2)
I am sorry for being rude to GP if this was undetected sarcasm. To my defence this website developed a convention ("/s") to avoid these situations (and I got used to it).
Re: Who needed this? (Score:3)
Re: (Score:2)
I am sorry for being rude to GP if this was undetected sarcasm.
You didn't notice the reference to bubble memory?
Re: (Score:2)
I noticed it was about memory, and got instantly upset. Should have read twice.
Re: (Score:2)
I think your sarcasm detector need re-calibrating.
He did not have access to the necessary software, it was on a floppy diskette.
The real joke (Score:2)
The real joke is the kernel has floppy drivers/code in it. So much stuff needs to be removed from the kernel and evolved...
WTF? can't this become some kind of FUSE plug-in? (yes i know, driver...go find a usb floppy and have user space drive it.)
I seriously hope somebody gets us microkernel features... to move us into the future. People complain about performance with overhead changes but we've gone to virtual machines and virtual devices and abstraction layers, protected memory used to be too slow, oh
Re-write the driver in Rust for longevity (Score:2)
Re: (Score:2)
Maybe it'll finally be usable (Score:2)
About damn time!
2023! (Score:2)
Year of Linux on desktop!
Re: (Score:2)
Year of Linux on desktop!
Year of GUI Linux on the Windows desktop and the macOS desktop, via WSL2 and Virtualization Framework.
Not quite what we were expecting but at least its finally here.
Re: (Score:2)
Year of GUI Linux on the Windows desktop and the macOS desktop, via WSL2 and Virtualization Framework.
Not quite what we were expecting but at least its finally here.
#Fry Not sure if joking, not getting the joke or being serious.
Re: (Score:2)
Year of GUI Linux on the Windows desktop and the macOS desktop, via WSL2 and Virtualization Framework. Not quite what we were expecting but at least its finally here.
#Fry Not sure if joking, not getting the joke or being serious.
Mostly joking, offering a new spin on the old joke. A spin pointing out a new reality that few expected.
At least it stopped kernel panicing... (Score:3)
when you remove a floppy without unmounting it first...
That would have been in one of the 0.x kernels IIRC. Before the aout to ELF change.
Happened to me so many times, application finished reading from the floppy, I pull the floppy to put the next one in... kernel panic...
Gives Hope of Arduino's Printing Bug Fix (Score:2)
Re: (Score:3)
To do that, they'd have to port it from Java to something that works properly.
In the meantime, you could switch to PlatformIO on VSCodium. It's worked for all of my embedded coding needs across multiple platforms, including Arduino.
I never knew how to mount a floppy (Score:2)
After scanning this, I went down memory lane in my head. I switched to Linux in 2001, and I can't recall ever mounting a floppy for anything.
That kind of surprises me.
It's almost 2023 (Score:2)
And they're patching a floppy disk bug. :(
Maybe by 2060 Linux will finally have a cohesive desktop that can actually compete with Microsoft Windows.
Re: (Score:2)
Re: (Score:1)
Maybe by 2060 Microsoft will finally have a cohesive desktop that can actually compete with MacOS.
FTFY.
Re: (Score:1)
Maybe by 2060 Apple will finally have a cohesive desktop.
FTFM.
Re: (Score:1)
Maybe by 2060 we will be able to forget about the desktop althogether, and get some job done.
FTFE.
People in Japan still use floppies (Score:2)
That is one of mine. AMA and that. (Score:2)
Huh. Another one of my stories makes the /. front page. Wooo etc. :-)
Floppies all the way down? (Score:2)
Really? I would have fixed some more 8mportan bug first!