Skip to contentSkip to conversation

CDROM access?

DISCUSSION Tvrtko A. Uršulin 2 participants 4 messages Feb 16, 2004 – Feb 17, 2004

lore
Share & tools
lore
#0 lore raw

What's the story with IDE cdrom acces from DOM0?

I have one at /dev/hdc:

Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PCI_IDE: unknown IDE controller on PCI bus 00 device 79, VID=1166, DID=0213
PCI_IDE: chipset revision 160
PCI_IDE: not 100% native mode: will probe irqs later

    ide0: BM-DMA at 0xa400-0xa407, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xa408-0xa40f, BIOS settings: hdc:DMA, hdd:pio

hdc: HL-DT-ST CD-ROM GCR-8482B, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15
hdc: ATAPI 48X CD-ROM drive, 128kB Cache Uniform CD-ROM driver Revision: 3.12

DOM0: Skipping partition check on cdrom /dev/hdc

xen:~ # mount /media/cdrom/
mount: No medium found

xen:~ # eject /dev/hdc
eject: unable to open `/dev/hdc'

As a consequence, I cannot map it to other domains to use as a software installation medium.

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

#1 lore raw
Quoted 1 line · Tvrtko A. Uršulin

What's the story with IDE cdrom acces from DOM0?

I still haven't solved this, apart from using NFS instead of CDROM for .rpm retrieval.

Any hints why DOM0 cannot access the cdrom device?

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click

#2 lore raw
Quoted 7 lines · Tvrtko A. Ur�ulin
Quoted 1 line

What's the story with IDE cdrom acces from DOM0?

I still haven't solved this, apart from using NFS instead of CDROM for .rpm retrieval.

Any hints why DOM0 cannot access the cdrom device?

Does 'mount /dev/hdc /mnt' not work?

Commands like 'eject' will certainyl not work at the moment.

-- Keir

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

#3 lore raw
Quoted 3 lines · Keir Fraser
Quoted 1 line

Any hints why DOM0 cannot access the cdrom device?

Does 'mount /dev/hdc /mnt' not work?

Nope. It reports 'medium not found' even if there is one inserted. If tray is opened it doesn't close it which leads me to believe that requests are not getting to the actual device.

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click