From: subbu kl Subject: ***SPAM*** Re: [Xen-devel] Re: [ofa-general] Fwd: pciback module not working Date: Thu, 12 Feb 2009 12:12:47 +0530 Message-ID: References: <9c21eeae0809111424v3c8bf001k42b9463a25529e32@mail.gmail.com> <9c21eeae0810171624o208bff4fo9b071a9881d83060@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2120388397==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: general-bounces@lists.openfabrics.org Errors-To: general-bounces@lists.openfabrics.org To: "Jiang, Yunhong" Cc: "xen-devel@lists.xensource.com" , "general@lists.openfabrics.org" List-Id: xen-devel@lists.xenproject.org --===============2120388397== Content-Type: multipart/alternative; boundary=0015175ce08e416ed40462b30783 --0015175ce08e416ed40462b30783 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable oops missed it, well now I dont see that enable permissive...message. here goes the message= s what I got in dom0 while booting domU tap tap-1-51712: 2 getting info pciback: vpci: 0000:0e:00.0: assign to virtual slot 0 device vif1.0 entered promiscuous mode ADDRCONF(NETDEV_UP): vif1.0: link is not ready blktap: ring-ref 9, event-channel 9, protocol 1 (x86_64-abi) PCI: Enabling device 0000:0e:00.0 (0000 -> 0002) ACPI: PCI Interrupt 0000:0e:00.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:0e:00.0 to 64 ACPI: PCI interrupt for device 0000:0e:00.0 disabled ADDRCONF(NETDEV_CHANGE): vif1.0: link becomes ready xenbr0: topology change detected, propagating xenbr0: port 3(vif1.0) entering forwarding state any suspicious message ? any Idea why I get that : PCI: Fatal: No PCI config space access function found rtc: IRQ 8 is not free. message in domU bootup message ? ~subbu On Thu, Feb 12, 2009 at 11:50 AM, Jiang, Yunhong w= rote: > So any changes in dom0's dmesg? > > > ------------------------------ > *From:* subbu kl [mailto:subbukl@gmail.com] > *Sent:* 2009=C4=EA2=D4=C212=C8=D5 13:52 > *To:* Jiang, Yunhong > *Cc:* David Brown; xen-devel@lists.xensource.com; > general@lists.openfabrics.org > *Subject:* Re: [Xen-devel] Re: [ofa-general] Fwd: pciback module not > working > > no luck ! > dmesg in XEN PV guest shows : > > ib_mthca: Mellanox InfiniBand HCA driver v1.0 (April 4, 2008) > ib_mthca: Initializing 0000:00:00.0 > PCI: Enabling device 0000:00:00.0 (0000 -> 0002) > PCI: Setting latency timer of device 0000:00:00.0 to 64 > ib_mthca 0000:00:00.0: QUERY_FW command failed, aborting. > ib_mthca: probe of 0000:00:00.0 failed with error -11 > > even after executingh the following in dom0: > > #echo -n 0000:0e:00.0 > /sys/bus/pci/drivers/pciback/permissive > > I am getting the follwing messages on the console as part of the initial > bootup messages of the guest: > > Started domain rhel52_64_3 > PCI: Fatal: No PCI config space access function found > rtc: IRQ 8 is not free. > i8042.c: No controller found. > > after executing the following in dom0 : > #xm create -c rhel52_64_3 > > > so, problem persisits, > > ~subbu > > > 2009/2/12 Jiang, Yunhong > >> Seems it is because PCI frontend try to write some configuration space >> that PCIback has no config_field entry to support it. >> I think you can firstly try to do as dom0's dmesg suggested: "see >> permissive attribute in sysfs" (it should be "set permissive attribute..= .", >> I think). >> >> BTW, where you got following log? That seems suggest config space functi= on >> not found. >> >> PCI: Fatal: No PCI config space access function found >> rtc: IRQ 8 is not free. >> i8042.c: No controller found." >> >> -- Yunhong Jiang >> >> ------------------------------ >> *From:* xen-devel-bounces@lists.xensource.com [mailto: >> xen-devel-bounces@lists.xensource.com] *On Behalf Of *subbu kl >> *Sent:* 2009=C4=EA2=D4=C211=C8=D5 22:18 >> *To:* David Brown >> *Cc:* xen-devel@lists.xensource.com; general@lists.openfabrics.org >> *Subject:* [Xen-devel] Re: [ofa-general] Fwd: pciback module not working >> >> I am getting the same QUERY_FW failed on RHEL5.2 with xenxen >> paravirtualized guest with pciback module. >> >> No one seems to have tried answering this question on the list, let me >> ping xen-devel and ofed people again. >> >> after executing in dom0 >> echo -n 0000:0e:00.0 > /sys/bus/pci/drivers/ib_mthca/unbind >> echo -n 0000:0e:00.0 > /sys/bus/pci/drivers/pciback/new_slot >> echo -n 0000:0e:00.0 > /sys/bus/pci/drivers/pciback/bind >> >> #dmesg >> ACPI: PCI interrupt for device 0000:0e:00.0 disabled >> tap tap-1-51712: 2 getting info >> tap tap-2-51712: 2 getting info >> pciback 0000:0e:00.0: seizing device >> PCI: Enabling device 0000:0e:00.0 (0140 -> 0142) >> ACPI: PCI Interrupt 0000:0e:00.0[A] -> GSI 16 (level, low) -> IRQ 16 >> ACPI: PCI interrupt for device 0000:0e:00.0 disabled >> >> #xm create -c rhel52_64_3 >> >> PCI: Fatal: No PCI config space access function found >> rtc: IRQ 8 is not free. >> i8042.c: No controller found. >> >> >> GUEST dmesg: >> >> ib_mthca: Mellanox InfiniBand HCA driver v1.0 (April 4, 2008) >> ib_mthca: Initializing 0000:00:00.0 >> PCI: Enabling device 0000:00:00.0 (0000 -> 0002) >> PCI: Setting latency timer of device 0000:00:00.0 to 64 >> ib_mthca 0000:00:00.0: QUERY_FW command failed, aborting. >> ib_mthca: probe of 0000:00:00.0 failed with error -11 >> >> in dom0: >> Feb 11 19:44:37 p128 kernel: tap tap-3-51712: 2 getting info >> Feb 11 19:44:37 p128 kernel: pciback: vpci: 0000:0e:00.0: assign to >> virtual slot 0 >> Feb 11 19:44:37 p128 kernel: device vif3.0 entered promiscuous mode >> Feb 11 19:44:37 p128 kernel: ADDRCONF(NETDEV_UP): vif3.0: link is not >> ready >> Feb 11 19:44:39 p128 kernel: blktap: ring-ref 9, event-channel 9, protoc= ol >> 1 (x86_64-abi) >> Feb 11 19:44:48 p128 kernel: pciback 0000:0e:00.0: Driver tried to write >> to a read-only configuration space field at offset 0x44, size 2. This ma= y be >> harmless, but if you have problems with your device: >> Feb 11 19:44:48 p128 kernel: 1) see permissive attribute in sysfs >> Feb 11 19:44:48 p128 kernel: 2) report problems to the xen-devel mailing >> list along with details of your device obtained from lspci. >> Feb 11 19:44:48 p128 kernel: PCI: Enabling device 0000:0e:00.0 (0000 -> >> 0002) >> Feb 11 19:44:48 p128 kernel: ACPI: PCI Interrupt 0000:0e:00.0[A] -> GSI = 16 >> (level, low) -> IRQ 16 >> Feb 11 19:44:49 p128 kernel: ACPI: PCI interrupt for device 0000:0e:00.0 >> disabled >> >> >> >> some more details - [root@p128 ~]# rpm -qa | grep xen >> kernel-xen-2.6.18-92.1.22.el5 >> xen-3.0.3-64.el5_2.9 >> xen-libs-3.0.3-64.el5_2.9 >> xen-libs-3.0.3-64.el5_2.9 >> >> [root@p128 ~]# ibv_devinfo >> hca_id: mthca0 >> fw_ver: 5.3.0 >> node_guid: 0002:c902:0022:cd48 >> sys_image_guid: 0002:c902:0022:cd4b >> vendor_id: 0x02c9 >> vendor_part_id: 25218 >> hw_ver: 0x20 >> board_id: MT_0370130002 >> phys_port_cnt: 2 >> port: 1 >> state: PORT_INIT (2) >> max_mtu: 2048 (4) >> active_mtu: 512 (2) >> sm_lid: 0 >> port_lid: 0 >> port_lmc: 0x00 >> >> port: 2 >> state: PORT_DOWN (1) >> max_mtu: 2048 (4) >> active_mtu: 512 (2) >> sm_lid: 0 >> port_lid: 0 >> port_lmc: 0x00 >> >> >> any help greatly appreciated. >> >> ~subbu >> >> On Sat, Oct 18, 2008 at 4:54 AM, David Brown wrote: >> >>> Okay so my question to the openfabrics guys is, why would the OFED >>> drivers fail to read the firmware? >>> >>> Any thoughts? >>> >>> Thanks, >>> - David Brown >>> >>> >>> ---------- Forwarded message ---------- >>> From: David Brown >>> Date: Thu, Sep 11, 2008 at 2:24 PM >>> Subject: pciback module not working >>> To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com >>> >>> >>> This issue was brought up about a year and a half ago. So I'll bring >>> it up again and see if anything happens. >>> >>> I've got an infiniband network and am attempting to pass the >>> infiniband card through the host and give it to the guest. >>> I'm working with standard CentOS 5.2 on both guest and host with their >>> provided xen (3.0.3 ish). I've also attempted to install the newest >>> Xen 3.3 and use their standard host kernel and that did the same >>> thing. The guest dmesg output in the guest is similar on both >>> permissive and normal mode. >>> >>> I'm getting issues with detecting the firmware on the card for some >>> reason... >>> >>> Any help would be appreciated. >>> >>> Thanks, >>> - David Brown >>> >>> =3D=3D=3D GUEST dmesg output =3D=3D=3D >>> ib_mthca: Mellanox InfiniBand HCA driver v1.0 (February 28, 2008) >>> ib_mthca: Initializing 0000:00:00.0 >>> PCI: Enabling device 0000:00:00.0 (0000 -> 0002) >>> PCI: Setting latency timer of device 0000:00:00.0 to 64 >>> ib_mthca 0000:00:00.0: QUERY_FW command failed, aborting. >>> ib_mthca: probe of 0000:00:00.0 failed with error -11 >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >>> =3D=3D=3D Host modprobe.conf =3D=3D=3D >>> alias eth0 bnx2 >>> alias eth1 bnx2 >>> alias scsi_hostadapter cciss >>> options pciback hide=3D(41:00.0) >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >>> =3D=3D=3D Host lspci output =3D=3D=3D >>> # lspci -vs 41:00.0 >>> 41:00.0 InfiniBand: Mellanox Technologies MT25204 [InfiniHost III Lx >>> HCA] (rev 20) >>> Subsystem: Hewlett-Packard Company Unknown device 170a >>> Flags: fast devsel, IRQ 16 >>> Memory at fdc00000 (64-bit, non-prefetchable) [disabled] [size=3D= 1M] >>> Memory at fd000000 (64-bit, prefetchable) [disabled] [size=3D8M] >>> Capabilities: [40] Power Management version 2 >>> Capabilities: [48] Vital Product Data >>> Capabilities: [90] Message Signalled Interrupts: 64bit+ Queue=3D0= /5 >>> Enable- >>> Capabilities: [84] MSI-X: Enable- Mask- TabSize=3D32 >>> Capabilities: [60] Express Endpoint IRQ 0 >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >>> This makes sure it get loaded first off before anything else. >>> =3D=3D=3D Host mkinitrd cmd =3D=3D=3D >>> # mkinitrd -f --with=3Dpciback --preload pciback >>> /boot/initrd-2.6.18-92.1.10.el5xen.img 2.6.18-92.1.10.el5xen >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >>> =3D=3D=3D Host pciback dmesg =3D=3D=3D >>> pciback 0000:41:00.0: Driver tried to write to a read-only >>> configuration space field at offset 0x44, size 2. 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. >>> PCI: Enabling device 0000:41:00.0 (0000 -> 0002) >>> ACPI: PCI Interrupt 0000:41:00.0[A] -> GSI 16 (level, low) -> IRQ 16 >>> PCI: Setting latency timer of device 0000:41:00.0 to 64 >>> ACPI: PCI interrupt for device 0000:41:00.0 disabled >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >>> =3D=3D=3D Host pciback dmesg (after setting it permissive) =3D=3D=3D >>> pciback 0000:41:00.0: enabling permissive mode configuration space >>> accesses! >>> pciback 0000:41:00.0: permissive mode is potentially unsafe! >>> pciback: vpci: 0000:41:00.0: assign to virtual slot 0 >>> device vif1.0 entered promiscuous mode >>> ADDRCONF(NETDEV_UP): vif1.0: link is not ready >>> blkback: ring-ref 9, event-channel 28, protocol 1 (x86_64-abi) >>> PCI: Enabling device 0000:41:00.0 (0000 -> 0002) >>> ACPI: PCI Interrupt 0000:41:00.0[A] -> GSI 16 (level, low) -> IRQ 16 >>> PCI: Setting latency timer of device 0000:41:00.0 to 64 >>> ACPI: PCI interrupt for device 0000:41:00.0 disabled >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >>> =3D=3D=3D Guest lspci output =3D=3D=3D >>> # lspci -v >>> 00:00.0 InfiniBand: Mellanox Technologies MT25204 [InfiniHost III Lx >>> HCA] (rev 20) >>> Subsystem: Hewlett-Packard Company Unknown device 170a >>> Flags: fast devsel, IRQ 16 >>> Memory at fdc00000 (64-bit, non-prefetchable) [disabled] [size=3D= 1M] >>> Memory at fd000000 (64-bit, prefetchable) [disabled] [size=3D8M] >>> Capabilities: [40] Power Management version 2 >>> Capabilities: [48] Vital Product Data >>> Capabilities: [90] Message Signalled Interrupts: 64bit+ >>> Queue=3D0/5 Enable- >>> Capabilities: [84] MSI-X: Enable- Mask- TabSize=3D32 >>> Capabilities: [60] Express Endpoint IRQ 0 >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> _______________________________________________ >>> general mailing list >>> general@lists.openfabrics.org >>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general >>> >>> To unsubscribe, please visit >>> http://openib.org/mailman/listinfo/openib-general >>> >> >> >> >> -- >> . . . s u b b u >> "You've got to be original, because if you're like someone else, what do >> they need you for?" >> >> > > > -- > . . . s u b b u > "You've got to be original, because if you're like someone else, what do > they need you for?" > > --=20 . . . s u b b u "You've got to be original, because if you're like someone else, what do they need you for?" --0015175ce08e416ed40462b30783 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable oops missed it,

well now I dont see that enable permissive...message= . here goes the messages what I got in dom0 while booting domU

tap = tap-1-51712: 2 getting info
pciback: vpci: 0000:0e:00.0: assign to virtu= al slot 0
device vif1.0 entered promiscuous mode
ADDRCONF(NETDEV_UP): vif1.0: link= is not ready
blktap: ring-ref 9, event-channel 9, protocol 1 (x86_64-ab= i)
PCI: Enabling device 0000:0e:00.0 (0000 -> 0002)
ACPI: PCI Inte= rrupt 0000:0e:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:0e:00.0 to 64
ACPI: PCI interr= upt for device 0000:0e:00.0 disabled
ADDRCONF(NETDEV_CHANGE): vif1.0: li= nk becomes ready
xenbr0: topology change detected, propagating
xenbr0= : port 3(vif1.0) entering forwarding state

any suspicious message ?
any Idea why I get that :
 PCI: Fatal: No PCI config space access funct= ion found
rtc:=20 IRQ 8 is not free.

message in domU bootup message ?

~subbu
<= br>
On Thu, Feb 12, 2009 at 11:50 AM, Jiang, Yunh= ong <yunhon= g.jiang@intel.com> wrote:
So any changes in=20 dom0's dmesg?
 


From: subbu kl [mailto:subbukl@gmail.com]=20
Sent: 2009=C4=EA2=D4=C212=C8=D5 13:52
To: Jiang, Yun= hong
Cc:=20 David Brown; xen-devel@lists.xensource.com;=20 genera= l@lists.openfabrics.org
Subject: Re: [Xen-devel] Re:=20 [ofa-general] Fwd: pciback module not working

no lu= ck !
 dmesg=20 in XEN PV guest shows :
 
ib_mthca: Mellanox= InfiniBand HCA=20 driver v1.0 (April 4, 2008)
ib_mthca: Initializing 0000:00:00.0
PCI= :=20 Enabling device 0000:00:00.0 (0000 -> 0002)
PCI: Setting latency ti= mer=20 of device 0000:00:00.0 to 64
ib_mthca 0000:00:00.0: QUERY_FW command= =20 failed, aborting.
ib_mthca: probe of 0000:00:00.0 failed with error=20 -11

even after executingh the following in dom0:

#echo -n 0000:0e:0= 0.0 >=20 /sys/bus/pci/drivers/pciback/permissive

I am getting the follwing messages on the console as par= t of the=20 initial bootup messages of the guest:
 
Started domain=20 rhel52_64_3
PCI: Fatal: No PCI config space access function found
r= tc:=20 IRQ 8 is not free.
i8042.c: No controller found.

after executing the following in dom0 :
#xm create -c=20 rhel52_64_3


s= o,=20 problem persisits,
 
~subbu


2009/2/12 Jiang, Yunhong <= ;yunhong.jiang= @intel.com>
Seems it is=20 because PCI frontend try to write some configuration space that PCIback= has=20 no config_field entry to support it.
I think you=20 can firstly try to do as dom0's dmesg suggested: "see permissive attribute i= n=20 sysfs" (it should be "set permissive attribute...", I=20 think).
 
BTW, where you got following log? That seems = suggest config=20 space function not found.
<= br>PCI: Fatal: No PCI config space access function=20 found
rtc: IRQ 8 is not free.
i8042.c: No controller=20 found."
 
-- Yunhong Jiang
I am getting the same QUERY_FW failed on RHEL5.2 with xenx= en=20 paravirtualized guest with pciback module.

No one seems to hav= e=20 tried answering this question on the list, let me ping xen-devel and = ofed=20 people again.

after executing in dom0
echo -n 0000:0e:00.0 = >=20 /sys/bus/pci/drivers/ib_mthca/unbind
echo -n 0000:0e:00.0 >=20 /sys/bus/pci/drivers/pciback/new_slot
echo -n 0000:0e:00.0 >=20 /sys/bus/pci/drivers/pciback/bind

#dmesg
ACPI: PCI interrup= t for=20 device 0000:0e:00.0 disabled
tap tap-1-51712: 2 getting info
ta= p=20 tap-2-51712: 2 getting info
pciback 0000:0e:00.0: seizing=20 device
PCI: Enabling device 0000:0e:00.0 (0140 -> 0142)
ACPI= : PCI=20 Interrupt 0000:0e:00.0[A] -> GSI 16 (level, low) -> IRQ 16
A= CPI:=20 PCI interrupt for device 0000:0e:00.0 disabled

#xm create -c= =20 rhel52_64_3

PCI: Fatal: No PCI config space access function=20 found
rtc: IRQ 8 is not free.
i8042.c: No controller=20 found.


GUEST dmesg:

ib_mthca: Mellanox InfiniBand H= CA=20 driver v1.0 (April 4, 2008)
ib_mthca: Initializing 0000:00:00.0PCI:=20 Enabling device 0000:00:00.0 (0000 -> 0002)
PCI: Setting latenc= y=20 timer of device 0000:00:00.0 to 64
ib_mthca 0000:00:00.0: QUERY_FW= =20 command failed, aborting.
ib_mthca: probe of 0000:00:00.0 failed w= ith=20 error -11

in dom0:
Feb 11 19:44:37 p128 kernel: tap tap-3-5= 1712:=20 2 getting info
Feb 11 19:44:37 p128 kernel: pciback: vpci:=20 0000:0e:00.0: assign to virtual slot 0
Feb 11 19:44:37 p128 kernel= :=20 device vif3.0 entered promiscuous mode
Feb 11 19:44:37 p128 kernel= :=20 ADDRCONF(NETDEV_UP): vif3.0: link is not ready
Feb 11 19:44:39 p12= 8=20 kernel: blktap: ring-ref 9, event-channel 9, protocol 1=20 (x86_64-abi)
Feb 11 19:44:48 p128 kernel: pciback 0000:0e:00.0: Dr= iver=20 tried to write to a read-only configuration space field at offset 0x4= 4,=20 size 2. This may be harmless, but if you have problems with your=20 device:
Feb 11 19:44:48 p128 kernel: 1) see permissive attribute i= n=20 sysfs
Feb 11 19:44:48 p128 kernel: 2) report problems to the xen-d= evel=20 mailing list along with details of your device obtained from lspci.Feb=20 11 19:44:48 p128 kernel: PCI: Enabling device 0000:0e:00.0 (0000 ->= ;=20 0002)
Feb 11 19:44:48 p128 kernel: ACPI: PCI Interrupt 0000:0e:00.= 0[A]=20 -> GSI 16 (level, low) -> IRQ 16
Feb 11 19:44:49 p128 kernel= :=20 ACPI: PCI interrupt for device 0000:0e:00.0 disabled



s= ome=20 more details - [root@p128 ~]# rpm -qa | grep=20 xen
kernel-xen-2.6.18-92.1.22.el5
xen-3.0.3-64.el5_2.9
xen-l= ibs-3.0.3-64.el5_2.9
xen-libs-3.0.3-64.el5_2.9

[root@p128=20 ~]# ibv_devinfo
hca_id:=20 mthca0
       =20 fw_ver:          &n= bsp;            = ; =20 5.3.0
       =20 node_guid:          = ;           =20 0002:c902:0022:cd48
       =20 sys_image_guid:         =        =20 0002:c902:0022:cd4b
       =20 vendor_id:          = ;           =20 0x02c9
       =20 vendor_part_id:         =        =20 25218
       =20 hw_ver:          &n= bsp;            = ; =20 0x20
       =20 board_id:          =             =20 MT_0370130002
       =20 phys_port_cnt:         &= nbsp;       =20 2
          &nbs= p;    =20 port:  =20 1
          &nbs= p;            = =20 state:          &nb= sp;      =20 PORT_INIT=20 (2)
          &n= bsp;            = ;=20 max_mtu:          &= nbsp;    =20 2048=20 (4)
          &n= bsp;            = ;=20 active_mtu:         &nbs= p;  =20 512=20 (2)
          &n= bsp;            = ;=20 sm_lid:          &n= bsp;     =20 0
          &nbs= p;            = =20 port_lid:          =     =20 0
          &nbs= p;            = =20 port_lmc:          =     =20 0x00

         &nb= sp;     =20 port:  =20 2
          &nbs= p;            = =20 state:          &nb= sp;      =20 PORT_DOWN=20 (1)
          &n= bsp;            = ;=20 max_mtu:          &= nbsp;    =20 2048=20 (4)
          &n= bsp;            = ;=20 active_mtu:         &nbs= p;  =20 512=20 (2)
          &n= bsp;            = ;=20 sm_lid:          &n= bsp;     =20 0
          &nbs= p;            = =20 port_lid:          =     =20 0
          &nbs= p;            = =20 port_lmc:          =     =20 0x00


any help greatly appreciated.

~subbu

On Sat, Oct 18, 2008 at 4:54 AM, David Bro= wn <dmlb2000@gmail.com> wrote:
Okay=20 so my question to the openfabrics guys is, why would the OFED
dr= ivers=20 fail to read the firmware?

Any thoughts?

Thanks,
-= =20 David Brown


---------- Forwarded message ----------
F= rom:=20 David Brown <dmlb2000@gmail.com>
Date: Thu, Sep 11, 2008 at=20 2:24 PM
Subject: pciback module not working
To: xen-users@lists.xenso= urce.com, xen-devel@lists.xensource.com


This issue=20 was brought up about a year and a half ago. So I'll bring
it= up again=20 and see if anything happens.

I've got an infiniband netw= ork and=20 am attempting to pass the
infiniband card through the host and g= ive=20 it to the guest.
I'm working with standard CentOS 5.2 on bot= h guest=20 and host with their
provided xen (3.0.3 ish). I've also atte= mpted to=20 install the newest
Xen 3.3 and use their standard host kernel an= d=20 that did the same
thing. The guest dmesg output in the guest is= =20 similar on both
permissive and normal mode.

I'm getti= ng issues=20 with detecting the firmware on the card for some reason...

A= ny=20 help would be appreciated.

Thanks,
- David Brown

= =3D=3D=3D=20 GUEST dmesg output =3D=3D=3D
ib_mthca: Mellanox InfiniBand HCA d= river v1.0=20 (February 28, 2008)
ib_mthca: Initializing 0000:00:00.0
PCI:= =20 Enabling device 0000:00:00.0 (0000 -> 0002)
PCI: Setting late= ncy=20 timer of device 0000:00:00.0 to 64
ib_mthca 0000:00:00.0: QUERY_= FW=20 command failed, aborting.
ib_mthca: probe of 0000:00:00.0 failed= with=20 error -11
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

=3D=3D=3D Host modprobe.conf=20 =3D=3D=3D
alias eth0 bnx2
alias eth1 bnx2
alias scsi_hosta= dapter=20 cciss
options pciback=20 hide=3D(41:00.0)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D

=3D=3D=3D Host lspci output=20 =3D=3D=3D
# lspci -vs 41:00.0
41:00.0 InfiniBand: Mellanox Te= chnologies=20 MT25204 [InfiniHost III Lx
HCA] (rev 20)
     = =20 Subsystem: Hewlett-Packard Company Unknown device 170a
  &n= bsp;=20   Flags: fast devsel, IRQ 16
      Memory at= =20 fdc00000 (64-bit, non-prefetchable) [disabled] [size=3D1M]
 = ;=20     Memory at fd000000 (64-bit, prefetchable) [disabled]= =20 [size=3D8M]
      Capabilities: [40] Power Manage= ment=20 version 2
      Capabilities: [48] Vital Product= =20 Data
      Capabilities: [90] Message Signalled= =20 Interrupts: 64bit+ Queue=3D0/5 Enable-
     =20 Capabilities: [84] MSI-X: Enable- Mask- TabSize=3D32
  &nbs= p;=20   Capabilities: [60] Express Endpoint IRQ=20 0
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D

This makes sure it get loaded first=20 off before anything else.
=3D=3D=3D Host mkinitrd cmd =3D=3D=3D<= br># mkinitrd -f=20 --with=3Dpciback --preload=20 pciback
/boot/initrd-2.6.18-92.1.10.el5xen.img=20 2.6.18-92.1.10.el5xen
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D

=3D=3D=3D Host pciback=20 dmesg =3D=3D=3D
pciback 0000:41:00.0: Driver tried to write to a= =20 read-only
configuration space field at offset 0x44, size 2. This= may=20 be
harmless, but if you have problems with your device:
1) se= e=20 permissive attribute in sysfs
2) report problems to the xen-deve= l=20 mailing list along with details of
your device obtained from=20 lspci.
PCI: Enabling device 0000:41:00.0 (0000 -> 0002)
AC= PI:=20 PCI Interrupt 0000:41:00.0[A] -> GSI 16 (level, low) -> IRQ= =20 16
PCI: Setting latency timer of device 0000:41:00.0 to 64
AC= PI:=20 PCI interrupt for device 0000:41:00.0=20 disabled
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D

=3D=3D=3D Host pciback dmesg (after=20 setting it permissive) =3D=3D=3D
pciback 0000:41:00.0: enabling = permissive=20 mode configuration space accesses!
pciback 0000:41:00.0: permiss= ive=20 mode is potentially unsafe!
pciback: vpci: 0000:41:00.0: assign = to=20 virtual slot 0
device vif1.0 entered promiscuous=20 mode
ADDRCONF(NETDEV_UP): vif1.0: link is not ready
blkback:= =20 ring-ref 9, event-channel 28, protocol 1 (x86_64-abi)
PCI: Enabl= ing=20 device 0000:41:00.0 (0000 -> 0002)
ACPI: PCI Interrupt=20 0000:41:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Sett= ing=20 latency timer of device 0000:41:00.0 to 64
ACPI: PCI interrupt f= or=20 device 0000:41:00.0=20 disabled
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D Guest=20 lspci output =3D=3D=3D
# lspci -v
00:00.0 InfiniBand: Mellano= x=20 Technologies MT25204 [InfiniHost III Lx
HCA] (rev 20)
 = =20     Subsystem: Hewlett-Packard Company Unknown device=20 170a
      Flags: fast devsel, IRQ 16
  &= nbsp;=20   Memory at fdc00000 (64-bit, non-prefetchable) [disabled]=20 [size=3D1M]
      Memory at fd000000 (64-bit,=20 prefetchable) [disabled] [size=3D8M]
      Capabi= lities:=20 [40] Power Management version 2
      Capabilitie= s:=20 [48] Vital Product Data
      Capabilities: [90]= =20 Message Signalled Interrupts: 64bit+
Queue=3D0/5 Enable-
&nbs= p;=20     Capabilities: [84] MSI-X: Enable- Mask-=20 TabSize=3D32
      Capabilities: [60] Express End= point=20 IRQ=20 0
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
_______________________________________________
general=20 mailing list
general@lists.openfabrics.org
http:= //lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To=20 unsubscribe, please visit http://openib.org/mailman/listinfo/o= penib-general



--
. = . . s u b b u
"You've got to be original,=20 because if you're like someone else, what do they need you=20 for?"

<= br clear=3D"all">
--
. . . s u b b u
"You've got to be o= riginal, because if=20 you're like someone else, what do they need you=20 for?"



--
. . . s u b b u
&quo= t;You've got to be original, because if you're like someone else, w= hat do they need you for?"
--0015175ce08e416ed40462b30783-- --===============2120388397== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============2120388397==--