Re: MO-Drive under 2.4.7 usinf vfat

From: Douglas Gilbert (
Date: Sat Jul 21 2001 - 11:15:13 EST

Detlev Offenbach <> wrote:
> I have just tested the new 2.4.7 kernel to see, whether
> it now works with a MO-Drive using the vfat filesystem.
> Unfortunately it still doesn't. Mounting a disk and
> writing to it is ok. However, when I try to read a file
> off the disk, the program crashes with a Segmentation
> fault and I get a oops in the messages file (see
> attachment). I tried ksymoops on this file, but either I
> did something wrong or it couldn't analyse it.
> I hope, this issue will be fixed soon cause I would
> like to switch over to the 2.4 kernel series without
> scratching my set of MO-disks.

I can confirm lk 2.4.6 is broken w.r.t. 2048 byte sectored
MO disks with vfat file systems. I have a FUJITSU
Model: M25-MCC3064AP here (IDE device that uses the ide-scsi
driver) and it works just fine with dd (and through the sg
interface). So I'm quite confident the failure is not being
caused by the SCSI subsystem.

I cannot see any code changes in the sd driver between
lk 2.2 and lk 2.4 that impact this problem (as some
have suggested). When it works in lk 2.2 it follows
existing code pathes in the sd driver that exist and
work in the sd driver found in lk 2.4 .

Now the block subsystem might be expecting the sd driver
to play the same tricks as the sr driver in the way it
handles 2048 byte sectors. If so, that logic has never
been added to the sd driver. From memory there was a
thread on this issue that decided there were better ways
to address the block mismatch problem.

Anyway, I'll keep poking around.

Doug Gilbert

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jul 23 2001 - 21:00:14 EST