Re: [PATCH] make ide-cd handle non-2kB sector sizes

From: Bartlomiej Zolnierkiewicz
Date: Fri Jan 23 2004 - 18:48:44 EST


On Saturday 24 of January 2004 00:29, Pascal Schmidt wrote:
> On Fri, 23 Jan 2004, Pascal Schmidt wrote:
> > With this patch applied, I can successfully use a 512 byte sector disc.
> > However, then inserting a 2048 byte sector disk and trying to fsck it,
> > I get a dozen of:
> >
> > hde: command error: status=0x51 { DriveReady SeekComplete Error }
> > hde: command error: error=0x70
> > end_request: I/O error, dev hde, sector 196608
> > Buffer I/O error on device hde, logical block 24576
> > lost page write due to I/O error on hde
> >
> > Notice how the sector and logical sector numbers are different by a
> > factor of 8. Shouldn't this be a factor of 4?
> >
> > I don't see why this behaves differently than my previous patch, which
> > shows no such problem.
>
> Slightly better patch, but I still don't get why this doesn't work while
> my first patch does.

Maybe you've tested them differently?
You can start from your first patch then incrementally:
apply some changes, check, repeat.

--bart

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