lkml.org 
[lkml]   [1998]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsector size of 2068?

What would need to be changed to make a SCSI disk with sector_size
reporting back as 2068 work?

I'm trying to get a ST410800W work. It looks like sd.c would need to be
changed some, but I (not being very experienced with low-level disk io) am
not sure if my first guess would be correct.

I'm seeing things like

if (block_sectors < 2) block_sectors = 2;
}
else if (sector_size == 2048)
{
error_sector <<= 2;
if (block_sectors < 4) block_sectors = 4;
}
else if (sector_size == 256)
error_sector >>= 1;
error_sector -= sd[MINOR(SCpnt->request.rq_dev)].start_sect;

and
}

if (rscsi_disks[dev].sector_size == 2048)
if((block & 3) || (SCpnt->request.nr_sectors & 3)) {
printk("sd.c:Bad block number requested");

And I'm wondering exactly how much really needs to be done to this to make
it work.

Thanks for any help you give,
-- Peter


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

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