Re: Oops accessing file on 2048 bytes/sector vfat MO in 2.4.0

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 31 Jan 2001 16:53:49 +0000 (GMT)


> I receive a Kernel oops while copying a file from MO-drive (vfat) with
> 2048 bytes sector size. There is no problen with ext2 formatted MOs.
>
> I think it happens because the function pointer cfv_file_read of the
> struct cvf_format is initialized with null.
>
> This oops is 100% reproducable with the kernels: 2.4.0, 2.4.1-pre3,
> 2.4.1-pre7 and 2.4.0-ac11 (probably all >= 2.4.0).

Yep. You'll also see crashes and other problems if you mix 2K and 512 byte
formatted M/O disks in the drive.

Right now its a bad idea to use M/O devices with 2.4 kernels
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/