Hi First of all I have to state that I am neither a Kernel nor a Xen developer. Nevertheless, while trying to use Kernel 2.6.31.6 from git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git as a Dom0 Kernel, I discovered an issue and searching the Internet for a long time, I probably also found the cause. However, I won''t be able to fix it by myself :-(, so I am trying to share my knowledge with this list, in the hope that the issue might gets fixed sometime :-)... I will try to give you all information that seems relevant to me; however, if it turns out I missed to give enough details about my system (configuration), log files or anything else, I will be glad to provide this information. Furthermore, I would also be happy to support "testing" of potential patches if this is required. I post to this list as this has been suggested at http://wiki.xensource.com/xenwiki/XenParavirtOps (bottom of page). If I am wrong, please give me a short hint so I wont bother you any longer... Now, let''s get into it... About my system: I am running Gentoo (10.0, server profile) on an Asus P2B-D motherboard (PIIX4 chipset) with two PIII 500 MHz CPUs and 1G of RAM. The system furthermore possesses 3 PCI network interfaces of chip type Realtek RLT 8139 (rlt8139too Kernel driver). Network interface to be used is eth0 (I already tried whether using another interface as eth0 would change anything - without success :-( ). The issue I have: While Xen pv_ops Kernel 2.6.31.6 perfectly runs on bare metal, it fails to get network connectivity when run on top of Xen 3.4.1 (Gentoo default installation). Though the system seems to come up correctly at a first sight and network interface is available (I can ping it locally), access to network fails (I cannot ping other system in the network nor vice-versa). What I discovered so far: Consulting the boot messages within "dmesg", I discovered that ACPI SCI fails to load when run on top of Xen, while this error is not happening on bare metal. With XEN: ********* bio: create slab <bio-0> at 0 ACPI: SCI (IRQ20) allocation failed ACPI Exception: AE_NOT_ACQUIRED, Unable to install System Control Interrupt handler 20090521 evevent-161 ACPI: Unable to start the ACPI Interpreter ------------[ cut here ]------------ WARNING: at lib/kobject.c:595 kobject_put+0x27/0x3c() Hardware name: System Name kobject: ''<NULL>'' (cf805ea0): is not initialized, yet kobject_put() is being called. Modules linked in: Pid: 1, comm: swapper Tainted: G W 2.6.31.6 #14 Call Trace: [<c043a2db>] warn_slowpath_common+0x60/0x90 [<c043a33f>] warn_slowpath_fmt+0x24/0x27 [<c05588cb>] kobject_put+0x27/0x3c [<c049e502>] kmem_cache_destroy+0x105/0x11b [<c058adc8>] acpi_os_delete_cache+0x8/0xc [<c05a6fe6>] acpi_ut_delete_caches+0xd/0x6b [<c05a77f7>] acpi_ut_subsystem_shutdown+0x87/0x90 [<c0904837>] ? acpi_init+0x0/0x263 [<c05a8067>] acpi_terminate+0x8/0x14 [<c09049cb>] acpi_init+0x194/0x263 [<c05f0e66>] ? __class_create+0x44/0x5e [<c09021c5>] ? fbmem_init+0x0/0x78 [<c0904837>] ? acpi_init+0x0/0x263 [<c0403051>] do_one_initcall+0x4c/0x13a [<c08e030d>] kernel_init+0x12c/0x17d [<c08e01e1>] ? kernel_init+0x0/0x17d [<c040ad17>] kernel_thread_helper+0x7/0x10 ---[ end trace 4eaa2a86a8e2da23 ]--- ------------[ cut here ]------------ WARNING: at lib/kobject.c:595 kobject_put+0x27/0x3c() Hardware name: System Name kobject: ''<NULL>'' (cf805f60): is not initialized, yet kobject_put() is being called. Modules linked in: Pid: 1, comm: swapper Tainted: G W 2.6.31.6 #14 Call Trace: [<c043a2db>] warn_slowpath_common+0x60/0x90 [<c043a33f>] warn_slowpath_fmt+0x24/0x27 [<c05588cb>] kobject_put+0x27/0x3c [<c049e502>] kmem_cache_destroy+0x105/0x11b [<c058adc8>] acpi_os_delete_cache+0x8/0xc [<c05a700e>] acpi_ut_delete_caches+0x35/0x6b [<c05a77f7>] acpi_ut_subsystem_shutdown+0x87/0x90 [<c0904837>] ? acpi_init+0x0/0x263 [<c05a8067>] acpi_terminate+0x8/0x14 [<c09049cb>] acpi_init+0x194/0x263 [<c05f0e66>] ? __class_create+0x44/0x5e [<c09021c5>] ? fbmem_init+0x0/0x78 [<c0904837>] ? acpi_init+0x0/0x263 [<c0403051>] do_one_initcall+0x4c/0x13a [<c08e030d>] kernel_init+0x12c/0x17d [<c08e01e1>] ? kernel_init+0x0/0x17d [<c040ad17>] kernel_thread_helper+0x7/0x10 ---[ end trace 4eaa2a86a8e2da24 ]--- sync cpu 0 get result ffffffff max_id 0 Failed to sync pcpu 0 xenbus_probe_backend_init bus registered ok Wihout Xen: *********** bio: create slab <bio-0> at 0 ACPI: EC: Look up EC in DSDT ACPI: Interpreter enabled ACPI: (supports S0 S5) ACPI: Using IOAPIC for interrupt routing ACPI: No dock devices found. ACPI: PCI Root Bridge [PCI0] (0000:00) pci 0000:00:00.0: reg 10 32bit mmio: [0xf8000000-0xfbffffff] pci 0000:00:04.1: reg 20 io port: [0xb800-0xb80f] pci 0000:00:04.2: reg 20 io port: [0xb400-0xb41f] * Found PM-Timer Bug on the chipset. Due to workarounds for a bug, * this clock source is slow. Consider trying other clock sources pci 0000:00:04.3: quirk: region e400-e43f claimed by PIIX4 ACPI pci 0000:00:04.3: quirk: region e800-e80f claimed by PIIX4 SMB pci 0000:00:04.3: PIIX4 devres B PIO at 0290-0297 pci 0000:00:09.0: reg 10 io port: [0xb000-0xb0ff] pci 0000:00:09.0: reg 14 32bit mmio: [0xde800000-0xde8000ff] pci 0000:00:09.0: reg 30 32bit mmio: [0x000000-0x00ffff] pci 0000:00:0a.0: reg 10 io port: [0xa800-0xa8ff] pci 0000:00:0a.0: reg 14 32bit mmio: [0xde000000-0xde0000ff] pci 0000:00:0a.0: supports D1 D2 pci 0000:00:0a.0: PME# supported from D1 D2 D3hot pci 0000:00:0a.0: PME# disabled pci 0000:00:0b.0: reg 10 io port: [0xa400-0xa4ff] pci 0000:00:0b.0: reg 14 32bit mmio: [0xdd800000-0xdd8000ff] pci 0000:00:0b.0: supports D1 D2 pci 0000:00:0b.0: PME# supported from D1 D2 D3hot pci 0000:00:0b.0: PME# disabled pci 0000:01:00.0: reg 10 32bit mmio: [0xe0000000-0xe3ffffff] pci 0000:01:00.0: reg 14 32bit mmio: [0xdf800000-0xdf87ffff] pci 0000:01:00.0: reg 18 io port: [0xd800-0xd8ff] pci 0000:01:00.0: reg 30 32bit mmio: [0xdf7e0000-0xdf7fffff] pci 0000:01:00.0: supports D1 D2 pci 0000:00:01.0: bridge io port: [0xd000-0xdfff] pci 0000:00:01.0: bridge 32bit mmio: [0xf4000000-0xf40fffff] pci 0000:00:01.0: bridge 32bit mmio pref: [0xdf700000-0xe3ffffff] pci_bus 0000:00: on NUMA node 0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 *12 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 *4 5 6 7 9 10 11 12 14 15) xenbus_probe_backend_init bus registered ok Respective to the error, the /proc/interrupts tables were also different: With XEN: ********* CPU0 CPU1 1: 426 0 xen-pirq-ioapic-edge i8042 3: 0 0 xen-pirq-ioapic-edge uhci_hcd:usb1 4: 2 0 xen-pirq-ioapic-edge serial 8: 2 0 xen-pirq-ioapic-edge rtc0 12: 0 0 xen-pirq-ioapic-edge eth0 14: 4319 0 xen-pirq-ioapic-edge ide0 15: 42 0 xen-pirq-ioapic-edge ide1 411: 0 0 xen-dyn-event xenbus 412: 0 703 xen-dyn-ipi callfuncsingle1 413: 0 0 xen-dyn-virq debug1 414: 0 0 xen-dyn-ipi callfunc1 415: 0 45622 xen-dyn-ipi resched1 416: 0 311 xen-dyn-ipi spinlock1 417: 0 153289 xen-dyn-virq timer1 418: 550 0 xen-dyn-ipi callfuncsingle0 419: 0 0 xen-dyn-virq debug0 420: 0 0 xen-dyn-ipi callfunc0 421: 18071 0 xen-dyn-ipi resched0 422: 661 0 xen-dyn-ipi spinlock0 423: 277476 0 xen-dyn-virq timer0 NMI: 0 0 Non-maskable interrupts LOC: 0 0 Local timer interrupts SPU: 0 0 Spurious interrupts CNT: 0 0 Performance counter interrupts PND: 0 0 Performance pending work RES: 18071 45622 Rescheduling interrupts CAL: 550 703 Function call interrupts TLB: 0 0 TLB shootdowns TRM: 0 0 Thermal event interrupts THR: 0 0 Threshold APIC interrupts MCE: 0 0 Machine check exceptions MCP: 132 132 Machine check polls ERR: 0 MIS: 0 Without XEN: ************ CPU0 CPU1 0: 46 0 IO-APIC-edge timer 1: 2567 4239 IO-APIC-edge i8042 6: 3 0 IO-APIC-edge floppy 8: 1 1 IO-APIC-edge rtc0 14: 28604 27089 IO-APIC-edge ide0 15: 0 0 IO-APIC-edge ide1 18: 1942 1978 IO-APIC-fasteoi eth0 20: 0 0 IO-APIC-fasteoi acpi NMI: 0 0 Non-maskable interrupts LOC: 1097380 1052641 Local timer interrupts SPU: 0 0 Spurious interrupts CNT: 0 0 Performance counter interrupts PND: 0 0 Performance pending work RES: 105211 107135 Rescheduling interrupts CAL: 16 20 Function call interrupts TLB: 4542 4509 TLB shootdowns TRM: 0 0 Thermal event interrupts THR: 0 0 Threshold APIC interrupts MCE: 0 0 Machine check exceptions MCP: 289 289 Machine check polls ERR: 0 MIS: 0 Searching the Internet, I ran across different messages (i.e. http://www.mail-archive.com/kvm@vger.kernel.org/msg26601.html) mentioning that on motherboards with the PIIX4 chipset SCI interrupt is hardwired to IRQ 9. However, on my system it is assigned IRQ 20 on bare metal, and fails to be set to IRQ 20 on top of Xen (see extract above of dmesg when run on top of Xen -> ACPI: SCI (IRQ20) allocation failed). As I started wondering whether it would work with IRQ 9 and having no knowledge of ACPI and interrupt handling in the Kernel, I badly fixed the code of <Kernel-DIR>/drivers/acpi/osl.c in the following manner: osl.c:391 ********* acpi_status acpi_os_install_interrupt_handler(u32 gsi, acpi_osd_handler handler, void *context) { unsigned int irq; acpi_irq_stats_init(); /* * Ignore the GSI from the core, and use the value in our copy of the * FADT. It may not be the same if an interrupt source override exists * for the SCI. */ gsi = acpi_gbl_FADT.sci_interrupt; if (acpi_gsi_to_irq(gsi, &irq) < 0) { printk(KERN_ERR PREFIX "SCI (ACPI GSI %d) not registered\n", gsi); return AE_OK; } + irq = 9; acpi_irq_handler = handler; acpi_irq_context = context; if (request_irq(irq, acpi_irq, IRQF_SHARED, "acpi", acpi_irq)) { printk(KERN_ERR PREFIX "SCI (IRQ%d) allocation failed\n", irq); return AE_NOT_ACQUIRED; } acpi_irq_irq = irq; return AE_OK; } As you can see, I just "overwrote" the IRQ number somehow evaluated by the system with IRQ 9, recompiled the Kernel and discovered(!) that networking was now working, even within Xen (btw: it was still working on bare metal). Now I don''t know why it is working with SCI mapped to IRQ 20 on bare metal while SCI is supposed to be hardwired to IRQ 9, but the fact that it works in both cases with IRQ 9 suggests me there is something "wrong" or at least different when pv_ops Kernel 2.6.31.6 is run on top of Xen. So someone somewhen might have a look at it, because that''s where my knowledge stops... Thanks & regards, Marcial _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Marcial Rion
2010-Jan-28 05:59 UTC
Re: [Xen-devel] Issue with pv_ops Kernel 2.6.31.6 and Xen
Sorry, this is a duplicate of http://lists.xensource.com/archives/html/xen-devel/2010-01/msg00855.html Thought that this mail did not reach the mailing list, so I reposted it... Marcial Rion wrote:> Hi > > First of all I have to state that I am neither a Kernel nor a Xen > developer. Nevertheless, while trying to use Kernel 2.6.31.6 from > git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git as a Dom0 > Kernel, I discovered an issue and searching the Internet for a long > time, I probably also found the cause. However, I won''t be able to fix > it by myself :-(, so I am trying to share my knowledge with this list, > in the hope that the issue might gets fixed sometime :-)... > I will try to give you all information that seems relevant to me; > however, if it turns out I missed to give enough details about my system > (configuration), log files or anything else, I will be glad to provide > this information. Furthermore, I would also be happy to support > "testing" of potential patches if this is required. I post to this list > as this has been suggested at > http://wiki.xensource.com/xenwiki/XenParavirtOps (bottom of page). If I > am wrong, please give me a short hint so I wont bother you any longer... > > Now, let''s get into it... > > About my system: > I am running Gentoo (10.0, server profile) on an Asus P2B-D motherboard > (PIIX4 chipset) with two PIII 500 MHz CPUs and 1G of RAM. The system > furthermore possesses 3 PCI network interfaces of chip type Realtek RLT > 8139 (rlt8139too Kernel driver). Network interface to be used is eth0 (I > already tried whether using another interface as eth0 would change > anything - without success :-( ). > > The issue I have: > While Xen pv_ops Kernel 2.6.31.6 perfectly runs on bare metal, it fails > to get network connectivity when run on top of Xen 3.4.1 (Gentoo default > installation). Though the system seems to come up correctly at a first > sight and network interface is available (I can ping it locally), access > to network fails (I cannot ping other system in the network nor vice-versa). > > What I discovered so far: > Consulting the boot messages within "dmesg", I discovered that ACPI SCI > fails to load when run on top of Xen, while this error is not happening > on bare metal. > > With XEN: > ********* > bio: create slab <bio-0> at 0 > ACPI: SCI (IRQ20) allocation failed > ACPI Exception: AE_NOT_ACQUIRED, Unable to install System Control > Interrupt handler 20090521 evevent-161 > ACPI: Unable to start the ACPI Interpreter > ------------[ cut here ]------------ > WARNING: at lib/kobject.c:595 kobject_put+0x27/0x3c() > Hardware name: System Name > kobject: ''<NULL>'' (cf805ea0): is not initialized, yet kobject_put() is > being called. > Modules linked in: > Pid: 1, comm: swapper Tainted: G W 2.6.31.6 #14 > Call Trace: > [<c043a2db>] warn_slowpath_common+0x60/0x90 > [<c043a33f>] warn_slowpath_fmt+0x24/0x27 > [<c05588cb>] kobject_put+0x27/0x3c > [<c049e502>] kmem_cache_destroy+0x105/0x11b > [<c058adc8>] acpi_os_delete_cache+0x8/0xc > [<c05a6fe6>] acpi_ut_delete_caches+0xd/0x6b > [<c05a77f7>] acpi_ut_subsystem_shutdown+0x87/0x90 > [<c0904837>] ? acpi_init+0x0/0x263 > [<c05a8067>] acpi_terminate+0x8/0x14 > [<c09049cb>] acpi_init+0x194/0x263 > [<c05f0e66>] ? __class_create+0x44/0x5e > [<c09021c5>] ? fbmem_init+0x0/0x78 > [<c0904837>] ? acpi_init+0x0/0x263 > [<c0403051>] do_one_initcall+0x4c/0x13a > [<c08e030d>] kernel_init+0x12c/0x17d > [<c08e01e1>] ? kernel_init+0x0/0x17d > [<c040ad17>] kernel_thread_helper+0x7/0x10 > ---[ end trace 4eaa2a86a8e2da23 ]--- > ------------[ cut here ]------------ > WARNING: at lib/kobject.c:595 kobject_put+0x27/0x3c() > Hardware name: System Name > kobject: ''<NULL>'' (cf805f60): is not initialized, yet kobject_put() is > being called. > Modules linked in: > Pid: 1, comm: swapper Tainted: G W 2.6.31.6 #14 > Call Trace: > [<c043a2db>] warn_slowpath_common+0x60/0x90 > [<c043a33f>] warn_slowpath_fmt+0x24/0x27 > [<c05588cb>] kobject_put+0x27/0x3c > [<c049e502>] kmem_cache_destroy+0x105/0x11b > [<c058adc8>] acpi_os_delete_cache+0x8/0xc > [<c05a700e>] acpi_ut_delete_caches+0x35/0x6b > [<c05a77f7>] acpi_ut_subsystem_shutdown+0x87/0x90 > [<c0904837>] ? acpi_init+0x0/0x263 > [<c05a8067>] acpi_terminate+0x8/0x14 > [<c09049cb>] acpi_init+0x194/0x263 > [<c05f0e66>] ? __class_create+0x44/0x5e > [<c09021c5>] ? fbmem_init+0x0/0x78 > [<c0904837>] ? acpi_init+0x0/0x263 > [<c0403051>] do_one_initcall+0x4c/0x13a > [<c08e030d>] kernel_init+0x12c/0x17d > [<c08e01e1>] ? kernel_init+0x0/0x17d > [<c040ad17>] kernel_thread_helper+0x7/0x10 > ---[ end trace 4eaa2a86a8e2da24 ]--- > sync cpu 0 get result ffffffff max_id 0 > Failed to sync pcpu 0 > xenbus_probe_backend_init bus registered ok > > > Wihout Xen: > *********** > bio: create slab <bio-0> at 0 > ACPI: EC: Look up EC in DSDT > ACPI: Interpreter enabled > ACPI: (supports S0 S5) > ACPI: Using IOAPIC for interrupt routing > ACPI: No dock devices found. > ACPI: PCI Root Bridge [PCI0] (0000:00) > pci 0000:00:00.0: reg 10 32bit mmio: [0xf8000000-0xfbffffff] > pci 0000:00:04.1: reg 20 io port: [0xb800-0xb80f] > pci 0000:00:04.2: reg 20 io port: [0xb400-0xb41f] > * Found PM-Timer Bug on the chipset. Due to workarounds for a bug, > * this clock source is slow. Consider trying other clock sources > pci 0000:00:04.3: quirk: region e400-e43f claimed by PIIX4 ACPI > pci 0000:00:04.3: quirk: region e800-e80f claimed by PIIX4 SMB > pci 0000:00:04.3: PIIX4 devres B PIO at 0290-0297 > pci 0000:00:09.0: reg 10 io port: [0xb000-0xb0ff] > pci 0000:00:09.0: reg 14 32bit mmio: [0xde800000-0xde8000ff] > pci 0000:00:09.0: reg 30 32bit mmio: [0x000000-0x00ffff] > pci 0000:00:0a.0: reg 10 io port: [0xa800-0xa8ff] > pci 0000:00:0a.0: reg 14 32bit mmio: [0xde000000-0xde0000ff] > pci 0000:00:0a.0: supports D1 D2 > pci 0000:00:0a.0: PME# supported from D1 D2 D3hot > pci 0000:00:0a.0: PME# disabled > pci 0000:00:0b.0: reg 10 io port: [0xa400-0xa4ff] > pci 0000:00:0b.0: reg 14 32bit mmio: [0xdd800000-0xdd8000ff] > pci 0000:00:0b.0: supports D1 D2 > pci 0000:00:0b.0: PME# supported from D1 D2 D3hot > pci 0000:00:0b.0: PME# disabled > pci 0000:01:00.0: reg 10 32bit mmio: [0xe0000000-0xe3ffffff] > pci 0000:01:00.0: reg 14 32bit mmio: [0xdf800000-0xdf87ffff] > pci 0000:01:00.0: reg 18 io port: [0xd800-0xd8ff] > pci 0000:01:00.0: reg 30 32bit mmio: [0xdf7e0000-0xdf7fffff] > pci 0000:01:00.0: supports D1 D2 > pci 0000:00:01.0: bridge io port: [0xd000-0xdfff] > pci 0000:00:01.0: bridge 32bit mmio: [0xf4000000-0xf40fffff] > pci 0000:00:01.0: bridge 32bit mmio pref: [0xdf700000-0xe3ffffff] > pci_bus 0000:00: on NUMA node 0 > ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] > ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15) > ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 14 15) > ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 *12 14 15) > ACPI: PCI Interrupt Link [LNKD] (IRQs 3 *4 5 6 7 9 10 11 12 14 15) > xenbus_probe_backend_init bus registered ok > > > Respective to the error, the /proc/interrupts tables were also different: > > With XEN: > ********* > CPU0 CPU1 > 1: 426 0 xen-pirq-ioapic-edge i8042 > 3: 0 0 xen-pirq-ioapic-edge uhci_hcd:usb1 > 4: 2 0 xen-pirq-ioapic-edge serial > 8: 2 0 xen-pirq-ioapic-edge rtc0 > 12: 0 0 xen-pirq-ioapic-edge eth0 > 14: 4319 0 xen-pirq-ioapic-edge ide0 > 15: 42 0 xen-pirq-ioapic-edge ide1 > 411: 0 0 xen-dyn-event xenbus > 412: 0 703 xen-dyn-ipi callfuncsingle1 > 413: 0 0 xen-dyn-virq debug1 > 414: 0 0 xen-dyn-ipi callfunc1 > 415: 0 45622 xen-dyn-ipi resched1 > 416: 0 311 xen-dyn-ipi spinlock1 > 417: 0 153289 xen-dyn-virq timer1 > 418: 550 0 xen-dyn-ipi callfuncsingle0 > 419: 0 0 xen-dyn-virq debug0 > 420: 0 0 xen-dyn-ipi callfunc0 > 421: 18071 0 xen-dyn-ipi resched0 > 422: 661 0 xen-dyn-ipi spinlock0 > 423: 277476 0 xen-dyn-virq timer0 > NMI: 0 0 Non-maskable interrupts > LOC: 0 0 Local timer interrupts > SPU: 0 0 Spurious interrupts > CNT: 0 0 Performance counter interrupts > PND: 0 0 Performance pending work > RES: 18071 45622 Rescheduling interrupts > CAL: 550 703 Function call interrupts > TLB: 0 0 TLB shootdowns > TRM: 0 0 Thermal event interrupts > THR: 0 0 Threshold APIC interrupts > MCE: 0 0 Machine check exceptions > MCP: 132 132 Machine check polls > ERR: 0 > MIS: 0 > > > Without XEN: > ************ > CPU0 CPU1 > 0: 46 0 IO-APIC-edge timer > 1: 2567 4239 IO-APIC-edge i8042 > 6: 3 0 IO-APIC-edge floppy > 8: 1 1 IO-APIC-edge rtc0 > 14: 28604 27089 IO-APIC-edge ide0 > 15: 0 0 IO-APIC-edge ide1 > 18: 1942 1978 IO-APIC-fasteoi eth0 > 20: 0 0 IO-APIC-fasteoi acpi > NMI: 0 0 Non-maskable interrupts > LOC: 1097380 1052641 Local timer interrupts > SPU: 0 0 Spurious interrupts > CNT: 0 0 Performance counter interrupts > PND: 0 0 Performance pending work > RES: 105211 107135 Rescheduling interrupts > CAL: 16 20 Function call interrupts > TLB: 4542 4509 TLB shootdowns > TRM: 0 0 Thermal event interrupts > THR: 0 0 Threshold APIC interrupts > MCE: 0 0 Machine check exceptions > MCP: 289 289 Machine check polls > ERR: 0 > MIS: 0 > > > Searching the Internet, I ran across different messages (i.e. > http://www.mail-archive.com/kvm@vger.kernel.org/msg26601.html) > mentioning that on motherboards with the PIIX4 chipset SCI interrupt is > hardwired to IRQ 9. However, on my system it is assigned IRQ 20 on bare > metal, and fails to be set to IRQ 20 on top of Xen (see extract above of > dmesg when run on top of Xen -> ACPI: SCI (IRQ20) allocation failed). > > As I started wondering whether it would work with IRQ 9 and having no > knowledge of ACPI and interrupt handling in the Kernel, I badly fixed > the code of <Kernel-DIR>/drivers/acpi/osl.c in the following manner: > > osl.c:391 > ********* > acpi_status > acpi_os_install_interrupt_handler(u32 gsi, acpi_osd_handler handler, > void *context) > { > unsigned int irq; > > acpi_irq_stats_init(); > > /* > * Ignore the GSI from the core, and use the value in our copy > of the > * FADT. It may not be the same if an interrupt source override > exists > * for the SCI. > */ > gsi = acpi_gbl_FADT.sci_interrupt; > if (acpi_gsi_to_irq(gsi, &irq) < 0) { > printk(KERN_ERR PREFIX "SCI (ACPI GSI %d) not registered\n", > gsi); > return AE_OK; > } > + irq = 9; > acpi_irq_handler = handler; > acpi_irq_context = context; > if (request_irq(irq, acpi_irq, IRQF_SHARED, "acpi", acpi_irq)) { > printk(KERN_ERR PREFIX "SCI (IRQ%d) allocation > failed\n", irq); > return AE_NOT_ACQUIRED; > } > acpi_irq_irq = irq; > > return AE_OK; > } > > > As you can see, I just "overwrote" the IRQ number somehow evaluated by > the system with IRQ 9, recompiled the Kernel and discovered(!) that > networking was now working, even within Xen (btw: it was still working > on bare metal). > > Now I don''t know why it is working with SCI mapped to IRQ 20 on bare > metal while SCI is supposed to be hardwired to IRQ 9, but the fact that > it works in both cases with IRQ 9 suggests me there is something "wrong" > or at least different when pv_ops Kernel 2.6.31.6 is run on top of Xen. > So someone somewhen might have a look at it, because that''s where my > knowledge stops... > > Thanks & regards, > Marcial > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-Jan-28 19:46 UTC
Re: [Xen-devel] Issue with pv_ops Kernel 2.6.31.6 and Xen
> > The issue I have: > > While Xen pv_ops Kernel 2.6.31.6 perfectly runs on bare metal, it fails > > to get network connectivity when run on top of Xen 3.4.1 (Gentoo default > > installation). Though the system seems to come up correctly at a first > > sight and network interface is available (I can ping it locally), access > > to network fails (I cannot ping other system in the network nor vice-versa).That makes sense. The IRQ for the network device is not assigned to the driver, so it fails to work.> > > > What I discovered so far: > > Consulting the boot messages within "dmesg", I discovered that ACPI SCI > > fails to load when run on top of Xen, while this error is not happening > > on bare metal. > > > > With XEN: > > ********* > > bio: create slab <bio-0> at 0 > > ACPI: SCI (IRQ20) allocation failed > > ACPI Exception: AE_NOT_ACQUIRED, Unable to install System Control > > Interrupt handler 20090521 evevent-161 > > ACPI: Unable to start the ACPI Interpreter > > ------------[ cut here ]------------ > > WARNING: at lib/kobject.c:595 kobject_put+0x27/0x3c()That is strange. I am not seeing this at all on my machine, but then I don''t have such an ancient box. Can you provide the whole dmesg and as well the Xen bootup to figure out why it seems to not have IRQ slots open. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Marcial Rion
2010-Jan-29 23:55 UTC
Re: [Xen-devel] Issue with pv_ops Kernel 2.6.31.6 and Xen
Here you go with the complete dmesg. The dump of the the Xen bootup messages will follow, as soon as I have got the serial console working :-) Reserving virtual address space above 0xf5800000 Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Linux version 2.6.31.6 (root@xen) (gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) ) #17 SMP Thu Jan 21 01:01:44 CET 2010 KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD NSC Geode by NSC Cyrix CyrixInstead Centaur CentaurHauls Transmeta GenuineTMx86 Transmeta TransmetaCPU UMC UMC UMC UMC xen_release_chunk: looking at area pfn 10000-3fffd xen_release_chunk: looking at area pfn 40000-fec00 xen_release_chunk: looking at area pfn fec01-fee00 xen_release_chunk: looking at area pfn fee01-ffff0 xen_release_chunk: looking at area pfn 0-10000 released 0 pages of unused memory BIOS-provided physical RAM map: Xen: 0000000000000000 - 00000000000a0000 (usable) Xen: 00000000000a0000 - 0000000000100000 (reserved) Xen: 0000000000100000 - 0000000010000000 (usable) Xen: 000000003fffd000 - 000000003ffff000 (ACPI data) Xen: 000000003ffff000 - 0000000040000000 (ACPI NVS) Xen: 00000000fec00000 - 00000000fec01000 (reserved) Xen: 00000000fee00000 - 00000000fee01000 (reserved) Xen: 00000000ffff0000 - 0000000100000000 (reserved) DMI 2.0 present. last_pfn = 0x10000 max_arch_pfn = 0x1000000 initial memory mapped : 0 - 013ff000 init_memory_mapping: 0000000000000000-0000000010000000 0000000000 - 0010000000 page 4k kernel direct mapping tables up to 10000000 @ 7000-8b000 ACPI: RSDP 000f80f0 00014 (v00 ASUS ) ACPI: RSDT 3fffd000 00030 (v01 ASUS P2B-D 58582E32 ASUS 31303030) ACPI: FACP 3fffd100 00074 (v01 ASUS P2B-D 58582E32 ASUS 31303030) ACPI: DSDT 3fffd180 01D5E (v01 ASUS P2B-D 00001000 MSFT 01000001) ACPI: FACS 3ffff000 00040 ACPI: BOOT 3fffd040 00028 (v01 ASUS P2B-D 58582E32 ASUS 31303030) ACPI: APIC 3fffd080 0005C (v01 ASUS P2B-D 00000000 00000000) ACPI: DMI BIOS year==0, assuming ACPI-capable machine ACPI: Local APIC address 0xfee00000 0MB HIGHMEM available. 256MB LOWMEM available. mapped low ram: 0 - 10000000 low ram: 0 - 10000000 node 0 low ram: 00000000 - 10000000 node 0 bootmap 00002000 - 00004000 (9 early reservations) ==> bootmem [0000000000 - 0010000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] #1 [0000b57000 - 0000b62000] XEN PAGETABLES ==> [0000b57000 - 0000b62000] #2 [0000001000 - 0000002000] EX TRAMPOLINE ==> [0000001000 - 0000002000] #3 [0000006000 - 0000007000] TRAMPOLINE ==> [0000006000 - 0000007000] #4 [0000400000 - 00009f04cc] TEXT DATA BSS ==> [0000400000 - 00009f04cc] #5 [0000b16000 - 0000b57000] XEN START INFO ==> [0000b16000 - 0000b57000] #6 [00009f1000 - 00009f1184] BRK ==> [00009f1000 - 00009f1184] #7 [0000007000 - 000007e000] PGTABLE ==> [0000007000 - 000007e000] #8 [0000002000 - 0000004000] BOOTMAP ==> [0000002000 - 0000004000] found SMP MP-table at [c00f6ec0] f6ec0 Zone PFN ranges: DMA 0x00000000 -> 0x00001000 Normal 0x00001000 -> 0x00010000 HighMem 0x00010000 -> 0x00010000 Movable zone start PFN for each node early_node_map[2] active PFN ranges 0: 0x00000000 -> 0x000000a0 0: 0x00000100 -> 0x00010000 On node 0 totalpages: 65440 free_area_init_node: node 0, pgdat c08dc5e0, node_mem_map c1000000 DMA zone: 32 pages used for memmap DMA zone: 0 pages reserved DMA zone: 3968 pages, LIFO batch:0 Normal zone: 480 pages used for memmap Normal zone: 60960 pages, LIFO batch:15 Using APIC driver default ACPI: PM-Timer IO Port: 0xe408 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x01] enabled) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl edge) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 20 high level) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. Enabling APIC mode: Flat. Using 1 I/O APICs Using ACPI (MADT) for SMP configuration information SMP: Allowing 2 CPUs, 0 hotplug CPUs nr_irqs_gsi: 24 Allocating PCI resources starting at 40000000 (gap: 40000000:bec00000) NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1 PERCPU: Allocated 11 4k pages, static data 41500 bytes trying to map vcpu_info 0 at d0803010, mfn 3ea06, offset 16 cpu 0 using vcpu_info at d0803010 trying to map vcpu_info 1 at d0813010, mfn 3ea11, offset 16 cpu 1 using vcpu_info at d0813010 Xen: using vcpu_info placement Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64928 Kernel command line: root=/dev/hda3 PID hash table entries: 1024 (order: 10, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PCI-DMA: Using Xen software bounce buffering for IO (Xen-SWIOTLB) xen_swiotlb_fixup: buf=c124c000 size=67108864 xen_swiotlb_fixup: buf=c52ac000 size=32768 Placing 64MB Xen software IO TLB between c124c000 - c524c000 Xen software IO TLB at phys 0x124c000 - 0x524c000 Initializing HighMem for node 0 (00000000:00000000) Memory: 186380k/262144k available (3285k kernel code, 75200k reserved, 1717k data, 456k init, 0k highmem) virtual kernel memory layout: fixmap : 0xf567e000 - 0xf57ff000 (1540 kB) pkmap : 0xf5200000 - 0xf5400000 (2048 kB) vmalloc : 0xd0800000 - 0xf51fe000 ( 585 MB) lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) .init : 0xc08e3000 - 0xc0955000 ( 456 kB) .data : 0xc0735713 - 0xc08e2e00 (1717 kB) .text : 0xc0400000 - 0xc0735713 (3285 kB) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 NR_IRQS:2304 nr_irqs:424 CPU 0 irqstacks, hard=d0800000 soft=d0801000 xen: registering gsi 0 triggering 1 polarity 0 xen: --> irq=0 xen_set_ioapic_routing: irq 0 gsi 0 vector 240 ioapic 0 pin 0 triggering 0 polarity 0 xen: registering gsi 1 triggering 1 polarity 0 xen: --> irq=1 xen_set_ioapic_routing: irq 1 gsi 1 vector 32 ioapic 0 pin 1 triggering 0 polarity 0 xen: registering gsi 3 triggering 1 polarity 0 xen: --> irq=3 xen_set_ioapic_routing: irq 3 gsi 3 vector 40 ioapic 0 pin 3 triggering 0 polarity 0 xen: registering gsi 4 triggering 1 polarity 0 xen: --> irq=4 xen_set_ioapic_routing: irq 4 gsi 4 vector 48 ioapic 0 pin 4 triggering 0 polarity 0 xen: registering gsi 5 triggering 1 polarity 0 xen: --> irq=5 xen_set_ioapic_routing: irq 5 gsi 5 vector 56 ioapic 0 pin 5 triggering 0 polarity 0 xen: registering gsi 6 triggering 1 polarity 0 xen: --> irq=6 xen_set_ioapic_routing: irq 6 gsi 6 vector 64 ioapic 0 pin 6 triggering 0 polarity 0 xen: registering gsi 7 triggering 1 polarity 0 xen: --> irq=7 xen_set_ioapic_routing: irq 7 gsi 7 vector 72 ioapic 0 pin 7 triggering 0 polarity 0 xen: registering gsi 8 triggering 1 polarity 0 xen: --> irq=8 xen_set_ioapic_routing: irq 8 gsi 8 vector 80 ioapic 0 pin 8 triggering 0 polarity 0 xen: registering gsi 9 triggering 1 polarity 0 xen: --> irq=9 xen_set_ioapic_routing: irq 9 gsi 9 vector 144 ioapic 0 pin 9 triggering 0 polarity 0 xen: registering gsi 10 triggering 1 polarity 0 xen: --> irq=10 xen_set_ioapic_routing: irq 10 gsi 10 vector 88 ioapic 0 pin 10 triggering 0 polarity 0 xen: registering gsi 11 triggering 1 polarity 0 xen: --> irq=11 xen_set_ioapic_routing: irq 11 gsi 11 vector 96 ioapic 0 pin 11 triggering 0 polarity 0 xen: registering gsi 12 triggering 1 polarity 0 xen: --> irq=12 xen_set_ioapic_routing: irq 12 gsi 12 vector 104 ioapic 0 pin 12 triggering 0 polarity 0 xen: registering gsi 13 triggering 1 polarity 0 xen: --> irq=13 xen_set_ioapic_routing: irq 13 gsi 13 vector 112 ioapic 0 pin 13 triggering 0 polarity 0 xen: registering gsi 14 triggering 1 polarity 0 xen: --> irq=14 xen_set_ioapic_routing: irq 14 gsi 14 vector 120 ioapic 0 pin 14 triggering 0 polarity 0 xen: registering gsi 15 triggering 1 polarity 0 xen: --> irq=15 xen_set_ioapic_routing: irq 15 gsi 15 vector 136 ioapic 0 pin 15 triggering 0 polarity 0 Detected 501.136 MHz processor. Console: colour VGA+ 80x25 console [tty0] enabled Xen: using vcpuop timer interface installing Xen timer for CPU 0 alloc irq_desc for 423 on node 0 alloc kstat_irqs on node 0 Calibrating delay loop (skipped), value calculated using timer frequency.. 1002.27 BogoMIPS (lpj=501136) Security Framework initialized SELinux: Initializing. SELinux: Starting in permissive mode Mount-cache hash table entries: 512 Initializing cgroup subsys ns Initializing cgroup subsys cpuacct Initializing cgroup subsys devices CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 512K mce: CPU supports 5 MCE banks Performance Counters: p6 PMU driver. ------------[ cut here ]------------ WARNING: at arch/x86/xen/enlighten.c:720 xen_apic_write+0x12/0x14() Hardware name: System Name Modules linked in: Pid: 0, comm: swapper Not tainted 2.6.31.6 #17 Call Trace: [<c040393e>] ? xen_apic_write+0x12/0x14 [<c043a2db>] warn_slowpath_common+0x60/0x90 [<c043a318>] warn_slowpath_null+0xd/0x10 [<c040393e>] xen_apic_write+0x12/0x14 [<c0412e06>] perf_counters_lapic_init+0x2b/0x2d [<c08ec28e>] init_hw_perf_counters+0x2bd/0x357 [<c08ebec3>] identify_boot_cpu+0x21/0x23 [<c08ebf01>] check_bugs+0xb/0xdb [<c0472a20>] ? delayacct_init+0x42/0x46 [<c08e37fe>] start_kernel+0x2be/0x2cd [<c08e307b>] i386_start_kernel+0x6a/0x6f [<c08e63a4>] xen_start_kernel+0x541/0x549 ---[ end trace 4eaa2a86a8e2da22 ]--- ... version: 0 ... bit width: 32 ... generic counters: 2 ... value mask: 00000000ffffffff ... max period: 000000007fffffff ... fixed-purpose counters: 0 ... counter mask: 0000000000000003 SMP alternatives: switching to UP code ACPI: Core revision 20090521 alloc irq_desc for 422 on node 0 alloc kstat_irqs on node 0 cpu 0 spinlock event irq 422 alloc irq_desc for 421 on node 0 alloc kstat_irqs on node 0 alloc irq_desc for 420 on node 0 alloc kstat_irqs on node 0 alloc irq_desc for 419 on node 0 alloc kstat_irqs on node 0 alloc irq_desc for 418 on node 0 alloc kstat_irqs on node 0 CPU 1 irqstacks, hard=d0810000 soft=d0811000 installing Xen timer for CPU 1 alloc irq_desc for 417 on node 0 alloc kstat_irqs on node 0 alloc irq_desc for 416 on node 0 alloc kstat_irqs on node 0 cpu 1 spinlock event irq 416 SMP alternatives: switching to SMP code alloc irq_desc for 415 on node 0 alloc kstat_irqs on node 0 alloc irq_desc for 414 on node 0 alloc kstat_irqs on node 0 alloc irq_desc for 413 on node 0 alloc kstat_irqs on node 0 alloc irq_desc for 412 on node 0 alloc kstat_irqs on node 0 Initializing CPU#1 CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 512K mce: CPU supports 5 MCE banks Brought up 2 CPUs CPU0 attaching sched-domain: domain 0: span 0-1 level CPU groups: 0 1 CPU1 attaching sched-domain: domain 0: span 0-1 level CPU groups: 1 0 Booting paravirtualized kernel on Xen Xen version: 3.4.2 (preserve-AD) (dom0) Grant tables using version 1 layout. Grant table initialized Time: 1:06:38 Date: 01/30/10 NET: Registered protocol family 16 alloc irq_desc for 411 on node 0 alloc kstat_irqs on node 0 xenbus_probe_init ok ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xf0730, last bus=1 PCI: Using configuration type 1 for base access bio: create slab <bio-0> at 0 ACPI: SCI (IRQ20) allocation failed ACPI Exception: AE_NOT_ACQUIRED, Unable to install System Control Interrupt handler 20090521 evevent-161 ACPI: Unable to start the ACPI Interpreter ------------[ cut here ]------------ WARNING: at lib/kobject.c:595 kobject_put+0x27/0x3c() Hardware name: System Name kobject: ''<NULL>'' (cf805ea0): is not initialized, yet kobject_put() is being called. Modules linked in: Pid: 1, comm: swapper Tainted: G W 2.6.31.6 #17 Call Trace: [<c043a2db>] warn_slowpath_common+0x60/0x90 [<c043a33f>] warn_slowpath_fmt+0x24/0x27 [<c05588cb>] kobject_put+0x27/0x3c [<c049e502>] kmem_cache_destroy+0x105/0x11b [<c058adc8>] acpi_os_delete_cache+0x8/0xc [<c05a6fe6>] acpi_ut_delete_caches+0xd/0x6b [<c05a77f7>] acpi_ut_subsystem_shutdown+0x87/0x90 [<c0907837>] ? acpi_init+0x0/0x263 [<c05a8067>] acpi_terminate+0x8/0x14 [<c09079cb>] acpi_init+0x194/0x263 [<c05f0e66>] ? __class_create+0x44/0x5e [<c09051c5>] ? fbmem_init+0x0/0x78 [<c0907837>] ? acpi_init+0x0/0x263 [<c0403051>] do_one_initcall+0x4c/0x13a [<c08e330d>] kernel_init+0x12c/0x17d [<c08e31e1>] ? kernel_init+0x0/0x17d [<c040ad17>] kernel_thread_helper+0x7/0x10 ---[ end trace 4eaa2a86a8e2da23 ]--- ------------[ cut here ]------------ WARNING: at lib/kobject.c:595 kobject_put+0x27/0x3c() Hardware name: System Name kobject: ''<NULL>'' (cf805f60): is not initialized, yet kobject_put() is being called. Modules linked in: Pid: 1, comm: swapper Tainted: G W 2.6.31.6 #17 Call Trace: [<c043a2db>] warn_slowpath_common+0x60/0x90 [<c043a33f>] warn_slowpath_fmt+0x24/0x27 [<c05588cb>] kobject_put+0x27/0x3c [<c049e502>] kmem_cache_destroy+0x105/0x11b [<c058adc8>] acpi_os_delete_cache+0x8/0xc [<c05a700e>] acpi_ut_delete_caches+0x35/0x6b [<c05a77f7>] acpi_ut_subsystem_shutdown+0x87/0x90 [<c0907837>] ? acpi_init+0x0/0x263 [<c05a8067>] acpi_terminate+0x8/0x14 [<c09079cb>] acpi_init+0x194/0x263 [<c05f0e66>] ? __class_create+0x44/0x5e [<c09051c5>] ? fbmem_init+0x0/0x78 [<c0907837>] ? acpi_init+0x0/0x263 [<c0403051>] do_one_initcall+0x4c/0x13a [<c08e330d>] kernel_init+0x12c/0x17d [<c08e31e1>] ? kernel_init+0x0/0x17d [<c040ad17>] kernel_thread_helper+0x7/0x10 ---[ end trace 4eaa2a86a8e2da24 ]--- sync cpu 0 get result ffffffff max_id 0 Failed to sync pcpu 0 xenbus_probe_backend_init bus registered ok xenbus_probe_frontend_init bus registered ok xen_balloon: Initialising balloon driver with page order 0. SCSI subsystem initialized libata version 3.00 loaded. usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) pci 0000:00:00.0: reg 10 32bit mmio: [0xf8000000-0xfbffffff] pci 0000:00:04.1: reg 20 io port: [0xb800-0xb80f] pci 0000:00:04.2: reg 20 io port: [0xb400-0xb41f] * Found PM-Timer Bug on the chipset. Due to workarounds for a bug, * this clock source is slow. Consider trying other clock sources pci 0000:00:04.3: quirk: region e400-e43f claimed by PIIX4 ACPI pci 0000:00:04.3: quirk: region e800-e80f claimed by PIIX4 SMB pci 0000:00:04.3: PIIX4 devres B PIO at 0290-0297 pci 0000:00:09.0: reg 10 io port: [0xb000-0xb0ff] pci 0000:00:09.0: reg 14 32bit mmio: [0xde800000-0xde8000ff] pci 0000:00:09.0: reg 30 32bit mmio: [0x000000-0x00ffff] pci 0000:00:0a.0: reg 10 io port: [0xa800-0xa8ff] pci 0000:00:0a.0: reg 14 32bit mmio: [0xde000000-0xde0000ff] pci 0000:00:0a.0: supports D1 D2 pci 0000:00:0a.0: PME# supported from D1 D2 D3hot pci 0000:00:0a.0: PME# disabled pci 0000:00:0b.0: reg 10 io port: [0xa400-0xa4ff] pci 0000:00:0b.0: reg 14 32bit mmio: [0xdd800000-0xdd8000ff] pci 0000:00:0b.0: supports D1 D2 pci 0000:00:0b.0: PME# supported from D1 D2 D3hot pci 0000:00:0b.0: PME# disabled pci 0000:01:00.0: reg 10 32bit mmio: [0xe0000000-0xe3ffffff] pci 0000:01:00.0: reg 14 32bit mmio: [0xdf800000-0xdf87ffff] pci 0000:01:00.0: reg 18 io port: [0xd800-0xd8ff] pci 0000:01:00.0: reg 30 32bit mmio: [0xdf7e0000-0xdf7fffff] pci 0000:01:00.0: supports D1 D2 pci 0000:00:01.0: bridge io port: [0xd000-0xdfff] pci 0000:00:01.0: bridge 32bit mmio: [0xf4000000-0xf40fffff] pci 0000:00:01.0: bridge 32bit mmio pref: [0xdf700000-0xe3ffffff] pci 0000:00:04.0: PIIX/ICH IRQ router [8086:7110] IO APIC resources couldn''t be allocated. NetLabel: Initializing NetLabel: domain hash size = 128 NetLabel: protocols = UNLABELED CIPSOv4 NetLabel: unlabeled traffic allowed by default pnp: PnP ACPI: disabled Switched to high resolution mode on CPU 0 Switched to high resolution mode on CPU 1 pci 0000:00:01.0: PCI bridge, secondary bus 0000:01 pci 0000:00:01.0: IO window: 0xd000-0xdfff pci 0000:00:01.0: MEM window: 0xf4000000-0xf40fffff pci 0000:00:01.0: PREFETCH window: 0xdf700000-0xe3ffffff pci_bus 0000:00: resource 0 io: [0x00-0xffff] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffffffffffff] pci_bus 0000:01: resource 0 io: [0xd000-0xdfff] pci_bus 0000:01: resource 1 mem: [0xf4000000-0xf40fffff] pci_bus 0000:01: resource 2 pref mem [0xdf700000-0xe3ffffff] NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered NET: Registered protocol family 1 Simple Boot Flag at 0x46 set to 0x1 platform rtc_cmos: registered platform RTC device (no PNP device found) apm: BIOS not found. audit: initializing netlink socket (disabled) type=2000 audit(1264813598.759:1): initialized HugeTLB registered 2 MB page size, pre-allocated 0 pages VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) msgmni has been set to 364 SELinux: Registering netfilter hooks alg: No test for stdrng (krng) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) pci 0000:00:00.0: Limiting direct PCI/PCI transfers pci 0000:01:00.0: Boot video device pci_hotplug: PCI Hot Plug PCI Core version: 0.5 acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Event-channel device installed. registering netback alloc irq_desc for 410 on node 0 alloc kstat_irqs on node 0 Non-volatile memory driver v1.3 Linux agpgart interface v0.103 agpgart-intel 0000:00:00.0: Intel 440BX Chipset agpgart-intel 0000:00:00.0: AGP aperture is 64M @ 0xf8000000 Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A brd: module loaded loop: module loaded Uniform Multi-Platform E-IDE driver piix 0000:00:04.1: IDE controller (0x8086:0x7111 rev 0x01) piix 0000:00:04.1: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xb800-0xb807 ide1: BM-DMA at 0xb808-0xb80f Probing IDE interface ide0... hda: WDC WD300BB-00CCB0, ATA DISK drive hdb: SAMSUNG HD400LD, ATA DISK drive hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4 hda: UDMA/33 mode selected hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4 hdb: UDMA/33 mode selected Probing IDE interface ide1... hdc: LITE-ON COMBO LTC-48161H, ATAPI CD/DVD-ROM drive hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4 hdc: UDMA/33 mode selected ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 ide-gd driver 1.18 hda: max request size: 128KiB hda: 58633344 sectors (30020 MB) w/2048KiB Cache, CHS=58168/16/63 hda: cache flushes not supported hda: hda1 hda2 hda3 hda4 hdb: max request size: 512KiB hdb: Host Protected Area detected. current capacity is 66055248 sectors (33820 MB) native capacity is 781422768 sectors (400088 MB) hdb: 66055248 sectors (33820 MB) w/8192KiB Cache, CHS=16383/255/63 hdb: cache flushes supported hdb: hdb1 ide-cd driver 5.00 ide-cd: hdc: ATAPI 48X DVD-ROM CD-R/RW drive, 2048kB Cache Uniform CD-ROM driver Revision: 3.20 8139too Fast Ethernet driver 0.9.28 PCI: setting IRQ 7 as level-triggered 8139too 0000:00:09.0: found PCI INT A -> IRQ 7 8139too 0000:00:09.0: sharing IRQ 7 with 0000:00:04.2 eth0: RealTek RTL8139 at 0xb000, 00:30:4f:08:4d:24, IRQ 7 PCI: setting IRQ 12 as level-triggered 8139too 0000:00:0a.0: found PCI INT A -> IRQ 12 eth1: RealTek RTL8139 at 0xa800, 00:e0:7d:c0:de:f3, IRQ 12 PCI: setting IRQ 10 as level-triggered 8139too 0000:00:0b.0: found PCI INT A -> IRQ 10 eth2: RealTek RTL8139 at 0xa400, 00:e0:7d:c0:de:f9, IRQ 10 ehci_hcd: USB 2.0 ''Enhanced'' Host Controller (EHCI) Driver ohci_hcd: USB 1.1 ''Open'' Host Controller (OHCI) Driver uhci_hcd: USB Universal Host Controller Interface driver uhci_hcd 0000:00:04.2: found PCI INT D -> IRQ 7 uhci_hcd 0000:00:04.2: sharing IRQ 7 with 0000:00:09.0 uhci_hcd 0000:00:04.2: UHCI Host Controller uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:04.2: irq 7, io base 0x0000b400 usb usb1: New USB device found, idVendor=1d6b, idProduct=0001 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: UHCI Host Controller usb usb1: Manufacturer: Linux 2.6.31.6 uhci_hcd usb usb1: SerialNumber: 0000:00:04.2 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected PNP: No PS/2 controller found. Probing ports directly. serio: i8042 KBD port at 0x60,0x64 irq 1 mice: PS/2 mouse device common for all mice rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 rtc0: alarms up to one day, 114 bytes nvram device-mapper: uevent: version 1.0.3 device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com cpuidle: using governor ladder cpuidle: using governor menu input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver nf_conntrack version 0.5.0 (4096 buckets, 16384 max) CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or sysctl net.netfilter.nf_conntrack_acct=1 to enable it. ip_tables: (C) 2000-2006 Netfilter Core Team TCP cubic registered Initializing XFRM netlink socket NET: Registered protocol family 17 Using IPI No-Shortcut mode registered taskstats version 1 Magic number: 10:390:105 usbmon usbmon1: hash matches md: Waiting for all devices to be available before autodetect md: If you don''t use raid, use raid=noautodetect usb 1-2: new full speed USB device using uhci_hcd and address 2 md: Autodetecting RAID arrays. md: Scanned 0 and added 0 devices. md: autorun ... md: ... autorun DONE. REISERFS (device hda3): found reiserfs format "3.6" with standard journal REISERFS (device hda3): using ordered data mode REISERFS (device hda3): journal params: device hda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 REISERFS (device hda3): checking transaction log (hda3) REISERFS (device hda3): Using r5 hash to sort names VFS: Mounted root (reiserfs filesystem) on device 3:3. Freeing unused kernel memory: 456k freed Write protecting the kernel text: 3288k Write protecting the kernel read-only data: 1452k usb 1-2: New USB device found, idVendor=0424, idProduct=2524 usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 1-2: configuration #1 chosen from 1 choice hub 1-2:1.0: USB hub found hub 1-2:1.0: 4 ports detected udev: starting version 146 udev: renamed network interface eth1 to eth0 udev: renamed network interface eth0_rename to eth1 piix4_smbus 0000:00:04.3: SMBus Host Controller at 0xe800, revision 0 fbcon: ST Kyro (fb0) is primary device Console: switching to colour frame buffer device 128x48 fb0: ST Kyro frame buffer device, at 1024x768@32 using 3072k/65536k of VRAM input: PC Speaker as /devices/platform/pcspkr/input/input1 Error: Driver ''pcspkr'' is already registered, aborting... usb 1-2.1: new low speed USB device using uhci_hcd and address 3 usb 1-2.1: New USB device found, idVendor=050d, idProduct=3201 usb 1-2.1: New USB device strings: Mfr=1, Product=3, SerialNumber=0 usb 1-2.1: Product: Flip CC usb 1-2.1: Manufacturer: Belkin Corporation usb 1-2.1: configuration #1 chosen from 1 choice input: Belkin Corporation Flip CC as /devices/pci0000:00/0000:00:04.2/usb1/1-2/1-2.1/1-2.1:1.0/input/input2 belkin 0003:050D:3201.0001: input,hiddev96,hidraw0: USB HID v1.10 Device [Belkin Corporation Flip CC] on usb-0000:00:04.2-2.1/input0 usb 1-2.3: new low speed USB device using uhci_hcd and address 4 REISERFS (device hda4): found reiserfs format "3.6" with standard journal REISERFS (device hda4): using ordered data mode REISERFS (device hda4): journal params: device hda4, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 REISERFS (device hda4): checking transaction log (hda4) REISERFS (device hda4): Using r5 hash to sort names Adding 2000084k swap on /dev/hda2. Priority:-1 extents:1 across:2000084k usb 1-2.3: New USB device found, idVendor=046d, idProduct=c069 usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 1-2.3: Product: USB Laser Mouse usb 1-2.3: Manufacturer: Logitech usb 1-2.3: configuration #1 chosen from 1 choice input: Logitech USB Laser Mouse as /devices/pci0000:00/0000:00:04.2/usb1/1-2/1-2.3/1-2.3:1.0/input/input3 generic-usb 0003:046D:C069.0002: input,hidraw1: USB HID v1.10 Mouse [Logitech USB Laser Mouse] on usb-0000:00:04.2-2.3/input0 usb 1-2.4: new low speed USB device using uhci_hcd and address 5 usb 1-2.4: New USB device found, idVendor=04b3, idProduct=3025 usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 1-2.4: Product: USB NetVista Full Width Keyboard usb 1-2.4: Manufacturer: CHICONY usb 1-2.4: configuration #1 chosen from 1 choice input: CHICONY USB NetVista Full Width Keyboard as /devices/pci0000:00/0000:00:04.2/usb1/1-2/1-2.4/1-2.4:1.0/input/input4 generic-usb 0003:04B3:3025.0003: input,hidraw2: USB HID v1.10 Keyboard [CHICONY USB NetVista Full Width Keyboard] on usb-0000:00:04.2-2.4/input0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1 NET: Registered protocol family 10 lo: Disabled Privacy Extensions eth0: no IPv6 routers present ------------[ cut here ]------------ WARNING: at net/sched/sch_generic.c:246 dev_watchdog+0xb3/0x148() Hardware name: System Name NETDEV WATCHDOG: eth0 (8139too): transmit queue 0 timed out Modules linked in: ipv6 snd_pcsp snd_pcm snd_timer snd i2c_piix4 soundcore snd_page_alloc kyrofb i2c_core Pid: 0, comm: swapper Tainted: G W 2.6.31.6 #17 Call Trace: [<c043a2db>] warn_slowpath_common+0x60/0x90 [<c043a33f>] warn_slowpath_fmt+0x24/0x27 [<c06bf511>] dev_watchdog+0xb3/0x148 [<c0441f91>] ? internal_add_timer+0x88/0x8c [<c044201a>] ? cascade+0x4b/0x5e [<c06bf45e>] ? dev_watchdog+0x0/0x148 [<c0442179>] run_timer_softirq+0x14c/0x1ae [<c043ead3>] __do_softirq+0xac/0x151 [<c043ea27>] ? __do_softirq+0x0/0x151 <IRQ> [<c043e8a1>] ? irq_exit+0x29/0x57 [<c05b7d4f>] ? xen_evtchn_do_upcall+0x123/0x134 [<c040ad67>] ? xen_do_upcall+0x7/0xc [<c04023a7>] ? hypercall_page+0x3a7/0x1005 [<c040654c>] ? xen_safe_halt+0x12/0x1f [<c04041bb>] ? xen_idle+0x27/0x38 [<c0409447>] ? cpu_idle+0x49/0x62 [<c07281a5>] ? cpu_bringup_and_idle+0xd/0xf ---[ end trace 4eaa2a86a8e2da26 ]--- eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1 Regards, Marcial Konrad Rzeszutek Wilk wrote:>>> The issue I have: >>> While Xen pv_ops Kernel 2.6.31.6 perfectly runs on bare metal, it fails >>> to get network connectivity when run on top of Xen 3.4.1 (Gentoo default >>> installation). Though the system seems to come up correctly at a first >>> sight and network interface is available (I can ping it locally), access >>> to network fails (I cannot ping other system in the network nor vice-versa). >>> > > > That makes sense. The IRQ for the network device is not assigned to the > driver, so it fails to work. > >>> What I discovered so far: >>> Consulting the boot messages within "dmesg", I discovered that ACPI SCI >>> fails to load when run on top of Xen, while this error is not happening >>> on bare metal. >>> >>> With XEN: >>> ********* >>> bio: create slab <bio-0> at 0 >>> ACPI: SCI (IRQ20) allocation failed >>> ACPI Exception: AE_NOT_ACQUIRED, Unable to install System Control >>> Interrupt handler 20090521 evevent-161 >>> ACPI: Unable to start the ACPI Interpreter >>> ------------[ cut here ]------------ >>> WARNING: at lib/kobject.c:595 kobject_put+0x27/0x3c() >>> > > > That is strange. I am not seeing this at all on my machine, but then I > don''t have such an ancient box. Can you provide the whole dmesg and as > well the Xen bootup to figure out why it seems to not have IRQ slots > open. > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Marcial Rion
2010-Jan-30 21:11 UTC
Re: [Xen-devel] Issue with pv_ops Kernel 2.6.31.6 and Xen
Hi OK, here is a complete dump of the boot messages, including XEN and some debugging activated... __ __ _____ _ _ ____ \ \/ /___ _ __ |___ /| || | |___ \ \ // _ \ ''_ \ |_ \| || |_ __) | / \ __/ | | | ___) |__ _| / __/ /_/\_\___|_| |_| |____(_) |_|(_)_____| (XEN) Xen version 3.4.2 (root@msrion.ch) (gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) ) Sun Jan 3 13:08:52 CET 2010 (XEN) Latest ChangeSet: unavailable (XEN) Console output is synchronous. (XEN) Command line: dom0_mem=256M loglvl=all guest_loglvl=all sync_console console_to_ring com2=9600,8n1 console=com2 (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information: (XEN) Found 2 MBR signatures (XEN) Found 2 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 00000000000a0000 (usable) (XEN) 00000000000f0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000003fffd000 (usable) (XEN) 000000003fffd000 - 000000003ffff000 (ACPI data) (XEN) 000000003ffff000 - 0000000040000000 (ACPI NVS) (XEN) 00000000fec00000 - 00000000fec01000 (reserved) (XEN) 00000000fee00000 - 00000000fee01000 (reserved) (XEN) 00000000ffff0000 - 0000000100000000 (reserved) (XEN) System RAM: 1023MB (1048180kB) (XEN) ACPI: RSDP 000F80F0, 0014 (r0 ASUS ) (XEN) ACPI: RSDT 3FFFD000, 0030 (r1 ASUS P2B-D 58582E32 ASUS 31303030) (XEN) ACPI: FACP 3FFFD100, 0074 (r1 ASUS P2B-D 58582E32 ASUS 31303030) (XEN) ACPI: DSDT 3FFFD180, 1D5E (r1 ASUS P2B-D 1000 MSFT 1000001) (XEN) ACPI: FACS 3FFFF000, 0040 (XEN) ACPI: BOOT 3FFFD040, 0028 (r1 ASUS P2B-D 58582E32 ASUS 31303030) (XEN) ACPI: APIC 3FFFD080, 005C (r1 ASUS P2B-D 0 0) (XEN) NUMA turned off (XEN) Faking a node at 0000000000000000-000000003fffd000 (XEN) Xen heap: 9MB (9792kB) (XEN) Domain heap initialised (XEN) found SMP MP-table at 000f6ec0 (XEN) DMI 2.0 present. (XEN) Using APIC driver default (XEN) ACPI: PM-Timer IO Port: 0xe408 (XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[e404,0], pm1x_evt[e400,0] (XEN) ACPI: wakeup_vec[3ffff00c], vec_size[20] (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x01] enabled) (XEN) Processor #1 6:7 APIC version 17 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) (XEN) Processor #0 6:7 APIC version 17 (XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23 (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl edge) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 20 high level) (XEN) ACPI: IRQ0 used by override. (XEN) ACPI: IRQ2 used by override. (XEN) ACPI: IRQ9 used by override. (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) Using ACPI (MADT) for SMP configuration information (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Initializing CPU#0 (XEN) Detected 501.141 MHz processor. (XEN) CPU: L1 I cache: 16K, L1 D cache: 16K (XEN) CPU: L2 cache: 512K (XEN) Intel machine check reporting enabled on CPU#0. (XEN) mce_init: init bank1 (XEN) mce_init: init bank3 (XEN) mce_init: init bank4 (XEN) CMCI: CPU0 has no CMCI support (XEN) CPU0: Intel Pentium III (Katmai) stepping 02 (XEN) Booting processor 1/0 eip 8c000 (XEN) Initializing CPU#1 (XEN) CPU: L1 I cache: 16K, L1 D cache: 16K (XEN) CPU: L2 cache: 512K (XEN) Intel machine check reporting enabled on CPU#1. (XEN) mce_init: init bank1 (XEN) mce_init: init bank3 (XEN) mce_init: init bank4 (XEN) CMCI: CPU1 has no CMCI support (XEN) CPU1: Intel Pentium III (Katmai) stepping 03 (XEN) Total of 2 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) -> Using new ACK method (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1 (XEN) checking TSC synchronization across 2 CPUs: passed. (XEN) Platform timer is 3.579MHz ACPI PM Timer (XEN) Brought up 2 CPUs (XEN) microcode.c:73:d32767 microcode: CPU1 resumed (XEN) I/O virtualisation disabled (XEN) CPUIDLE: disabled due to no HPET. Force enable with ''cpuidle''. (XEN) ACPI sleep modes: S3 (XEN) mcheck_poll: Machine check polling timer started. (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen kernel: 32-bit, PAE, lsb (XEN) Dom0 kernel: 32-bit, PAE, lsb, paddr 0x400000 -> 0xb16000 (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 000000003d000000->000000003e000000 (61440 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0400000->c0b16000 (XEN) Init. ramdisk: c0b16000->c0b16000 (XEN) Phys-Mach map: c0b16000->c0b56000 (XEN) Start info: c0b56000->c0b5647c (XEN) Page tables: c0b57000->c0b62000 (XEN) Boot stack: c0b62000->c0b63000 (XEN) TOTAL: c0000000->c0c00000 (XEN) ENTRY ADDRESS: c08e3000 (XEN) Dom0 has maximum 2 VCPUs (XEN) Scrubbing Free RAM: .......done. (XEN) Xen trace buffers: disabled (XEN) Std. Loglevel: All (XEN) Guest Loglevel: All (XEN) ********************************************** (XEN) ******* WARNING: CONSOLE OUTPUT IS SYNCHRONOUS (XEN) ******* This option is intended to aid debugging of Xen by ensuring (XEN) ******* that all output is synchronously delivered on the serial line. (XEN) ******* However it can introduce SIGNIFICANT latencies and affect (XEN) ******* timekeeping. It is NOT recommended for production use! (XEN) ********************************************** (XEN) 3... 2... 1... (XEN) *** Serial input -> DOM0 (type ''CTRL-a'' three times to switch input to Xen) (XEN) Freed 124kB init memory. mapping kernel into physical memory Xen: setup ISA identity maps about to get started... Reserving virtual address space above 0xf5800000 Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Linux version 2.6.31.6 (root@xen) (gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) ) #17 SMP Thu Jan 21 01:01:44 CET 2010 KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD NSC Geode by NSC Cyrix CyrixInstead Centaur CentaurHauls Transmeta GenuineTMx86 Transmeta TransmetaCPU UMC UMC UMC UMC xen_release_chunk: looking at area pfn 10000-3fffd xen_release_chunk: looking at area pfn 40000-fec00 xen_release_chunk: looking at area pfn fec01-fee00 xen_release_chunk: looking at area pfn fee01-ffff0 xen_release_chunk: looking at area pfn 0-10000 released 0 pages of unused memory BIOS-provided physical RAM map: Xen: 0000000000000000 - 00000000000a0000 (usable) Xen: 00000000000a0000 - 0000000000100000 (reserved) Xen: 0000000000100000 - 0000000010000000 (usable) Xen: 000000003fffd000 - 000000003ffff000 (ACPI data) Xen: 000000003ffff000 - 0000000040000000 (ACPI NVS) Xen: 00000000fec00000 - 00000000fec01000 (reserved) Xen: 00000000fee00000 - 00000000fee01000 (reserved) Xen: 00000000ffff0000 - 0000000100000000 (reserved) console [xenboot0] enabled DMI 2.0 present. last_pfn = 0x10000 max_arch_pfn = 0x1000000 init_memory_mapping: 0000000000000000-0000000010000000 ACPI: RSDP 000f80f0 00014 (v00 ASUS ) ACPI: RSDT 3fffd000 00030 (v01 ASUS P2B-D 58582E32 ASUS 31303030) ACPI: FACP 3fffd100 00074 (v01 ASUS P2B-D 58582E32 ASUS 31303030) ACPI: DSDT 3fffd180 01D5E (v01 ASUS P2B-D 00001000 MSFT 01000001) ACPI: FACS 3ffff000 00040 ACPI: BOOT 3fffd040 00028 (v01 ASUS P2B-D 58582E32 ASUS 31303030) ACPI: APIC 3fffd080 0005C (v01 ASUS P2B-D 00000000 00000000) ACPI: DMI BIOS year==0, assuming ACPI-capable machine 0MB HIGHMEM available. 256MB LOWMEM available. mapped low ram: 0 - 10000000 low ram: 0 - 10000000 node 0 low ram: 00000000 - 10000000 node 0 bootmap 00002000 - 00004000 (9 early reservations) ==> bootmem [0000000000 - 0010000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] #1 [0000b57000 - 0000b62000] XEN PAGETABLES ==> [0000b57000 - 0000b62000] #2 [0000001000 - 0000002000] EX TRAMPOLINE ==> [0000001000 - 0000002000] #3 [0000006000 - 0000007000] TRAMPOLINE ==> [0000006000 - 0000007000] #4 [0000400000 - 00009f04cc] TEXT DATA BSS ==> [0000400000 - 00009f04cc] #5 [0000b16000 - 0000b57000] XEN START INFO ==> [0000b16000 - 0000b57000] #6 [00009f1000 - 00009f1184] BRK ==> [00009f1000 - 00009f1184] #7 [0000007000 - 000007e000] PGTABLE ==> [0000007000 - 000007e000] #8 [0000002000 - 0000004000] BOOTMAP ==> [0000002000 - 0000004000] found SMP MP-table at [c00f6ec0] f6ec0 Zone PFN ranges: DMA 0x00000000 -> 0x00001000 Normal 0x00001000 -> 0x00010000 HighMem 0x00010000 -> 0x00010000 Movable zone start PFN for each node early_node_map[2] active PFN ranges 0: 0x00000000 -> 0x000000a0 0: 0x00000100 -> 0x00010000 Using APIC driver default ACPI: PM-Timer IO Port: 0xe408 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x01] enabled) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl edge) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 20 high level) Enabling APIC mode: Flat. Using 1 I/O APICs Using ACPI (MADT) for SMP configuration information SMP: Allowing 2 CPUs, 0 hotplug CPUs (XEN) io_apic.c:2126: (XEN) ioapic_guest_write: apic=0, pin=2, old_irq=0, new_irq=-1 (XEN) ioapic_guest_write: old_entry=000009f0, new_entry=00010900 (XEN) ioapic_guest_write: Attempt to remove IO-APIC pin of in-use IRQ! (XEN) io_apic.c:2126: (XEN) ioapic_guest_write: apic=0, pin=3, old_irq=3, new_irq=-1 (XEN) ioapic_guest_write: old_entry=000009f2, new_entry=00010900 (XEN) ioapic_guest_write: Attempt to remove IO-APIC pin of in-use IRQ! Allocating PCI resources starting at 40000000 (gap: 40000000:bec00000) NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1 PERCPU: Allocated 11 4k pages, static data 41500 bytes Xen: using vcpu_info placement Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64928 Kernel command line: root=/dev/hda3 ro console=hvc0 earlyprintk=xen PID hash table entries: 1024 (order: 10, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PCI-DMA: Using Xen software bounce buffering for IO (Xen-SWIOTLB) Placing 64MB Xen software IO TLB between c124c000 - c524c000 Xen software IO TLB at phys 0x124c000 - 0x524c000 Initializing HighMem for node 0 (00000000:00000000) Memory: 186380k/262144k available (3285k kernel code, 75200k reserved, 1717k data, 456k init, 0k highmem) virtual kernel memory layout: fixmap : 0xf567e000 - 0xf57ff000 (1540 kB) pkmap : 0xf5200000 - 0xf5400000 (2048 kB) vmalloc : 0xd0800000 - 0xf51fe000 ( 585 MB) lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) .init : 0xc08e3000 - 0xc0955000 ( 456 kB) .data : 0xc0735713 - 0xc08e2e00 (1717 kB) .text : 0xc0400000 - 0xc0735713 (3285 kB) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 NR_IRQS:2304 nr_irqs:424 xen_set_ioapic_routing: irq 0 gsi 0 vector 240 ioapic 0 pin 0 triggering 0 polarity 0 (XEN) io_apic.c:2139: (XEN) ioapic_guest_write: apic=0, pin=0, old_irq=-1, new_irq=0 (XEN) ioapic_guest_write: old_entry=00010900, new_entry=000009f0 (XEN) ioapic_guest_write: Attempt to add IO-APIC pin for in-use IRQ! xen_set_ioapic_routing: irq 1 gsi 1 vector 32 ioapic 0 pin 1 triggering 0 polarity 0 xen_set_ioapic_routing: irq 3 gsi 3 vector 242 ioapic 0 pin 3 triggering 0 polarity 0 xen_set_ioapic_routing: irq 4 gsi 4 vector 40 ioapic 0 pin 4 triggering 0 polarity 0 xen_set_ioapic_routing: irq 5 gsi 5 vector 48 ioapic 0 pin 5 triggering 0 polarity 0 xen_set_ioapic_routing: irq 6 gsi 6 vector 56 ioapic 0 pin 6 triggering 0 polarity 0 xen_set_ioapic_routing: irq 7 gsi 7 vector 64 ioapic 0 pin 7 triggering 0 polarity 0 xen_set_ioapic_routing: irq 8 gsi 8 vector 72 ioapic 0 pin 8 triggering 0 polarity 0 xen_set_ioapic_routing: irq 9 gsi 9 vector 136 ioapic 0 pin 9 triggering 0 polarity 0 xen_set_ioapic_routing: irq 10 gsi 10 vector 80 ioapic 0 pin 10 triggering 0 polarity 0 xen_set_ioapic_routing: irq 11 gsi 11 vector 88 ioapic 0 pin 11 triggering 0 polarity 0 xen_set_ioapic_routing: irq 12 gsi 12 vector 96 ioapic 0 pin 12 triggering 0 polarity 0 xen_set_ioapic_routing: irq 13 gsi 13 vector 104 ioapic 0 pin 13 triggering 0 polarity 0 xen_set_ioapic_routing: irq 14 gsi 14 vector 112 ioapic 0 pin 14 triggering 0 polarity 0 xen_set_ioapic_routing: irq 15 gsi 15 vector 120 ioapic 0 pin 15 triggering 0 polarity 0 Detected 501.137 MHz processor. Console: colour VGA+ 80x25 console handover: boot [xenboot0] -> real [hvc0] installing Xen timer for CPU 0 Calibrating delay loop (skipped), value calculated using timer frequency.. 1002.27 BogoMIPS (lpj=501137) Security Framework initialized SELinux: Initializing. Mount-cache hash table entries: 512 Initializing cgroup subsys ns Initializing cgroup subsys cpuacct Initializing cgroup subsys devices CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 512K (XEN) mce_intel.c:940:d0 MCE: rdmsr MCG_CAP lo 5 hi 0 mce: CPU supports 5 MCE banks (XEN) mce_intel.c:940:d0 MCE: rdmsr MCG_CAP lo 5 hi 0 (XEN) mce_intel.c:935:d0 MCE: rd MCG_STATUS lo 0 hi 0 (XEN) mce_intel.c:981:d0 MCE: rd MC0_STATUS (XEN) mce_intel.c:981:d0 MCE: rd MC1_STATUS (XEN) mce_intel.c:981:d0 MCE: rd MC2_STATUS (XEN) mce_intel.c:981:d0 MCE: rd MC3_STATUS (XEN) mce_intel.c:981:d0 MCE: rd MC4_STATUS (XEN) mce_intel.c:940:d0 MCE: rdmsr MCG_CAP lo 5 hi 0 (XEN) mce_intel.c:901:d0 MCE: wr MC1_STATUS 0 (XEN) mce_intel.c:901:d0 MCE: wr MC2_STATUS 0 (XEN) mce_intel.c:901:d0 MCE: wr MC3_STATUS 0 (XEN) mce_intel.c:901:d0 MCE: wr MC4_STATUS 0 Performance Counters: p6 PMU driver. ------------[ cut here ]------------ WARNING: at arch/x86/xen/enlighten.c:720 xen_apic_write+0x12/0x14() Hardware name: System Name Modules linked in: Pid: 0, comm: swapper Not tainted 2.6.31.6 #17 Call Trace: [<c040393e>] ? xen_apic_write+0x12/0x14 [<c043a2db>] warn_slowpath_common+0x60/0x90 [<c043a318>] warn_slowpath_null+0xd/0x10 [<c040393e>] xen_apic_write+0x12/0x14 [<c0412e06>] perf_counters_lapic_init+0x2b/0x2d [<c08ec28e>] init_hw_perf_counters+0x2bd/0x357 [<c08ebec3>] identify_boot_cpu+0x21/0x23 [<c08ebf01>] check_bugs+0xb/0xdb [<c0472a20>] ? delayacct_init+0x42/0x46 [<c08e37fe>] start_kernel+0x2be/0x2cd [<c08e307b>] i386_start_kernel+0x6a/0x6f [<c08e63a4>] xen_start_kernel+0x541/0x549 ---[ end trace 4eaa2a86a8e2da22 ]--- ... version: 0 ... bit width: 32 ... generic counters: 2 ... value mask: 00000000ffffffff ... max period: 000000007fffffff ... fixed-purpose counters: 0 ... counter mask: 0000000000000003 SMP alternatives: switching to UP code ACPI: Core revision 20090521 cpu 0 spinlock event irq 422 installing Xen timer for CPU 1 cpu 1 spinlock event irq 416 SMP alternatives: switching to SMP code (XEN) mce_intel.c:940:d0 MCE: rdmsr MCG_CAP lo 5 hi 0 (XEN) mce_intel.c:940:d0 MCE: rdmsr MCG_CAP lo 5 hi 0 (XEN) mce_intel.c:935:d0 MCE: rd MCG_STATUS lo 0 hi 0 (XEN) mce_intel.c:981:d0 MCE: rd MC0_STATUS (XEN) mce_intel.c:981:d0 MCE: rd MC1_STATUS (XEN) mce_intel.c:981:d0 MCE: rd MC2_STATUS (XEN) mce_intel.c:981:d0 MCE: rd MC3_STATUS (XEN) mce_intel.c:981:d0 MCE: rd MC4_STATUS (XEN) mce_intel.c:940:d0 MCE: rdmsr MCG_CAP lo 5 hi 0 (XEN) mce_intel.c:901:d0 MCE: wr MC1_STATUS 0 (XEN) mce_intel.c:901:d0 MCE: wr MC2_STATUS 0 (XEN) mce_intel.c:901:d0 MCE: wr MC3_STATUS 0 (XEN) mce_intel.c:901:d0 MCE: wr MC4_STATUS 0 Initializing CPU#1 CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 512K mce: CPU supports 5 MCE banks Brought up 2 CPUs Booting paravirtualized kernel on Xen Xen version: 3.4.2 (preserve-AD) (dom0) Grant tables using version 1 layout. Grant table initialized Time: 22:27:18 Date: 01/30/10 NET: Registered protocol family 16 xenbus_probe_init ok ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xf0730, last bus=1 PCI: Using configuration type 1 for base access bio: create slab <bio-0> at 0 ACPI: SCI (IRQ20) allocation failed ACPI Exception: AE_NOT_ACQUIRED, Unable to install System Control Interrupt handler 20090521 evevent-161 ACPI: Unable to start the ACPI Interpreter ------------[ cut here ]------------ WARNING: at lib/kobject.c:595 kobject_put+0x27/0x3c() Hardware name: System Name kobject: ''<NULL>'' (cf805ea0): is not initialized, yet kobject_put() is being called. Modules linked in: Pid: 1, comm: swapper Tainted: G W 2.6.31.6 #17 Call Trace: [<c043a2db>] warn_slowpath_common+0x60/0x90 [<c043a33f>] warn_slowpath_fmt+0x24/0x27 [<c05588cb>] kobject_put+0x27/0x3c [<c049e502>] kmem_cache_destroy+0x105/0x11b [<c058adc8>] acpi_os_delete_cache+0x8/0xc [<c05a6fe6>] acpi_ut_delete_caches+0xd/0x6b [<c05a77f7>] acpi_ut_subsystem_shutdown+0x87/0x90 [<c0907837>] ? acpi_init+0x0/0x263 [<c05a8067>] acpi_terminate+0x8/0x14 [<c09079cb>] acpi_init+0x194/0x263 [<c05f0e66>] ? __class_create+0x44/0x5e [<c09051c5>] ? fbmem_init+0x0/0x78 [<c0907837>] ? acpi_init+0x0/0x263 [<c0403051>] do_one_initcall+0x4c/0x13a [<c08e330d>] kernel_init+0x12c/0x17d [<c08e31e1>] ? kernel_init+0x0/0x17d [<c040ad17>] kernel_thread_helper+0x7/0x10 ---[ end trace 4eaa2a86a8e2da23 ]--- ------------[ cut here ]------------ WARNING: at lib/kobject.c:595 kobject_put+0x27/0x3c() Hardware name: System Name kobject: ''<NULL>'' (cf805f60): is not initialized, yet kobject_put() is being called. Modules linked in: Pid: 1, comm: swapper Tainted: G W 2.6.31.6 #17 Call Trace: [<c043a2db>] warn_slowpath_common+0x60/0x90 [<c043a33f>] warn_slowpath_fmt+0x24/0x27 [<c05588cb>] kobject_put+0x27/0x3c [<c049e502>] kmem_cache_destroy+0x105/0x11b [<c058adc8>] acpi_os_delete_cache+0x8/0xc [<c05a700e>] acpi_ut_delete_caches+0x35/0x6b [<c05a77f7>] acpi_ut_subsystem_shutdown+0x87/0x90 [<c0907837>] ? acpi_init+0x0/0x263 [<c05a8067>] acpi_terminate+0x8/0x14 [<c09079cb>] acpi_init+0x194/0x263 [<c05f0e66>] ? __class_create+0x44/0x5e [<c09051c5>] ? fbmem_init+0x0/0x78 [<c0907837>] ? acpi_init+0x0/0x263 [<c0403051>] do_one_initcall+0x4c/0x13a [<c08e330d>] kernel_init+0x12c/0x17d [<c08e31e1>] ? kernel_init+0x0/0x17d [<c040ad17>] kernel_thread_helper+0x7/0x10 ---[ end trace 4eaa2a86a8e2da24 ]--- Failed to sync pcpu 0 xenbus_probe_backend_init bus registered ok xenbus_probe_frontend_init bus registered ok xen_balloon: Initialising balloon driver with page order 0. SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb PCI: Probing PCI hardware * Found PM-Timer Bug on the chipset. Due to workarounds for a bug, * this clock source is slow. Consider trying other clock sources pci 0000:00:04.3: quirk: region e400-e43f claimed by PIIX4 ACPI pci 0000:00:04.3: quirk: region e800-e80f claimed by PIIX4 SMB pci 0000:00:04.3: PIIX4 devres B PIO at 0290-0297 pci 0000:00:0a.0: PME# supported from D1 D2 D3hot pci 0000:00:0a.0: PME# disabled pci 0000:00:0b.0: PME# supported from D1 D2 D3hot pci 0000:00:0b.0: PME# disabled (XEN) PCI add device 00:00.0 (XEN) PCI add device 00:01.0 (XEN) PCI add device 00:04.0 (XEN) PCI add device 00:04.1 (XEN) PCI add device 00:04.2 (XEN) PCI add device 00:04.3 (XEN) PCI add device 00:09.0 (XEN) PCI add device 00:0a.0 (XEN) PCI add device 00:0b.0 (XEN) PCI add device 01:00.0 pci 0000:00:04.0: PIIX/ICH IRQ router [8086:7110] IO APIC resources couldn''t be allocated. NetLabel: Initializing NetLabel: domain hash size = 128 NetLabel: protocols = UNLABELED CIPSOv4 NetLabel: unlabeled traffic allowed by default pnp: PnP ACPI: disabled pci 0000:00:01.0: PCI bridge, secondary bus 0000:01 pci 0000:00:01.0: IO window: 0xd000-0xdfff pci 0000:00:01.0: MEM window: 0xf4000000-0xf40fffff pci 0000:00:01.0: PREFETCH window: 0xdf700000-0xe3ffffff NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered NET: Registered protocol family 1 Simple Boot Flag at 0x46 set to 0x1 platform rtc_cmos: registered platform RTC device (no PNP device found) apm: BIOS not found. audit: initializing netlink socket (disabled) type=2000 audit(1264890436.021:1): initialized HugeTLB registered 2 MB page size, pre-allocated 0 pages VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) msgmni has been set to 364 alg: No test for stdrng (krng) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) pci 0000:00:00.0: Limiting direct PCI/PCI transfers pci_hotplug: PCI Hot Plug PCI Core version: 0.5 acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Event-channel device installed. registering netback Non-volatile memory driver v1.3 Linux agpgart interface v0.103 agpgart-intel 0000:00:00.0: Intel 440BX Chipset agpgart-intel 0000:00:00.0: AGP aperture is 64M @ 0xf8000000 Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled (XEN) irq.c:640:d0 Cannot bind IRQ 3 to guest. In use by ''ns16550''. (XEN) irq.c:640:d0 Cannot bind IRQ 0 to guest. In use by ''timer''. (XEN) irq.c:640:d0 Cannot bind IRQ 3 to guest. In use by ''ns16550''. (XEN) irq.c:640:d0 Cannot bind IRQ 0 to guest. In use by ''timer''. (XEN) irq.c:640:d0 Cannot bind IRQ 3 to guest. In use by ''ns16550''. (XEN) irq.c:640:d0 Cannot bind IRQ 0 to guest. In use by ''timer''. (XEN) irq.c:640:d0 Cannot bind IRQ 3 to guest. In use by ''ns16550''. (XEN) irq.c:640:d0 Cannot bind IRQ 0 to guest. In use by ''timer''. serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A brd: module loaded loop: module loaded Uniform Multi-Platform E-IDE driver piix 0000:00:04.1: IDE controller (0x8086:0x7111 rev 0x01) piix 0000:00:04.1: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xb800-0xb807 ide1: BM-DMA at 0xb808-0xb80f hda: WDC WD300BB-00CCB0, ATA DISK drive hdb: SAMSUNG HD400LD, ATA DISK drive hda: UDMA/33 mode selected hdb: UDMA/33 mode selected hdc: LITE-ON COMBO LTC-48161H, ATAPI CD/DVD-ROM drive hdc: UDMA/33 mode selected ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 ide-gd driver 1.18 hda: max request size: 128KiB hda: 58633344 sectors (30020 MB) w/2048KiB Cache, CHS=58168/16/63 hda: cache flushes not supported hda: hda1 hda2 hda3 hda4 hdb: max request size: 512KiB hdb: Host Protected Area detected. current capacity is 66055248 sectors (33820 MB) native capacity is 781422768 sectors (400088 MB) hdb: 66055248 sectors (33820 MB) w/8192KiB Cache, CHS=16383/255/63 hdb: cache flushes supported hdb: hdb1 ide-cd driver 5.00 ide-cd: hdc: ATAPI 48X DVD-ROM CD-R/RW drive, 2048kB Cache Uniform CD-ROM driver Revision: 3.20 8139too Fast Ethernet driver 0.9.28 8139too 0000:00:09.0: found PCI INT A -> IRQ 7 8139too 0000:00:09.0: sharing IRQ 7 with 0000:00:04.2 eth0: RealTek RTL8139 at 0xb000, 00:30:4f:08:4d:24, IRQ 7 8139too 0000:00:0a.0: found PCI INT A -> IRQ 12 eth1: RealTek RTL8139 at 0xa800, 00:e0:7d:c0:de:f3, IRQ 12 8139too 0000:00:0b.0: found PCI INT A -> IRQ 10 eth2: RealTek RTL8139 at 0xa400, 00:e0:7d:c0:de:f9, IRQ 10 ehci_hcd: USB 2.0 ''Enhanced'' Host Controller (EHCI) Driver ohci_hcd: USB 1.1 ''Open'' Host Controller (OHCI) Driver uhci_hcd: USB Universal Host Controller Interface driver uhci_hcd 0000:00:04.2: found PCI INT D -> IRQ 7 uhci_hcd 0000:00:04.2: sharing IRQ 7 with 0000:00:09.0 uhci_hcd 0000:00:04.2: UHCI Host Controller uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:04.2: irq 7, io base 0x0000b400 usb usb1: New USB device found, idVendor=1d6b, idProduct=0001 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: UHCI Host Controller usb usb1: Manufacturer: Linux 2.6.31.6 uhci_hcd usb usb1: SerialNumber: 0000:00:04.2 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected PNP: No PS/2 controller found. Probing ports directly. usb 1-2: new full speed USB device using uhci_hcd and address 2 serio: i8042 KBD port at 0x60,0x64 irq 1 mice: PS/2 mouse device common for all mice rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 rtc0: alarms up to one day, 114 bytes nvram device-mapper: uevent: version 1.0.3 device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com cpuidle: using governor ladder cpuidle: using governor menu input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver nf_conntrack version 0.5.0 (4096 buckets, 16384 max) CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or sysctl net.netfilter.nf_conntrack_acct=1 to enable it. ip_tables: (C) 2000-2006 Netfilter Core Team TCP cubic registered Initializing XFRM netlink socket NET: Registered protocol family 17 Using IPI No-Shortcut mode registered taskstats version 1 Magic number: 10:484:503 md: Waiting for all devices to be available before autodetect md: If you don''t use raid, use raid=noautodetect md: Autodetecting RAID arrays. md: Scanned 0 and added 0 devices. md: autorun ... md: ... autorun DONE. REISERFS (device hda3): found reiserfs format "3.6" with standard journal REISERFS (device hda3): using ordered data mode REISERFS (device hda3): journal params: device hda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 REISERFS (device hda3): checking transaction log (hda3) REISERFS (device hda3): Using r5 hash to sort names VFS: Mounted root (reiserfs filesystem) readonly on device 3:3. Freeing unused kernel memory: 456k freed usb 1-2: New USB device found, idVendor=0424, idProduct=2524 usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Write protecting the kernel text: 3288k Write protecting the kernel read-only data: 1452k usb 1-2: configuration #1 chosen from 1 choice hub 1-2:1.0: USB hub found INIT: version 2.86 booting hub 1-2:1.0: 4 ports detected Gentoo Linux; http://www.gentoo.org/ Copyright 1999-2009 Gentoo Foundation; Distributed under the GPLv2 Press I to enter interactive boot mode * Mounting proc at /proc ... [ ok ] * Mounting sysfs at /sys ... [ ok ] * Mounting /dev ... [ ok ] * Starting udevd ... [ ok ] * Populating /dev with existing devices through uevents ... [ ok ] * Waiting for uevents to be processed ... [ ok ] * Mounting devpts at /dev/pts ... [ ok ] * Checking root filesystem ...Reiserfs super block in block 16 on 0x303 of format 3.6 with standard journal Blocks (total/free): 3662816/1342627 by 4096 bytes Filesystem is clean Filesystem seems mounted read-only. Skipping journal replay. Checking internal tree..finished [ ok ] * Remounting root filesystem read/write ... [ ok ] * Checking all filesystems .../dev/hda1: clean, 50/124928 files, 164844/497980 blocks (check in 3 mounts) Reiserfs super block in block 16 on 0x304 of format 3.6 with standard journal Blocks (total/free): 3040288/3026502 by 4096 bytes Filesystem is clean Replaying journal.. Reiserfs journal ''/dev/hda4'' in blocks [18..8211]: 0 transactions replayed Checking internal tree..finished [ ok ] * Mounting local filesystems ... [ ok ] * Mounting misc binary format filesystem ... [ ok ] * Mounting security filesystem ... [ ok ] * Activating (possible) swap ... [ ok ] * Setting system clock using the hardware clock [UTC] ... [ ok ] * Configuring kernel parameters ... [ ok ] * Cleaning /var/lock, /var/run ... [ ok ] * Wiping /tmp directory ... [ ok ] * Device initiated services: udev-postmount * Setting hostname to xen ... [ ok ] * Loading key mappings ... [ ok ] * Setting terminal encoding to UTF-8 ... [ ok ] * Setting user font ... [ ok ] * Starting lo * Bringing up lo * 127.0.0.1/8 [ ok ] * Adding routes * 127.0.0.0/8 ... [ ok ] * Initializing random number generator ... [ ok ] INIT: Entering runlevel: 3 * Starting syslog-ng ... [ ok ] * Starting eth0 * Bringing up eth0 * 10.2.0.2 [ ok ] * Adding routes * default via 10.2.0.1 ... [ ok ] * Mounting network filesystems ... [ ok ] * Starting sshd ... [ ok ] * Starting vixie-cron ... [ ok ] * Starting local ... [ ok ] Thanks & regards, Marcial Konrad Rzeszutek Wilk wrote:>>> The issue I have: >>> While Xen pv_ops Kernel 2.6.31.6 perfectly runs on bare metal, it fails >>> to get network connectivity when run on top of Xen 3.4.1 (Gentoo default >>> installation). Though the system seems to come up correctly at a first >>> sight and network interface is available (I can ping it locally), access >>> to network fails (I cannot ping other system in the network nor vice-versa). >>> > > > That makes sense. The IRQ for the network device is not assigned to the > driver, so it fails to work. > >>> What I discovered so far: >>> Consulting the boot messages within "dmesg", I discovered that ACPI SCI >>> fails to load when run on top of Xen, while this error is not happening >>> on bare metal. >>> >>> With XEN: >>> ********* >>> bio: create slab <bio-0> at 0 >>> ACPI: SCI (IRQ20) allocation failed >>> ACPI Exception: AE_NOT_ACQUIRED, Unable to install System Control >>> Interrupt handler 20090521 evevent-161 >>> ACPI: Unable to start the ACPI Interpreter >>> ------------[ cut here ]------------ >>> WARNING: at lib/kobject.c:595 kobject_put+0x27/0x3c() >>> > > > That is strange. I am not seeing this at all on my machine, but then I > don''t have such an ancient box. Can you provide the whole dmesg and as > well the Xen bootup to figure out why it seems to not have IRQ slots > open. > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Marcial Rion
2010-Feb-07 15:39 UTC
Re: [Xen-devel] Issue with pv_ops Kernel 2.6.31.6 and Xen
BTW: The problem also persists when using XEN 4.0.0-rc3-pre. See the dump of the bootup trace below: Booting ''Xen 4.0, Kernel 2.6.31'' root (hd0,0) Filesystem type is ext2fs, partition type 0x83 kernel /boot/xen-4.0.gz dom0_mem=256M loglvl=all guest_loglvl=all sync_co nnsole console_to_ring com2=38400,8n1 console=com2 [Multiboot-elf, <0x100000:0x12d000:0xad000>, shtab=0x2da078, entry=0x100000] module /boot/kernel-2.6.31.6-xen root=/dev/hda3 ro console=hvc0 earlyprin tk=xen [Multiboot-module @ 0x2db000, 0x2f8ba0 bytes] __ __ _ _ ___ ___ _____ \ \/ /___ _ __ | || | / _ \ / _ \ _ __ ___|___ / _ __ _ __ ___ \ // _ \ ''_ \ | || |_| | | | | | |__| ''__/ __| |_ \ __| ''_ \| ''__/ _ \ / \ __/ | | | |__ _| |_| | |_| |__| | | (__ ___) |__| |_) | | | __/ /_/\_\___|_| |_| |_|(_)___(_)___/ |_| \___|____/ | .__/|_| \___| |_| (XEN) Xen version 4.0.0-rc3-pre (root@msrion.ch) (gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) ) Sun Jan 31 17:15:01 CET 2010 (XEN) Latest ChangeSet: Fri Jan 29 08:59:46 2010 +0000 20873:857d7b2dd8c7 (XEN) Command line: dom0_mem=256M loglvl=all guest_loglvl=all sync_connsole console_to_ring com2=38400,8n1 console=com2 (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information: (XEN) Found 2 MBR signatures (XEN) Found 2 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 00000000000a0000 (usable) (XEN) 00000000000f0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000003fffd000 (usable) (XEN) 000000003fffd000 - 000000003ffff000 (ACPI data) (XEN) 000000003ffff000 - 0000000040000000 (ACPI NVS) (XEN) 00000000fec00000 - 00000000fec01000 (reserved) (XEN) 00000000fee00000 - 00000000fee01000 (reserved) (XEN) 00000000ffff0000 - 0000000100000000 (reserved) (XEN) System RAM: 1002MB (1027048kB) (XEN) ACPI: RSDP 000F80F0, 0014 (r0 ASUS ) (XEN) ACPI: RSDT 3FFFD000, 0030 (r1 ASUS P2B-D 58582E32 ASUS 31303030) (XEN) ACPI: FACP 3FFFD100, 0074 (r1 ASUS P2B-D 58582E32 ASUS 31303030) (XEN) ACPI: DSDT 3FFFD180, 1D5E (r1 ASUS P2B-D 1000 MSFT 1000001) (XEN) ACPI: FACS 3FFFF000, 0040 (XEN) ACPI: BOOT 3FFFD040, 0028 (r1 ASUS P2B-D 58582E32 ASUS 31303030) (XEN) ACPI: APIC 3FFFD080, 005C (r1 ASUS P2B-D 0 0) (XEN) No NUMA configuration found (XEN) Faking a node at 0000000000000000-000000003fffd000 (XEN) Xen heap: 9MB (9336kB) (XEN) Domain heap initialised (XEN) found SMP MP-table at 000f6ec0 (XEN) DMI 2.0 present. (XEN) Using APIC driver default (XEN) ACPI: PM-Timer IO Port: 0xe408 (XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[e404,0], pm1x_evt[e400,0] (XEN) ACPI: wakeup_vec[3ffff00c], vec_size[20] (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x01] enabled) (XEN) Processor #1 6:7 APIC version 17 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) (XEN) Processor #0 6:7 APIC version 17 (XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23 (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl edge) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 20 high level) (XEN) ACPI: IRQ0 used by override. (XEN) ACPI: IRQ2 used by override. (XEN) ACPI: IRQ9 used by override. (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) Using ACPI (MADT) for SMP configuration information (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Initializing CPU#0 (XEN) Detected 501.149 MHz processor. (XEN) Initing memory sharing. (XEN) CPU: L1 I cache: 16K, L1 D cache: 16K (XEN) CPU: L2 cache: 512K (XEN) Intel machine check reporting enabled on CPU#0. (XEN) CMCI: CPU0 has no CMCI support (XEN) I/O virtualisation disabled (XEN) CPU0: Intel Pentium III (Katmai) stepping 02 (XEN) Booting processor 1/0 eip 8c000 (XEN) Initializing CPU#1 (XEN) CPU: L1 I cache: 16K, L1 D cache: 16K (XEN) CPU: L2 cache: 512K (XEN) Intel machine check reporting enabled on CPU#1. (XEN) CMCI: CPU1 has no CMCI support (XEN) CPU1: Intel Pentium III (Katmai) stepping 03 (XEN) Total of 2 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) -> Using new ACK method (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1 (XEN) checking TSC synchronization across 2 CPUs: passed. (XEN) Platform timer is 3.579MHz ACPI PM Timer (XEN) Brought up 2 CPUs (XEN) microcode.c:73:d32767 microcode: CPU1 resumed (XEN) CPUIDLE: disabled due to no HPET. Force enable with ''cpuidle''. (XEN) ACPI sleep modes: S3 (XEN) mcheck_poll: Machine check polling timer started. (XEN) *** LOADING DOMAIN 0 *** (XEN) elf_parse_binary: phdr: paddr=0x400000 memsz=0x4a1000 (XEN) elf_parse_binary: phdr: paddr=0x8a1000 memsz=0x275000 (XEN) elf_parse_binary: memory: 0x400000 -> 0xb16000 (XEN) elf_xen_parse_note: GUEST_OS = "linux" (XEN) elf_xen_parse_note: GUEST_VERSION = "2.6" (XEN) elf_xen_parse_note: XEN_VERSION = "xen-3.0" (XEN) elf_xen_parse_note: VIRT_BASE = 0xc0000000 (XEN) elf_xen_parse_note: ENTRY = 0xc08e3000 (XEN) elf_xen_parse_note: HYPERCALL_PAGE = 0xc0402000 (XEN) elf_xen_parse_note: FEATURES "!writable_page_tables|pae_pgdir_above_4gb" (XEN) elf_xen_parse_note: PAE_MODE = "yes" (XEN) elf_xen_parse_note: LOADER = "generic" (XEN) elf_xen_parse_note: unknown xen elf note (0xd) (XEN) elf_xen_parse_note: SUSPEND_CANCEL = 0x1 (XEN) elf_xen_parse_note: HV_START_LOW = 0xf5800000 (XEN) elf_xen_parse_note: PADDR_OFFSET = 0x0 (XEN) elf_xen_addr_calc_check: addresses: (XEN) virt_base = 0xc0000000 (XEN) elf_paddr_offset = 0x0 (XEN) virt_offset = 0xc0000000 (XEN) virt_kstart = 0xc0400000 (XEN) virt_kend = 0xc0b16000 (XEN) virt_entry = 0xc08e3000 (XEN) p2m_base = 0xffffffffffffffff (XEN) Xen kernel: 32-bit, PAE, lsb (XEN) Dom0 kernel: 32-bit, PAE, lsb, paddr 0x400000 -> 0xb16000 (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 000000003d000000->000000003e000000 (61440 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0400000->c0b16000 (XEN) Init. ramdisk: c0b16000->c0b16000 (XEN) Phys-Mach map: c0b16000->c0b56000 (XEN) Start info: c0b56000->c0b5647c (XEN) Page tables: c0b57000->c0b62000 (XEN) Boot stack: c0b62000->c0b63000 (XEN) TOTAL: c0000000->c0c00000 (XEN) ENTRY ADDRESS: c08e3000 (XEN) Dom0 has maximum 2 VCPUs (XEN) elf_load_binary: phdr 0 at 0xc0400000 -> 0xc08a1000 (XEN) elf_load_binary: phdr 1 at 0xc08a1000 -> 0xc0959000 (XEN) Scrubbing Free RAM: .......done. (XEN) Xen trace buffers: disabled (XEN) Std. Loglevel: All (XEN) Guest Loglevel: All (XEN) *** Serial input -> DOM0 (type ''CTRL-a'' three times to switch input to Xen) (XEN) Freed 132kB init memory. mapping kernel into physical memory Xen: setup ISA identity maps about to get started... Reserving virtual address space above 0xf5800000 Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Linux version 2.6.31.6 (root@xen) (gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) ) #22 SMP Sun Feb 7 12:44:33 CET 2010 KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD NSC Geode by NSC Cyrix CyrixInstead Centaur CentaurHauls Transmeta GenuineTMx86 Transmeta TransmetaCPU UMC UMC UMC UMC xen_release_chunk: looking at area pfn 10000-3fffd xen_release_chunk: looking at area pfn 40000-fec00 xen_release_chunk: looking at area pfn fec01-fee00 xen_release_chunk: looking at area pfn fee01-ffff0 xen_release_chunk: looking at area pfn 0-10000 released 0 pages of unused memory BIOS-provided physical RAM map: Xen: 0000000000000000 - 00000000000a0000 (usable) Xen: 00000000000a0000 - 0000000000100000 (reserved) Xen: 0000000000100000 - 0000000010000000 (usable) Xen: 000000003fffd000 - 000000003ffff000 (ACPI data) Xen: 000000003ffff000 - 0000000040000000 (ACPI NVS) Xen: 00000000fec00000 - 00000000fec01000 (reserved) Xen: 00000000fee00000 - 00000000fee01000 (reserved) Xen: 00000000ffff0000 - 0000000100000000 (reserved) console [xenboot0] enabled DMI 2.0 present. last_pfn = 0x10000 max_arch_pfn = 0x1000000 init_memory_mapping: 0000000000000000-0000000010000000 ACPI: RSDP 000f80f0 00014 (v00 ASUS ) ACPI: RSDT 3fffd000 00030 (v01 ASUS P2B-D 58582E32 ASUS 31303030) ACPI: FACP 3fffd100 00074 (v01 ASUS P2B-D 58582E32 ASUS 31303030) ACPI: DSDT 3fffd180 01D5E (v01 ASUS P2B-D 00001000 MSFT 01000001) ACPI: FACS 3ffff000 00040 ACPI: BOOT 3fffd040 00028 (v01 ASUS P2B-D 58582E32 ASUS 31303030) ACPI: APIC 3fffd080 0005C (v01 ASUS P2B-D 00000000 00000000) ACPI: DMI BIOS year==0, assuming ACPI-capable machine 0MB HIGHMEM available. 256MB LOWMEM available. mapped low ram: 0 - 10000000 low ram: 0 - 10000000 node 0 low ram: 00000000 - 10000000 node 0 bootmap 00002000 - 00004000 (9 early reservations) ==> bootmem [0000000000 - 0010000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] #1 [0000b57000 - 0000b62000] XEN PAGETABLES ==> [0000b57000 - 0000b62000] #2 [0000001000 - 0000002000] EX TRAMPOLINE ==> [0000001000 - 0000002000] #3 [0000006000 - 0000007000] TRAMPOLINE ==> [0000006000 - 0000007000] #4 [0000400000 - 00009f08ac] TEXT DATA BSS ==> [0000400000 - 00009f08ac] #5 [0000b16000 - 0000b57000] XEN START INFO ==> [0000b16000 - 0000b57000] #6 [00009f1000 - 00009f1184] BRK ==> [00009f1000 - 00009f1184] #7 [0000007000 - 000007e000] PGTABLE ==> [0000007000 - 000007e000] #8 [0000002000 - 0000004000] BOOTMAP ==> [0000002000 - 0000004000] found SMP MP-table at [c00f6ec0] f6ec0 Zone PFN ranges: DMA 0x00000000 -> 0x00001000 Normal 0x00001000 -> 0x00010000 HighMem 0x00010000 -> 0x00010000 Movable zone start PFN for each node early_node_map[2] active PFN ranges 0: 0x00000000 -> 0x000000a0 0: 0x00000100 -> 0x00010000 Using APIC driver default ACPI: PM-Timer IO Port: 0xe408 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x01] enabled) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl edge) ACPI: mri: intsrc->source_irq = 0; acpi_gbl_FADT.sci_interrupt = 9 ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 20 high level) ACPI: mri: intsrc->source_irq = 9; acpi_gbl_FADT.sci_interrupt = 9 Enabling APIC mode: Flat. Using 1 I/O APICs Using ACPI (MADT) for SMP configuration information SMP: Allowing 2 CPUs, 0 hotplug CPUs (XEN) io_apic.c:2291: (XEN) ioapic_guest_write: apic=0, pin=0, irq=0 (XEN) ioapic_guest_write: new_entry=00010900 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2291: (XEN) ioapic_guest_write: apic=0, pin=2, irq=0 (XEN) ioapic_guest_write: new_entry=00010900 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2291: (XEN) ioapic_guest_write: apic=0, pin=3, irq=3 (XEN) ioapic_guest_write: new_entry=00010900 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) irq.c:1445: dom0: pirq 0 or irq 4 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 5 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 6 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 7 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 8 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 9 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 10 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 11 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 12 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 13 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 14 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 15 already mapped (XEN) allocated vector for irq:16 (XEN) irq.c:1445: dom0: pirq 0 or irq 16 already mapped (XEN) allocated vector for irq:17 (XEN) irq.c:1445: dom0: pirq 0 or irq 17 already mapped (XEN) allocated vector for irq:18 (XEN) irq.c:1445: dom0: pirq 0 or irq 18 already mapped (XEN) allocated vector for irq:19 (XEN) irq.c:1445: dom0: pirq 0 or irq 19 already mapped (XEN) irq.c:1445: dom0: pirq 0 or irq 9 already mapped (XEN) allocated vector for irq:21 (XEN) irq.c:1445: dom0: pirq 0 or irq 21 already mapped (XEN) allocated vector for irq:22 (XEN) irq.c:1445: dom0: pirq 0 or irq 22 already mapped (XEN) allocated vector for irq:23 (XEN) irq.c:1445: dom0: pirq 0 or irq 23 already mapped Allocating PCI resources starting at 40000000 (gap: 40000000:bec00000) NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1 PERCPU: Allocated 11 4k pages, static data 41500 bytes Xen: using vcpu_info placement Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64928 Kernel command line: root=/dev/hda3 ro console=hvc0 earlyprintk=xen PID hash table entries: 1024 (order: 10, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PCI-DMA: Using Xen software bounce buffering for IO (Xen-SWIOTLB) Placing 64MB Xen software IO TLB between c124c000 - c524c000 Xen software IO TLB at phys 0x124c000 - 0x524c000 Initializing HighMem for node 0 (00000000:00000000) Memory: 186380k/262144k available (3286k kernel code, 75200k reserved, 1717k data, 456k init, 0k highmem) virtual kernel memory layout: fixmap : 0xf567e000 - 0xf57ff000 (1540 kB) pkmap : 0xf5200000 - 0xf5400000 (2048 kB) vmalloc : 0xd0800000 - 0xf51fe000 ( 585 MB) lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) .init : 0xc08e3000 - 0xc0955000 ( 456 kB) .data : 0xc07358bb - 0xc08e2e00 (1717 kB) .text : 0xc0400000 - 0xc07358bb (3286 kB) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 NR_IRQS:2304 nr_irqs:424 xen_set_ioapic_routing: irq 0 gsi 0 vector 0 ioapic 0 pin 0 triggering 0 polarity 0 (XEN) io_apic.c:2291: (XEN) ioapic_guest_write: apic=0, pin=0, irq=0 (XEN) ioapic_guest_write: new_entry=00000900 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! xen_set_ioapic_routing: irq 1 gsi 1 vector 1 ioapic 0 pin 1 triggering 0 polarity 0 xen_set_ioapic_routing: irq 3 gsi 3 vector 3 ioapic 0 pin 3 triggering 0 polarity 0 (XEN) io_apic.c:2291: (XEN) ioapic_guest_write: apic=0, pin=3, irq=3 (XEN) ioapic_guest_write: new_entry=00000903 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! xen_set_ioapic_routing: irq 4 gsi 4 vector 4 ioapic 0 pin 4 triggering 0 polarity 0 xen_set_ioapic_routing: irq 5 gsi 5 vector 5 ioapic 0 pin 5 triggering 0 polarity 0 xen_set_ioapic_routing: irq 6 gsi 6 vector 6 ioapic 0 pin 6 triggering 0 polarity 0 xen_set_ioapic_routing: irq 7 gsi 7 vector 7 ioapic 0 pin 7 triggering 0 polarity 0 xen_set_ioapic_routing: irq 8 gsi 8 vector 8 ioapic 0 pin 8 triggering 0 polarity 0 xen_set_ioapic_routing: irq 9 gsi 9 vector 9 ioapic 0 pin 9 triggering 0 polarity 0 xen_set_ioapic_routing: irq 10 gsi 10 vector 10 ioapic 0 pin 10 triggering 0 polarity 0 xen_set_ioapic_routing: irq 11 gsi 11 vector 11 ioapic 0 pin 11 triggering 0 polarity 0 xen_set_ioapic_routing: irq 12 gsi 12 vector 12 ioapic 0 pin 12 triggering 0 polarity 0 xen_set_ioapic_routing: irq 13 gsi 13 vector 13 ioapic 0 pin 13 triggering 0 polarity 0 xen_set_ioapic_routing: irq 14 gsi 14 vector 14 ioapic 0 pin 14 triggering 0 polarity 0 xen_set_ioapic_routing: irq 15 gsi 15 vector 15 ioapic 0 pin 15 triggering 0 polarity 0 Detected 501.136 MHz processor. Console: colour VGA+ 80x25 console handover: boot [xenboot0] -> real [hvc0] installing Xen timer for CPU 0 Calibrating delay loop (skipped), value calculated using timer frequency.. 1002.27 BogoMIPS (lpj=501136) Security Framework initialized SELinux: Initializing. Mount-cache hash table entries: 512 Initializing cgroup subsys ns Initializing cgroup subsys cpuacct Initializing cgroup subsys devices CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 512K mce: CPU supports 5 MCE banks Performance Counters: p6 PMU driver. ------------[ cut here ]------------ WARNING: at arch/x86/xen/enlighten.c:720 xen_apic_write+0x12/0x14() Hardware name: System Name Modules linked in: Pid: 0, comm: swapper Not tainted 2.6.31.6 #22 Call Trace: [<c040393e>] ? xen_apic_write+0x12/0x14 [<c043a2db>] warn_slowpath_common+0x60/0x90 [<c043a318>] warn_slowpath_null+0xd/0x10 [<c040393e>] xen_apic_write+0x12/0x14 [<c0412e06>] perf_counters_lapic_init+0x2b/0x2d [<c08ec28e>] init_hw_perf_counters+0x2bd/0x357 [<c08ebec3>] identify_boot_cpu+0x21/0x23 [<c08ebf01>] check_bugs+0xb/0xdb [<c0472a20>] ? delayacct_init+0x42/0x46 [<c08e37fe>] start_kernel+0x2be/0x2cd [<c08e307b>] i386_start_kernel+0x6a/0x6f [<c08e63a4>] xen_start_kernel+0x541/0x549 ---[ end trace 4eaa2a86a8e2da22 ]--- ... version: 0 ... bit width: 32 ... generic counters: 2 ... value mask: 00000000ffffffff ... max period: 000000007fffffff ... fixed-purpose counters: 0 ... counter mask: 0000000000000003 SMP alternatives: switching to UP code ACPI: Core revision 20090521 ACPI Error: Hardware did not change modes 20090521 hwacpi-144 ACPI Error: Could not transition to ACPI mode 20090521 evxfevnt-93 ACPI Warning: AcpiEnable failed 20090521 utxface-147 ACPI: Unable to enable ACPI cpu 0 spinlock event irq 422 installing Xen timer for CPU 1 cpu 1 spinlock event irq 416 SMP alternatives: switching to SMP code Initializing CPU#1 CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 512K mce: CPU supports 5 MCE banks Brought up 2 CPUs Booting paravirtualized kernel on Xen Xen version: 4.0.0-rc3-pre (preserve-AD) (dom0) Grant tables using version 2 layout. Grant table initialized Time: 16:57:32 Date: 02/07/10 NET: Registered protocol family 16 xenbus_probe_init ok PCI: PCI BIOS revision 2.10 entry at 0xf0730, last bus=1 PCI: Using configuration type 1 for base access bio: create slab <bio-0> at 0 ACPI: Interpreter disabled. xenbus_probe_backend_init bus registered ok xenbus_probe_frontend_init bus registered ok xen_balloon: Initialising balloon driver with page order 0. SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb PCI: Probing PCI hardware * Found PM-Timer Bug on the chipset. Due to workarounds for a bug, * this clock source is slow. Consider trying other clock sources pci 0000:00:04.3: quirk: region e400-e43f claimed by PIIX4 ACPI pci 0000:00:04.3: quirk: region e800-e80f claimed by PIIX4 SMB pci 0000:00:04.3: PIIX4 devres B PIO at 0290-0297 pci 0000:00:0a.0: PME# supported from D1 D2 D3hot pci 0000:00:0a.0: PME# disabled pci 0000:00:0b.0: PME# supported from D1 D2 D3hot pci 0000:00:0b.0: PME# disabled (XEN) PCI add device 00:00.0 (XEN) PCI add device 00:01.0 (XEN) PCI add device 00:04.0 (XEN) PCI add device 00:04.1 (XEN) PCI add device 00:04.2 (XEN) PCI add device 00:04.3 (XEN) PCI add device 00:09.0 (XEN) PCI add device 00:0a.0 (XEN) PCI add device 00:0b.0 (XEN) PCI add device 01:00.0 pci 0000:00:04.0: PIIX/ICH IRQ router [8086:7110] IO APIC resources couldn''t be allocated. NetLabel: Initializing NetLabel: domain hash size = 128 NetLabel: protocols = UNLABELED CIPSOv4 NetLabel: unlabeled traffic allowed by default pnp: PnP ACPI: disabled PM-Timer failed consistency check (0x0xffffff) - aborting. pci 0000:00:01.0: PCI bridge, secondary bus 0000:01 pci 0000:00:01.0: IO window: 0xd000-0xdfff pci 0000:00:01.0: MEM window: 0xf4000000-0xf40fffff pci 0000:00:01.0: PREFETCH window: 0xdf700000-0xe3ffffff NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered NET: Registered protocol family 1 Simple Boot Flag at 0x46 set to 0x1 platform rtc_cmos: registered platform RTC device (no PNP device found) apm: BIOS not found. audit: initializing netlink socket (disabled) type=2000 audit(1265561852.450:1): initialized HugeTLB registered 2 MB page size, pre-allocated 0 pages VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) msgmni has been set to 364 alg: No test for stdrng (krng) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) pci 0000:00:00.0: Limiting direct PCI/PCI transfers pci_hotplug: PCI Hot Plug PCI Core version: 0.5 acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Event-channel device installed. registering netback Non-volatile memory driver v1.3 Linux agpgart interface v0.103 agpgart-intel 0000:00:00.0: Intel 440BX Chipset agpgart-intel 0000:00:00.0: AGP aperture is 64M @ 0xf8000000 Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled (XEN) irq.c:1182:d0 Cannot bind IRQ 0 to guest. Will not share with others. (XEN) irq.c:1182:d0 Cannot bind IRQ 0 to guest. Will not share with others. (XEN) irq.c:1182:d0 Cannot bind IRQ 0 to guest. Will not share with others. (XEN) irq.c:1182:d0 Cannot bind IRQ 0 to guest. Will not share with others. serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A brd: module loaded loop: module loaded Uniform Multi-Platform E-IDE driver piix 0000:00:04.1: IDE controller (0x8086:0x7111 rev 0x01) piix 0000:00:04.1: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xb800-0xb807 ide1: BM-DMA at 0xb808-0xb80f hda: WDC WD300BB-00CCB0, ATA DISK drive hdb: SAMSUNG HD400LD, ATA DISK drive hda: UDMA/33 mode selected hdb: UDMA/33 mode selected hdc: LITE-ON COMBO LTC-48161H, ATAPI CD/DVD-ROM drive hdc: UDMA/33 mode selected ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 ide-gd driver 1.18 hda: max request size: 128KiB hda: 58633344 sectors (30020 MB) w/2048KiB Cache, CHS=58168/16/63 hda: cache flushes not supported hda: hda1 hda2 hda3 hda4 hdb: max request size: 512KiB hdb: Host Protected Area detected. current capacity is 66055248 sectors (33820 MB) native capacity is 781422768 sectors (400088 MB) hdb: 66055248 sectors (33820 MB) w/8192KiB Cache, CHS=16383/255/63 hdb: cache flushes supported hdb: hdb1 ide-cd driver 5.00 ide-cd: hdc: ATAPI 48X DVD-ROM CD-R/RW drive, 2048kB Cache Uniform CD-ROM driver Revision: 3.20 8139too Fast Ethernet driver 0.9.28 8139too 0000:00:09.0: found PCI INT A -> IRQ 7 8139too 0000:00:09.0: sharing IRQ 7 with 0000:00:04.2 eth0: RealTek RTL8139 at 0xb000, 00:30:4f:08:4d:24, IRQ 7 8139too 0000:00:0a.0: found PCI INT A -> IRQ 12 eth1: RealTek RTL8139 at 0xa800, 00:e0:7d:c0:de:f3, IRQ 12 8139too 0000:00:0b.0: found PCI INT A -> IRQ 10 eth2: RealTek RTL8139 at 0xa400, 00:e0:7d:c0:de:f9, IRQ 10 ehci_hcd: USB 2.0 ''Enhanced'' Host Controller (EHCI) Driver ohci_hcd: USB 1.1 ''Open'' Host Controller (OHCI) Driver uhci_hcd: USB Universal Host Controller Interface driver uhci_hcd 0000:00:04.2: found PCI INT D -> IRQ 7 uhci_hcd 0000:00:04.2: sharing IRQ 7 with 0000:00:09.0 uhci_hcd 0000:00:04.2: UHCI Host Controller uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:04.2: irq 7, io base 0x0000b400 usb usb1: New USB device found, idVendor=1d6b, idProduct=0001 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: UHCI Host Controller usb usb1: Manufacturer: Linux 2.6.31.6 uhci_hcd usb usb1: SerialNumber: 0000:00:04.2 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected PNP: No PS/2 controller found. Probing ports directly. serio: i8042 KBD port at 0x60,0x64 irq 1 mice: PS/2 mouse device common for all mice rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 rtc0: alarms up to one day, 114 bytes nvram device-mapper: uevent: version 1.0.3 device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com cpuidle: using governor ladder cpuidle: using governor menu input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver nf_conntrack version 0.5.0 (4096 buckets, 16384 max) CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or sysctl net.netfilter.nf_conntrack_acct=1 to enable it. ip_tables: (C) 2000-2006 Netfilter Core Team TCP cubic registered Initializing XFRM netlink socket NET: Registered protocol family 17 Using IPI No-Shortcut mode usb 1-2: new full speed USB device using uhci_hcd and address 2 registered taskstats version 1 Magic number: 14:638:994 md: Waiting for all devices to be available before autodetect md: If you don''t use raid, use raid=noautodetect md: Autodetecting RAID arrays. md: Scanned 0 and added 0 devices. md: autorun ... md: ... autorun DONE. REISERFS (device hda3): found reiserfs format "3.6" with standard journal REISERFS (device hda3): using ordered data mode REISERFS (device hda3): journal params: device hda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 REISERFS (device hda3): checking transaction log (hda3) REISERFS (device hda3): Using r5 hash to sort names VFS: Mounted root (reiserfs filesystem) readonly on device 3:3. Freeing unused kernel memory: 456k freed Write protecting the kernel text: 3288k Write protecting the kernel read-only data: 1452k INIT: version 2.86 booting _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-Feb-08 18:22 UTC
Re: [Xen-devel] Issue with pv_ops Kernel 2.6.31.6 and Xen
On Sun, Feb 07, 2010 at 04:39:06PM +0100, Marcial Rion wrote:> BTW: The problem also persists when using XEN 4.0.0-rc3-pre. See the > dump of the bootup trace below: > > Booting ''Xen 4.0, Kernel 2.6.31'' > > root (hd0,0) > Filesystem type is ext2fs, partition type 0x83 > kernel /boot/xen-4.0.gz dom0_mem=256M loglvl=all guest_loglvl=all > sync_co > nnsole console_to_ring com2=38400,8n1 console=com2 > [Multiboot-elf, <0x100000:0x12d000:0xad000>, shtab=0x2da078, > entry=0x100000] > module /boot/kernel-2.6.31.6-xen root=/dev/hda3 ro console=hvc0 > earlyprin > tk=xenWell, all your arguments look right, so I can think of two things: 1). You don''t have /dev/console, /dev/hvc0 and /dev/tty0 created by init scripts during boot. Usually this is a udev job, but I don''t know how Gentoo does it. 2). Gentoo has it hard-coded to use a different console. Are there any documention online about configuring Xen with Gentoo and what needs to be done? Is your machine pingable after you have booted it? If you give it enought time (say 3 minutes) do you see anyting on the screen? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Marcial Rion
2010-Feb-08 21:48 UTC
Re: [Xen-devel] Issue with pv_ops Kernel 2.6.31.6 and Xen
Konrad Rzeszutek Wilk wrote:> On Sun, Feb 07, 2010 at 04:39:06PM +0100, Marcial Rion wrote: > >> BTW: The problem also persists when using XEN 4.0.0-rc3-pre. See the >> dump of the bootup trace below: >> >> Booting ''Xen 4.0, Kernel 2.6.31'' >> >> root (hd0,0) >> Filesystem type is ext2fs, partition type 0x83 >> kernel /boot/xen-4.0.gz dom0_mem=256M loglvl=all guest_loglvl=all >> sync_co >> nnsole console_to_ring com2=38400,8n1 console=com2 >> [Multiboot-elf, <0x100000:0x12d000:0xad000>, shtab=0x2da078, >> entry=0x100000] >> module /boot/kernel-2.6.31.6-xen root=/dev/hda3 ro console=hvc0 >> earlyprin >> tk=xen >> > > Well, all your arguments look right, so I can think of two things: > 1). You don''t have /dev/console, /dev/hvc0 and /dev/tty0 created > by init scripts during boot. Usually this is a udev job, but > I don''t know how Gentoo does it. > > 2). Gentoo has it hard-coded to use a different console. Are there > any documention online about configuring Xen with Gentoo and what > needs to be done? > > Is your machine pingable after you have booted it? If you give it > enought time (say 3 minutes) do you see anyting on the screen? > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >Well, the console is not the problem (works as intended). It''s raher the IRQ''s taht are getting mixed up. It seems it''s doing twice a mapping of IRQ (especially 9), once in XEN and once by the Kernel, which leeds to ACPI failing and no network connectivity (see also start oft his thread at http://lists.xensource.com/archives/html/xen-devel/2010-01/msg01049.html; somehow seems to got lost :-) ). I did a lot of code study these last days, but I still don''t really get it... Nevertheless, I''d really appreciate if this could be sorted out... Thx & regards, Marcial _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-Feb-08 23:40 UTC
Re: [Xen-devel] Issue with pv_ops Kernel 2.6.31.6 and Xen
> Well, the console is not the problem (works as intended). It''s raher the > IRQ''s taht are getting mixed up. It seems it''s doing twice a mapping of > IRQ (especially 9), once in XEN and once by the Kernel, which leeds to > ACPI failing and no network connectivity (see also start oft his thread > at > http://lists.xensource.com/archives/html/xen-devel/2010-01/msg01049.html; > somehow seems to got lost :-) ).Ohh, that one. Can you instrument this piece of code: 413 if (request_irq(irq, acpi_irq, IRQF_SHARED, "acpi", acpi_irq)) { 414 printk(KERN_ERR PREFIX "SCI (IRQ%d) allocation failed\n", irq); 415 return AE_NOT_ACQUIRED; 416 } To print out the return value of request_irq and see what it returns? If it is EINVAL, instrument the ''request_irq'' around its ''return -EINVAL'' to see which one fails. Also can you provide the full serial output of the failing system including Xen output? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel