[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Floppy issues



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


Reply to: