1

how does an operating system say linux understand how many ram/pci/cpu slots/sockets are there?

Does the operating system detect this or just the info is passed from bios acpi if so please tell how even bios detects this?

Modern OSes scan the hardware again as much as i know but i am confused when it comes to slots.

I understand how they can detect the device installed in it, like for instance the pci devices are detected by bus enumeration attempting to read vendor ID and Device ID for each combination of bus number and device number.

How are ram/pci slots and cpu sockets detected? like how many are there.

Thanks for the help :)

  • What do you need that information for? Perhaps there is a much easier way... – vonbrand Feb 25 '20 at 15:20
  • easier way? physically checking them... other than acpi table does anywher in the linux os , is this info stored? –  Zeeshan Haris Feb 26 '20 at 11:27
  • i just want a way through an os that i can make sure what devices are present and how many slots are there? and how errors are detected by the os.. a reliable way unlike acpi table which cannot be totally reliable –  Zeeshan Haris Feb 26 '20 at 11:29

0 Answers0