From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: no-carrier on qlogic 8242 10gig with linux 3.x running xen Date: Tue, 27 Mar 2012 17:51:59 -0400 Message-ID: <20120327215159.GA17203@phenom.dumpdata.com> References: <1332838109433-5597283.post@n5.nabble.com> <1332840330.2485.70.camel@leeds.uk.xensource.com> <1332841414026-5597400.post@n5.nabble.com> <1332842573.2485.88.camel@leeds.uk.xensource.com> <20120327124113.GP12984@reaktio.net> <1332865415525-5598276.post@n5.nabble.com> <20120327192644.GQ12984@reaktio.net> <1332880165775-5598838.post@n5.nabble.com> <1332883903167-5598955.post@n5.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1332883903167-5598955.post@n5.nabble.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Kristoffer Harthing Egefelt Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, Mar 27, 2012 at 02:31:43PM -0700, Kristoffer Harthing Egefelt wrote: > Diffing the dmesg's from native linux 3.x and linux 3.x with xen shows 4 more > lines on the native: > > Native: > qlcnic 0000:03:00.0: phy port: 0 switch_mode: 0, > max_tx_q: 1 max_rx_q: 8 min_tx_bw: 0x0, > max_tx_bw: 0x64 max_mtu:0x2580, capabilities: 0x6affae > qlcnic 0000:03:00.0: failed card response code:0x10 > qlcnic 0000:03:00.0: Can't get template size 16 > qlcnic 0000:03:00.0: firmware v4.7.83 > qlcnic: 24:b6:fd:64:1e:45: QME8242-k 10GbE Dual Port Mezzanine Card Board > Chip rev 0x54 > * qlcnic 0000:03:00.0: irq 78 for MSI/MSI-X > qlcnic 0000:03:00.0: irq 79 for MSI/MSI-X > qlcnic 0000:03:00.0: irq 80 for MSI/MSI-X > qlcnic 0000:03:00.0: irq 81 for MSI/MSI-X* > qlcnic 0000:03:00.0: using msi-x interrupts > qlcnic 0000:03:00.0: eth0: XGbE port initialized > > The xen version of dmesg does not have these irq's: > > XEN: > qlcnic 0000:03:00.0: phy port: 0 switch_mode: 0, > max_tx_q: 1 max_rx_q: 8 min_tx_bw: 0x0, > max_tx_bw: 0x64 max_mtu:0x2580, capabilities: 0x6affae > qlcnic 0000:03:00.0: failed card response code:0x10 > qlcnic 0000:03:00.0: Can't get template size 16 > qlcnic 0000:03:00.0: firmware v4.7.83 > qlcnic: 24:b6:fd:64:1e:45: QME8242-k 10GbE Dual Port Mezzanine Card Board > Chip rev 0x54 > qlcnic 0000:03:00.0: using msi-x interrupts > qlcnic 0000:03:00.0: eth0: XGbE port initialized > xen: registering gsi 38 triggering 0 polarity 1 > xen_map_pirq_gsi: returning irq 38 for gsi 38 > xen: --> pirq=38 -> irq=38 (gsi=38) > Already setup the GSI :38 And is 38 assigned to this device or to another one? You shold be able to see that in /proc/interrupts. > > Does this make any sense? You would be better of comparing the /proc/interrupts - see if the one that is associated with the driver has the same number of them (the numbers will differ). > I'm able to mod probe the qlcnic driver with options: > use_msi=0 and > use_msi_x=0 > but this has no effect. > > > > -- > View this message in context: http://xen.1045712.n5.nabble.com/no-carrier-on-qlogic-8242-10gig-with-linux-3-x-running-xen-tp5597283p5598955.html > Sent from the Xen - Dev mailing list archive at Nabble.com. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel