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-API] bnx2 driver failed in linux-2.6.18.8-xen-3.4.2, Dell R610

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-API] bnx2 driver failed in linux-2.6.18.8-xen-3.4.2, Dell R610
From: Luwei Cheng <chengluwei@xxxxxxxxx>
Date: Mon, 15 Nov 2010 06:46:18 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 14 Nov 2010 14:46:53 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=V+HieXDdGs5KdyV502uo1PkLXjG2qRGpkSK7ET3ShUg=; b=hbbHE07CNcix58gdb7mo9mqMQB9X9pKZUn+3KVMgNsoDc0h+UcJuNy1JmsIsulEHVH F6USZ9MD+CydiszPBAuC8HODEY6SGYWSDWaAagJ1ChCq9lclVxTI8j2VRCGUwCHD16tB eKyTjvVZgpxAEaeI2rMefIELpMPeks9tv8uQg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=spxi4s03mf9WhhkQfMqisjSZBkYRdbIp64U67ufRfIJOchYruIUyD/J04bNGfy15Oi CW7yFQa9ENKp3gP38ERLf91wRRoksz0e8EdwHAq4gzjwGaEKLtB/xKKql+Lo0lxsgGPA GvLFm8PMJvczqd/yyFVm8QNJnpf9Qzuf7+iE4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101113195710.GK2754@xxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikBKT=nMMPH037my5x3dEa42TFmBpa+m=YMUJKB@xxxxxxxxxxxxxx> <20101112170555.GE10339@xxxxxxxxxxxx> <AANLkTikrSwSW_NupL6szeRHkBHHTzYQEOCG3CMDV8VGi@xxxxxxxxxxxxxx> <20101112175602.GA11329@xxxxxxxxxxxx> <AANLkTikx++Kh-F1CRTpZJE2+81bSdiBAJ7dX0ywopScm@xxxxxxxxxxxxxx> <AANLkTikN85P8AZh+RUd5Ekmtn0seheMpOSH5vK1Om+cb@xxxxxxxxxxxxxx> <AANLkTikmBry294ipiYTiRa27mmJWrciHStmr=nkrjgUo@xxxxxxxxxxxxxx> <AANLkTik=9aE36j4a1-RLqv5OHskeVekUzr1OYJAbbOCU@xxxxxxxxxxxxxx> <20101113195710.GK2754@xxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Hello Pasi,

Thanks for the reply. I have updated XEN to version 4.0 with LInux kernel 2.6.31.8. (I also tried xen-3.4.2)
Luckily it can boot and bnx2 NIC works.

But another problem happens: guest domain can not boot correctly, shows "Device 0 (vif) could not be connected."
I have almost searched the whole internet to find the solution but none worked.

Some people suggest "/sbin/start_udev", but it does not work for my machine.

Any idea ??

Thanks in advance.

Best,
Luwei


On Sun, Nov 14, 2010 at 3:57 AM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Sat, Nov 13, 2010 at 04:43:25AM +0800, Luwei Cheng wrote:
>    Hello Bruce,
>    Thanks for your reply. In my kernel, I did not
>    find CONFIG_FIRMWARE_IN_KERNEL.
>    There are only 4 options related to firmware in my kernel:
>    CONFIG_PREVENT_FIRMWARE_BUILD=y
>    CONFIG_HOSTAP_FIRMWARE=y
>    CONFIG_HOSTAP_FIRMWARE_NVRAM=y
>    CONFIG_FIRMWARE_EDID=y
>    Any idea?

http://wiki.xen.org/xenwiki/XenParavirtOps

especially read the troubleshooting section.
It has instructions how to build the kernel,
and also it has reference .config files with working kernel configuration.

-- Pasi


>    Best,
>    -Luwei
>    On Sat, Nov 13, 2010 at 4:26 AM, Bruce Edge <[1]bruce.edge@xxxxxxxxx>
>    wrote:
>
>      On Fri, Nov 12, 2010 at 12:10 PM, Luwei Cheng <[2]chengluwei@xxxxxxxxx>
>      wrote:
>      > So many issues I did not expect to have... I think I need a 2.6.18
>      stable
>      > kernel to run.
>      > Actually I have only ONE step to succeed in 2.6.18.8. Any one who
>      knows how
>      > to patch bnx2 dirver?
>      > Deep thanks!
>      > --Luwei
>      >
>      > On Sat, Nov 13, 2010 at 2:05 AM, Luwei Cheng <[3]chengluwei@xxxxxxxxx>
>      wrote:
>      >>
>      >> Yes, I am already in progress to install 2.6.32 with long time to git
>      >> clone... hope not too much trouble shooting:-)
>      >> Anyway, if there's any patch to 2.6.18.8-bnx2 driver, I'd like it
>      more.
>      >> Regards,
>      >> Luwei
>
>      Not sure if this is related to your specific problem, but to use a
>      BNX2 NIC I need to enable
>         CONFIG_FIRMWARE_IN_KERNEL=y
>      in order to pull the BNX2 firmware into the kernel, otherwise it
>      complains that it can't find the firmware at boot time.
>
>      -Bruce
>      >>
>      >> On Sat, Nov 13, 2010 at 1:56 AM, Konrad Rzeszutek Wilk
>      >> <[4]konrad.wilk@xxxxxxxxxx> wrote:
>      >>>
>      >>> On Sat, Nov 13, 2010 at 01:19:03AM +0800, Luwei Cheng wrote:
>      >>> > Hello Konrad,
>      >>> >
>      >>> > Thanks for your reply to enlighten me.
>      >>> >
>      >>> > This is almost the first time that I compile XenLinux from source.
>      To
>      >>> > play
>      >>> > safe, I just downloaded the source code from [5]www.xen.org.
>      >>> > Is 2.6.32-PVOPS already stable kernel? Is there any document to
>      follow
>      >>> > so
>      >>> > that I won't miss some steps? Thanks!
>      >>>
>      >>> Look on Google for "Wiki PVOPS" and it will direct you the Wiki on
>      how to
>      >>> do it.
>      >>
>      >
>      >
>      > _______________________________________________
>      > xen-api mailing list
>      > [6]xen-api@xxxxxxxxxxxxxxxxxxx
>      > [7]http://lists.xensource.com/mailman/listinfo/xen-api
>      >
>      >
>
> References
>
>    Visible links
>    1. mailto:bruce.edge@xxxxxxxxx
>    2. mailto:chengluwei@xxxxxxxxx
>    3. mailto:chengluwei@xxxxxxxxx
>    4. mailto:konrad.wilk@xxxxxxxxxx
>    5. http://www.xen.org/
>    6. mailto:xen-api@xxxxxxxxxxxxxxxxxxx
>    7. http://lists.xensource.com/mailman/listinfo/xen-api

> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api