Confusion regarding hard drives, PCI, IDE, SATA etc.
Posted: Sun Sep 07, 2014 5:12 am
I have been reading about hard drives for 3 days now. What my understanding of it is that there 2 kinds of hard drives in the world: (P)ATA and SATA.
These devices can then be attached to both IDE controller as well as AHCI controller. The IDE controller is an old one with primary/secondary, master/slave devices. It has been around for a long time. AHCI is a new controller specified by Intel and its sole purpose is to create interface between system and SATA device. All such controllers are ultimately connected to PCI bus.
Thus:
PCI -> IDE -> ATA/ATAPI devices
PCI -> AHCI -> SATA devices
All such devices work in polling (PIO) as well as DMA mode.
Now I could be horribly wrong about my concepts, but when I go on to enumerate all the devices on my PCI bus in Virtualbox machine, I cannot for the life of me find any IDE controller. I know it is there because virtual machine's settings say IDE controller exists and also has a CD/DVD drive (my .iso file) as well as another empty virtual hard drive connected. Every forum on earth about IDE starts with a BAR#4 address to reach its registers. But I cannot enumerate my IDE controller at all!
I cannot find another person on internet who seems to have my problem therefore I am quite sure I am horribly wrong somewhere but I don't know where. It would be a kind gesture to help this flailing man!
Can it be buggy function
In which case I'll post it here;
Or is it misconception
Of the parts I can't test bare.
Hey lady or gentleman,
Would you help this flailing man?
Point me in a direction
Where work and read more I can.
:)
These devices can then be attached to both IDE controller as well as AHCI controller. The IDE controller is an old one with primary/secondary, master/slave devices. It has been around for a long time. AHCI is a new controller specified by Intel and its sole purpose is to create interface between system and SATA device. All such controllers are ultimately connected to PCI bus.
Thus:
PCI -> IDE -> ATA/ATAPI devices
PCI -> AHCI -> SATA devices
All such devices work in polling (PIO) as well as DMA mode.
Now I could be horribly wrong about my concepts, but when I go on to enumerate all the devices on my PCI bus in Virtualbox machine, I cannot for the life of me find any IDE controller. I know it is there because virtual machine's settings say IDE controller exists and also has a CD/DVD drive (my .iso file) as well as another empty virtual hard drive connected. Every forum on earth about IDE starts with a BAR#4 address to reach its registers. But I cannot enumerate my IDE controller at all!
I cannot find another person on internet who seems to have my problem therefore I am quite sure I am horribly wrong somewhere but I don't know where. It would be a kind gesture to help this flailing man!
Can it be buggy function
In which case I'll post it here;
Or is it misconception
Of the parts I can't test bare.
Hey lady or gentleman,
Would you help this flailing man?
Point me in a direction
Where work and read more I can.
:)