Skip to contentSkip to conversation

miss probing pci devices with Xen 3.4.2

Xen-users Pasi Kärkkäinen 2 participants 3 messages Feb 7, 2010 – Feb 12, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Forwarding to xen-devel..
Is there some hypervisor boot option to try?

-- Pasi

Quoted 35 lines · gene zhang

Hi,
I have just installed Xen-3.4.2 (x86_32 version) and dom0 on an old 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/910GL 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 (ICH6 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 Family) 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 slot, 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

#2 lore raw
Quoted 3 lines · Pasi Kärkkäinen

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

Quoted 43 lines · gene zhang
Quoted 27 lines

Hi,
I have just installed Xen-3.4.2 (x86_32 version) and dom0 on an old 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/910GL 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 (ICH6 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 Family) 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

Quoted 8 lines

To try something more, I plugged an Realtek 8169 card in a PCI slot, 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
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

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

Quoted 58 lines · Pasi Kärkkäinen
Quoted 3 lines · Pasi Kärkkäinen

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

Quoted 4 lines · gene zhang
Quoted 2 lines

Hi,
I have just installed Xen-3.4.2 (x86_32 version) and dom0 on an old

test

Quoted 3 lines
Quoted 3 lines

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

Quoted 4 lines
Quoted 4 lines
   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)

Quoted 1 line
Quoted 1 line

00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI

Express Root Port (rev 0e)

Quoted 1 line
Quoted 1 line

00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL

Integrated Graphics Controller (rev 0e)

Quoted 1 line
Quoted 1 line
   00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW

(ICH6 Family) USB UHCI #1 (rev 03)

Quoted 1 line
Quoted 1 line
   00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW

(ICH6 Family) USB UHCI #2 (rev 03)

Quoted 1 line
Quoted 1 line
   00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW

(ICH6 Family) USB UHCI #3 (rev 03)

Quoted 1 line
Quoted 1 line
   00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW

(ICH6 Family) USB UHCI #4 (rev 03)

Quoted 1 line
Quoted 1 line
   00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW

(ICH6 Family) USB2 EHCI Controller (rev 03)

Quoted 2 lines
Quoted 2 lines

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)

Quoted 1 line
Quoted 1 line

00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC

Interface Bridge (rev 03)

Quoted 1 line
Quoted 1 line
   00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6

Family) IDE Controller (rev 03)

Quoted 1 line
Quoted 1 line
   00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W)

SATA Controller (rev 03)

Quoted 1 line
Quoted 1 line
   00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)

SMBus Controller (rev 03)

Quoted 1 line
Quoted 1 line

02:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd.

RTL-8169 Gigabit Ethernet (rev 10)

Quoted 2 lines
Quoted 2 lines

But in Xen-linux, the last line was missing. I am guessing dom0

kernel

Quoted 19 lines
Quoted 3 lines
Quoted 3 lines

failed to probe PCI bus 02:xx.x

To try something more, I plugged an Realtek 8169 card in a PCI slot,

in

Quoted 3 lines
Quoted 3 lines

native Linux, the device was probed as:

02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd.

RTL-8169 Gigabit Ethernet (rev 10)

Quoted 10 lines
Quoted 4 lines

And in Xen-linux, the probing failed again.
Help!
Thanks

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users