Skip to contentSkip to conversation

IDE from domU

DISCUSSION Jason Cook 2 participants 2 messages Sep 27, 2005 – Sep 28, 2005

lore
Share & tools
lore

Jason Cook

author
#0 lore raw

I've run into a problem trying to access IDE devices on the motherboard from a domU guest. I compiled a custom domU with the proper drivers and masked and assigned the pci device. I also needed to include the ISA south bridge for the driver to load properly.

The device on ide0 does get detected and DMA enabled:

VP_IDE: IDE controller at PCI slot 0000:00:0f.1
PCI: Obtained IRQ 20 for device 0000:00:0f.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio

But the device is not found during probing:

Probing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...

From lspci:
0000:00:0f.1 IDE interface: VIA Technologies,
Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]

Signature · 5 lines
Jason Cook                    GnuPG Fingerprint: D531 F4F4 BDBF 41D1 514D
http://blog.simpleideas.org                      F930 FD03 262E 5120 BEDD

Jeez.  No beer ... no opera dogs ...
	-- Homer Simpson

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 4 lines · Jason Cook

I've run into a problem trying to access IDE devices on the motherboard from a domU guest. I compiled a custom domU with the proper drivers and masked and assigned the pci device. I also needed to include the ISA south bridge for the driver to load properly.

Could be all sorts of things. Is the domU granted access to the IO port ranges and memory ranges where the IDE controller's registers appear?

-- Keir