Board.KolibriOS.org

Official KolibriOS board
It is currently Thu Dec 02, 2021 4:21 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 171 posts ]  Go to page Previous 18 9 10 11 12 Next
Author Message
 Post subject: Re: AHCI
PostPosted: Sat Sep 11, 2021 11:40 pm 
Online
User avatar

Joined: Mon Apr 06, 2020 1:09 pm
Posts: 127
punk_joker wrote:
As I see in Windows device manager this motherboard has 5 AHCI controllers.

Maybe I should implement working with all ahci controllers, not only first one.

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


Top
   
 Post subject: Re: AHCI
PostPosted: Sun Sep 12, 2021 12:35 am 
Offline
Mentor/Kernel Developer
User avatar

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


Top
   
 Post subject: Re: AHCI
PostPosted: Wed Sep 15, 2021 11:06 am 
Offline

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

_________________
я лишь учусь


Top
   
 Post subject: Re: AHCI
PostPosted: Wed Sep 15, 2021 5:53 pm 
Online
User avatar

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


Top
   
 Post subject: Re: AHCI
PostPosted: Sun Sep 19, 2021 10:55 am 
Offline
Designer
User avatar

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

_________________
Per aspera ad astra


Top
   
 Post subject: Re: AHCI
PostPosted: Sun Sep 19, 2021 12:33 pm 
Offline

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

_________________
я лишь учусь


Top
   
 Post subject: Re: AHCI
PostPosted: Mon Sep 20, 2021 12:05 am 
Offline
Designer
User avatar

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

_________________
Per aspera ad astra


Top
   
 Post subject: Re: AHCI
PostPosted: Sun Oct 17, 2021 1:17 am 
Offline

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

_________________
я лишь учусь


Top
   
 Post subject: Re: AHCI
PostPosted: Mon Nov 01, 2021 11:54 pm 
Offline

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

_________________
я лишь учусь


Top
   
 Post subject: Re: AHCI
PostPosted: Tue Nov 02, 2021 12:42 am 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5592
punk_joker
Great news!

_________________
Per aspera ad astra


Top
   
 Post subject: Re: AHCI
PostPosted: Tue Nov 02, 2021 1:27 am 
Offline

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

_________________
я лишь учусь


Top
   
 Post subject: Re: AHCI
PostPosted: Tue Nov 02, 2021 11:32 am 
Online
User avatar

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


Top
   
 Post subject: Re: AHCI
PostPosted: Tue Nov 02, 2021 11:58 am 
Offline

Joined: Tue Apr 12, 2011 11:19 pm
Posts: 1236
Need to double check, but probably yes, you are right. 8 controllers. I tested with 8 controllers, and each controller has 1 disk.

_________________
я лишь учусь


Top
   
 Post subject: Re: AHCI
PostPosted: Tue Nov 02, 2021 1:01 pm 
Offline

Joined: Tue Apr 12, 2011 11:19 pm
Posts: 1236
I remembered. Now, limit is 8 disks and 8 controllers. Because I allocated memory for 8 controllers, and limited counter to 8 disks.

_________________
я лишь учусь


Top
   
 Post subject: Re: AHCI
PostPosted: Tue Nov 02, 2021 4:04 pm 
Offline

Joined: Tue Apr 12, 2011 11:19 pm
Posts: 1236
Could someone test FS speed with same disk in AHCI and IDE compatibility mode?
I don't have any PC with IDE mode.

_________________
я лишь учусь


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 171 posts ]  Go to page Previous 18 9 10 11 12 Next

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 3 guests


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:  
Powered by phpBB® Forum Software © phpBB Limited