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-community

[Xen-community] pcifront problem in Ubuntu 10.04 domU

Hi all,

I have a problem when from domU I need to configure a network interface.


My system configuration is the next:

dom0: xen 3.4.3 with 2.6.18-238.9.1.el5xen kernel, making pci back from a network card. All ok. This is the result from "lspci -v -s 09:00.0"
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
Subsystem: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 255
Memory at d2000000 (64-bit, non-prefetchable) [size=32M]
Capabilities: [40] PCI-X non-bridge device
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data
Capabilities: [58] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: pciback
Kernel modules: bnx2

domU: paravirtual Ubuntu 10.04  with 2.6.37-020637-generic kernel

Apparently works fine, because I execute from dom0 when domU is created "xm pci-list Ubuntu" and the result is:
domain   bus   slot   func
0x0000  0x09   0x00    0x0

and from domU I execute lspci, it returns:
00:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)

This is a domU dmesg output:
[    2.036868] pcifront pci-0: Creating PCI Frontend Bus 0000:00
[    2.037494] pci 0000:00:00.0: [14e4:164c] type 0 class 0x000200
[    2.038642] pci 0000:00:00.0: reg 10: [mem 0xd2000000-0xd3ffffff 64bit]
[    2.042682] pci 0000:00:00.0: PME# supported from D3hot D3cold
[    2.042731] pci 0000:00:00.0: PME# disabled
[    2.045954] Initialising Xen virtual ethernet driver.
[    2.142451] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro
[    2.151373] pcifront pci-0: claiming resource 0000:00:00.0/0
[    2.210242] lp: driver loaded but no devices found
[    2.261647] bnx2: Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.0.18 (Oct 7, 2010)
[    2.261772] bnx2 0000:00:00.0: enabling device (0000 -> 0002)
[    2.262184] bnx2 0000:00:00.0: Xen PCI enabling IRQ: 19
[    2.340687] bnx2 0000:00:00.0: eth1: Broadcom NetXtreme II BCM5708 1000Base-T (B2) PCI-X 64-bit 133MHz found at mem d2000000, IRQ 19, node addr 00:10:18:39:9a:f0


But when I configure the network interface in /etc/network/interfaces file, and I execute "ifup eth1" the system hangs.
After rebooting, the message that appears is the next and the system dead:

[  321.354681] ------------[ cut here ]------------
[  321.354693] kernel BUG at /home/kernel-ppa/COD/linux/drivers/pci/msi.c:314!
[  321.354700] invalid opcode: 0000 [#1] SMP
[  321.354708] last sysfs file: /sys/devices/pci-0/pci0000:00/0000:00:00.0/class
[  321.354715] CPU 0
[  321.354718] Modules linked in: bnx2 lp parport xen_netfront xen_pcifront xen_blkfront
[  321.354736]
[  321.354740] Pid: 711, comm: ifconfig Not tainted 2.6.37-020637-generic #201101050908 /
[  321.354747] RIP: e030:[<ffffffff81300d7b>]  [<ffffffff81300d7b>] free_msi_irqs+0x8b/0x130
[  321.354764] RSP: e02b:ffff880003447c58  EFLAGS: 00010286
[  321.354769] RAX: ffff88003e018000 RBX: 0000000000000000 RCX: ffff88003dc00680
[  321.354776] RDX: 0000000000000000 RSI: 00000000000000ff RDI: ffff88003dc00470
[  321.354784] RBP: ffff880003447c88 R08: 0000000000000000 R09: 0000000000000000
[  321.354790] R10: 0000000000000001 R11: 0000000000000000 R12: ffff88003b10c9c0
[  321.354797] R13: 0000000000000001 R14: ffff88003b10c9d0 R15: ffff88000342d000
[  321.354808] FS:  00007f342c0ae700(0000) GS:ffff88003ffd2000(0000) knlGS:0000000000000000
[  321.354817] CS:  e033 DS: 0000 ES: 0000 CR0: 000000008005003b
[  321.354823] CR2: 00007eff16a4b0d0 CR3: 000000003b5a0000 CR4: 0000000000002660
[  321.354830] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  321.354838] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  321.354845] Process ifconfig (pid: 711, threadinfo ffff880003446000, task ffff8800034e4440)
[  321.354852] Stack:
[  321.354855]  ffff88000342d8f8 ffff88000342d000 0000000000000001 ffff88003b1bc6c0
[  321.354868]  0000000000000000 0000000000000000 ffff880003447ca8 ffffffff813015fd
[  321.354880]  00000000fffffff0 ffff88003b1bc6e0 ffff880003447cd8 ffffffffa0040199
[  321.354892] Call Trace:
[  321.354900]  [<ffffffff813015fd>] pci_disable_msi+0x3d/0x50
[  321.354911]  [<ffffffffa0040199>] bnx2_free_irq+0xa9/0xb0 [bnx2]
[  321.354920]  [<ffffffffa0046bce>] bnx2_open+0x8e/0x210 [bnx2]
[  321.354929]  [<ffffffff814b690e>] __dev_open+0x8e/0xe0
[  321.354937]  [<ffffffff814b5a56>] __dev_change_flags+0x96/0x170
[  321.354944]  [<ffffffff814b62e8>] dev_change_flags+0x28/0x70
[  321.354953]  [<ffffffff8151b5e7>] devinet_ioctl+0x5c7/0x710
[  321.354961]  [<ffffffff8151c863>] inet_ioctl+0x63/0x80
[  321.354968]  [<ffffffff814a27b2>] sock_do_ioctl+0x32/0x60
[  321.354976]  [<ffffffff814a2d17>] sock_ioctl+0x107/0x280
[  321.354984]  [<ffffffff8116eafd>] vfs_ioctl+0x1d/0x50
[  321.354991]  [<ffffffff8116f5cd>] do_vfs_ioctl+0x6d/0x1f0
[  321.354999]  [<ffffffff8115d2d1>] ? sys_faccessat+0x171/0x1b0
[  321.355006]  [<ffffffff8116f7d7>] sys_ioctl+0x87/0xa0
[  321.355015]  [<ffffffff8100c0c2>] system_call_fastpath+0x16/0x1b
[  321.355020] Code: ed 7e 22 31 db 89 df 41 03 7c 24 0c e8 9f fd dc ff 48 83 78 48 00 75 13 83 c3 01 44 39 eb 75 e5 49 8b 44 24 10 4c 8d 60 f0 eb a4 <0f> 0b eb fe 90 4c 89 ff ff 15 07 cf 70 00 4d 8b a7 f8 08 00 00
[  321.355120] RIP  [<ffffffff81300d7b>] free_msi_irqs+0x8b/0x130
[  321.355128]  RSP <ffff880003447c58>
[  321.355134] ---[ end trace 498862821bb8e78c ]---


Any sugestion?

Thanks in advance.


_______________________________________________
Xen-community mailing list
Xen-community@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-community
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-community] pcifront problem in Ubuntu 10.04 domU, Francisco Barrera <=