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] problems delegating PCI device to domU (broadcom wlan ch

To: weigelt@xxxxxxxx
Subject: Re: [Xen-users] problems delegating PCI device to domU (broadcom wlan chip)
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Fri, 9 May 2008 10:25:36 -0400
Cc: Xen users list <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 09 May 2008 07:26:08 -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:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=DhBjBoA38KcOHKdLxQAZEhWXBlzsajjif+wMxT6ps9Y=; b=RnLXyWdVoN/Llvkji8jqmzrik5w2zj/9mUvt+QwsGU0DhbGZNcLN0tPTAjma6eZ6AUpfCpuKRxG6sZWDfNM4g105QhhIgU608pFC8zrZTpXca+Sdz/0mjQ4R4ZfbqiJBJLnoO2QDImDB9KFQxxRwLsCOeRqwjBFqPaWIXSl5NN8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=sDCG9bRTHV99FU0XK36CcMP7t/65sf109Iy08SqwBx+YXkqRgA0vs2WcjDXVFB9XrtSeyLIqM6OrElePTip0sOOrlCUn7G8OrNUiJ/kItkA/RAseNBi6Etfb7f/mm0NuwJRnnhgEN7RuuX0tGVKaBh69qncVeHCJXORokO8jigw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080509090114.GA6325@xxxxxxxxxxxx>
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>
References: <20080509090114.GA6325@xxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Enrico,

On Fri, May 9, 2008 at 5:01 AM, Enrico Weigelt <weigelt@xxxxxxxx> wrote:

Hi folks,


I'd like to delegate my broadcom wlan device to an domU.
Follewed the instructions I found on the net (pciback.hide boot
param and pci= assignment in the domu config).

Strange: the device still shows up in dom0's lspci, but also
in domU's. Some howto's say, it shouldn't be visible in the dom0.

From my experience this is the behavior too.
 
did you try adding pciback.permissive to the dom0 kernel line as well?

Also see:
http://xen.markmail.org/search/?q=pciback+permissive

Regards,
Todd



When I insmod the domU driver (bcm43xx), it segfaults in
bcm43xx_attach_board(). Syslog says:

PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [LK1E] -> GSI 23 (level, high) -> IRQ 16
PCI: Setting latency timer of device 0000:03:00.0 to 64
pciback 0000:03:00.0: Driver tried to write to a read-only \
   configuration space field at offset 0xb4, ize 4. This may \
   be harmless, but if you have problems with your device:
1) see permissive attribute in sysfs
2) report problems to the xen-devel mailing list along with \
   details of your device obtained from lspci

Dom0 lspci:

00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:05.0 VGA compatible controller: nVidia Corporation MCP51 PCI-X GeForce Go 6100 (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.3 Co-processor: nVidia Corporation MCP51 PMU (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev f1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
03:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02)

DomU lspci:

00:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02)



Does anyone have an idea what's wrong here ?


thx
--
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 cellphone: +49 174 7066481   email: info@xxxxxxxx   skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------

_______________________________________________
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
<Prev in Thread] Current Thread [Next in Thread>