[haiku-bugs] [Haiku] #9163: KDL when trying to read from outside of the 48-bit area of ââthe ahci disk.

  • From: "3dEyes" <trac@xxxxxxxxxxxx>
  • Date: Thu, 15 Nov 2012 01:56:22 -0000

#9163: KDL when trying to read from outside of the 48-bit area of ââthe ahci 
disk.
--------------------------+-------------------------------
 Reporter:  3dEyes        |        Owner:  marcusoverhagen
     Type:  bug           |       Status:  new
 Priority:  normal        |    Milestone:  R1
Component:  Drivers/Disk  |      Version:  R1/Development
 Keywords:                |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+-------------------------------
 To reproduce the bug has written a simple program.
 If you do a test for the ata disk, read and seek work correctly.
 If repeated for ahci disk we get the following problems:
 1. read() always reads 1 byte, even outside of the disc size.
 2. if try to read a byte beyond the 48-bit area we get KDL.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9163>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: