Re: [PATCH] 2.5.32 floppy init and misc fixes

Randy.Dunlap (rddunlap@osdl.org)
Thu, 29 Aug 2002 10:30:14 -0700 (PDT)


On Thu, 29 Aug 2002, Mikael Pettersson wrote:

| Floppy has many more problems.
| Repeadedly loading and unloading the floppy.o module corrupts
| sys_device data structures.
| Writing to floppy can give ENOSPC errors even though space exists.
| Writing to floppy can OOPS the kernel due to a NULL pointer error.
| VFS-over-floppy corrupts data since 2.5.13.
| Putting lilo on ext2 on floppy can cause a kernel hang due to an
| infinite loop of "buffer layer error".
|
| I have a patch which fixes the {,un}register_sys_device() bugs, NULL
| queue bug, zero i_size bug, and fixes read/write enough that raw media
| access (e.g. tar or dd to/from /dev/fd0) works. It's in the 2.5-dj tree,
| and separately in <http://www.csd.uu.se/~mikpe/linux/patches/2.5/>.
|
| I havent' pushed this to Linus since it's meaningless as long as
| the VFS data corruption exists. It was broken by blkdev/VFS changes,
| but those responsible haven't yet bothered to repair it.

I would add one more: select delay timings are same as in 2.4:
#define SEL_DLY (2*HZ/100)
but HZ is not the same as in 2.4...

-- 
~Randy

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/