Re: MO-Drive under 2.4.7 usinf vfat

Douglas Gilbert (dougg@torque.net)
Sat, 21 Jul 2001 12:15:13 -0400


Detlev Offenbach <detlev@offenbach.fs.uunet.de> 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.

Detlev,
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 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/