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] PCI delegation and IRQ error

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] PCI delegation and IRQ error
From: Leandro Rey <leandrorey@xxxxxxxxx>
Date: Mon, 09 Jul 2007 22:38:57 -0300
Delivery-date: Mon, 09 Jul 2007 18:34:20 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=hjdS4wnJhNToZ9BWa8w1wJsQiQmtnNuJi/IWmRQgw12bDwzvha2gS0T9CRWyEsdYUYdaNNOGuqIwZqWsRnyGMFhul6TxADMuSIUgfsrxhCeeSEBWKpj4SYdWCtwPFj9kYNTtqrTPoq3pKXvxpatEZ3lRzqMAxDEgacGrnkh6Bmc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=Tel0nHTimPE9eOkuNQzqN0ZFgHXOPiEjv/Gs78XXpKojke+l7nSk9tfO0igE1CYfty47CjPgsaJ2ecCmNhokh7+xnu5n0hX7oo4GwGAROlOwNvE+A/1ghv9WFXoOP8D1M4UG/gDPmAlgL096eAANT3Ivt8xSNJShpzXEGeX0Sdc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (X11/20070604)
Hi,

I am facing some problems in delegating a nic from dom0 to domu (a Firewall)

Everythig was runnig fine until:

Jul 9 20:18:59 Icaro2 kernel: irq 16: nobody cared (try booting with the "irqpoll" option)
Jul  9 20:18:59 Icaro2 kernel:  [<c013afef>] __report_bad_irq+0x2b/0x69
Jul  9 20:18:59 Icaro2 kernel:  [<c013b1e0>] note_interrupt+0x1b3/0x1eb
Jul  9 20:18:59 Icaro2 kernel:  [<c013a845>] handle_IRQ_event+0x49/0x51
Jul  9 20:18:59 Icaro2 kernel:  [<c013a900>] __do_IRQ+0xb3/0xe8
Jul  9 20:18:59 Icaro2 kernel:  [<c010612c>] do_IRQ+0x43/0x53
Jul  9 20:18:59 Icaro2 kernel:  [<c020c0f4>] evtchn_do_upcall+0x64/0x9b
Jul  9 20:18:59 Icaro2 kernel:  [<c0104a51>] hypervisor_callback+0x3d/0x48
Jul  9 20:18:59 Icaro2 kernel:  [<c010732e>] raw_safe_halt+0x8c/0xaf
Jul  9 20:18:59 Icaro2 kernel:  [<c0102c5f>] xen_idle+0x22/0x2e
Jul  9 20:18:59 Icaro2 kernel:  [<c0102d7e>] cpu_idle+0x91/0xab
Jul  9 20:18:59 Icaro2 kernel:  [<c03256fc>] start_kernel+0x378/0x37f
Jul  9 20:18:59 Icaro2 kernel: handlers:
Jul 9 20:18:59 Icaro2 kernel: [<cd1a2aaf>] (snd_intel8x0_interrupt+0x0/0x1c3 [snd_intel8x0])
Jul  9 20:18:59 Icaro2 kernel: Disabling IRQ #16

After this, delegated nic stops working on the Firewall.


In Dom0 I have:

Icaro2:/boot/grub# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 661FX/M661FX/M661MX Host (rev 11) 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge) 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0) 00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) 00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) 00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:05.0 IDE interface: Silicon Integrated Systems [SiS] RAID bus controller 180 SATA/PATA [SiS] (rev 01) 00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760/761 PCI/AGP VGA Display Adapter

In menu.lst:

title Xen 3.0.3-1-i386-pae / Debian GNU/Linux, kernel 2.6.18-4-xen-686
root            (hd0,0)
kernel          /xen-3.0.3-1-i386-pae.gz dom0_mem=192M
module /vmlinuz-2.6.18-4-xen-686 root=/dev/mapper/lvm--icaro-host ro console=tty0 pciback.hide=(00:0a.0)
module          /initrd.img-2.6.18-4-xen-686

Icaro2:/boot/grub# cat /proc/interrupts
          CPU0
 7:          0        Phys-irq  parport0
 8:          1        Phys-irq  rtc
 9:          0        Phys-irq  acpi
14:         74        Phys-irq  ide0
16:      24940        Phys-irq  SiS SI7012
18:       7895        Phys-irq  ohci_hcd:usb1
19:          0        Phys-irq  ohci_hcd:usb2
20:          0        Phys-irq  ohci_hcd:usb3
21:          2        Phys-irq  ehci_hcd:usb4
22:     143874        Phys-irq  libata, peth1
256:     229456     Dynamic-irq  timer0
257:          0     Dynamic-irq  resched0
258:          0     Dynamic-irq  callfunc0
259:       3786     Dynamic-irq  xenbus
260:          0     Dynamic-irq  console
261:        321     Dynamic-irq  pciback
262:       1273     Dynamic-irq  blkif-backend
263:         12     Dynamic-irq  blkif-backend
264:      43007     Dynamic-irq  vif1.0
265:      48200     Dynamic-irq  vif1.1
266:       1442     Dynamic-irq  blkif-backend
267:         12     Dynamic-irq  blkif-backend
268:         23     Dynamic-irq  blkif-backend
269:        164     Dynamic-irq  vif2.0
270:       2748     Dynamic-irq  blkif-backend
271:         12     Dynamic-irq  blkif-backend
272:      10822     Dynamic-irq  blkif-backend
273:      36270     Dynamic-irq  vif3.0
NMI:          0
LOC:          0
ERR:          0
MIS:          0


In Domu I have:

Hades:/# lspci
00:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)


Hades:/# cat /proc/interrupts
          CPU0
16:      24944        Phys-irq  eth2_rename
256:      81755     Dynamic-irq  timer0
257:          0     Dynamic-irq  resched0
258:          0     Dynamic-irq  callfunc0
259:        153     Dynamic-irq  xenbus
260:        738     Dynamic-irq  xencons
261:       2138     Dynamic-irq  blkif
262:         12     Dynamic-irq  blkif
263:      96537     Dynamic-irq  eth0
264:      79956     Dynamic-irq  eth1
NMI:          0
LOC:          0
ERR:          0
MIS:          0

Any hint?

TIA

Leandro

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] PCI delegation and IRQ error, Leandro Rey <=