Board.KolibriOS.org

Official KolibriOS board
It is currently Mon Oct 25, 2021 6:19 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 143 posts ]  Go to page Previous 16 7 8 9 10 Next
Author Message
 Post subject: Re: AHCI
PostPosted: Thu Nov 01, 2018 11:15 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Thu Mar 26, 2015 5:16 pm
Posts: 1282
А другие варианты? Эмуляция IDE? BIOS диски?


Top
   
 Post subject: Re: AHCI
PostPosted: Sun Nov 04, 2018 8:04 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5540
Pathoswithin wrote:
А другие варианты? Эмуляция IDE? BIOS диски?
С V86 диск видится, но тоже ошибка 3.

_________________
Звиздеть не мешки ворочать


Top
   
 Post subject: Re: AHCI
PostPosted: Mon Nov 05, 2018 12:34 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Thu Mar 26, 2015 5:16 pm
Posts: 1282
Значит из-за GPT.


Top
   
 Post subject: Re: AHCI
PostPosted: Wed Nov 07, 2018 9:41 pm 
Offline
Mentor
User avatar

Joined: Mon Oct 19, 2009 10:58 am
Posts: 688
Leency,
I need first 32kB of that HDD. Under GNU/Linux (live is okay) you can get them via
Code:
# dd if=/dev/sdX of=first32k bs=1024 count=32
Replace sdX with real device name. Then attach file first32k.


Top
   
 Post subject: Re: AHCI
PostPosted: Sun Aug 29, 2021 11:34 pm 
Offline
User avatar

Joined: Mon Apr 06, 2020 1:09 pm
Posts: 112
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.

_________________
The best way to predict the future is to create it.


Top
   
 Post subject: Re: AHCI
PostPosted: Mon Aug 30, 2021 8:46 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1306
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


Attachments:
AHCI-TESTS.7z [1.66 KiB]
Downloaded 16 times

_________________
"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
Top
   
 Post subject: Re: AHCI
PostPosted: Mon Aug 30, 2021 10:50 pm 
Offline
User avatar

Joined: Mon Apr 06, 2020 1:09 pm
Posts: 112
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?

_________________
The best way to predict the future is to create it.


Top
   
 Post subject: Re: AHCI
PostPosted: Mon Aug 30, 2021 11:56 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1306
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")

_________________
"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


Top
   
 Post subject: Re: AHCI
PostPosted: Wed Sep 08, 2021 5:15 pm 
Offline
Mentor
User avatar

Joined: Mon Oct 19, 2009 10:58 am
Posts: 688
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.


Top
   
 Post subject: Re: AHCI
PostPosted: Thu Sep 09, 2021 12:12 am 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5540
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!

_________________
Звиздеть не мешки ворочать


Top
   
 Post subject: Re: AHCI
PostPosted: Fri Sep 10, 2021 2:07 am 
Offline

Joined: Tue Apr 12, 2011 11:19 pm
Posts: 1207
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?

_________________
я лишь учусь


Top
   
 Post subject: Re: AHCI
PostPosted: Fri Sep 10, 2021 2:30 am 
Offline
Mentor
User avatar

Joined: Mon Oct 19, 2009 10:58 am
Posts: 688
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?


Top
   
 Post subject: Re: AHCI
PostPosted: Fri Sep 10, 2021 11:43 pm 
Offline

Joined: Tue Apr 12, 2011 11:19 pm
Posts: 1207
UEFI
Spoiler: Show
Attachment:
File comment: uefi_log
7FAF719D-7CAF-4DB1-920A-BC9CE9140A35.jpeg
7FAF719D-7CAF-4DB1-920A-BC9CE9140A35.jpeg [ 4.14 MiB | Viewed 674 times ]

Attachment:
File comment: uefi_pcidev
0B3805C6-DBFF-449B-B816-F4484188931C.jpeg
0B3805C6-DBFF-449B-B816-F4484188931C.jpeg [ 5.51 MiB | Viewed 674 times ]


Not UEFI
Spoiler: Show
Attachment:
File comment: not_uefi_log
E8A06BD9-828C-4195-A583-AE7B45B61042.jpeg
E8A06BD9-828C-4195-A583-AE7B45B61042.jpeg [ 6.37 MiB | Viewed 674 times ]

Attachment:
File comment: not_uefi_pcidef
E233AC60-0920-458B-A3CA-46DEA9C1878B.jpeg
E233AC60-0920-458B-A3CA-46DEA9C1878B.jpeg [ 3.92 MiB | Viewed 674 times ]


It’s new motherboard, and it has only AHCI mode

_________________
я лишь учусь


Top
   
 Post subject: Re: AHCI
PostPosted: Sat Sep 11, 2021 2:16 am 
Offline
User avatar

Joined: Mon Apr 06, 2020 1:09 pm
Posts: 112
punk_joker wrote:
UEFI
Spoiler: Show
7FAF719D-7CAF-4DB1-920A-BC9CE9140A35.jpeg
0B3805C6-DBFF-449B-B816-F4484188931C.jpeg


Not UEFI
Spoiler: Show
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?

_________________
The best way to predict the future is to create it.


Top
   
 Post subject: Re: AHCI
PostPosted: Sat Sep 11, 2021 6:48 pm 
Offline

Joined: Tue Apr 12, 2011 11:19 pm
Posts: 1207
As I see in Windows device manager this motherboard has 5 AHCI controllers.

_________________
я лишь учусь


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 143 posts ]  Go to page Previous 16 7 8 9 10 Next

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited