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

[Xen-users] pcifront problem in Ubuntu 10.04 domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] pcifront problem in Ubuntu 10.04 domU
From: Francisco Barrera <francisco.barrera@xxxxxxxxx>
Date: Wed, 11 May 2011 13:50:49 +0200
Delivery-date: Wed, 11 May 2011 04:52:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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)

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.



--


    Francisco Barrera

    francisco.barrera@xxxxxxxxx
    http://www.empelt.es

   









Antes de imprimir este e-mail piense en su responsabilidad compromiso con el medio ambiente

AVISO LEGAL
Este mensaje y los documentos anexos que pudiera incluir se dirige exclusivamente a su/s destinatario/s y puede contener información privilegiada o confidencial. Si no es ud. el destinatario del mensaje, le rogamos que lo comunique inmediatamente al remitente y proceda a su destrucción. La utilización, grabación, divulgación, copia o cualquier otro uso de la información sin el consentimiento de EMPELT está prohibida en virtud de la legislación vigente.

EMPELT cumple la Ley Orgánica 15/99 de 14 de Diciembre de Protección de Datos de Carácter Personal. Su e-mail y datos personales pueden estar incluidos en un fichero para su tratamiento. En cualquier momento puede ejercer sus derechos de acceso, rectificación, cancelación y oposición, mediante el envío de un e-mail o comunicación por escrito.









Before printing think about your responsability and commitment with the environment

DISCLAIMER
This message and all its attached documents is intended exclusively for its addressee(s) and may contain information that is confidential and protected by a professional privilege or whose disclosure is prohibited by law. If this message has been received by mistake, please we require to notify the sender immediately via e-mail and delete it. Any dissemination, copy, disclosure or, in any other way, using any of the information without the EMPELT consent is strictly prohibited by law.

EMPELT meets the Organica Law 15/99 of December 14 for the Protection of Personal Data. Your e-mail and personal information can be included in a file for treatment. In any moment you can exercise their rigths of access, rectification, cancellation and oposition by sending and e-mail or written communication.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>