WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Does direct HW-Access work in 3.0.2

To: Christian Lyra <lyra@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Does direct HW-Access work in 3.0.2
From: Timo Benk <timo.benk@xxxxxx>
Date: Tue, 18 Apr 2006 20:43:05 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 18 Apr 2006 11:43:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: 200604181514.52681.lyra@xxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: RoundCube Webmail/0.1b
Hmmm,

i want to give direct IDE access to one of my domains:

# lspci
---<snip>---
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
---<snap>---

I configured grub:

---<snip>---
title XEN - IDE hidden
    root (hd0,0)
    kernel /boot/xen.gz
    module /boot/vmlinuz-xen root=/dev/sda1 vga=0x314  \\
      resume=/dev/sda2  splash=silent showopts pciback.hide=(00:07.1)
    module /boot/initrd-xen
---<snap>---

And the domain in question:

---<snip>---
# direct hardware access
pci = [\'00:07.1\']
---<snap>---

However, \'xm dmesg\' print no message, indicating that the device is really
hidden.

When i start up the domain i get the following message:

---<snip>---
Error: pci: PCI Backend does not own device 0000:00:07.1
See the pciback.hide kernel command-line parameter or
bind your slot/device to the PCI backend using sysfs
---<snap>---

If i try to use sysctl i get the following message:

# sysctl \'pciback.hide=(00:07.1)\'
error: \"pciback.hide\" is an unknown key

Am i missing something or can somebody point me in the riht 
direction?

Thanks and greetings,
-timo

On Tue, 18 Apr 2006 15:14:51 -0300, Christian Lyra <lyra@xxxxxxxxxxxxx> wrote:
> On Terça 18 Abril 2006 14:30, Timo Benk wrote:
>>  Hi,
>>
>>  i have just a short question:
>>
>>  Does direct Hardware-Access (pciback.hide) work in Xen 3.0.2.
>>
> 
> short answer: yes
> 
> -- 
> Christian Lyra
> POP-PR - RNP
> 
> http://lyra.soueu.com.br
> 
>   The master programmer moves from program to program without fear. No 
> change in management can harm him. He will not be fired, even if the 
> project is cancelled. Why is this? He is filled with Tao. 
>                                               The Tao Of Programing
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
-- 
Timo Benk
PGP Public Key: http://vs241071.vserver.de/timo_benk_gpg_key.asc



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users