Questions tagged [ahci]

6 questions
4
votes
1 answer

SCSI read capacity (10) reports wrong LBA and sector size

I've been trying to test my AHCI driver for my hobby OS on bare metal. Before that, I tested my driver in QEMU with the parameters: qemu-system-i386 -boot d -cdrom elfboot.iso -machine q35 -m 2G -hda hda.img -serial stdio The output is something…
CRoemheld
  • 889
  • 7
  • 26
1
vote
2 answers

AHCI: Is it normal to have 0xFFFFFFFF across the board?

After using Redox's ahcid as a reference implementation for writing an AHCI driver (which isn't an exact clone of that implementation but it's close) that is compatible with a kernel that began life by following Philipp Oppermann's Rust OS…
realkstrawn93
  • 722
  • 1
  • 6
  • 13
1
vote
0 answers

Difference between functions in platform_driver and *_ops structures

If we take an ahci driver as an example. In ahci_platform.c there are some driver functions described under: static struct platform_driver ahci_driver = {...functions...}. The question is: What's the difference between functions described under…
Andrius
  • 11
  • 2
1
vote
0 answers

How do I read the disk configuration with AHCI driver?

Hi I'm learning OS and trying to follow a book to write a kernel. The book using IDE to control disk, while I tried to use AHCI with MSI to make it easier and more efficient. I successfully read/write information and issued MSI interrupt. But I do…
Shore
  • 827
  • 9
  • 24
0
votes
0 answers

Unable to turn off intel RST in HP laptop

My HP Pavilion laptop's BIOS is locked out by the manufacturer, preventing me from installing Linux. In the past,when I attempted to install Linux on my other laptop I had to turn off Intel RST and turn on AHCI mode However, I am unable to perform…
Srinidhi
  • 1
  • 1
0
votes
0 answers

Cannot Create ESXI VMFS Datastore with error 'Cannot Change the host configuration'

I am running ESXI 7.0 on a Dell 3930 Rack PC. This PC has an NVME SSD and a 1TB Sata HDD plugged in. I used the Dell ESXI ISO image while setting up. I can see the NVM and PCH controllers when I browse storage. The name of controller showing is:…
Nouman Qaiser
  • 283
  • 4
  • 14