* kernel BUG at drivers/xen/balloon.c:528!
@ 2010-07-15 11:07 Łukasz Oleś
2010-07-15 17:34 ` Jeremy Fitzhardinge
0 siblings, 1 reply; 18+ messages in thread
From: Łukasz Oleś @ 2010-07-15 11:07 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 2493 bytes --]
Hi,
I'm getting kernel panic during boot latest xen/next.
kernel BUG at drivers/xen/balloon.c:528!
invalid opcode: 0000 [#1] SMP
last sysfs file:
CPU 1
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.32.16-oe64-00000-g9787330-dirty
#18 HVM domU
RIP: 0010:[<ffffffff812ffd5c>] [<ffffffff812ffd5c>] dealloc_pte_fn+0x9c/0xa0
RSP: 0018:ffff88001f4a3d90 EFLAGS: 00010296
RAX: 00000000ffffffff RBX: ffff88001e000ff8 RCX: 0000000000000000
RDX: ffff88001e000f01 RSI: ffff88001f4a3d90 RDI: 0000000000000001
RBP: ffff88001e001000 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000001c888 R11: 0000000000000001 R12: ffff88001e1ff000
R13: ffff880002465000 R14: ffff88001e200000 R15: ffff880001006780
FS: 0000000000000000(0000) GS:ffff880001a20000(0000) knlGS:0000000000000000
CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 0000000001001000 CR4: 00000000000006a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process swapper (pid: 1, threadinfo ffff88001f4a2000, task ffff88001f4a17d0)
Stack:
ffff88001f4a3db8 0000000000000001 0000000000000000 0000000000007ff0
<0> 0000000000000002 0000000217461006 ffff88001e000ff8 ffff88001e001000
<0> ffff88001e1ff000 ffffffff810a68cf 000201d000000010 0000000000000000
Call Trace:
[<ffffffff810a68cf>] ? apply_to_page_range+0x2bf/0x410
[<ffffffff812ffcc0>] ? dealloc_pte_fn+0x0/0xa0
[<ffffffff812ffbd8>] ? alloc_empty_pages_and_pagevec+0xf8/0x1e0
[<ffffffff818a3ce7>] ? netback_init+0x137/0x420
[<ffffffff818a3bb0>] ? netback_init+0x0/0x420
[<ffffffff8100a037>] ? do_one_initcall+0x27/0x180
[<ffffffff81879a50>] ? kernel_init+0x160/0x1c0
[<ffffffff81879140>] ? early_idt_handler+0x0/0x71
[<ffffffff81013d8a>] ? child_rip+0xa/0x20
[<ffffffff81879140>] ? early_idt_handler+0x0/0x71
[<ffffffff818798f0>] ? kernel_init+0x0/0x1c0
[<ffffffff81013d80>] ? child_rip+0x0/0x20
Code: c7 c6 ff ff ff ff 48 c1 ef 0c e8 e0 d8 d0 ff bf 01 00 00 00 48
89 e6 e8 33 94 d0 ff ff c8 75 0b 48 83 c4 30 31 c0 5b 5d 41 5c c3 <0f>
0b eb fe 53 48 8b 9f a0 00 00 00 48 85 f6 48 89 f1 0f 95 c2
RIP [<ffffffff812ffd5c>] dealloc_pte_fn+0x9c/0xa0
RSP <ffff88001f4a3d90>
---[ end trace a7919e7f17c0a725 ]---
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: swapper Tainted: G D
2.6.32.16-oe64-00000-g9787330-dirty #18
Logs and config are in attachments
--
Łukasz Oleś
[-- Attachment #2: kernel.log --]
[-- Type: text/x-log, Size: 14213 bytes --]
Using config file "./4583-orig".
Started domain 4583-orig (id=13)
Linux version 2.6.32.16-oe64-00000-g9787330-dirty (root@compiler) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #18 SMP Thu Jul 15 11:55:57 CEST 2010
Command line: initrd=/b4583/boot/initrd4.gz loglevel=10 debug console=ttyS0,115200n8 max_loop=255 ramdisk_size=131072 root=/dev/ram0 rw load=xarch64.lzm ver=b4583 sgnfile=stmp.iufIsOgk rcpy=/b4583/changes.img maxcpus=32 menu=vmlinuz4.0 vmalloc=384M BOOT_IMAGE=/b4583/boot/vmlinuz4
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
Centaur CentaurHauls
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000020000000 (usable)
BIOS-e820: 00000000fc000000 - 0000000100000000 (reserved)
DMI 2.4 present.
last_pfn = 0x20000 max_arch_pfn = 0x400000000
MTRR default type: write-back
MTRR fixed ranges enabled:
00000-9FFFF write-back
A0000-BFFFF write-combining
C0000-FFFFF write-back
MTRR variable ranges enabled:
0 base 0000F0000000 mask FFFFF8000000 uncachable
1 base 0000F8000000 mask FFFFFC000000 uncachable
2 disabled
3 disabled
4 disabled
5 disabled
6 disabled
7 disabled
TOM2: 0000000130000000 aka 4864M
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
initial memory mapped : 0 - 20000000
init_memory_mapping: 0000000000000000-0000000020000000
0000000000 - 0020000000 page 2M
kernel direct mapping tables up to 20000000 @ 8000-a000
RAMDISK: 1fb8e000 - 1fffed7a
ACPI: RSDP 00000000000ea020 00024 (v02 Xen)
ACPI: XSDT 00000000fc012cb0 00034 (v01 Xen HVM 00000000 HVML 00000000)
ACPI: FACP 00000000fc012ad0 000F4 (v04 Xen HVM 00000000 HVML 00000000)
ACPI: DSDT 00000000fc002c40 0FE0B (v02 Xen HVM 00000000 INTL 20061109)
ACPI: FACS 00000000fc002c00 00040
ACPI: APIC 00000000fc012bd0 000D8 (v02 Xen HVM 00000000 HVML 00000000)
ACPI: Local APIC address 0xfee00000
(6 early reservations) ==> bootmem [0000000000 - 0020000000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
#1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
#2 [0001000000 - 00019d1098] TEXT DATA BSS ==> [0001000000 - 00019d1098]
#3 [001fb8e000 - 001fffed7a] RAMDISK ==> [001fb8e000 - 001fffed7a]
#4 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000]
#5 [00019d2000 - 00019d20a1] BRK ==> [00019d2000 - 00019d20a1]
found SMP MP-table at [ffff8800000fbc80] fbc80
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
DMA32 0x00001000 -> 0x00100000
Normal 0x00100000 -> 0x00100000
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000000 -> 0x0000009f
0: 0x00000100 -> 0x00020000
On node 0 totalpages: 130975
DMA zone: 56 pages used for memmap
DMA zone: 99 pages reserved
DMA zone: 3844 pages, LIFO batch:0
DMA32 zone: 1736 pages used for memmap
DMA32 zone: 125240 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x1f48
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x02] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x04] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x06] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x08] disabled)
ACPI: LAPIC (acpi_id[0x05] lapic_id[0x0a] disabled)
ACPI: LAPIC (acpi_id[0x06] lapic_id[0x0c] disabled)
ACPI: LAPIC (acpi_id[0x07] lapic_id[0x0e] disabled)
ACPI: LAPIC (acpi_id[0x08] lapic_id[0x10] disabled)
ACPI: LAPIC (acpi_id[0x09] lapic_id[0x12] disabled)
ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x14] disabled)
ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x16] disabled)
ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x18] disabled)
ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x1a] disabled)
ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x1c] disabled)
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-47
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 low level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ5 used by override.
ACPI: IRQ9 used by override.
ACPI: IRQ10 used by override.
ACPI: IRQ11 used by override.
Using ACPI (MADT) for SMP configuration information
SMP: Allowing 15 CPUs, 13 hotplug CPUs
nr_irqs_gsi: 48
Xen version 4.0.
Xen Platform PCI: I/O protocol version 1
HVMOP_pagetable_dying not supported
Allocating PCI resources starting at 20000000 (gap: 20000000:dc000000)
Booting paravirtualized kernel on Xen
NR_CPUS:32 nr_cpumask_bits:32 nr_cpu_ids:15 nr_node_ids:1
PERCPU: Embedded 27 pages/cpu @ffff880001a00000 s79384 r8192 d23016 u131072
pcpu-alloc: s79384 r8192 d23016 u131072 alloc=1*2097152
pcpu-alloc: [0] 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 --
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129084
Kernel command line: initrd=/b4583/boot/initrd4.gz loglevel=10 debug console=ttyS0,115200n8 max_loop=255 ramdisk_size=131072 root=/dev/ram0 rw load=xarch64.lzm ver=b4583 sgnfile=stmp.iufIsOgk rcpy=/b4583/changes.img maxcpus=32 menu=vmlinuz4.0 vmalloc=384M BOOT_IMAGE=/b4583/boot/vmlinuz4
PID hash table entries: 2048 (order: 2, 16384 bytes)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Initializing CPU#0
Checking aperture...
No AGP bridge found
Memory: 498924k/524288k available (5609k kernel code, 388k absent, 24244k reserved, 2978k data, 548k init)
Hierarchical RCU implementation.
NR_IRQS:1536
Xen HVM callback vector for event delivery is enabled
Console: colour VGA+ 80x25
console [ttyS0] enabled
Xen: using vcpuop timer interface
installing Xen timer for CPU 0
Detected 2611.720 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 5223.44 BogoMIPS (lpj=26117200)
Security Framework initialized
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
tseg: 0000000000
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
using C1E aware idle routine
Performance Events: AMD PMU driver.
... version: 0
... bit width: 48
... generic registers: 4
... value mask: 0000ffffffffffff
... max period: 00007fffffffffff
... fixed-purpose events: 0
... event mask: 000000000000000f
ACPI: Core revision 20090903
Setting APIC routing to physical flat
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
CPU0: AMD Athlon(tm) II X4 620 Processor stepping 02
Booting processor 1 APIC 0x2 ip 0x6000
Initializing CPU#1
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 2
installing Xen timer for CPU 1
CPU1: AMD Athlon(tm) II X4 620 Processor stepping 02
Brought up 2 CPUs
Total of 2 processors activated (10448.55 BogoMIPS).
WORM: version 0.8 initializing
WORM: started with WORM protection turned off by default
xor: automatically using best checksumming function: generic_sse
generic_sse: 1439.200 MB/sec
xor: using function: generic_sse (1439.200 MB/sec)
NET: Registered protocol family 16
ACPI: bus type pci registered
dca service started, version 1.12.1
PCI: Using configuration type 1 for base access
PCI: Using configuration type 1 for extended access
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:01.1: reg 20 io port: [0xc420-0xc42f]
pci 0000:00:01.2: reg 20 io port: [0xc400-0xc41f]
* 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:01.3: quirk: region 1f40-1f7f claimed by PIIX4 ACPI
pci 0000:00:02.0: reg 10 32bit mmio pref: [0xf0000000-0xf1ffffff]
pci 0000:00:02.0: reg 14 32bit mmio: [0xf3000000-0xf3000fff]
pci 0000:00:03.0: reg 10 io port: [0xc000-0xc0ff]
pci 0000:00:03.0: reg 14 32bit mmio pref: [0xf2000000-0xf2ffffff]
pci 0000:00:04.0: reg 10 io port: [0xc100-0xc1ff]
pci 0000:00:04.0: reg 14 32bit mmio: [0xf3001000-0xf30010ff]
pci 0000:00:05.0: reg 10 io port: [0xc200-0xc2ff]
pci 0000:00:05.0: reg 14 32bit mmio: [0xf3001100-0xf30011ff]
pci 0000:00:06.0: reg 10 io port: [0xc300-0xc3ff]
pci 0000:00:06.0: reg 14 32bit mmio: [0xf3001200-0xf30012ff]
pci_bus 0000:00: on NUMA node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *5 10 11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs *5 10 11)
vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
vgaarb: loaded
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
raid6: int64x1 2021 MB/s
raid6: int64x2 3086 MB/s
raid6: int64x4 3389 MB/s
raid6: int64x8 2290 MB/s
raid6: sse2x1 3000 MB/s
raid6: sse2x2 4376 MB/s
raid6: sse2x4 4619 MB/s
raid6: using algorithm sse2x4 (4619 MB/s)
PCI: Using ACPI for IRQ routing
Switching to clocksource xen
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 12 devices
ACPI: ACPI bus type pnp unregistered
system 00:00: iomem range 0x0-0x9ffff could not be reserved
system 00:02: ioport range 0x10c0-0x1141 has been reserved
system 00:02: ioport range 0xb044-0xb047 has been reserved
system 00:03: ioport range 0x8a0-0x8a3 has been reserved
system 00:03: ioport range 0xcc0-0xccf has been reserved
system 00:03: ioport range 0x4d0-0x4d1 has been reserved
pci_bus 0000:00: resource 0 io: [0x00-0xffff]
pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffffffffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
pci 0000:00:01.0: PIIX3: Enabling Passive Release
pci 0000:00:00.0: Limiting direct PCI/PCI transfers
pci 0000:00:01.0: Activating ISA DMA hang workarounds
pci 0000:00:02.0: Boot video device
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 4547k freed
microcode: no support for this CPU vendor
audit: initializing netlink socket (disabled)
type=2000 audit(1279190067.107:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
msgmni has been set to 984
alg: No test for stdrng (krng)
async_tx: api initialized (async)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered (default)
io scheduler cfq registered
vga16fb: initializing
vga16fb: mapped to 0xffff8800000a0000
Console: switching to colour frame buffer device 80x30
fb0: VGA16 VGA frame buffer device
Event-channel device installed.
------------[ cut here ]------------
kernel BUG at drivers/xen/balloon.c:528!
invalid opcode: 0000 [#1] SMP
last sysfs file:
CPU 1
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.32.16-oe64-00000-g9787330-dirty #18 HVM domU
RIP: 0010:[<ffffffff812ffd5c>] [<ffffffff812ffd5c>] dealloc_pte_fn+0x9c/0xa0
RSP: 0018:ffff88001f4a3d90 EFLAGS: 00010296
RAX: 00000000ffffffff RBX: ffff88001e000ff8 RCX: 0000000000000000
RDX: ffff88001e000f01 RSI: ffff88001f4a3d90 RDI: 0000000000000001
RBP: ffff88001e001000 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000001c888 R11: 0000000000000001 R12: ffff88001e1ff000
R13: ffff880002465000 R14: ffff88001e200000 R15: ffff880001006780
FS: 0000000000000000(0000) GS:ffff880001a20000(0000) knlGS:0000000000000000
CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 0000000001001000 CR4: 00000000000006a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process swapper (pid: 1, threadinfo ffff88001f4a2000, task ffff88001f4a17d0)
Stack:
ffff88001f4a3db8 0000000000000001 0000000000000000 0000000000007ff0
<0> 0000000000000002 0000000217461006 ffff88001e000ff8 ffff88001e001000
<0> ffff88001e1ff000 ffffffff810a68cf 000201d000000010 0000000000000000
Call Trace:
[<ffffffff810a68cf>] ? apply_to_page_range+0x2bf/0x410
[<ffffffff812ffcc0>] ? dealloc_pte_fn+0x0/0xa0
[<ffffffff812ffbd8>] ? alloc_empty_pages_and_pagevec+0xf8/0x1e0
[<ffffffff818a3ce7>] ? netback_init+0x137/0x420
[<ffffffff818a3bb0>] ? netback_init+0x0/0x420
[<ffffffff8100a037>] ? do_one_initcall+0x27/0x180
[<ffffffff81879a50>] ? kernel_init+0x160/0x1c0
[<ffffffff81879140>] ? early_idt_handler+0x0/0x71
[<ffffffff81013d8a>] ? child_rip+0xa/0x20
[<ffffffff81879140>] ? early_idt_handler+0x0/0x71
[<ffffffff818798f0>] ? kernel_init+0x0/0x1c0
[<ffffffff81013d80>] ? child_rip+0x0/0x20
Code: c7 c6 ff ff ff ff 48 c1 ef 0c e8 e0 d8 d0 ff bf 01 00 00 00 48 89 e6 e8 33 94 d0 ff ff c8 75 0b 48 83 c4 30 31 c0 5b 5d 41 5c c3 <0f> 0b eb fe 53 48 8b 9f a0 00 00 00 48 85 f6 48 89 f1 0f 95 c2
RIP [<ffffffff812ffd5c>] dealloc_pte_fn+0x9c/0xa0
RSP <ffff88001f4a3d90>
---[ end trace a7919e7f17c0a725 ]---
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: swapper Tainted: G D 2.6.32.16-oe64-00000-g9787330-dirty #18
[-- Attachment #3: xen.log --]
[-- Type: text/x-log, Size: 4498 bytes --]
__ __ _ _ ___ _ _ _
\ \/ /___ _ __ | || | / _ \ / | _ __ ___| || | _ __ _ __ ___
\ // _ \ \047_ \ | || |_| | | || |__| \047__/ __| || |_ __| \047_ \| \047__/ _ \
/ \ __/ | | | |__ _| |_| || |__| | | (__|__ _|__| |_) | | | __/
/_/\_\___|_| |_| |_|(_)___(_)_| |_| \___| |_| | .__/|_| \___|
|_|
(XEN) Xen version 4.0.1-rc4-pre (root@xen-dev.open-e.pl) (gcc version 4.4.4 (Debian 4.4.4-5) ) Wed Jul 14 13:02:05 CEST 2010
(XEN) Latest ChangeSet: Fri Jul 09 12:44:53 2010 +0100 21263:57859775f88f
(XEN) Command line: dom0_mem=512M
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds
(XEN) EDID info not retrieved because of reasons unknown
(XEN) Disc information:
(XEN) Found 2 MBR signatures
(XEN) Found 2 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN) 0000000000000000 - 000000000009ec00 (usable)
(XEN) 000000000009ec00 - 00000000000a0000 (reserved)
(XEN) 00000000000e4000 - 0000000000100000 (reserved)
(XEN) 0000000000100000 - 00000000cff90000 (usable)
(XEN) 00000000cff90000 - 00000000cffa8000 (ACPI data)
(XEN) 00000000cffa8000 - 00000000cffd0000 (ACPI NVS)
(XEN) 00000000cffd0000 - 00000000d0000000 (reserved)
(XEN) 00000000ff700000 - 0000000100000000 (reserved)
(XEN) 0000000100000000 - 0000000120000000 (usable)
(XEN) ACPI: RSDP 000FB4F0, 0024 (r2 ACPIAM)
(XEN) ACPI: XSDT CFF90100, 0054 (r1 083109 XSDT1052 20090831 MSFT 97)
(XEN) ACPI: FACP CFF90290, 00F4 (r3 083109 FACP1052 20090831 MSFT 97)
(XEN) ACPI Warning (tbfadt-0444): Optional field "Pm2ControlBlock" has zero address or length: 0000000000000000/1 [20070126]
(XEN) ACPI: DSDT CFF90450, D00B (r1 A1423 A1423001 1 INTL 20060113)
(XEN) ACPI: FACS CFFA8000, 0040
(XEN) ACPI: APIC CFF90390, 007C (r1 083109 APIC1052 20090831 MSFT 97)
(XEN) ACPI: MCFG CFF90410, 003C (r1 083109 OEMMCFG 20090831 MSFT 97)
(XEN) ACPI: OEMB CFFA8040, 0072 (r1 083109 OEMB1052 20090831 MSFT 97)
(XEN) ACPI: HPET CFF9F450, 0038 (r1 083109 OEMHPET 20090831 MSFT 97)
(XEN) ACPI: SSDT CFF9F490, 088C (r1 A M I POWERNOW 1 AMD 1)
(XEN) System RAM: 3839MB (3931320kB)
(XEN) Domain heap initialised
(XEN) Processor #0 0:5 APIC version 16
(XEN) Processor #1 0:5 APIC version 16
(XEN) Processor #2 0:5 APIC version 16
(XEN) Processor #3 0:5 APIC version 16
(XEN) IOAPIC[0]: apic_id 4, version 33, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2611.721 MHz processor.
(XEN) Initing memory sharing.
(XEN) HVM: ASIDs enabled.
(XEN) HVM: SVM enabled
(XEN) HVM: Hardware Assisted Paging detected.
(XEN) AMD-Vi: IOMMU not found!
(XEN) I/O virtualisation disabled
(XEN) Total of 4 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) -> Using new ACK method
(XEN) TSC is reliable, synchronization unnecessary
(XEN) Platform timer is 14.318MHz HPET
(XEN) Allocated console ring of 16 KiB.
(XEN) Brought up 4 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen kernel: 64-bit, lsb, compat32
(XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x190e000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 0000000118000000->000000011c000000 (114688 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: ffffffff81000000->ffffffff8190e000
(XEN) Init. ramdisk: ffffffff8190e000->ffffffff83209400
(XEN) Phys-Mach map: ffffffff8320a000->ffffffff8330a000
(XEN) Start info: ffffffff8330a000->ffffffff8330a4b4
(XEN) Page tables: ffffffff8330b000->ffffffff83328000
(XEN) Boot stack: ffffffff83328000->ffffffff83329000
(XEN) TOTAL: ffffffff80000000->ffffffff83400000
(XEN) ENTRY ADDRESS: ffffffff81773200
(XEN) Dom0 has maximum 4 VCPUs
(XEN) Scrubbing Free RAM: .................................done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type \047CTRL-a\047 three times to switch input to Xen)
(XEN) Freed 176kB init memory.
(XEN) traps.c:2293:d0 Domain attempted WRMSR 00000000c0010004 from 0000c748:3425f401 to 00000000:00000000.
(XEN) traps.c:2293:d0 Domain attempted WRMSR 00000000c0010000 from 00000205:d4074129 to 00000000:00430076.
[-- Attachment #4: vm.conf --]
[-- Type: application/octet-stream, Size: 867 bytes --]
kernel = 'hvmloader'
serial='pty'
image_name = 'DSS_Install'
vif = ['mac=00:16:3e:41:fa:3b, bridge=xenbr0', 'mac=00:16:3e:0d:3f:79, bridge=xenbr0', 'mac=00:16:3e:23:ca:2e, bridge=xenbr0']
extra = ''
stdvga = 0
disk = ['file:/VM/images/4583-orig.iso.img,xvda,w', 'file:/VM/images/4583-orig.storage1.img,xvdb,w', 'file:/VM/images/4583-orig.storage2.img,xvdc,w']
vncunused = 1
usb = 1
os_version = '0'
on_reboot = 'restart'
on_shutdown = 'destroy'
boot = 'c'
platform = 'xen'
pae = 1
memory = 512
acpi = 1
ramdisk = ''
os_name = 'Linux'
vnc = 1
vncdisplay = 1
on_crash = 'destroy'
network_mode = 'tap'
image_id = 'ebf39a63-700d-6306-e218-5c4ad741c1ab'
apic = 1
sdl = 0
bootloader = ''
name = '4583-orig'
shadow_memory = 0
usbdevice = 'tablet'
device_model = 'qemu-dm'
builder = 'hvm'
uuid = '964568c9-abd5-8794-77af-9ad63fa120eb'
vcpus = 2
os_flavor = 'Linux'
root = ''
[-- Attachment #5: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-15 11:07 kernel BUG at drivers/xen/balloon.c:528! Łukasz Oleś
@ 2010-07-15 17:34 ` Jeremy Fitzhardinge
2010-07-15 17:41 ` Stefano Stabellini
0 siblings, 1 reply; 18+ messages in thread
From: Jeremy Fitzhardinge @ 2010-07-15 17:34 UTC (permalink / raw)
To: Łukasz Oleś; +Cc: xen-devel
On 07/15/2010 04:07 AM, Łukasz Oleś wrote:
> Hi,
>
> I'm getting kernel panic during boot latest xen/next.
>
Booting PV or HVM?
J
> kernel BUG at drivers/xen/balloon.c:528!
> invalid opcode: 0000 [#1] SMP
> last sysfs file:
> CPU 1
> Modules linked in:
> Pid: 1, comm: swapper Not tainted 2.6.32.16-oe64-00000-g9787330-dirty
> #18 HVM domU
> RIP: 0010:[<ffffffff812ffd5c>] [<ffffffff812ffd5c>] dealloc_pte_fn+0x9c/0xa0
> RSP: 0018:ffff88001f4a3d90 EFLAGS: 00010296
> RAX: 00000000ffffffff RBX: ffff88001e000ff8 RCX: 0000000000000000
> RDX: ffff88001e000f01 RSI: ffff88001f4a3d90 RDI: 0000000000000001
> RBP: ffff88001e001000 R08: 0000000000000000 R09: 0000000000000000
> R10: 000000000001c888 R11: 0000000000000001 R12: ffff88001e1ff000
> R13: ffff880002465000 R14: ffff88001e200000 R15: ffff880001006780
> FS: 0000000000000000(0000) GS:ffff880001a20000(0000) knlGS:0000000000000000
> CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> CR2: 0000000000000000 CR3: 0000000001001000 CR4: 00000000000006a0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> Process swapper (pid: 1, threadinfo ffff88001f4a2000, task ffff88001f4a17d0)
> Stack:
> ffff88001f4a3db8 0000000000000001 0000000000000000 0000000000007ff0
> <0> 0000000000000002 0000000217461006 ffff88001e000ff8 ffff88001e001000
> <0> ffff88001e1ff000 ffffffff810a68cf 000201d000000010 0000000000000000
> Call Trace:
> [<ffffffff810a68cf>] ? apply_to_page_range+0x2bf/0x410
> [<ffffffff812ffcc0>] ? dealloc_pte_fn+0x0/0xa0
> [<ffffffff812ffbd8>] ? alloc_empty_pages_and_pagevec+0xf8/0x1e0
> [<ffffffff818a3ce7>] ? netback_init+0x137/0x420
> [<ffffffff818a3bb0>] ? netback_init+0x0/0x420
> [<ffffffff8100a037>] ? do_one_initcall+0x27/0x180
> [<ffffffff81879a50>] ? kernel_init+0x160/0x1c0
> [<ffffffff81879140>] ? early_idt_handler+0x0/0x71
> [<ffffffff81013d8a>] ? child_rip+0xa/0x20
> [<ffffffff81879140>] ? early_idt_handler+0x0/0x71
> [<ffffffff818798f0>] ? kernel_init+0x0/0x1c0
> [<ffffffff81013d80>] ? child_rip+0x0/0x20
> Code: c7 c6 ff ff ff ff 48 c1 ef 0c e8 e0 d8 d0 ff bf 01 00 00 00 48
> 89 e6 e8 33 94 d0 ff ff c8 75 0b 48 83 c4 30 31 c0 5b 5d 41 5c c3 <0f>
> 0b eb fe 53 48 8b 9f a0 00 00 00 48 85 f6 48 89 f1 0f 95 c2
> RIP [<ffffffff812ffd5c>] dealloc_pte_fn+0x9c/0xa0
> RSP <ffff88001f4a3d90>
> ---[ end trace a7919e7f17c0a725 ]---
> Kernel panic - not syncing: Attempted to kill init!
> Pid: 1, comm: swapper Tainted: G D
> 2.6.32.16-oe64-00000-g9787330-dirty #18
>
> Logs and config are in attachments
>
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-15 17:34 ` Jeremy Fitzhardinge
@ 2010-07-15 17:41 ` Stefano Stabellini
2010-07-16 10:53 ` Łukasz Oleś
0 siblings, 1 reply; 18+ messages in thread
From: Stefano Stabellini @ 2010-07-15 17:41 UTC (permalink / raw)
To: Jeremy Fitzhardinge; +Cc: Łukasz Oleś, xen-devel@lists.xensource.com
[-- Attachment #1: Type: text/plain, Size: 358 bytes --]
On Thu, 15 Jul 2010, Jeremy Fitzhardinge wrote:
> On 07/15/2010 04:07 AM, Łukasz Oleś wrote:
> > Hi,
> >
> > I'm getting kernel panic during boot latest xen/next.
> >
>
> Booting PV or HVM?
>
This bug is caused by backend drivers trying to initialize in a PV on
HVM guest.
The last port of my series on xen/next should have the right fix.
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-15 17:41 ` Stefano Stabellini
@ 2010-07-16 10:53 ` Łukasz Oleś
2010-07-16 16:39 ` Stefano Stabellini
0 siblings, 1 reply; 18+ messages in thread
From: Łukasz Oleś @ 2010-07-16 10:53 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
[-- Attachment #1: Type: text/plain, Size: 1593 bytes --]
W dniu 15 lipca 2010 19:41 użytkownik Stefano Stabellini
<stefano.stabellini@eu.citrix.com> napisał:
> On Thu, 15 Jul 2010, Jeremy Fitzhardinge wrote:
>> On 07/15/2010 04:07 AM, Łukasz Oleś wrote:
>> > Hi,
>> >
>> > I'm getting kernel panic during boot latest xen/next.
>> >
>>
>> Booting PV or HVM?
>>
>
> This bug is caused by backend drivers trying to initialize in a PV on
> HVM guest.
> The last port of my series on xen/next should have the right fix.
>
Now I have problem with vbd and vifs.
vbd vbd-51712: 28 granting access to ring page
vbd vbd-51712: 28 xenbus_dev_probe on device/vbd/51712
vbd: probe of vbd-51712 failed with error -28
vbd vbd-51728: 28 granting access to ring page
vbd vbd-51728: 28 xenbus_dev_probe on device/vbd/51728
vbd: probe of vbd-51728 failed with error -28
vbd vbd-51744: 28 granting access to ring page
vbd vbd-51744: 28 xenbus_dev_probe on device/vbd/51744
vbd: probe of vbd-51744 failed with error -28
Initialising Xen virtual ethernet driver.
#### netfront can't alloc tx grant refs
vif vif-0: 12 creating netdev
vif vif-0: 12 xenbus_dev_probe on device/vif/0
vif: probe of vif-0 failed with error -12
#### netfront can't alloc tx grant refs
vif vif-1: 12 creating netdev
vif vif-1: 12 xenbus_dev_probe on device/vif/1
vif: probe of vif-1 failed with error -12
#### netfront can't alloc tx grant refs
vif vif-2: 12 creating netdev
vif vif-2: 12 xenbus_dev_probe on device/vif/2
vif: probe of vif-2 failed with error -12
Full log in attachment, vm config is posted in earlier message.
--
Łukasz Oleś
[-- Attachment #2: kernel.log --]
[-- Type: text/x-log, Size: 17020 bytes --]
Using config file "./4583-orig".
Started domain 4583-orig (id=5)
Linux version 2.6.32.16-oe64-00000-gd15a01f-dirty (root@compiler) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #19 SMP Fri Jul 16 09:21:05 CEST 2010
Command line: initrd=/b4583/boot/initrd4.gz debug loglevel=10 console=ttyS0,115200n8 vga=788 max_loop=255 ramdisk_size=131072 root=/dev/ram0 rw load=xarch64.lzm ver=b4583 sgnfile=stmp.J0Kgpa1c rcpy=/b4583/changes.img maxcpus=32 menu=vmlinuz4.0 vmalloc=384M BOOT_IMAGE=/b4583/boot/vmlinuz4
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
Centaur CentaurHauls
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000020000000 (usable)
BIOS-e820: 00000000fc000000 - 0000000100000000 (reserved)
DMI 2.4 present.
last_pfn = 0x20000 max_arch_pfn = 0x400000000
MTRR default type: write-back
MTRR fixed ranges enabled:
00000-9FFFF write-back
A0000-BFFFF write-combining
C0000-FFFFF write-back
MTRR variable ranges enabled:
0 base 0000F0000000 mask FFFFF8000000 uncachable
1 base 0000F8000000 mask FFFFFC000000 uncachable
2 disabled
3 disabled
4 disabled
5 disabled
6 disabled
7 disabled
TOM2: 0000000130000000 aka 4864M
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
initial memory mapped : 0 - 20000000
init_memory_mapping: 0000000000000000-0000000020000000
0000000000 - 0020000000 page 2M
kernel direct mapping tables up to 20000000 @ 8000-a000
RAMDISK: 1fb9b000 - 1fffe89e
ACPI: RSDP 00000000000ea020 00024 (v02 Xen)
ACPI: XSDT 00000000fc012cb0 00034 (v01 Xen HVM 00000000 HVML 00000000)
ACPI: FACP 00000000fc012ad0 000F4 (v04 Xen HVM 00000000 HVML 00000000)
ACPI: DSDT 00000000fc002c40 0FE0B (v02 Xen HVM 00000000 INTL 20061109)
ACPI: FACS 00000000fc002c00 00040
ACPI: APIC 00000000fc012bd0 000D8 (v02 Xen HVM 00000000 HVML 00000000)
ACPI: Local APIC address 0xfee00000
(6 early reservations) ==> bootmem [0000000000 - 0020000000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
#1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
#2 [0001000000 - 00019d1098] TEXT DATA BSS ==> [0001000000 - 00019d1098]
#3 [001fb9b000 - 001fffe89e] RAMDISK ==> [001fb9b000 - 001fffe89e]
#4 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000]
#5 [00019d2000 - 00019d20a1] BRK ==> [00019d2000 - 00019d20a1]
found SMP MP-table at [ffff8800000fbc80] fbc80
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
DMA32 0x00001000 -> 0x00100000
Normal 0x00100000 -> 0x00100000
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000000 -> 0x0000009f
0: 0x00000100 -> 0x00020000
On node 0 totalpages: 130975
DMA zone: 56 pages used for memmap
DMA zone: 99 pages reserved
DMA zone: 3844 pages, LIFO batch:0
DMA32 zone: 1736 pages used for memmap
DMA32 zone: 125240 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x1f48
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x02] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x04] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x06] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x08] disabled)
ACPI: LAPIC (acpi_id[0x05] lapic_id[0x0a] disabled)
ACPI: LAPIC (acpi_id[0x06] lapic_id[0x0c] disabled)
ACPI: LAPIC (acpi_id[0x07] lapic_id[0x0e] disabled)
ACPI: LAPIC (acpi_id[0x08] lapic_id[0x10] disabled)
ACPI: LAPIC (acpi_id[0x09] lapic_id[0x12] disabled)
ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x14] disabled)
ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x16] disabled)
ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x18] disabled)
ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x1a] disabled)
ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x1c] disabled)
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-47
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 low level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ5 used by override.
ACPI: IRQ9 used by override.
ACPI: IRQ10 used by override.
ACPI: IRQ11 used by override.
Using ACPI (MADT) for SMP configuration information
SMP: Allowing 15 CPUs, 13 hotplug CPUs
nr_irqs_gsi: 48
Xen version 4.0.
Xen Platform PCI: I/O protocol version 1
HVMOP_pagetable_dying not supported
Allocating PCI resources starting at 20000000 (gap: 20000000:dc000000)
Booting paravirtualized kernel on Xen
NR_CPUS:32 nr_cpumask_bits:32 nr_cpu_ids:15 nr_node_ids:1
PERCPU: Embedded 27 pages/cpu @ffff880001a00000 s79384 r8192 d23016 u131072
pcpu-alloc: s79384 r8192 d23016 u131072 alloc=1*2097152
pcpu-alloc: [0] 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 --
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129084
Kernel command line: initrd=/b4583/boot/initrd4.gz debug loglevel=10 console=ttyS0,115200n8 vga=788 max_loop=255 ramdisk_size=131072 root=/dev/ram0 rw load=xarch64.lzm ver=b4583 sgnfile=stmp.J0Kgpa1c rcpy=/b4583/changes.img maxcpus=32 menu=vmlinuz4.0 vmalloc=384M BOOT_IMAGE=/b4583/boot/vmlinuz4
PID hash table entries: 2048 (order: 2, 16384 bytes)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Initializing CPU#0
Checking aperture...
No AGP bridge found
Memory: 499048k/524288k available (5610k kernel code, 388k absent, 24192k reserved, 2977k data, 548k init)
Hierarchical RCU implementation.
NR_IRQS:1536
Xen HVM callback vector for event delivery is enabled
Console: colour dummy device 80x25
console [ttyS0] enabled
Detected 2611.722 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 5223.44 BogoMIPS (lpj=26117220)
Security Framework initialized
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
tseg: 0000000000
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
using C1E aware idle routine
Performance Events: AMD PMU driver.
... version: 0
... bit width: 48
... generic registers: 4
... value mask: 0000ffffffffffff
... max period: 00007fffffffffff
... fixed-purpose events: 0
... event mask: 000000000000000f
ACPI: Core revision 20090903
Setting APIC routing to physical flat
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
CPU0: AMD Athlon(tm) II X4 620 Processor stepping 02
Xen: using vcpuop timer interface
installing Xen timer for CPU 0
Booting processor 1 APIC 0x2 ip 0x6000
Initializing CPU#1
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 2
installing Xen timer for CPU 1
CPU1: AMD Athlon(tm) II X4 620 Processor stepping 02
Brought up 2 CPUs
Total of 2 processors activated (10448.42 BogoMIPS).
WORM: version 0.8 initializing
WORM: started with WORM protection turned off by default
xor: automatically using best checksumming function: generic_sse
generic_sse: 1434.000 MB/sec
xor: using function: generic_sse (1434.000 MB/sec)
NET: Registered protocol family 16
ACPI: bus type pci registered
dca service started, version 1.12.1
PCI: Using configuration type 1 for base access
PCI: Using configuration type 1 for extended access
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:01.1: reg 20 io port: [0xc420-0xc42f]
pci 0000:00:01.2: reg 20 io port: [0xc400-0xc41f]
* 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:01.3: quirk: region 1f40-1f7f claimed by PIIX4 ACPI
pci 0000:00:02.0: reg 10 32bit mmio pref: [0xf0000000-0xf1ffffff]
pci 0000:00:02.0: reg 14 32bit mmio: [0xf3000000-0xf3000fff]
pci 0000:00:03.0: reg 10 io port: [0xc000-0xc0ff]
pci 0000:00:03.0: reg 14 32bit mmio pref: [0xf2000000-0xf2ffffff]
pci 0000:00:04.0: reg 10 io port: [0xc100-0xc1ff]
pci 0000:00:04.0: reg 14 32bit mmio: [0xf3001000-0xf30010ff]
pci 0000:00:05.0: reg 10 io port: [0xc200-0xc2ff]
pci 0000:00:05.0: reg 14 32bit mmio: [0xf3001100-0xf30011ff]
pci 0000:00:06.0: reg 10 io port: [0xc300-0xc3ff]
pci 0000:00:06.0: reg 14 32bit mmio: [0xf3001200-0xf30012ff]
pci_bus 0000:00: on NUMA node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *5 10 11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs *5 10 11)
vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
vgaarb: loaded
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
raid6: int64x1 1892 MB/s
raid6: int64x2 2944 MB/s
raid6: int64x4 3432 MB/s
raid6: int64x8 2289 MB/s
raid6: sse2x1 2982 MB/s
raid6: sse2x2 4319 MB/s
raid6: sse2x4 4630 MB/s
raid6: using algorithm sse2x4 (4630 MB/s)
PCI: Using ACPI for IRQ routing
Switching to clocksource xen
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 12 devices
ACPI: ACPI bus type pnp unregistered
system 00:00: iomem range 0x0-0x9ffff could not be reserved
system 00:02: ioport range 0x10c0-0x1141 has been reserved
system 00:02: ioport range 0xb044-0xb047 has been reserved
system 00:03: ioport range 0x8a0-0x8a3 has been reserved
system 00:03: ioport range 0xcc0-0xccf has been reserved
system 00:03: ioport range 0x4d0-0x4d1 has been reserved
pci_bus 0000:00: resource 0 io: [0x00-0xffff]
pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffffffffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
pci 0000:00:01.0: PIIX3: Enabling Passive Release
pci 0000:00:00.0: Limiting direct PCI/PCI transfers
pci 0000:00:01.0: Activating ISA DMA hang workarounds
pci 0000:00:02.0: Boot video device
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 4494k freed
microcode: no support for this CPU vendor
audit: initializing netlink socket (disabled)
type=2000 audit(1279277237.147:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
msgmni has been set to 984
alg: No test for stdrng (krng)
async_tx: api initialized (async)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered (default)
io scheduler cfq registered
vesafb: framebuffer at 0xf0000000, mapped to 0xffffc90000100000, using 3750k, total 4096k
vesafb: mode is 800x600x16, linelength=1600, pages=3
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
bootsplash 3.1.6-2004/03/31: looking for picture...
silentjpeg size 4196 bytes,
...found (800x600, 3134 bytes, v3).
Console: switching to colour frame buffer device 97x31
fb0: VESA VGA frame buffer device
vga16fb: initializing
vga16fb: mapped to 0xffff8800000a0000
fb1: VGA16 VGA frame buffer device
Event-channel device installed.
xenfs: not registering filesystem on non-xen platform
Linux agpgart interface v0.103
[drm] Initialized drm 1.1.0 20060810
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
FDC 0 is a S82078B
brd: module loaded
loop: module loaded
nbd: registered device at major 43
vbd vbd-51712: 28 granting access to ring page
vbd vbd-51712: 28 xenbus_dev_probe on device/vbd/51712
vbd: probe of vbd-51712 failed with error -28
vbd vbd-51728: 28 granting access to ring page
vbd vbd-51728: 28 xenbus_dev_probe on device/vbd/51728
vbd: probe of vbd-51728 failed with error -28
vbd vbd-51744: 28 granting access to ring page
vbd vbd-51744: 28 xenbus_dev_probe on device/vbd/51744
vbd: probe of vbd-51744 failed with error -28
Uniform Multi-Platform E-IDE driver
piix 0000:00:01.1: IDE controller (0x8086:0x7010 rev 0x00)
piix 0000:00:01.1: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xc420-0xc427
ide1: BM-DMA at 0xc428-0xc42f
Probing IDE interface ide0...
hda: QEMU HARDDISK, ATA DISK drive
hdb: QEMU HARDDISK, ATA DISK drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO2
hda: MWDMA2 mode selected
hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO2
hdb: MWDMA2 mode selected
Probing IDE interface ide1...
hdc: QEMU HARDDISK, ATA DISK drive
hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO2
hdc: MWDMA2 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide-cd driver 5.00
Initialising Xen virtual ethernet driver.
#### netfront can't alloc tx grant refs
vif vif-0: 12 creating netdev
vif vif-0: 12 xenbus_dev_probe on device/vif/0
vif: probe of vif-0 failed with error -12
#### netfront can't alloc tx grant refs
vif vif-1: 12 creating netdev
vif vif-1: 12 xenbus_dev_probe on device/vif/1
vif: probe of vif-1 failed with error -12
#### netfront can't alloc tx grant refs
vif vif-2: 12 creating netdev
vif vif-2: 12 xenbus_dev_probe on device/vif/2
vif: probe of vif-2 failed with error -12
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input0
applesmc: supported laptop not found!
applesmc: driver init failed (ret=-19)!
f71882fg: Not a Fintek device
f71882fg: Not a Fintek device
hdaps: supported laptop not found!
hdaps: driver init failed (ret=-19)!
pc87360: PC8736x not detected, module not inserted.
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
md: multipath personality registered for level -4
md: faulty personality registered for level -5
device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
device-mapper: multipath: version 1.1.0 loaded
device-mapper: multipath round-robin: version 1.0.0 loaded
cpuidle: using governor ladder
cpuidle: using governor menu
ioatdma: Intel(R) QuickData Technology Driver 4.00
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP probe registered (port=0)
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
NET: Registered protocol family 5
RPC: Registered rdma transport module.
Freeing unused kernel memory: 548k freed
starting Linux Live scripts <http://www.linux-live.org/>
* starting loop device support
* starting squashfs support
* starting aufs support with brs=1
* starting vfat support
* creating /dev entries for block devices
* starting USB2 support
* starting USB support
* starting USB2 support
* looking for data directory (searching for stmp.J0Kgpa1c file)
Fatal error occured - b4583 data not found.
You are maybe using an unsupported boot device (eg. SCSI or old PCMCIA).
Workaround: Copy the directory b4583 from your boot device to an IDE/SATA
disk, eg. to /mnt/hda1/b4583 or C:\b4583. Then try to boot again.
* Something went wrong and we can't continue. This should never happen.
* Please reboot your computer with Ctrl+Alt+Delete ...
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-16 10:53 ` Łukasz Oleś
@ 2010-07-16 16:39 ` Stefano Stabellini
2010-07-19 13:12 ` Łukasz Oleś
0 siblings, 1 reply; 18+ messages in thread
From: Stefano Stabellini @ 2010-07-16 16:39 UTC (permalink / raw)
To: Łukasz Oleś; +Cc: xen-devel@lists.xensource.com
[-- Attachment #1: Type: text/plain, Size: 2264 bytes --]
On Fri, 16 Jul 2010, Łukasz Oleś wrote:
> W dniu 15 lipca 2010 19:41 użytkownik Stefano Stabellini
> <stefano.stabellini@eu.citrix.com> napisał:
> > On Thu, 15 Jul 2010, Jeremy Fitzhardinge wrote:
> >> On 07/15/2010 04:07 AM, Łukasz Oleś wrote:
> >> > Hi,
> >> >
> >> > I'm getting kernel panic during boot latest xen/next.
> >> >
> >>
> >> Booting PV or HVM?
> >>
> >
> > This bug is caused by backend drivers trying to initialize in a PV on
> > HVM guest.
> > The last port of my series on xen/next should have the right fix.
> >
>
> Now I have problem with vbd and vifs.
>
> vbd vbd-51712: 28 granting access to ring page
> vbd vbd-51712: 28 xenbus_dev_probe on device/vbd/51712
> vbd: probe of vbd-51712 failed with error -28
> vbd vbd-51728: 28 granting access to ring page
> vbd vbd-51728: 28 xenbus_dev_probe on device/vbd/51728
> vbd: probe of vbd-51728 failed with error -28
> vbd vbd-51744: 28 granting access to ring page
> vbd vbd-51744: 28 xenbus_dev_probe on device/vbd/51744
> vbd: probe of vbd-51744 failed with error -28
>
> Initialising Xen virtual ethernet driver.
> #### netfront can't alloc tx grant refs
> vif vif-0: 12 creating netdev
> vif vif-0: 12 xenbus_dev_probe on device/vif/0
> vif: probe of vif-0 failed with error -12
> #### netfront can't alloc tx grant refs
> vif vif-1: 12 creating netdev
> vif vif-1: 12 xenbus_dev_probe on device/vif/1
> vif: probe of vif-1 failed with error -12
> #### netfront can't alloc tx grant refs
> vif vif-2: 12 creating netdev
> vif vif-2: 12 xenbus_dev_probe on device/vif/2
> vif: probe of vif-2 failed with error -12
>
> Full log in attachment, vm config is posted in earlier message.
>
The warnings are due to the fact that CONFIG_XEN_PLATFORM_PCI is not
enabled in your config but the kernel tries to initialize the pv
frontends anyway, the patch I have just sent to the list should fix this
issue.
In any case you should enable CONFIG_XEN_PLATFORM_PCI in your kernel
config, otherwise the pv frontends won't load properly and you are not
going to have any benefits running a PV on HVM kernel.
I am not sure why you cannot mount your root device, maybe you didn't
specify the correct root= in your kernel command line options?
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-16 16:39 ` Stefano Stabellini
@ 2010-07-19 13:12 ` Łukasz Oleś
2010-07-19 14:19 ` Stefano Stabellini
0 siblings, 1 reply; 18+ messages in thread
From: Łukasz Oleś @ 2010-07-19 13:12 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: xen-devel@lists.xensource.com
W dniu 16 lipca 2010 18:39 użytkownik Stefano Stabellini
<stefano.stabellini@eu.citrix.com> napisał:
> On Fri, 16 Jul 2010, Łukasz Oleś wrote:
>> W dniu 15 lipca 2010 19:41 użytkownik Stefano Stabellini
>> <stefano.stabellini@eu.citrix.com> napisał:
>> > On Thu, 15 Jul 2010, Jeremy Fitzhardinge wrote:
>> >> On 07/15/2010 04:07 AM, Łukasz Oleś wrote:
>> >> > Hi,
>> >> >
>> >> > I'm getting kernel panic during boot latest xen/next.
>> >> >
>> >>
>> >> Booting PV or HVM?
>> >>
>> >
>> > This bug is caused by backend drivers trying to initialize in a PV on
>> > HVM guest.
>> > The last port of my series on xen/next should have the right fix.
>> >
>>
>> Now I have problem with vbd and vifs.
>>
>> vbd vbd-51712: 28 granting access to ring page
>> vbd vbd-51712: 28 xenbus_dev_probe on device/vbd/51712
>> vbd: probe of vbd-51712 failed with error -28
>> vbd vbd-51728: 28 granting access to ring page
>> vbd vbd-51728: 28 xenbus_dev_probe on device/vbd/51728
>> vbd: probe of vbd-51728 failed with error -28
>> vbd vbd-51744: 28 granting access to ring page
>> vbd vbd-51744: 28 xenbus_dev_probe on device/vbd/51744
>> vbd: probe of vbd-51744 failed with error -28
>>
>> Initialising Xen virtual ethernet driver.
>> #### netfront can't alloc tx grant refs
>> vif vif-0: 12 creating netdev
>> vif vif-0: 12 xenbus_dev_probe on device/vif/0
>> vif: probe of vif-0 failed with error -12
>> #### netfront can't alloc tx grant refs
>> vif vif-1: 12 creating netdev
>> vif vif-1: 12 xenbus_dev_probe on device/vif/1
>> vif: probe of vif-1 failed with error -12
>> #### netfront can't alloc tx grant refs
>> vif vif-2: 12 creating netdev
>> vif vif-2: 12 xenbus_dev_probe on device/vif/2
>> vif: probe of vif-2 failed with error -12
>>
>> Full log in attachment, vm config is posted in earlier message.
>>
>
> The warnings are due to the fact that CONFIG_XEN_PLATFORM_PCI is not
> enabled in your config but the kernel tries to initialize the pv
> frontends anyway, the patch I have just sent to the list should fix this
> issue.
Yes, their gone now
>
> In any case you should enable CONFIG_XEN_PLATFORM_PCI in your kernel
> config, otherwise the pv frontends won't load properly and you are not
> going to have any benefits running a PV on HVM kernel.
>
> I am not sure why you cannot mount your root device, maybe you didn't
> specify the correct root= in your kernel command line options?
It works fine on bare metal and ESX. It looks like in initrd system
doesn't see any disks.
When I enabled option CONFIG_XEN_PLATFORM_PCI I was finally able to
boot my sytem. Is this suposed to work in this way?
--
Łukasz Oleś
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-19 13:12 ` Łukasz Oleś
@ 2010-07-19 14:19 ` Stefano Stabellini
2010-07-19 14:54 ` Łukasz Oleś
0 siblings, 1 reply; 18+ messages in thread
From: Stefano Stabellini @ 2010-07-19 14:19 UTC (permalink / raw)
To: Łukasz Oleś; +Cc: xen-devel@lists.xensource.com, Stefano Stabellini
[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]
On Mon, 19 Jul 2010, Łukasz Oleś wrote:
> >
> > In any case you should enable CONFIG_XEN_PLATFORM_PCI in your kernel
> > config, otherwise the pv frontends won't load properly and you are not
> > going to have any benefits running a PV on HVM kernel.
> >
> > I am not sure why you cannot mount your root device, maybe you didn't
> > specify the correct root= in your kernel command line options?
>
> It works fine on bare metal and ESX. It looks like in initrd system
> doesn't see any disks.
>
> When I enabled option CONFIG_XEN_PLATFORM_PCI I was finally able to
> boot my sytem. Is this suposed to work in this way?
>
You are able to mount /dev/xvd* if you have CONFIG_XEN_PLATFORM_PCI
(because it is required to initialize blkfront), but you should be able
to mount /dev/hd* just fine without CONFIG_XEN_PLATFORM_PCI.
However if you have CONFIG_XEN_PLATFORM_PCI in your config, then the
kernel will unplug the emulated disks at boot so you'll only be able to
mount /dev/xvd*.
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-19 14:19 ` Stefano Stabellini
@ 2010-07-19 14:54 ` Łukasz Oleś
2010-07-19 16:39 ` Stefano Stabellini
0 siblings, 1 reply; 18+ messages in thread
From: Łukasz Oleś @ 2010-07-19 14:54 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: xen-devel
W dniu 19 lipca 2010 16:19 użytkownik Stefano Stabellini
<stefano.stabellini@eu.citrix.com> napisał:
> On Mon, 19 Jul 2010, Łukasz Oleś wrote:
>> >
>> > In any case you should enable CONFIG_XEN_PLATFORM_PCI in your kernel
>> > config, otherwise the pv frontends won't load properly and you are not
>> > going to have any benefits running a PV on HVM kernel.
>> >
>> > I am not sure why you cannot mount your root device, maybe you didn't
>> > specify the correct root= in your kernel command line options?
>>
>> It works fine on bare metal and ESX. It looks like in initrd system
>> doesn't see any disks.
>>
>> When I enabled option CONFIG_XEN_PLATFORM_PCI I was finally able to
>> boot my sytem. Is this suposed to work in this way?
>>
> but you should be able
> to mount /dev/hd* just fine without CONFIG_XEN_PLATFORM_PCI.
This one is not true on my system.
If something in my initrd fails it launches busybox then I can run
fdisk -l or cat /proc/partitions and they return nothing. Whats more
intresting at the system start I can see:
Probing IDE interface ide0...
hda: QEMU HARDDISK, ATA DISK drive
hdb: QEMU HARDDISK, ATA DISK drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO2
hda: MWDMA2 mode selected
hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO2
hdb: MWDMA2 mode selected
Probing IDE interface ide1...
hdc: QEMU HARDDISK, ATA DISK drive
hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO2
hdc: MWDMA2 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide-cd driver 5.00
but later disks disappear. Full log in earlier mail
--
Łukasz Oleś
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-19 14:54 ` Łukasz Oleś
@ 2010-07-19 16:39 ` Stefano Stabellini
2010-07-20 8:02 ` Łukasz Oleś
0 siblings, 1 reply; 18+ messages in thread
From: Stefano Stabellini @ 2010-07-19 16:39 UTC (permalink / raw)
To: Łukasz Oleś; +Cc: xen-devel@lists.xensource.com, Stefano Stabellini
[-- Attachment #1: Type: text/plain, Size: 2663 bytes --]
On Mon, 19 Jul 2010, Łukasz Oleś wrote:
> W dniu 19 lipca 2010 16:19 użytkownik Stefano Stabellini
> <stefano.stabellini@eu.citrix.com> napisał:
> > On Mon, 19 Jul 2010, Łukasz Oleś wrote:
> >> >
> >> > In any case you should enable CONFIG_XEN_PLATFORM_PCI in your kernel
> >> > config, otherwise the pv frontends won't load properly and you are not
> >> > going to have any benefits running a PV on HVM kernel.
> >> >
> >> > I am not sure why you cannot mount your root device, maybe you didn't
> >> > specify the correct root= in your kernel command line options?
> >>
> >> It works fine on bare metal and ESX. It looks like in initrd system
> >> doesn't see any disks.
> >>
> >> When I enabled option CONFIG_XEN_PLATFORM_PCI I was finally able to
> >> boot my sytem. Is this suposed to work in this way?
> >>
> > but you should be able
> > to mount /dev/hd* just fine without CONFIG_XEN_PLATFORM_PCI.
>
> This one is not true on my system.
>
> If something in my initrd fails it launches busybox then I can run
> fdisk -l or cat /proc/partitions and they return nothing. Whats more
> intresting at the system start I can see:
>
> Probing IDE interface ide0...
> hda: QEMU HARDDISK, ATA DISK drive
> hdb: QEMU HARDDISK, ATA DISK drive
> hda: host max PIO4 wanted PIO255(auto-tune) selected PIO2
> hda: MWDMA2 mode selected
> hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO2
> hdb: MWDMA2 mode selected
> Probing IDE interface ide1...
> hdc: QEMU HARDDISK, ATA DISK drive
> hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO2
> hdc: MWDMA2 mode selected
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> ide-cd driver 5.00
>
> but later disks disappear. Full log in earlier mail
>
Yes, I have seen that.
I am not sure what is the cause of the problem because if you see
those messages it means no unplug has been done so you should be able to
access the emulated disks without any issues.
Just to be sure, could you please add this patch to your kernel and tell
me if it gets printed?
diff --git a/arch/x86/xen/platform-pci-unplug.c b/arch/x86/xen/platform-pci-unplug.c
index 2f7f3fb..4513202 100644
--- a/arch/x86/xen/platform-pci-unplug.c
+++ b/arch/x86/xen/platform-pci-unplug.c
@@ -98,8 +98,10 @@ void __init xen_unplug_emulated_devices(void)
}
}
/* Now unplug the emulated devices */
- if (!(xen_emul_unplug & XEN_UNPLUG_IGNORE))
+ if (!(xen_emul_unplug & XEN_UNPLUG_IGNORE)) {
outw(xen_emul_unplug, XEN_IOPORT_UNPLUG);
+ printk("DEBUG unplug %x\n", xen_emul_unplug);
+ }
xen_platform_pci_unplug = xen_emul_unplug;
}
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-19 16:39 ` Stefano Stabellini
@ 2010-07-20 8:02 ` Łukasz Oleś
2010-07-20 14:47 ` Stefano Stabellini
0 siblings, 1 reply; 18+ messages in thread
From: Łukasz Oleś @ 2010-07-20 8:02 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: xen-devel
[-- Attachment #1: Type: text/plain, Size: 3003 bytes --]
W dniu 19 lipca 2010 18:39 użytkownik Stefano Stabellini
<stefano.stabellini@eu.citrix.com> napisał:
> On Mon, 19 Jul 2010, Łukasz Oleś wrote:
>> W dniu 19 lipca 2010 16:19 użytkownik Stefano Stabellini
>> <stefano.stabellini@eu.citrix.com> napisał:
>> > On Mon, 19 Jul 2010, Łukasz Oleś wrote:
>> >> >
>> >> > In any case you should enable CONFIG_XEN_PLATFORM_PCI in your kernel
>> >> > config, otherwise the pv frontends won't load properly and you are not
>> >> > going to have any benefits running a PV on HVM kernel.
>> >> >
>> >> > I am not sure why you cannot mount your root device, maybe you didn't
>> >> > specify the correct root= in your kernel command line options?
>> >>
>> >> It works fine on bare metal and ESX. It looks like in initrd system
>> >> doesn't see any disks.
>> >>
>> >> When I enabled option CONFIG_XEN_PLATFORM_PCI I was finally able to
>> >> boot my sytem. Is this suposed to work in this way?
>> >>
>> > but you should be able
>> > to mount /dev/hd* just fine without CONFIG_XEN_PLATFORM_PCI.
>>
>> This one is not true on my system.
>>
>> If something in my initrd fails it launches busybox then I can run
>> fdisk -l or cat /proc/partitions and they return nothing. Whats more
>> intresting at the system start I can see:
>>
>> Probing IDE interface ide0...
>> hda: QEMU HARDDISK, ATA DISK drive
>> hdb: QEMU HARDDISK, ATA DISK drive
>> hda: host max PIO4 wanted PIO255(auto-tune) selected PIO2
>> hda: MWDMA2 mode selected
>> hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO2
>> hdb: MWDMA2 mode selected
>> Probing IDE interface ide1...
>> hdc: QEMU HARDDISK, ATA DISK drive
>> hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO2
>> hdc: MWDMA2 mode selected
>> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
>> ide1 at 0x170-0x177,0x376 on irq 15
>> ide-cd driver 5.00
>>
>> but later disks disappear. Full log in earlier mail
>>
>
> Yes, I have seen that.
> I am not sure what is the cause of the problem because if you see
> those messages it means no unplug has been done so you should be able to
> access the emulated disks without any issues.
> Just to be sure, could you please add this patch to your kernel and tell
> me if it gets printed?
>
>
>
> diff --git a/arch/x86/xen/platform-pci-unplug.c b/arch/x86/xen/platform-pci-unplug.c
> index 2f7f3fb..4513202 100644
> --- a/arch/x86/xen/platform-pci-unplug.c
> +++ b/arch/x86/xen/platform-pci-unplug.c
> @@ -98,8 +98,10 @@ void __init xen_unplug_emulated_devices(void)
> }
> }
> /* Now unplug the emulated devices */
> - if (!(xen_emul_unplug & XEN_UNPLUG_IGNORE))
> + if (!(xen_emul_unplug & XEN_UNPLUG_IGNORE)) {
> outw(xen_emul_unplug, XEN_IOPORT_UNPLUG);
> + printk("DEBUG unplug %x\n", xen_emul_unplug);
> + }
> xen_platform_pci_unplug = xen_emul_unplug;
> }
>
dmesg output from busybox and qemu log are in attachment
--
Łukasz Oleś
[-- Attachment #2: qemu.log --]
[-- Type: text/x-log, Size: 1691 bytes --]
domid: 12
config qemu network with xen bridge for tap12.0 xenbr0
config qemu network with xen bridge for tap12.1 xenbr0
config qemu network with xen bridge for tap12.2 xenbr0
Using file /VM/images/4583-lo.iso.img in read-write mode
Using file /VM/images/4583-lo.storage1.img in read-write mode
Using file /VM/images/4583-lo.storage2.img in read-write mode
Watching /local/domain/0/device-model/12/logdirty/cmd
Watching /local/domain/0/device-model/12/command
char device redirected to /dev/pts/2
qemu_map_cache_init nr_buckets = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = ba871190-6654-eadc-ef01-16997d00018c
Time offset set 0
populating video RAM at ff000000
mapping video RAM from ff000000
Register xen platform.
Done register platform.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
xs_read(/local/domain/0/device-model/12/xen_extended_power_mgmt): read error
xs_read(): vncpasswd get error. /vm/ba871190-6654-eadc-ef01-16997d00018c/vncpasswd.
Log-dirty: no command yet.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
xs_read(/local/domain/12/log-throttling): read error
qemu: ignoring not-understood drive `/local/domain/12/log-throttling'
medium change watch on `/local/domain/12/log-throttling' - unknown device, ignored
cirrus vga map change while on lfb mode
mapping vram to f0000000 - f0400000
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state.
Unknown PV product 3 loaded in guest
PV driver build 1
[-- Attachment #3: dmesg.log --]
[-- Type: text/x-log, Size: 19774 bytes --]
Started domain 4583-lo (id=13)
Linux version 2.6.32.16-oe64-00000-g5e6dcfb-dirty (root@compiler) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #23 SMP Tue Jul 20 09:26:15 CEST 2010
Command line: initrd=/b4583/boot/initrd4.gz debug loglevel=10 vga=788 console=ttyS0,115200n8 max_loop=255 ramdisk_size=131072 root=/dev/ram0 rw load=xarch64.lzm ver=b4583 sgnfile=stmp.Pf1PbUNG rcpy=/b4583/changes.img maxcpus=32 menu=vmlinuz4.0 vmalloc=384M BOOT_IMAGE=/b4583/boot/vmlinuz4
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
Centaur CentaurHauls
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000020000000 (usable)
BIOS-e820: 00000000fc000000 - 0000000100000000 (reserved)
DMI 2.4 present.
last_pfn = 0x20000 max_arch_pfn = 0x400000000
MTRR default type: write-back
MTRR fixed ranges enabled:
00000-9FFFF write-back
A0000-BFFFF write-combining
C0000-FFFFF write-back
MTRR variable ranges enabled:
0 base 0000F0000000 mask FFFFF8000000 uncachable
1 base 0000F8000000 mask FFFFFC000000 uncachable
2 disabled
3 disabled
4 disabled
5 disabled
6 disabled
7 disabled
TOM2: 0000000130000000 aka 4864M
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
initial memory mapped : 0 - 20000000
init_memory_mapping: 0000000000000000-0000000020000000
0000000000 - 0020000000 page 2M
kernel direct mapping tables up to 20000000 @ 8000-a000
RAMDISK: 1fb8e000 - 1fffed62
ACPI: RSDP 00000000000ea020 00024 (v02 Xen)
ACPI: XSDT 00000000fc012cb0 00034 (v01 Xen HVM 00000000 HVML 00000000)
ACPI: FACP 00000000fc012ad0 000F4 (v04 Xen HVM 00000000 HVML 00000000)
ACPI: DSDT 00000000fc002c40 0FE0B (v02 Xen HVM 00000000 INTL 20061109)
ACPI: FACS 00000000fc002c00 00040
ACPI: APIC 00000000fc012bd0 000D8 (v02 Xen HVM 00000000 HVML 00000000)
ACPI: Local APIC address 0xfee00000
(6 early reservations) ==> bootmem [0000000000 - 0020000000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
#1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
#2 [0001000000 - 00019d1098] TEXT DATA BSS ==> [0001000000 - 00019d1098]
#3 [001fb8e000 - 001fffed62] RAMDISK ==> [001fb8e000 - 001fffed62]
#4 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000]
#5 [00019d2000 - 00019d20a1] BRK ==> [00019d2000 - 00019d20a1]
found SMP MP-table at [ffff8800000fbc80] fbc80
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
DMA32 0x00001000 -> 0x00100000
Normal 0x00100000 -> 0x00100000
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000000 -> 0x0000009f
0: 0x00000100 -> 0x00020000
On node 0 totalpages: 130975
DMA zone: 56 pages used for memmap
DMA zone: 99 pages reserved
DMA zone: 3844 pages, LIFO batch:0
DMA32 zone: 1736 pages used for memmap
DMA32 zone: 125240 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x1f48
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x02] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x04] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x06] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x08] disabled)
ACPI: LAPIC (acpi_id[0x05] lapic_id[0x0a] disabled)
ACPI: LAPIC (acpi_id[0x06] lapic_id[0x0c] disabled)
ACPI: LAPIC (acpi_id[0x07] lapic_id[0x0e] disabled)
ACPI: LAPIC (acpi_id[0x08] lapic_id[0x10] disabled)
ACPI: LAPIC (acpi_id[0x09] lapic_id[0x12] disabled)
ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x14] disabled)
ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x16] disabled)
ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x18] disabled)
ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x1a] disabled)
ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x1c] disabled)
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-47
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 low level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ5 used by override.
ACPI: IRQ9 used by override.
ACPI: IRQ10 used by override.
ACPI: IRQ11 used by override.
Using ACPI (MADT) for SMP configuration information
SMP: Allowing 15 CPUs, 13 hotplug CPUs
nr_irqs_gsi: 48
Xen version 4.0.
Xen Platform PCI: I/O protocol version 1
DEBUG unplug 0
HVMOP_pagetable_dying not supported
Allocating PCI resources starting at 20000000 (gap: 20000000:dc000000)
Booting paravirtualized kernel on Xen
NR_CPUS:32 nr_cpumask_bits:32 nr_cpu_ids:15 nr_node_ids:1
PERCPU: Embedded 27 pages/cpu @ffff880001a00000 s79384 r8192 d23016 u131072
pcpu-alloc: s79384 r8192 d23016 u131072 alloc=1*2097152
pcpu-alloc: [0] 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 --
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129084
Kernel command line: initrd=/b4583/boot/initrd4.gz debug loglevel=10 vga=788 console=ttyS0,115200n8 max_loop=255 ramdisk_size=131072 root=/dev/ram0 rw load=xarch64.lzm ver=b4583 sgnfile=stmp.Pf1PbUNG rcpy=/b4583/changes.img maxcpus=32 menu=vmlinuz4.0 vmalloc=384M BOOT_IMAGE=/b4583/boot/vmlinuz4
PID hash table entries: 2048 (order: 2, 16384 bytes)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Initializing CPU#0
Checking aperture...
No AGP bridge found
Memory: 498924k/524288k available (5610k kernel code, 388k absent, 24244k reserved, 2977k data, 548k init)
Hierarchical RCU implementation.
NR_IRQS:1536
Xen HVM callback vector for event delivery is enabled
Console: colour dummy device 80x25
console [ttyS0] enabled
Detected 2611.726 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 5223.45 BogoMIPS (lpj=26117260)
Security Framework initialized
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
tseg: 0000000000
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
using C1E aware idle routine
Performance Events: AMD PMU driver.
... version: 0
... bit width: 48
... generic registers: 4
... value mask: 0000ffffffffffff
... max period: 00007fffffffffff
... fixed-purpose events: 0
... event mask: 000000000000000f
ACPI: Core revision 20090903
Setting APIC routing to physical flat
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
CPU0: AMD Athlon(tm) II X4 620 Processor stepping 02
Xen: using vcpuop timer interface
installing Xen timer for CPU 0
Booting processor 1 APIC 0x2 ip 0x6000
Initializing CPU#1
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 2
installing Xen timer for CPU 1
CPU1: AMD Athlon(tm) II X4 620 Processor stepping 02
Brought up 2 CPUs
Total of 2 processors activated (10448.52 BogoMIPS).
WORM: version 0.8 initializing
WORM: started with WORM protection turned off by default
xor: automatically using best checksumming function: generic_sse
generic_sse: 1425.200 MB/sec
xor: using function: generic_sse (1425.200 MB/sec)
NET: Registered protocol family 16
ACPI: bus type pci registered
dca service started, version 1.12.1
PCI: Using configuration type 1 for base access
PCI: Using configuration type 1 for extended access
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:01.1: reg 20 io port: [0xc420-0xc42f]
pci 0000:00:01.2: reg 20 io port: [0xc400-0xc41f]
* 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:01.3: quirk: region 1f40-1f7f claimed by PIIX4 ACPI
pci 0000:00:02.0: reg 10 32bit mmio pref: [0xf0000000-0xf1ffffff]
pci 0000:00:02.0: reg 14 32bit mmio: [0xf3000000-0xf3000fff]
pci 0000:00:03.0: reg 10 io port: [0xc000-0xc0ff]
pci 0000:00:03.0: reg 14 32bit mmio pref: [0xf2000000-0xf2ffffff]
pci 0000:00:04.0: reg 10 io port: [0xc100-0xc1ff]
pci 0000:00:04.0: reg 14 32bit mmio: [0xf3001000-0xf30010ff]
pci 0000:00:05.0: reg 10 io port: [0xc200-0xc2ff]
pci 0000:00:05.0: reg 14 32bit mmio: [0xf3001100-0xf30011ff]
pci 0000:00:06.0: reg 10 io port: [0xc300-0xc3ff]
pci 0000:00:06.0: reg 14 32bit mmio: [0xf3001200-0xf30012ff]
pci_bus 0000:00: on NUMA node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *5 10 11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs *5 10 11)
vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
vgaarb: loaded
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
raid6: int64x1 1983 MB/s
raid6: int64x2 2884 MB/s
raid6: int64x4 3429 MB/s
raid6: int64x8 2297 MB/s
raid6: sse2x1 2848 MB/s
raid6: sse2x2 4335 MB/s
raid6: sse2x4 4605 MB/s
raid6: using algorithm sse2x4 (4605 MB/s)
PCI: Using ACPI for IRQ routing
Switching to clocksource xen
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 12 devices
ACPI: ACPI bus type pnp unregistered
system 00:00: iomem range 0x0-0x9ffff could not be reserved
system 00:02: ioport range 0x10c0-0x1141 has been reserved
system 00:02: ioport range 0xb044-0xb047 has been reserved
system 00:03: ioport range 0x8a0-0x8a3 has been reserved
system 00:03: ioport range 0xcc0-0xccf has been reserved
system 00:03: ioport range 0x4d0-0x4d1 has been reserved
pci_bus 0000:00: resource 0 io: [0x00-0xffff]
pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffffffffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
pci 0000:00:01.0: PIIX3: Enabling Passive Release
pci 0000:00:00.0: Limiting direct PCI/PCI transfers
pci 0000:00:01.0: Activating ISA DMA hang workarounds
pci 0000:00:02.0: Boot video device
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 4547k freed
microcode: no support for this CPU vendor
audit: initializing netlink socket (disabled)
type=2000 audit(1279612086.032:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
msgmni has been set to 984
alg: No test for stdrng (krng)
async_tx: api initialized (async)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered (default)
io scheduler cfq registered
vesafb: framebuffer at 0xf0000000, mapped to 0xffffc90000100000, using 3750k, total 4096k
vesafb: mode is 800x600x16, linelength=1600, pages=3
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
bootsplash 3.1.6-2004/03/31: looking for picture...
silentjpeg size 4196 bytes,
...found (800x600, 3134 bytes, v3).
Console: switching to colour frame buffer device 97x31
fb0: VESA VGA frame buffer device
vga16fb: initializing
vga16fb: mapped to 0xffff8800000a0000
fb1: VGA16 VGA frame buffer device
Event-channel device installed.
xenfs: not registering filesystem on non-xen platform
Linux agpgart interface v0.103
[drm] Initialized drm 1.1.0 20060810
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
FDC 0 is a S82078B
brd: module loaded
loop: module loaded
nbd: registered device at major 43
Uniform Multi-Platform E-IDE driver
piix 0000:00:01.1: IDE controller (0x8086:0x7010 rev 0x00)
piix 0000:00:01.1: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xc420-0xc427
ide1: BM-DMA at 0xc428-0xc42f
Probing IDE interface ide0...
hda: QEMU HARDDISK, ATA DISK drive
hdb: QEMU HARDDISK, ATA DISK drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO2
hda: MWDMA2 mode selected
hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO2
hdb: MWDMA2 mode selected
Probing IDE interface ide1...
hdc: QEMU HARDDISK, ATA DISK drive
hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO2
hdc: MWDMA2 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide-cd driver 5.00
Initialising Xen virtual ethernet driver.
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input0
applesmc: supported laptop not found!
applesmc: driver init failed (ret=-19)!
f71882fg: Not a Fintek device
f71882fg: Not a Fintek device
hdaps: supported laptop not found!
hdaps: driver init failed (ret=-19)!
pc87360: PC8736x not detected, module not inserted.
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
md: multipath personality registered for level -4
md: faulty personality registered for level -5
device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
device-mapper: multipath: version 1.1.0 loaded
device-mapper: multipath round-robin: version 1.0.0 loaded
cpuidle: using governor ladder
cpuidle: using governor menu
ioatdma: Intel(R) QuickData Technology Driver 4.00
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP probe registered (port=0)
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
NET: Registered protocol family 5
RPC: Registered rdma transport module.
Freeing unused kernel memory: 548k freed
input: ImExPS/2 Generic Explorer Mouse as /class/input/input1
aufs 2-standalone.tree-32-20100705
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:01.2: PCI INT D -> GSI 23 (level, low) -> IRQ 23
uhci_hcd 0000:00:01.2: setting latency timer to 64
uhci_hcd 0000:00:01.2: UHCI Host Controller
uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:01.2: irq 23, io base 0x0000c400
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.32.16-oe64-00000-g5e6dcfb-dirty uhci_hcd
usb usb1: SerialNumber: 0000:00:01.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
usb 1-2: new full speed USB device using uhci_hcd and address 2
usb 1-2: New USB device found, idVendor=0627, idProduct=0001
usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb 1-2: Product: QEMU USB Tablet
usb 1-2: Manufacturer: QEMU 0.10.2
usb 1-2: SerialNumber: 1
usb 1-2: configuration #1 chosen from 1 choice
input: QEMU 0.10.2 QEMU USB Tablet as /class/input/input2
generic-usb 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Pointer [QEMU 0.10.2 QEMU USB Tablet] on usb-0000:00:01.2-2/input0
uhci_hcd 0000:00:01.2: remove, state 1
usb usb1: USB disconnect, address 1
usb 1-2: USB disconnect, address 2
uhci_hcd 0000:00:01.2: USB bus 1 deregistered
uhci_hcd 0000:00:01.2: PCI INT D disabled
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
uhci_hcd 0000:00:01.2: PCI INT D -> GSI 23 (level, low) -> IRQ 23
uhci_hcd 0000:00:01.2: UHCI Host Controller
uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:01.2: irq 23, io base 0x0000c400
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.32.16-oe64-00000-g5e6dcfb-dirty uhci_hcd
usb usb1: SerialNumber: 0000:00:01.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
usb 1-2: new full speed USB device using uhci_hcd and address 2
usb 1-2: New USB device found, idVendor=0627, idProduct=0001
usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb 1-2: Product: QEMU USB Tablet
usb 1-2: Manufacturer: QEMU 0.10.2
usb 1-2: SerialNumber: 1
usb 1-2: configuration #1 chosen from 1 choice
input: QEMU 0.10.2 QEMU USB Tablet as /class/input/input3
generic-usb 0003:0627:0001.0002: input,hidraw0: USB HID v0.01 Pointer [QEMU 0.10.2 QEMU USB Tablet] on usb-0000:00:01.2-2/input0
uhci_hcd 0000:00:01.2: remove, state 1
usb usb1: USB disconnect, address 1
usb 1-2: USB disconnect, address 2
uhci_hcd 0000:00:01.2: USB bus 1 deregistered
uhci_hcd 0000:00:01.2: PCI INT D disabled
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:01.2: PCI INT D -> GSI 23 (level, low) -> IRQ 23
uhci_hcd 0000:00:01.2: UHCI Host Controller
uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:01.2: irq 23, io base 0x0000c400
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.32.16-oe64-00000-g5e6dcfb-dirty uhci_hcd
usb usb1: SerialNumber: 0000:00:01.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
usb 1-2: new full speed USB device using uhci_hcd and address 2
usb 1-2: New USB device found, idVendor=0627, idProduct=0001
usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb 1-2: Product: QEMU USB Tablet
usb 1-2: Manufacturer: QEMU 0.10.2
usb 1-2: SerialNumber: 1
usb 1-2: configuration #1 chosen from 1 choice
input: QEMU 0.10.2 QEMU USB Tablet as /class/input/input4
generic-usb 0003:0627:0001.0003: input,hidraw0: USB HID v0.01 Pointer [QEMU 0.10.2 QEMU USB Tablet] on usb-0000:00:01.2-2/input0
[-- Attachment #4: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-20 8:02 ` Łukasz Oleś
@ 2010-07-20 14:47 ` Stefano Stabellini
2010-07-21 11:51 ` Łukasz Oleś
0 siblings, 1 reply; 18+ messages in thread
From: Stefano Stabellini @ 2010-07-20 14:47 UTC (permalink / raw)
To: Łukasz Oleś; +Cc: xen-devel@lists.xensource.com, Stefano Stabellini
[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]
On Tue, 20 Jul 2010, Łukasz Oleś wrote:
> > diff --git a/arch/x86/xen/platform-pci-unplug.c b/arch/x86/xen/platform-pci-unplug.c
> > index 2f7f3fb..4513202 100644
> > --- a/arch/x86/xen/platform-pci-unplug.c
> > +++ b/arch/x86/xen/platform-pci-unplug.c
> > @@ -98,8 +98,10 @@ void __init xen_unplug_emulated_devices(void)
> > }
> > }
> > /* Now unplug the emulated devices */
> > - if (!(xen_emul_unplug & XEN_UNPLUG_IGNORE))
> > + if (!(xen_emul_unplug & XEN_UNPLUG_IGNORE)) {
> > outw(xen_emul_unplug, XEN_IOPORT_UNPLUG);
> > + printk("DEBUG unplug %x\n", xen_emul_unplug);
> > + }
> > xen_platform_pci_unplug = xen_emul_unplug;
> > }
> >
>
> dmesg output from busybox and qemu log are in attachment
>
As you can see from the logs xen_emul_unplug was 0 and that shouldn't
cause any unplug at all in qemu.
I see that you have a complicated set of kernel command line options,
what guest are you using? Is there a simple way for me to reproduce
your problem?
I tried to remove the platform pci driver from my kernel's config but I
am still able to mount the emulated disk without any issues.
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-20 14:47 ` Stefano Stabellini
@ 2010-07-21 11:51 ` Łukasz Oleś
2010-07-21 13:30 ` Stefano Stabellini
0 siblings, 1 reply; 18+ messages in thread
From: Łukasz Oleś @ 2010-07-21 11:51 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: xen-devel
W dniu 20 lipca 2010 16:47 użytkownik Stefano Stabellini
> I see that you have a complicated set of kernel command line options,
> what guest are you using? Is there a simple way for me to reproduce
> your problem?
> I tried to remove the platform pci driver from my kernel's config but I
> am still able to mount the emulated disk without any issues.
>
I'm using slax based system. To reproduce it firstly you need apply
the aufs patches from http://aufs.sourceforge.net/. (using standalone
git is faster).
I also tested in on debian testing and there is the same problem.
Maybe this problem is hardware specific? I will try on other machine.
--
Łukasz Oleś
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-21 11:51 ` Łukasz Oleś
@ 2010-07-21 13:30 ` Stefano Stabellini
2010-07-25 20:58 ` Łukasz Oleś
0 siblings, 1 reply; 18+ messages in thread
From: Stefano Stabellini @ 2010-07-21 13:30 UTC (permalink / raw)
To: Łukasz Oleś; +Cc: xen-devel@lists.xensource.com, Stefano Stabellini
[-- Attachment #1: Type: text/plain, Size: 782 bytes --]
On Wed, 21 Jul 2010, Łukasz Oleś wrote:
> W dniu 20 lipca 2010 16:47 użytkownik Stefano Stabellini
> > I see that you have a complicated set of kernel command line options,
> > what guest are you using? Is there a simple way for me to reproduce
> > your problem?
> > I tried to remove the platform pci driver from my kernel's config but I
> > am still able to mount the emulated disk without any issues.
> >
>
> I'm using slax based system. To reproduce it firstly you need apply
> the aufs patches from http://aufs.sourceforge.net/. (using standalone
> git is faster).
> I also tested in on debian testing and there is the same problem.
>
> Maybe this problem is hardware specific? I will try on other machine.
>
I tested on debian lenny and works fine for me.
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-21 13:30 ` Stefano Stabellini
@ 2010-07-25 20:58 ` Łukasz Oleś
2010-07-26 10:06 ` Łukasz Oleś
0 siblings, 1 reply; 18+ messages in thread
From: Łukasz Oleś @ 2010-07-25 20:58 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: xen-devel@lists.xensource.com
On Wednesday 21 July 2010 15:30:45 Stefano Stabellini wrote:
> On Wed, 21 Jul 2010, Łukasz Oleś wrote:
> > W dniu 20 lipca 2010 16:47 użytkownik Stefano Stabellini
> >
> > > I see that you have a complicated set of kernel command line options,
> > > what guest are you using? Is there a simple way for me to reproduce
> > > your problem?
> > > I tried to remove the platform pci driver from my kernel's config but I
> > > am still able to mount the emulated disk without any issues.
> >
> > I'm using slax based system. To reproduce it firstly you need apply
> > the aufs patches from http://aufs.sourceforge.net/. (using standalone
> > git is faster).
> > I also tested in on debian testing and there is the same problem.
> >
> > Maybe this problem is hardware specific? I will try on other machine.
>
> I tested on debian lenny and works fine for me.
I tried on four computers and it worked only on one(with XenServer).
--
Łukasz Oleś
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-25 20:58 ` Łukasz Oleś
@ 2010-07-26 10:06 ` Łukasz Oleś
2010-07-26 16:01 ` Stefano Stabellini
0 siblings, 1 reply; 18+ messages in thread
From: Łukasz Oleś @ 2010-07-26 10:06 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: xen-devel@lists.xensource.com
[-- Attachment #1: Type: text/plain, Size: 288 bytes --]
2010/7/25 Łukasz Oleś <lukaszoles@gmail.com>:
> I tried on four computers and it worked only on one(with XenServer).
With enabled option XEN_PLATFORM_PCI it doesn't work on XenServer and
works on the others.
On XenServer it hangs during boot, see attachment.
--
Łukasz Oleś
[-- Attachment #2: xencenter.jpeg --]
[-- Type: image/jpeg, Size: 22352 bytes --]
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-26 10:06 ` Łukasz Oleś
@ 2010-07-26 16:01 ` Stefano Stabellini
2010-07-26 16:28 ` Łukasz Oleś
0 siblings, 1 reply; 18+ messages in thread
From: Stefano Stabellini @ 2010-07-26 16:01 UTC (permalink / raw)
To: Łukasz Oleś; +Cc: xen-devel@lists.xensource.com, Stefano Stabellini
[-- Attachment #1: Type: text/plain, Size: 582 bytes --]
On Mon, 26 Jul 2010, Łukasz Oleś wrote:
> 2010/7/25 Łukasz Oleś <lukaszoles@gmail.com>:
> > I tried on four computers and it worked only on one(with XenServer).
>
> With enabled option XEN_PLATFORM_PCI it doesn't work on XenServer and
> works on the others.
>
> On XenServer it hangs during boot, see attachment.
>
Unfortunately XenServer doesn't support Linux PVonHVM guests at the
moment.
All the others should work though.
Are you still using the same vm config file you posted here?
http://lists.xensource.com/archives/html/xen-devel/2010-07/msg00777.html
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-26 16:01 ` Stefano Stabellini
@ 2010-07-26 16:28 ` Łukasz Oleś
2010-07-26 16:33 ` Stefano Stabellini
0 siblings, 1 reply; 18+ messages in thread
From: Łukasz Oleś @ 2010-07-26 16:28 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: xen-devel@lists.xensource.com
On Monday 26 July 2010 18:01:12 Stefano Stabellini wrote:
> On Mon, 26 Jul 2010, Łukasz Oleś wrote:
> > 2010/7/25 Łukasz Oleś <lukaszoles@gmail.com>:
> > > I tried on four computers and it worked only on one(with XenServer).
> >
> > With enabled option XEN_PLATFORM_PCI it doesn't work on XenServer and
> > works on the others.
> >
> > On XenServer it hangs during boot, see attachment.
>
> Unfortunately XenServer doesn't support Linux PVonHVM guests at the
> moment.
> All the others should work though.
>
> Are you still using the same vm config file you posted here?
>
> http://lists.xensource.com/archives/html/xen-devel/2010-07/msg00777.html
Yes, nothing changed.
So, if I want to have one universal kernel which can run on top of
Xen(3.4/4.x) XenServer, Vmware and Bare Metal I shouldn't enable
CONFIG_XEN_PLATFORM_PCI?
--
Łukasz Oleś
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: kernel BUG at drivers/xen/balloon.c:528!
2010-07-26 16:28 ` Łukasz Oleś
@ 2010-07-26 16:33 ` Stefano Stabellini
0 siblings, 0 replies; 18+ messages in thread
From: Stefano Stabellini @ 2010-07-26 16:33 UTC (permalink / raw)
To: Łukasz Oleś; +Cc: xen-devel@lists.xensource.com, Stefano Stabellini
[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]
On Mon, 26 Jul 2010, Łukasz Oleś wrote:
> On Monday 26 July 2010 18:01:12 Stefano Stabellini wrote:
> > On Mon, 26 Jul 2010, Łukasz Oleś wrote:
> > > 2010/7/25 Łukasz Oleś <lukaszoles@gmail.com>:
> > > > I tried on four computers and it worked only on one(with XenServer).
> > >
> > > With enabled option XEN_PLATFORM_PCI it doesn't work on XenServer and
> > > works on the others.
> > >
> > > On XenServer it hangs during boot, see attachment.
> >
> > Unfortunately XenServer doesn't support Linux PVonHVM guests at the
> > moment.
> > All the others should work though.
> >
> > Are you still using the same vm config file you posted here?
> >
> > http://lists.xensource.com/archives/html/xen-devel/2010-07/msg00777.html
>
> Yes, nothing changed.
>
> So, if I want to have one universal kernel which can run on top of
> Xen(3.4/4.x) XenServer, Vmware and Bare Metal I shouldn't enable
> CONFIG_XEN_PLATFORM_PCI?
Yes. The next XenServer release should support PV on HVM kernels though.
At that point you'll be able to have one universal kernel with PV on HVM
drivers.
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2010-07-26 16:33 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-15 11:07 kernel BUG at drivers/xen/balloon.c:528! Łukasz Oleś
2010-07-15 17:34 ` Jeremy Fitzhardinge
2010-07-15 17:41 ` Stefano Stabellini
2010-07-16 10:53 ` Łukasz Oleś
2010-07-16 16:39 ` Stefano Stabellini
2010-07-19 13:12 ` Łukasz Oleś
2010-07-19 14:19 ` Stefano Stabellini
2010-07-19 14:54 ` Łukasz Oleś
2010-07-19 16:39 ` Stefano Stabellini
2010-07-20 8:02 ` Łukasz Oleś
2010-07-20 14:47 ` Stefano Stabellini
2010-07-21 11:51 ` Łukasz Oleś
2010-07-21 13:30 ` Stefano Stabellini
2010-07-25 20:58 ` Łukasz Oleś
2010-07-26 10:06 ` Łukasz Oleś
2010-07-26 16:01 ` Stefano Stabellini
2010-07-26 16:28 ` Łukasz Oleś
2010-07-26 16:33 ` Stefano Stabellini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).