Re: Floppy issues
John Paul Adrian Glaubitz <[email protected]> Sat, 25 Oct 2025 11:00:14 +0200
| Newsgroups | gmane.linux.debian.ports.sparc |
|---|---|
| Message-ID | <6f78aa59ef2b157adad1e986e1eab7a4c288ef5f.camel@physik.fu-berlin.de> |
Hi Florian, On Sat, 2025-10-25 at 10:58 +0200, Florian Fuchs wrote: > We fixed that in T2 Linux (debugged that for a longer time .. ), the reason was > that the the probe __floppy_read_block_0 tries to read 1 page from disk, 8KB, > which was more than the derived floppy size of 8 sectors (4KB) from the minor > number, so the "beyond end of device" message comes up, see: > https://github.com/rxrbln/t2sde/blob/main/package/kernel/linux/hotfix-floppy-not-4k-pages.patch > > btw, the issue does not occur, if you open the floppy with another > device major/minor like: fd0h1440 (mknod /dev/fd0h1440 b 2 28). Have you tried upstreaming this patch? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913