AHCI

Drive subsystem, filesystem drivers
  • rgimad wrote:Maybe I should implement working with all ahci controllers, not only first one.
    I too would appreciate that :D

    I have for example some PCI add-on cards that would otherwise give trouble, and probably some untested hardware with multiple AHCI controllers as well ;)
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • rgimad wrote:Maybe I should implement working with all ahci controllers, not only first one.
    Do you going to implement it in near future? If not, I'll start work on it.
    to infinity and beyond
  • punk_joker wrote:
    rgimad wrote:Maybe I should implement working with all ahci controllers, not only first one.
    Do you going to implement it in near future? If not, I'll start work on it.
    I’m busy at the university now, so I have no time. So yes, you can work on it.
    The best way to predict the future is to create it.
  • punk_joker wrote:On my PC, in UEFI mode doesn’t find AHCI controller. In non UEFI mode, driver found controller, but I don’t see partition. What information I should provide for debugging?
    Btw, does the old driver from Serge working on your PC?
    Из хаоса в космос
  • Leency wrote:Btw, does the old driver from Serge working on your PC?
    I couldn't generate device list with Devman for Serge's driver.
    to infinity and beyond
  • punk_joker wrote:
    Leency wrote:Btw, does the old driver from Serge working on your PC?
    I couldn't generate device list with Devman for Serge's driver.
    I mean /kolibrios/drivers/achi/
    Из хаоса в космос
  • #9219 use name sdX instead of hdX for AHCI SATA drives
    Motivatios:
    1. easier to understand drive is IDE or SATA.
    2. fix issue: http://bugs.kolibrios.org/view.php?id=143
    to infinity and beyond
  • Finally, today I started work on improving AHCI driver. Now it works with 5 controllers well in QEMU. Each controller has disk with 1 FAT partition. But it doesn't work on my PC yet,so I keep working. Probably tomorrow, I'll share test image.
    to infinity and beyond
  • punk_joker
    Great news!
    Из хаоса в космос
  • First version, support up to 8 disks (tested only 5). It works in my case.
    Test image

    Next steps:
    • Clean code
    • Dynamic allocate memory for founded disks
    to infinity and beyond
  • punk_joker wrote:First version, support up to 8 disks (tested only 5). It works in my case.
    Test image

    Next steps:
    • Clean code
    • Dynamic allocate memory for founded disks
    8 disks or controllers?
    The best way to predict the future is to create it.
  • Need to double check, but probably yes, you are right. 8 controllers. I tested with 8 controllers, and each controller has 1 disk.
    to infinity and beyond
  • I remembered. Now, limit is 8 disks and 8 controllers. Because I allocated memory for 8 controllers, and limited counter to 8 disks.
    to infinity and beyond
  • Could someone test FS speed with same disk in AHCI and IDE compatibility mode?
    I don't have any PC with IDE mode.
    to infinity and beyond
  • Who is online

    Users browsing this forum: No registered users and 3 guests