lkml.org 
[lkml]   [2004]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] make ide-cd handle non-2kB sector sizes
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.042 / U:1.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site