On Tue September 13 2011, 11:55:59 AM, Pasi Kärkkäinen wrote:
> On Mon, Sep 12, 2011 at 04:07:21PM -0400, jim burns wrote:
> > On Mon September 12 2011, 10:36:23 AM, Pasi Kärkkäinen wrote:
> > > > Sure, thanx, attached. Do you need a debug log also
> > > > (initcall_debug
> > > > debug loglevel=10)?
> > >
> > >
> > >
> > > Sure, it doesn't hurt..
> >
> >
> >
> > I'll get it to you in a couple of days.
> >
> >
>
> Ok, thanks!
Rawhide just came out with 3.1.0-0.rc6.git0.0.fc17.x86_64 , and the BUG:s are
still the same as in the last log I sent. However, as promised I have attached
the initcall_debug log, but for rc6.
I had an interesting problem with my grub stanza that made me fear that it was
back to not booting at all under xen. It looked just like the same problem
that rc0 and rc1 had. The problem was that the xen option
'serial_tx_buffer=64k' was too small, and was causing the boot to stall. I
upped the buffer to 256k. I'm including the output from the too small buffer
below, merely for amusement - it was my problem, not xen's.
Using the following grub stanza:
title Xen Dom0 w/debug console (3.1.0-0.rcx.gity.z.fc17.x86_64)
root (hd0,1)
kernel /xen.gz cpufreq=xen loglvl=all guest_loglvl=all
serial_tx_buffer=256k console_to_ring noreboot com1=115200,8n1,0xdff8,19
console=com1
module /vmlinuz ro root=/dev/mapper/vg_insp6400-lv_root
SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us console=hvc0
earlyprintk=xen nomodeset initcall_debug debug loglevel=10
module /initramfs
where vmlinuz and initramfs are soft links, and x,y,z is rc5.git0.0 for the
attached file with 'initcall_debug', and rc6.git0.0 for the (unimportant)
crash shown below (with the 64k buffer).
> also: I assume you won't get any BUGs when booting the same kernel
> on baremetal/native?
That has been correct for rc2 - rc6. From an earlier post in the original
'Summary: Experiences setting up a debug serial port' thread:
> On Mon August 15 2011, 4:04:20 AM, jim burns wrote:
>> Pls cc me with responses, as I'm not subscribed.
> Yay! After a string of fedora rawhide 3.1.0-rc0 and -rc1's that did not
> boot under xen, 3.1.0-0.rc2.git0.1.fc17.x86_64 boots under xen, it has the
> vga patch, and xen-pciback correctly siezes my wireless device.
> Unfortunately, while a baremetal boot is clean, a xen boot has several
> BUG:'s of the form:
The (unimportant) rc6 crash:
__ __ _ _ _ _ _____ __ _ _____
\ \/ /___ _ __ | || | / | / | |___ / / _| ___/ |___ |
\ // _ \ '_ \ | || |_ | | | |__ |_ \ | |_ / __| | / /
/ \ __/ | | | |__ _|| |_| |__|__) || _| (__| | / /
/_/\_\___|_| |_| |_|(_)_(_)_| |____(_)_| \___|_|/_/
(XEN) Xen version 4.1.1 (mockbuild@xxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.6.1
20110715 (Red Hat 4.6.1-3) (GCC) ) Sun Aug 14 14:14:02 UTC 2011
(XEN) Latest ChangeSet: unavailable
(XEN) Bootloader: GNU GRUB 0.97-71.fc15
(XEN) Command line: cpufreq=xen loglvl=all guest_loglvl=all
serial_tx_buffer=64k console_to_ring noreboot com1=115200,8n1,0xdff8,19
console=com1
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds
(XEN) Disc information:
(XEN) Found 1 MBR signatures
(XEN) Found 1 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN) 0000000000000000 - 000000000009f000 (usable)
(XEN) 000000000009f000 - 00000000000a0000 (reserved)
(XEN) 0000000000100000 - 000000007f6d3400 (usable)
(XEN) 000000007f6d3400 - 0000000080000000 (reserved)
(XEN) 00000000f0000000 - 00000000f4007000 (reserved)
(XEN) 00000000f4008000 - 00000000f400c000 (reserved)
(XEN) 00000000fec00000 - 00000000fec10000 (reserved)
(XEN) 00000000fed20000 - 00000000feda0000 (reserved)
(XEN) 00000000fee00000 - 00000000fee10000 (reserved)
(XEN) 00000000ffb00000 - 0000000100000000 (reserved)
(XEN) System RAM: 2038MB (2087368kB)
(XEN) ACPI: RSDP 000FC1D0, 0014 (r0 DELL )
(XEN) ACPI: RSDT 7F6D3A0F, 0040 (r1 DELL M07 27D7060D ASL 61)
(XEN) ACPI: FACP 7F6D4800, 0074 (r1 DELL M07 27D7060D ASL 61)
(XEN) ACPI: DSDT 7F6D5400, 4766 (r1 INT430 SYSFexxx 1001 INTL 20050624)
(XEN) ACPI: FACS 7F6E3C00, 0040
(XEN) ACPI: HPET 7F6D4F00, 0038 (r1 DELL M07 1 ASL 61)
(XEN) ACPI: APIC 7F6D5000, 0068 (r1 DELL M07 27D7060D ASL 47)
(XEN) ACPI: MCFG 7F6D4FC0, 003E (r16 DELL M07 27D7060D ASL 61)
(XEN) ACPI: SLIC 7F6D509C, 0176 (r1 DELL M07 27D7060D ASL 61)
(XEN) ACPI: BOOT 7F6D4BC0, 0028 (r1 DELL M07 27D7060D ASL 61)
(XEN) ACPI: SSDT 7F6D3A4F, 04DC (r1 PmRef CpuPm 3000 INTL 20050624)
(XEN) No NUMA configuration found
(XEN) Faking a node at 0000000000000000-000000007f6d3000
(XEN) Domain heap initialised
(XEN) DMI 2.4 present.
(XEN) Using APIC driver default
(XEN) ACPI: PM-Timer IO Port: 0x1008
(XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[1004,0], pm1x_evt[1000,0]
(XEN) ACPI: wakeup_vec[7f6e3c0c], vec_size[20]
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
(XEN) Processor #0 6:15 APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
(XEN) Processor #1 6:15 APIC version 20
(XEN) ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
(XEN) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
(XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
(XEN) ACPI: IRQ0 used by override.
(XEN) ACPI: IRQ2 used by override.
(XEN) ACPI: IRQ9 used by override.
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) ACPI: HPET id: 0x8086a201 base: 0xfed00000
(XEN) PCI: MCFG configuration 0: base f0000000 segment 0 buses 0 - 63
(XEN) PCI: MCFG area at f0000000 reserved in E820
(XEN) Table is not found!
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) IRQ limits: 24 GSI, 376 MSI/MSI-X
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 1828.797 MHz processor.
(XEN) Initing memory sharing.
(XEN) mce_intel.c:1162: MCA Capability: BCAST 1 SER 0 CMCI 0 firstbank 1
extended MCE MSR 0
(XEN) Intel machine check reporting enabled
(XEN) I/O virtualisation disabled
(XEN) ENABLING IO-APIC IRQs
(XEN) -> Using new ACK method
(XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1
(XEN) Platform timer is 14.318MHz HPET
�(XEN) Allocated console ring of 16 KiB.
(XEN) VMX: Supported advanced features:
(XEN) - APIC TPR shadow
(XEN) - MSR direct-access bitmap
(XEN) HVM: ASIDs disabled.
(XEN) HVM: VMX enabled
(XEN) Brought up 2 CPUs
(XEN) HPET: 3 timers in total, 0 timers will be used for broadcast
(XEN) ACPI sleep modes: S3
(XEN) mcheck_poll: Machine check polling timer started.
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen kernel: 64-bit, lsb, compat32
(XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x2ae6000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 0000000074000000->0000000078000000 (456574 pages to be
allocated)
(XEN) Init. ramdisk: 000000007c9bf000->000000007f1ff200
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: ffffffff81000000->ffffffff82ae6000
(XEN) Init. ramdisk: ffffffff82ae6000->ffffffff85326200
(XEN) Phys-Mach map: ffffffff85327000->ffffffff856d6df8
(XEN) Start info: ffffffff856d7000->ffffffff856d74b4
(XEN) Page tables: ffffffff856d8000->ffffffff85707000
(XEN) Boot stack: ffffffff85707000->ffffffff85708000
(XEN) TOTAL: ffffffff80000000->ffffffff85800000
(XEN) ENTRY ADDRESS: ffffffff81d53200
(XEN) Dom0 has maximum 2 VCPUs
(XEN) Scrubbing Free RAM: .done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to
Xen)
(XEN) Freed 224kB init memory.
mapping kernel into physical memory
Xen: setup ISA identity maps
about to get started...
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.1.0-0.rc6.git0.0.fc17.x86_64
(mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.6.1 20110824 (Red Hat
4.6.1-8) (GCC) ) #1 SMP Mon Sep 12 22:56:38 UTC 2011
[ 0.000000] Command line: ro root=/dev/mapper/vg_insp6400-lv_root
SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us console=hvc0
earlyprintk=xen nomodeset initcall_debug debug loglevel=10
[ 0.000000] released 0 pages of unused memory
[ 0.000000] Set 526733 page(s) to 1-1 mapping.
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] Xen: 0000000000000000 - 000000000009f000 (usable)
[ 0.000000] Xen: 000000000009f000 - 0000000000100000 (reserved)
[ 0.000000] Xen: 0000000000100000 - 0000000075fbf000 (usable)
[ 0.000000] Xen: 0000000075fbf000 - 000000007f6d3000 (unusable)
[ 0.000000] Xen: 000000007f6d3400 - 0000000080000000 (reserved)
[ 0.000000] Xen: 00000000f0000000 - 00000000f4007000 (reserved)
[ 0.000000] Xen: 00000000f4008000 - 00000000f400c000 (reserved)
[ 0.000000] Xen: 00000000fec00000 - 00000000fec10000 (reserved)
[ 0.000000] Xen: 00000000fed20000 - 00000000feda0000 (reserved)
[ 0.000000] Xen: 00000000fee00000 - 00000000fee10000 (reserved)
[ 0.000000] Xen: 00000000ffb00000 - 0000000100000000 (reserved)
[ 0.000000] Xen: 0000000100000000 - 0000000525db7000 (usable)
[ 0.000000] bootconsole [xenboot0] enabled
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI 2.4 present.
[ 0.000000] DMI: Dell Inc. MM061 /0KD882, BIOS
A17 06/13/2007
[ 0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable)
==> (reserved)
[ 0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
[ 0.000000] No AGP bridge found
[ 0.000000] last_pfn = 0x525db7 max_arch_pfn = 0x400000000
[ 0.000000] last_pfn = 0x75fbf max_arch_pfn = 0x400000000
[ 0.000000] initial memory mapped : 0 - 05327000
[ 0.000000] Base memory trampoline at [ffff88000009a000] 9a000 size 20480
[ 0.000000] init_memory_mapping: 0000000000000000-0000000075fbf000
[ 0.000000] 0000000000 - 0075fbf000 page 4k
[ 0.000000] kernel direct mapping tables up to 75fbf000 @ 75c0c000-75fbf000
[ 0.000000] xen: setting RW the range 75f8d000 - 75fbf000
[ 0.000000] init_memory_mapping: 0000000100000000-0000000525db7000
[ 0.000000] 0100000000 - 0525db7000 page 4k
[ 0.000000] kernel direct mapping tables up to 525db7000 @
732c7000-75c0c000
[ 0.000000] xen: setting RW the range 75407000 - 75c0c000
[ 0.000000] RAMDISK: 02ae6000 - 05327000
[ 0.000000] ACPI: RSDP 00000000000fc1d0 00014 (v00 DELL )
[ 0.000000] ACPI: RSDT 000000007f6d3a0f 00040 (v01 DELL M07 27D7060D
ASL 00000061)
[ 0.000000] ACPI: FACP 000000007f6d4800 00074 (v01 DELL M07 27D7060D
ASL 00000061)
[ 0.000000] ACPI: DSDT 000000007f6d5400 04766 (v01 INT430 SYSFexxx 00001001
INTL 20050624)
[ 0.000000] ACPI: FACS 000000007f6e3c00 00040
[ 0.000000] ACPI: HPET 000000007f6d4f00 00038 (v01 DELL M07 00000001
ASL 00000061)
[ 0.000000] ACPI: APIC 000000007f6d5000 00068 (v01 DELL M07 27D7060D
ASL 00000047)
[ 0.000000] ACPI: MCFG 000000007f6d4fc0 0003E (v16 DELL M07 27D7060D
ASL 00000061)
[ 0.000000] ACPI: SLIC 000000007f6d509c 00176 (v01 DELL M07 27D7060D
ASL 00000061)
[ 0.000000] ACPI: BOOT 000000007f6d4bc0 00028 (v01 DELL M07 27D7060D
ASL 00000061)
[ 0.000000] ACPI: SSDT 000000007f6d3a4f 004DC (v01 PmRef CpuPm 00003000
INTL 20050624)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-0000000525db7000
[ 0.000000] Initmem setup node 0 0000000000000000-0000000525db7000
[ 0.000000] NODE_DATA [0000000075faa000 - 0000000075fbefff]
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000010 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] Normal 0x00100000 -> 0x00525db7
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[3] active PFN ranges
[ 0.000000] 0: 0x00000010 -> 0x0000009f
[ 0.000000] 0: 0x00000100 -> 0x00075fbf
[ 0.000000] 0: 0x00100000 -> 0x00525db7
[ 0.000000] On node 0 totalpages: 4832517
[ 0.000000] DMA zone: 64 pages used for memmap
[ 0.000000] DMA zone: 5 pages reserved
[ 0.000000] DMA zone: 3914 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 16320 pages used for memmap
[ 0.000000] DMA32 zone: 462847 pages, LIFO batch:31
[ 0.000000] Normal zone: 67959 pages used for memmap
[ 0.000000] Normal zone: 4281408 pages, LIFO batch:31
[ 0.000000] BUG: unable to handle kernel NULL pointer dereference at
(null)
[ 0.000000] IP: [<ffffffff81006437>] __xen_set_pte+0x51/0x5b
[ 0.000000] PGD 0
[ 0.000000] Oops: 0003 [#1] SMP
[ 0.000000] CPU 0
[ 0.000000] Modules linked in:
[ 0.000000]
[ 0.000000] Pid: 0, comm: swapper Not tainted
3.1.0-0.rc6.git0.0.fc17.x86_64 #1 Dell Inc. MM061
/0KD882
[ 0.000000] RIP: e030:[<ffffffff81006437>] [<ffffffff81006437>]
__xen_set_pte+0x51/0x5b
[ 0.000000] RSP: e02b:ffffffff81a01dc8 EFLAGS: 00010096
[ 0.000000] RAX: 00000000ffffffff RBX: ffff880075b01000 RCX:
ffffffff829b2000
[ 0.000000] RDX: 0000000010000001 RSI: 8000000075a02065 RDI:
ffff880075b01000
[ 0.000000] RBP: ffffffff81a01de8 R08: 0000000000000000 R09:
0000000000007ff0
[ 0.000000] R10: 0000000000007ff0 R11: 0000000000007ff0 R12:
8000000075a02065
[ 0.000000] R13: 0000000001a02000 R14: ffffffffffffffff R15:
0000000000000000
[ 0.000000] FS: 0000000000000000(0000) GS:ffffffff81b7e000(0000)
knlGS:0000000000000000
[ 0.000000] CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.000000] CR2: 0000000000000000 CR3: 0000000001a05000 CR4:
0000000000002660
[ 0.000000] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 0.000000] DR3: 0000000000000000 DR6: 0000000000000000 DR7:
0000000000000000
[ 0.000000] Process swapper (pid: 0, threadinfo ffffffff81a00000, task
ffffffff81a0d020)
[ 0.000000] Stack:
[ 0.000000] 00003ffffffff000 ffffffff829b2000 ffff880075b01000
8000000075a02065
[ 0.000000] ffffffff81a01e18 ffffffff8100655c 0000000000007ff0
ffffffffff600000
[ 0.000000] 8000000075a02065 0000000001a02000 ffffffff81a01e28
ffffffff81032ddc
[ 0.000000] Call Trace:
[ 0.000000] [<ffffffff8100655c>] xen_set_pte+0x75/0x95
[ 0.000000] [<ffffffff81032ddc>] set_pte+0x10/0x12
[ 0.000000] [<ffffffff81033305>] set_pte_vaddr_pud+0x3c/0x4b
[ 0.000000] [<ffffffff81005141>] xen_set_fixmap+0xb4/0xbb
[ 0.000000] [<ffffffff81d593d5>] map_vsyscall+0x50/0x69
[ 0.000000] [<ffffffff81d58aab>] setup_arch+0xa7e/0xb2f
[ 0.000000] [<ffffffff814fa131>] ? printk+0x51/0x53
[ 0.000000] [<ffffffff81d538a3>] start_kernel+0xe1/0x3ea
[ 0.000000] [<ffffffff81d532c4>] x86_64_start_reservations+0xaf/0xb3
[ 0.000000] [<ffffffff81d55f18>] xen_start_kernel+0x588/0x58f
[ 0.000000] Code: df e8 4a 04 03 00 48 89 c7 e8 82 ee ff ff 48 8d 7d e0 48
89 45 e0 4c 89 65 e8 e8 fd f4 ff ff bf 01 00 00 00 e8 a4 f7 ff ff eb 03 <4c>
89 23 58 5a 5b 41 5c 5d c3 55 48 89 e5 41 57 41 56 41 55 41
[ 0.000000] RIP [<ffffffff81006437>] __xen_set_pte+0x51/0x5b
[ 0.000000] RSP <ffffffff81a01dc8>
[ 0.000000] CR2: 0000000000000000
[ 0.000000] ---[ end trace a7919e7f17c0a725 ]---
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] Pid: 0, comm: swapper Tainted: G D
3.1.0-0.rc6.git0.0.fc17.x86_64 #1
[ 0.000000] Call Trace:
[ 0.000000] [<ffffffff814f9fc7>] panic+0xa0/0x1b9
[ 0.000000] [<ffffffff8105fe6d>] do_exit+0x9e/0x82c
[ 0.000000] [<ffffffff8105dde6>] ? kmsg_dump+0x131/0x14f
[ 0.000000] [<ffffffff8105dd3e>] ? kmsg_dump+0x89/0x14f
[ 0.000000] [<ffffffff81506201>] oops_end+0xbc/0xc5
[ 0.000000] [<ffffffff814f9841>] no_context+0x208/0x217
[ 0.000000] [<ffffffff8108eb05>] ? __lock_acquire+0xc5d/0xd0c
[ 0.000000] [<ffffffff814f9a20>] __bad_area_nosemaphore+0x1d0/0x1f1
[ 0.000000] [<ffffffff8100765f>] ?
__raw_callee_save_xen_restore_fl+0x11/0x1e
[ 0.000000] [<ffffffff81007641>] ? __raw_callee_save_xen_save_fl+0x11/0x1e
[ 0.000000] [<ffffffff814f9a54>] bad_area_nosemaphore+0x13/0x15
[ 0.000000] [<ffffffff8150830b>] do_page_fault+0x1b1/0x3a2
[ 0.000000] [<ffffffff81007641>] ? __raw_callee_save_xen_save_fl+0x11/0x1e
[ 0.000000] [<ffffffff815057b6>] ? error_sti+0x5/0x6
[ 0.000000] [<ffffffff81505324>] ? restore_args+0x30/0x30
[ 0.000000] [<ffffffff8108adcb>] ? arch_local_save_flags+0xb/0xd
[ 0.000000] [<ffffffff8108b8bf>] ? trace_hardirqs_off_caller+0x33/0x90
[ 0.000000] [<ffffffff81253dcd>] ? trace_hardirqs_off_thunk+0x3a/0x3c
[ 0.000000] [<ffffffff81505575>] page_fault+0x25/0x30
[ 0.000000] [<ffffffff81006437>] ? __xen_set_pte+0x51/0x5b
[ 0.000000] [<ffffffff81006401>] ? __xen_set_pte+0x1b/0x5b
[ 0.000000] [<ffffffff8100655c>] xen_set_pte+0x75/0x95
[ 0.000000] [<ffffffff81032ddc>] set_pte+0x10/0x12
[ 0.000000] [<ffffffff81033305>] set_pte_vaddr_pud+0x3c/0x4b
[ 0.000000] [<ffffffff81005141>] xen_set_fixmap+0xb4/0xbb
[ 0.000000] [<ffffffff81d593d5>] map_vsyscall+0x50/0x69
[ 0.000000] [<ffffffff81d58aab>] setup_arch+0xa7e/0xb2f
[ 0.000000] [<ffffffff814fa131>] ? printk+0x51/0x53
[ 0.000000] [<ffffffff81d538a3>] start_kernel+0xe1/0x3ea
[ 0.000000] [<ffffffff81d532c4>] x86_64_start_reservations+0xaf/0xb3
[ 0.000000] [<ffffffff81d55f18>] xen_start_kernel+0x588/0x58f
(XEN) Domain 0 crashed: 'noreboot' set - not rebooting.
konsole.txt
Description: Text document
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|