Page 9 of 12

Re: AHCI

Posted: Thu Nov 01, 2018 11:15 pm
by Pathoswithin
А другие варианты? Эмуляция IDE? BIOS диски?

Re: AHCI

Posted: Sun Nov 04, 2018 8:04 pm
by Leency
Pathoswithin wrote:А другие варианты? Эмуляция IDE? BIOS диски?
С V86 диск видится, но тоже ошибка 3.

Re: AHCI

Posted: Mon Nov 05, 2018 12:34 pm
by Pathoswithin
Значит из-за GPT.

Re: AHCI

Posted: Wed Nov 07, 2018 9:41 pm
by dunkaist
Leency,
I need first 32kB of that HDD. Under GNU/Linux (live is okay) you can get them via

Code: Select all

# dd if=/dev/sdX of=first32k bs=1024 count=32
Replace sdX with real device name. Then attach file first32k.

Re: AHCI

Posted: Sun Aug 29, 2021 11:34 pm
by rgimad
Hi. After month of development, kolibri-ahci kernel branch works for read and write. Currently, I ve tested it only on qemu and my laptop. So it would be great if you test on your hardwares.

Re: AHCI

Posted: Mon Aug 30, 2021 8:46 pm
by hidnplayr
I tested on some systems I have laying around, every time with the same hard drive. (And sometimes more..)
Tested by reading a PDF from the drive every time.

All but one good so far!
It appears the ICH6 SATA controller is a sheep in wolves clothes:
"8086 2651 00 1f 02 03 01 01 8f 02 09 Intel Corp. Storage - IDE"
https://pci-ids.ucw.cz/read/PC/8086/2651

Re: AHCI

Posted: Mon Aug 30, 2021 10:50 pm
by rgimad
hidnplayr wrote:All but one good so far!
It appears the ICH6 SATA controller is a sheep in wolves clothes:
"8086 2651 00 1f 02 03 01 01 8f 02 09 Intel Corp. Storage - IDE"
https://pci-ids.ucw.cz/read/PC/8086/2651
Thank you for testing. As far as I understand problem is that this controller at first initialized as IDE and then as AHCI, right? Btw, does it work properly after that?

Re: AHCI

Posted: Mon Aug 30, 2021 11:56 pm
by hidnplayr
rgimad wrote: Thank you for testing. As far as I understand problem is that this controller at first initialized as IDE and then as AHCI, right? Btw, does it work properly after that?
I'm not sure why this controller doesn't behave as the others (except that it's quite old :) )
I tried all different related settings in BIOS, but this controller was never found by the KolibriOS AHCI driver.
The pcidev.txt was taken with both IDE controller enabled (physical IDE on motherboard, used for CD drives etc) and SATA set to "SATA native mode" (instead of "automatic")

Re: AHCI

Posted: Wed Sep 08, 2021 5:15 pm
by dunkaist
rgimad, thank you for the driver! It works on my Acer and HP laptops.

I didn't test its speed and under high load but basic operations work.

Re: AHCI

Posted: Thu Sep 09, 2021 12:12 am
by Leency
The work of adding AHCI support is considered as complete on my side.
500$ are moved to Rustem (rgimad) according to job offer.
Thanks for the great feature!

Re: AHCI

Posted: Fri Sep 10, 2021 2:07 am
by punk_joker
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?

Re: AHCI

Posted: Fri Sep 10, 2021 2:30 am
by dunkaist
punk_joker wrote:What information I should provide for debugging?
1. For both BIOS and UEFI modes: board logs (photos are ok, it's better to take a photo of a log file opened in KFAR, not the small windows of BOARD), photos of PCIDEV app.
2. If you can switch your SATA controller to IDE (legacy, compatible) mode: can you access files on it from KolibriOS when booted in BIOS (not UEFI) mode?

Re: AHCI

Posted: Fri Sep 10, 2021 11:43 pm
by punk_joker
UEFI
Spoiler:
uefi_log
7FAF719D-7CAF-4DB1-920A-BC9CE9140A35.jpeg (4.14 MiB)
uefi_log Viewed 5524 times
uefi_pcidev
0B3805C6-DBFF-449B-B816-F4484188931C.jpeg (5.51 MiB)
uefi_pcidev Viewed 5524 times
Not UEFI
Spoiler:
not_uefi_log
E8A06BD9-828C-4195-A583-AE7B45B61042.jpeg (6.37 MiB)
not_uefi_log Viewed 5524 times
not_uefi_pcidef
E233AC60-0920-458B-A3CA-46DEA9C1878B.jpeg (3.92 MiB)
not_uefi_pcidef Viewed 5524 times
It’s new motherboard, and it has only AHCI mode

Re: AHCI

Posted: Sat Sep 11, 2021 2:16 am
by rgimad
punk_joker wrote:UEFI
Spoiler:7FAF719D-7CAF-4DB1-920A-BC9CE9140A35.jpeg
0B3805C6-DBFF-449B-B816-F4484188931C.jpeg
Not UEFI
Spoiler:E8A06BD9-828C-4195-A583-AE7B45B61042.jpeg
E233AC60-0920-458B-A3CA-46DEA9C1878B.jpeg
It’s new motherboard, and it has only AHCI mode
Thanks, I see you have three ahci controllers. Current driver works only with first found controller. In your case, does it have connected drives?

Re: AHCI

Posted: Sat Sep 11, 2021 6:48 pm
by punk_joker
As I see in Windows device manager this motherboard has 5 AHCI controllers.