kayws426 / embox

Automatically exported from code.google.com/p/embox
0 stars 1 forks source link

harddisk_pio seems to misfunction with nsects greater than one #623

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. revision 10214, x86/nonvga_debug, include embox.fs.driver.ntfs, run on qemu 
with hda as ntfs-formatted image
2. ntfs tries to read 19456 position of size 2 blocks

What is the expected output? What do you see instead?
irq on that write not asserted, and status register holding 0x58, which could 
be considered as precached read. Howhever, if irq waiting skipped on DRDY and 
DRQ on, half of sector read right, another one consists from zero, which is 
spotted by ntfs.

Reading by one sector everytime seems to be ok (made in r10215) 

Please use labels and text to provide additional information.

Original issue reported on code.google.com by drakon.m...@gmail.com on 25 Jul 2013 at 3:24