From mboxrd@z Thu Jan 1 00:00:00 1970 From: gene zhang Subject: Re: [Xen-devel] Re: miss probing pci devices with Xen 3.4.2 Date: Fri, 12 Feb 2010 22:20:44 +0800 Message-ID: <1b3b255a1002120620o1a6b7eedvf6f73a5775d180f@mail.gmail.com> References: <1b3b255a1002050314t5e347fcg5aad294236c65cca@mail.gmail.com> <20100207114443.GC2861@reaktio.net> <20100207115616.GD2861@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0347872891==" Return-path: In-Reply-To: <20100207115616.GD2861@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0347872891== Content-Type: multipart/alternative; boundary=001636e0accc231ed6047f67f93a --001636e0accc231ed6047f67f93a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, Sorry for the delayed reply. I was running dom0 kernel download from mercurial repository when "make world". The version is 2.6.18.8-xen. And I used the default kernel config. I cannot post the dmesg now as I am on a trip. If that's critical for the diagnosis, I will post them asap. Thanks! -Fred On Sun, Feb 7, 2010 at 7:56 PM, Pasi K=E4rkk=E4inen wrote: > On Sun, Feb 07, 2010 at 01:44:43PM +0200, Pasi K=E4rkk=E4inen wrote: > > Forwarding to xen-devel.. > > Is there some hypervisor boot option to try? > > > > Shouldn't read email before drinking coffee in the morning.. > Thinking more about this, I guess pci access is totally up to dom0 kernel= . > > So what dom0 kernel are you running? Please paste both "xm dmesg" and > "dmesg" output > when booted to Xen. > > -- Pasi > > > > > On Fri, Feb 05, 2010 at 07:14:44PM +0800, gene zhang wrote: > > > Hi, > > > I have just installed Xen-3.4.2 (x86_32 version) and dom0 on an ol= d > test > > > machine with P4 3.0G CPU. The on-board Realtek 8169 NIC cannot be > > > recognized. > > > (Default configuration was used, I just "make world" and installed > the > > > dist.) > > > I used "lspci" in the native Linux and got: > > > > > 00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL > Memory Controller Hub (rev 0e) > > > 00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI > Express Root Port (rev 0e) > > > 00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910= GL > Integrated Graphics Controller (rev 0e) > > > 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW > (ICH6 Family) USB UHCI #1 (rev 03) > > > 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW > (ICH6 Family) USB UHCI #2 (rev 03) > > > 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW > (ICH6 Family) USB UHCI #3 (rev 03) > > > 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW > (ICH6 Family) USB UHCI #4 (rev 03) > > > 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW > (ICH6 Family) USB2 EHCI Controller (rev 03) > > > 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3) > > > 00:1e.2 Multimedia audio controller: Intel Corporation > 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03) > > > 00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC > Interface Bridge (rev 03) > > > 00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (IC= H6 > Family) IDE Controller (rev 03) > > > 00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) > SATA Controller (rev 03) > > > 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Famil= y) > SMBus Controller (rev 03) > > > 02:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. > RTL-8169 Gigabit Ethernet (rev 10) > > > > > > But in Xen-linux, the last line was missing. I am guessing dom0 > kernel > > > failed to probe PCI bus 02:xx.x > > > > > > To try something more, I plugged an Realtek 8169 card in a PCI slo= t, > in > > > native Linux, the device was probed as: > > > > > > 02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. > RTL-8169 Gigabit Ethernet (rev 10) > > > > > > And in Xen-linux, the probing failed again. > > > Help! > > > Thanks > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > --001636e0accc231ed6047f67f93a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

Sorry for the delayed reply.

I was running dom0 kernel download from mercurial repository when "m= ake world". The version is 2.6.18.8-xen. And I used the default kernel= config.

I cannot post the dmesg now as I am on a trip. If that&= #39;s critical for the diagnosis, I will post them asap. Thanks!
=
-Fred


On Sun, F= eb 7, 2010 at 7:56 PM, Pasi K=E4rkk=E4inen <pasik@iki.fi> wrote:
On Sun, Feb 07, 2010 at 0= 1:44:43PM +0200, Pasi K=E4rkk=E4inen wrote:
> Forwarding to xen-devel..
> Is there some hypervisor boot option to try?
>

Shouldn't read email before drinking coffee in the morning..
Thinking more about this, I guess pci access is totally up to dom0 kernel.<= br>
So what dom0 kernel are you running? Please paste both "xm dmesg"= and "dmesg" output
when booted to Xen.

-- Pasi

>
> On Fri, Feb 05, 2010 at 07:14:44PM +0800, gene zhang wrote:
> > =A0 =A0Hi,
> > =A0 =A0I have just installed Xen-3.4.2 (x86_32 version) and dom0 = on an old test
> > =A0 =A0machine with P4 3.0G CPU. The on-board Realtek 8169 NIC ca= nnot be
> > =A0 =A0recognized.
> > =A0 =A0(Default configuration was used, I just "make world&q= uot; and installed the
> > =A0 =A0dist.)
> > =A0 =A0I used "lspci" in the native Linux and got:
>
> > =A0 =A000:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/9= 10GL Memory Controller Hub (rev 0e)
> > =A0 =A000:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/91= 0GL PCI Express Root Port (rev 0e)
> > =A0 =A000:02.0 VGA compatible controller: Intel Corporation 82915= G/GV/910GL Integrated Graphics Controller (rev 0e)
> > =A0 =A000:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/F= W/FRW (ICH6 Family) USB UHCI #1 (rev 03)
> > =A0 =A000:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/F= W/FRW (ICH6 Family) USB UHCI #2 (rev 03)
> > =A0 =A000:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/F= W/FRW (ICH6 Family) USB UHCI #3 (rev 03)
> > =A0 =A000:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/F= W/FRW (ICH6 Family) USB UHCI #4 (rev 03)
> > =A0 =A000:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/F= W/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
> > =A0 =A000:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (re= v d3)
> > =A0 =A000:1e.2 Multimedia audio controller: Intel Corporation 828= 01FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
> > =A0 =A000:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH= 6R) LPC Interface Bridge (rev 03)
> > =A0 =A000:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW= /FRW (ICH6 Family) IDE Controller (rev 03)
> > =A0 =A000:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/= ICH6W) SATA Controller (rev 03)
> > =A0 =A000:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (IC= H6 Family) SMBus Controller (rev 03)
> > =A0 =A002:0b.0 Ethernet controller: Realtek Semiconductor Co., Lt= d. RTL-8169 Gigabit Ethernet (rev 10)
> >
> > =A0 =A0But in Xen-linux, the last line was missing. I am guessing= dom0 kernel
> > =A0 =A0failed to probe PCI bus 02:xx.x
> >
> > =A0 =A0To try something more, I plugged an Realtek 8169 card in a= PCI slot, in
> > =A0 =A0native Linux, the device was probed as:
> >
> > =A0 =A002:01.0 Ethernet controller: Realtek Semiconductor Co., Lt= d. RTL-8169 Gigabit Ethernet (rev 10)
> >
> > =A0 =A0And in Xen-linux, the probing failed again.
> > =A0 =A0Help!
> > =A0 =A0Thanks
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xenso= urce.com
> htt= p://lists.xensource.com/xen-devel

--001636e0accc231ed6047f67f93a-- --===============0347872891== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============0347872891==--