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] PCI Passthrough problems (Cannot access network but e100

To: "Devdutt Patnaik" <xendevid@xxxxxxxxx>
Subject: Re: [Xen-users] PCI Passthrough problems (Cannot access network but e1000 loads fine)
From: Asim <linkasim@xxxxxxxxx>
Date: Sun, 10 Aug 2008 14:26:57 -0500
Cc: Andy Burns <lists.xensource.com@xxxxxxxxxxxxxx>, deshantm@xxxxxxxxx, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 10 Aug 2008 12:27:33 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/ZdSzTOa7MMfgENDC8AXvGlpKxGJdog+oXW45HgTD2w=; b=HRmgxRI3DNq+sdkarM5rFHwGqFw7Zn2ESD4wSh2h3TY0CdHJyu8RFKkB7YTkcE4CEp h5loQYjb9W2uAkgSLegRTv+IGO40r1IVlTCVW6zQZtEGTr9gVDC2jz2s1IiChb0nZwpa yq/hNSkaHYr9V3t9R7xdqzeDQqyKhRGVi0+kQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=EaQix1CcCIwnWg9l1zth9DvyX1BzgOh7AnMDkLZgE6xbQc77xjWuidkycmWHnR+cJ2 nmpNlnxoVwup8snN1U45PXqfgpb6Bck5v/nce5s3kaMI1PNtp73n5fqT4kBUL5mTh8V4 xTUTADFOJGfgMNyU0dNUVUeK6Uo50EHtznzQ8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7ef321c10808100641m21ccd9f0vc839c5fd3b74bf79@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <7ef321c10808072031m4dcac342gf057f73aa44ae751@xxxxxxxxxxxxxx> <489C154F.2090501@xxxxxxxxxxxxxx> <7ef321c10808080850k7cd7c047gaa8d02c79c93b21@xxxxxxxxxxxxxx> <15184ca00808092216o4f1f6d6brab17122bdd8f73e1@xxxxxxxxxxxxxx> <7ef321c10808100641m21ccd9f0vc839c5fd3b74bf79@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I also found this message from xm demsg:

(XEN) mm.c:645:d0 Non-privileged (178) attempt to map I/O space 00000000

Is this due to PCI passthrough.

Please help.

Regards,
Asim

On 8/10/08, Asim <linkasim@xxxxxxxxx> wrote:
> iptables is disabled on dom0.
> lspci shows the PCI device in dom0 but on domU it says no such
> command. Is there anything I need to add to mkinitrd to get this
> working or any lib to be copied?
>
> ifconfig tells me that the device acquires correct MAC and correct
> ipaddress.
>
> Thanks,
> Asim
>
> On Sun, Aug 10, 2008 at 12:16 AM, Devdutt Patnaik <xendevid@xxxxxxxxx>
> wrote:
>> Just my 2 cents, but are your iptables settings ok ?
>> Some other things to try :
>>
>> lspci - check to see that the device shows up fine.
>> ifconfig - verify that the device has the correct device mac address.
>>
>> Try "service network restart".
>>
>> If you've already verified all of these then it must be something else.
>>
>> -Devdutt.
>>
>> On Fri, Aug 8, 2008 at 11:50 AM, Asim <linkasim@xxxxxxxxx> wrote:
>>>
>>> Hi,
>>>
>>> I do not get anything strange here. This is from the dmesg on domU
>>>
>>> [339497.233655] Intel(R) PRO/1000 Network Driver - version 7.1.9-k4-NAPI
>>> [339497.233657] Copyright (c) 1999-2006 Intel Corporation.
>>> [339497.234124] e1000: In __devinit.
>>> [339497.245661] PCI: Enabling device 0000:00:00.0 (0000 -> 0003)
>>> [339497.512872] e1000: 0000:00:00.0: e1000_probe: (PCI:33MHz:32-bit)
>>> 00:07:e9:39:07:e5
>>> [339497.552859] e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network
>>> Connection
>>> [339497.725307] Entered sys_init_module.
>>> [339497.730044] device-mapper: ioctl: 4.7.0-ioctl (2006-06-24)
>>> initialised: dm-devel@xxxxxxxxxx
>>> [339498.000804] EXT3 FS on sda1, internal journal
>>> [339498.269163] Adding 65528k swap on /dev/sda2.  Priority:-1
>>> extents:1 across:65528k
>>> [339499.153997] e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full
>>> Duplex
>>> >From the prompt:
>>> [root@fedora_pristine ~]# ping 128.105.104.101
>>> PING 128.105.104.101 (128.105.104.101) 56(84) bytes of data.
>>> >From 128.105.104.129 icmp_seq=1 Destination Host Unreachable
>>> >From 128.105.104.129 icmp_seq=2 Destination Host Unreachable
>>> >From 128.105.104.129 icmp_seq=3 Destination Host Unreachable
>>>
>>>
>>> Is there anything special I need to do for /etc/network or
>>> /etc/network-scripts/ifcfg-eth0 apart from what I did to get it
>>> working for vif interface.
>>>
>>> I used extra='noirqdebug' in my config file and my domU does not boot
>>> after :
>>> [340110.616654] Entered sys_init_module.
>>> [340110.621535] usbcore: registered new driver usbfs
>>> [340110.621572] usbcore: registered new driver hub
>>>
>>> I already have extra='xcons=tty' - does that get overidden?
>>>
>>> Please help.
>>>
>>> Regards,
>>> Asim
>>>
>>> On 8/8/08, Andy Burns <lists.xensource.com@xxxxxxxxxxxxxx> wrote:
>>> > On 08/08/2008 04:31, Asim wrote:
>>> >
>>> >> I'm running a PV DomU on CentOS 4. I was able to successfulyl hide a
>>> >> e1000 PCI card by appropriately modifying /etc/modprobe.conf. The
>>> >> device is not configured as a eth device in my dom0. I was also able
>>> >> to successfully load it in my domU and e1000 driver loads fine.
>>> >> ifconfig shows correct configuration of IP address.
>>> >>
>>> >> However, I'm not able to access the network. The network was
>>> >> accessible with the same IP using vif interface instead. Kindly help.
>>> >
>>> > Any ethernet or interrupt related messages in dmesg on dom0 or domU or
>>> > from xm dmesg?
>>> >
>>> > Research the noirqdebug/pollirq/swiotlb settings and try some
>>> > combinations
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > Xen-users mailing list
>>> > Xen-users@xxxxxxxxxxxxxxxxxxx
>>> > http://lists.xensource.com/xen-users
>>> >
>>>
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-users
>>
>>
>

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