[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: 2.6.37-rc1 mainline domU - BUG: unable to handle kernel paging request


  • To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
  • From: Bruce Edge <bruce.edge@xxxxxxxxx>
  • Date: Thu, 2 Dec 2010 10:05:01 -0800
  • Cc: Boris Derzhavets <bderzhavets@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
  • Delivery-date: Thu, 02 Dec 2010 10:05:59 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=RIgaFZmCaFipF+qyXUK3KGljDd9/Ce5Li/RKOFhE7DO7reTt1QqXWx5WZsCIjRhCg1 /EV9QWhGlJ8da11VTVEhJQliiFcSIURcdc07MBKiarW4Lg2eD6OPIOLU1U1bp4wz6pjj uNOQpKIGKdSiE7R7fgwjm450aUg4MLCEiGgWU=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Thu, Dec 2, 2010 at 6:41 AM, Bruce Edge <bruce.edge@xxxxxxxxx> wrote:
>
>
> On Wed, Dec 1, 2010 at 10:33 PM, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
> wrote:
>>
>> On 12/01/2010 01:32 PM, Bruce Edge wrote:
>> > I just checked the recently released 2.6.73-rc4,
>>
>> Do you mean mainline 2.6.37-rc4, or the one in xen/next-2.6.37?
>
> mainline
>
>>
>> >  and while the BUG
>> > signature is different, it still fails under NFS accesses. This is
>> > 100% recreatable.
>>
>> Please try this patch which is queued up for mainline.  It's already in
>> xen/next-2.6.37.
>
> After testing the mainline .37 I also tried xen/next-2.6.37 with the same
> result. At least, I still hit a BUG after accessing an NFS mount. I didn't
> compare the stack, but the BUG condition looked the same.
> I'll reconfirm the location and traceback of the xen/next kernel.
>
> -Bruce
>
>

I re-ran the test with xen/next-2.6.37. The fault was a bit different this time.
The dom0 started spewing these as the domU appeared to hang:

(XEN) mm.c:2732:d8 Error while installing new baseptr 47aa8
(XEN) mm.c:2389:d8 Bad type (saw 7400000000000001 != exp
1000000000000000) for mfn 47b1b (pfn 77ef3)
(XEN) mm.c:897:d8 Attempt to create linear p.t. with write perms
(XEN) mm.c:1348:d8 Failure in alloc_l2_table: entry 18
(XEN) mm.c:2142:d8 Error while validating mfn 48359 (pfn 776b5) for
type 2000000000000000: caf=8000000000000003 taf=2000000000000001
(XEN) mm.c:939:d8 Attempt to create linear p.t. with write perms
(XEN) mm.c:1458:d8 Failure in alloc_l3_table: entry 0
(XEN) mm.c:2142:d8 Error while validating mfn 49df4 (pfn 75c1a) for
type 3000000000000000: caf=8000000000000003 taf=3000000000000001
(XEN) mm.c:964:d8 Attempt to create linear p.t. with write perms
(XEN) mm.c:1505:d8 Failure in alloc_l4_table: entry 0
(XEN) mm.c:2142:d8 Error while validating mfn 47b1a (pfn 77ef4) for
type 4000000000000000: caf=8000000000000003 taf=4000000000000001
(XEN) mm.c:3057:d8 Error while installing new mfn 47b1a
(XEN) mm.c:2389:d8 Bad type (saw 7400000000000001 != exp
1000000000000000) for mfn 47b1b (pfn 77ef3)
(XEN) mm.c:897:d8 Attempt to create linear p.t. with write perms
(XEN) mm.c:1348:d8 Failure in alloc_l2_table: entry 18
(XEN) mm.c:2142:d8 Error while validating mfn 48359 (pfn 776b5) for
type 2000000000000000: caf=8000000000000003 taf=2000000000000001
(XEN) mm.c:939:d8 Attempt to create linear p.t. with write perms
(XEN) mm.c:1458:d8 Failure in alloc_l3_table: entry 0
(XEN) mm.c:2142:d8 Error while validating mfn 49df4 (pfn 75c1a) for
type 3000000000000000: caf=8000000000000003 taf=3000000000000001
(XEN) mm.c:964:d8 Attempt to create linear p.t. with write perms
(XEN) mm.c:1505:d8 Failure in alloc_l4_table: entry 0
(XEN) mm.c:2142:d8 Error while validating mfn 47aa8 (pfn 77f66) for
type 4000000000000000: caf=8000000000000003 taf=4000000000000001
(XEN) mm.c:2732:d8 Error while installing new baseptr 47aa8
(XEN) mm.c:2389:d8 Bad type (saw 7400000000000001 != exp
1000000000000000) for mfn 47b1b (pfn 77ef3)
(XEN) mm.c:897:d8 Attempt to create linear p.t. with write perms
(XEN) mm.c:1348:d8 Failure in alloc_l2_table: entry 18
(XEN) mm.c:2142:d8 Error while validating mfn 48359 (pfn 776b5) for
type 2000000000000000: caf=8000000000000003 taf=2000000000000001

Then a few seconds later there was a double fault on the domU:

[  117.035219] ------------[ cut here ]------------
[  117.035232] kernel BUG at arch/x86/xen/mmu.c:1831!
[  117.035238] invalid opcode: 0000 [#1] SMP
[  117.035248] last sysfs file: /sys/kernel/uevent_seqnum
[  117.035254] CPU 1
[  117.035260] Modules linked in: ext4 mbcache jbd2 crc16 xen_fbfront
fb_sys_fops sysimgblt sysfillrect syscopyarea xen_kbdfront
xen_netfront xen_blkfront
[  117.035307]
[  117.035313] Pid: 3964, comm: cron Not tainted
2.6.37-rc4-pvops-2.6.37-next-domu-6.0.bedge-debug #1 /
[  117.035322] RIP: e030:[<ffffffff8100482d>]  [<ffffffff8100482d>]
pin_pagetable_pfn+0x31/0x37
[  117.035342] RSP: e02b:ffff8800782e9cf8  EFLAGS: 00010282
[  117.035349] RAX: 00000000ffffffea RBX: 0000000000077539 RCX: 0000000000000001
[  117.035359] RDX: 00000000deadbeef RSI: 00000000deadbeef RDI: 00000000deadbeef
[  117.035369] RBP: ffff8800782e9d18 R08: 00003ffffffff000 R09: ffff880000000000
[  117.035376] R10: 00000000deadbeef R11: dead000000200200 R12: 0000000000000003
[  117.035383] R13: ffff880076293380 R14: ffff88007828d398 R15: ffff88007630b330
[  117.035396] FS:  00007fd61166f7a0(0000) GS:ffff88007ff5c000(0000)
knlGS:0000000000000000
[  117.035406] CS:  e033 DS: 0000 ES: 0000 CR0: 000000008005003b
[  117.035415] CR2: 00007fd60e0272f0 CR3: 0000000076350000 CR4: 0000000000002660
[  117.035424] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  117.035433] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  117.035444] Process cron (pid: 3964, threadinfo ffff8800782e8000,
task ffff88007630b330)
[  117.035453] Stack:
[  117.035459]  ffff880000000000 00000000000484d5 ffff880076280a80
0000000000077539
[  117.035480]  ffff8800782e9d38 ffffffff810066ac 0000000000077539
ffff880076280a80
[  117.035502]  ffff8800782e9d48 ffffffff810066df ffff8800782e9d88
ffffffff810e0a89
[  117.035523] Call Trace:
[  117.035534]  [<ffffffff810066ac>] xen_alloc_ptpage+0x68/0x6d
[  117.035545]  [<ffffffff810066df>] xen_alloc_pte+0xe/0x10
[  117.035559]  [<ffffffff810e0a89>] __pte_alloc+0x72/0xd7
[  117.035571]  [<ffffffff810e2dd1>] handle_mm_fault+0x12e/0x8d3
[  117.035584]  [<ffffffff810e76a9>] ? mmap_region+0x385/0x4b3
[  117.035597]  [<ffffffff8144825e>] do_page_fault+0x374/0x396
[  117.035607]  [<ffffffff8102b7be>] ? pvclock_clocksource_read+0x4b/0xb4
[  117.035617]  [<ffffffff81007c49>] ? __spin_time_accum+0x21/0x37
[  117.035626]  [<ffffffff81007ec5>] ? __xen_spin_lock+0xb7/0xcd
[  117.035637]  [<ffffffff81445415>] page_fault+0x25/0x30
[  117.035646] Code: ec 20 89 7d e0 48 89 f7 e8 c0 ff ff ff 48 8d 7d
e0 48 89 45 e8 be 01 00 00 00 31 d2 41 ba f0 7f 00 00 e8 17 cb ff ff
85 c0 74 04 <0f> 0b eb fe c9 c3 55 40 f6 c7 01 48 89 e5 53 48 89 fb 74
30 48
[  117.035857] RIP  [<ffffffff8100482d>] pin_pagetable_pfn+0x31/0x37
[  117.035871]  RSP <ffff8800782e9cf8>
[  117.035879] ---[ end trace 8a5ce27e38cb6b86 ]---
[  117.039036] ------------[ cut here ]------------
[  117.039049] kernel BUG at arch/x86/xen/mmu.c:1831!
[  117.039055] invalid opcode: 0000 [#2] SMP
[  117.039055] last sysfs file: /sys/kernel/uevent_seqnum
[  117.039055] CPU 2
[  117.039055] Modules linked in: ext4 mbcache jbd2 crc16 xen_fbfront
fb_sys_fops sysimgblt sysfillrect syscopyarea xen_kbdfront
xen_netfront xen_blkfront
[  117.039055]
[  117.039055] Pid: 3965, comm: cron Tainted: G      D
2.6.37-rc4-pvops-2.6.37-next-domu-6.0.bedge-debug #1 /
[  117.039055] RIP: e030:[<ffffffff8100482d>]  [<ffffffff8100482d>]
pin_pagetable_pfn+0x31/0x37
[  117.039055] RSP: e02b:ffff8800770fdcf8  EFLAGS: 00010282
[  117.039055] RAX: 00000000ffffffea RBX: 0000000000077c49 RCX: 0000000000000001
[  117.039055] RDX: 00000000deadbeef RSI: 00000000deadbeef RDI: 00000000deadbeef
[  117.039055] RBP: ffff8800770fdd18 R08: 00003ffffffff000 R09: ffff880000000000
[  117.039055] R10: 00000000deadbeef R11: dead000000200200 R12: 0000000000000003
[  117.039055] R13: ffff880075e9c378 R14: ffff880075ccef18 R15: ffff88007630d7c0
[  117.039055] FS:  00007fd61166f7a0(0000) GS:ffff88007ff78000(0000)
knlGS:0000000000000000
[  117.039055] CS:  e033 DS: 0000 ES: 0000 CR0: 000000008005003b
[  117.039055] CR2: 00007fd60de21280 CR3: 0000000077e5c000 CR4: 0000000000002660
[  117.039055] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  117.039055] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  117.039055] Process cron (pid: 3965, threadinfo ffff8800770fc000,
task ffff88007630d7c0)
[  117.039055] Stack:
[  117.039055]  ffff880000000000 0000000000047dc5 ffff880076283b80
0000000000077c49
[  117.039055]  ffff8800770fdd38 ffffffff810066ac 0000000000077c49
ffff880076283b80
[  117.039055]  ffff8800770fdd48 ffffffff810066df ffff8800770fdd88
ffffffff810e0a89
[  117.039055] Call Trace:
[  117.039055]  [<ffffffff810066ac>] xen_alloc_ptpage+0x68/0x6d
[  117.039055]  [<ffffffff810066df>] xen_alloc_pte+0xe/0x10
[  117.039055]  [<ffffffff810e0a89>] __pte_alloc+0x72/0xd7
[  117.039055]  [<ffffffff810e2dd1>] handle_mm_fault+0x12e/0x8d3
[  117.039055]  [<ffffffff810e76a9>] ? mmap_region+0x385/0x4b3
[  117.039055]  [<ffffffff8144825e>] do_page_fault+0x374/0x396
[  117.039055]  [<ffffffff8102b7be>] ? pvclock_clocksource_read+0x4b/0xb4
[  117.039055]  [<ffffffff81007c49>] ? __spin_time_accum+0x21/0x37
[  117.039055]  [<ffffffff81007ec5>] ? __xen_spin_lock+0xb7/0xcd
[  117.039055]  [<ffffffff81445415>] page_fault+0x25/0x30
[  117.039055] Code: ec 20 89 7d e0 48 89 f7 e8 c0 ff ff ff 48 8d 7d
e0 48 89 45 e8 be 01 00 00 00 31 d2 41 ba f0 7f 00 00 e8 17 cb ff ff
85 c0 74 04 <0f> 0b eb fe c9 c3 55 40 f6 c7 01 48 89 e5 53 48 89 fb 74
30 48
[  117.039055] RIP  [<ffffffff8100482d>] pin_pagetable_pfn+0x31/0x37
[  117.039055]  RSP <ffff8800770fdcf8>
[  117.039055] ---[ end trace 8a5ce27e38cb6b87 ]---


Here's the complete boot log for the xen/next-2.6.37 domU:

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version
2.6.37-rc4-pvops-2.6.37-next-domu-6.0.bedge-debug (root@opal) (gcc
version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #1 SMP Wed Dec 1 16:40:45 PST
2010
[    0.000000] Command line:
root=UUID=e971c31a-7353-4ac7-90c4-d6eb7fc33735 ro   iommu=soft
noirqbalance noirqbalance console=hvc0,115200n8 --flow_control=r
ip=:127.0.255.255::::eth0:dhcp
[    0.000000] ACPI in unprivileged domain disabled
[    0.000000] released 0 pages of unused memory
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  Xen: 0000000000000000 - 00000000000a0000 (usable)
[    0.000000]  Xen: 00000000000a0000 - 0000000000100000 (reserved)
[    0.000000]  Xen: 0000000000100000 - 0000000080800000 (usable)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] No AGP bridge found
[    0.000000] last_pfn = 0x80800 max_arch_pfn = 0x400000000
[    0.000000] Scanning 0 areas for low memory corruption
[    0.000000] init_memory_mapping: 0000000000000000-0000000080800000
[    0.000000] RAMDISK: 01d96000 - 02fb0000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at 0000000000000000-0000000080800000
[    0.000000] Initmem setup node 0 0000000000000000-0000000080800000
[    0.000000]   NODE_DATA [000000007fffb000 - 000000007fffffff]
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   DMA32    0x00001000 -> 0x00100000
[    0.000000]   Normal   empty
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000010 -> 0x000000a0
[    0.000000]     0: 0x00000100 -> 0x00080800
[    0.000000] SMP: Allowing 6 CPUs, 0 hotplug CPUs
[    0.000000] No local APIC present
[    0.000000] APIC: disable apic facility
[    0.000000] APIC: switched to apic NOOP
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at 80800000 (gap:
80800000:7f800000)
[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 4.1-unstable (preserve-AD)
[    0.000000] setup_percpu: NR_CPUS:32 nr_cpumask_bits:32
nr_cpu_ids:6 nr_node_ids:1
[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff88007ff40000 s82752
r8192 d23744 u114688
[    0.000000] pcpu-alloc: s82752 r8192 d23744 u114688 alloc=28*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.
Total pages: 519022
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line:
root=UUID=e971c31a-7353-4ac7-90c4-d6eb7fc33735 ro   iommu=soft
noirqbalance noirqbalance console=hvc0,115200n8 --flow_control=r
ip=:127.0.255.255::::eth0:dhcp
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Placing 64MB software IO TLB between ffff880079400000 -
ffff88007d400000
[    0.000000] software IO TLB at phys 0x79400000 - 0x7d400000
[    0.000000] Memory: 1959868k/2105344k available (4406k kernel code,
448k absent, 145028k reserved, 6320k data, 760k init)
[    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0,
CPUs=6, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU-based detection of stalled CPUs is disabled.
[    0.000000] NR_IRQS:4352 nr_irqs:320 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [hvc0] enabled
[    0.000000] installing Xen timer for CPU 0
[    0.000000] Detected 2660.088 MHz processor.
[    0.000999] Calibrating delay loop (skipped), value calculated
using timer frequency.. 5320.17 BogoMIPS (lpj=2660088)
[    0.000999] pid_max: default: 32768 minimum: 301
[    0.000999] Security Framework initialized
[    0.000999] SELinux:  Initializing.
[    0.000999] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.001433] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.001688] Mount-cache hash table entries: 256
[    0.002227] Initializing cgroup subsys ns
[    0.002240] ns_cgroup deprecated: consider using the
'clone_children' flag without the ns_cgroup.
[    0.002302] Initializing cgroup subsys cpuacct
[    0.002321] Initializing cgroup subsys freezer
[    0.002453] CPU: Unsupported number of siblings 16
[    0.002460] Performance Events: unsupported p6 CPU model 26 no PMU
driver, software events only.
[    0.002545] SMP alternatives: switching to UP code
[    0.003120] cpu 0 spinlock event irq 318
[    0.003689] NMI watchdog failed to create perf event on cpu0:
fffffffffffffffe
[    0.003999] installing Xen timer for CPU 1
[    0.004055] cpu 1 spinlock event irq 312
[    0.004092] SMP alternatives: switching to SMP code
[    0.000999] CPU: Unsupported number of siblings 16
[    0.005155] NMI watchdog failed to create perf event on cpu1:
fffffffffffffffe
[    0.005467] installing Xen timer for CPU 2
[    0.005570] cpu 2 spinlock event irq 306
[    0.000999] CPU: Unsupported number of siblings 16
[    0.005811] NMI watchdog failed to create perf event on cpu2:
fffffffffffffffe
[    0.005999] installing Xen timer for CPU 3
[    0.006037] cpu 3 spinlock event irq 300
[    0.000999] CPU: Unsupported number of siblings 16
[    0.006375] NMI watchdog failed to create perf event on cpu3:
fffffffffffffffe
[    0.006606] installing Xen timer for CPU 4
[    0.006707] cpu 4 spinlock event irq 294
[    0.000999] CPU: Unsupported number of siblings 16
[    0.006940] NMI watchdog failed to create perf event on cpu4:
fffffffffffffffe
[    0.007109] installing Xen timer for CPU 5
[    0.007155] cpu 5 spinlock event irq 288
[    0.000999] CPU: Unsupported number of siblings 16
[    0.007469] NMI watchdog failed to create perf event on cpu5:
fffffffffffffffe
[    0.007480] Brought up 6 CPUs
[    0.008105] kworker/u:0 used greatest stack depth: 5696 bytes left
[    0.010420] Grant table initialized
[    0.029827] Time: 165:165:165  Date: 165/165/65
[    0.030088] NET: Registered protocol family 16
[    0.034636] PCI: setting up Xen PCI frontend stub
[    0.042049] kworker/u:0 used greatest stack depth: 5528 bytes left
[    0.067412] bio: create slab <bio-0> at 0
[    0.069097] ACPI: Interpreter disabled.
[    0.070036] xen_balloon: Initialising balloon driver.
[    0.070208] last_pfn = 0x80800 max_arch_pfn = 0x400000000
[    0.072045] vgaarb: loaded
[    0.073389] usbcore: registered new interface driver usbfs
[    0.074077] usbcore: registered new interface driver hub
[    0.074254] usbcore: registered new device driver usb
[    0.076219] PCI: System does not support PCI
[    0.076219] PCI: System does not support PCI
[    0.078257] NetLabel: Initializing
[    0.078257] NetLabel:  domain hash size = 128
[    0.078257] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.078342] NetLabel:  unlabeled traffic allowed by default
[    0.079851] Switching to clocksource xen
[    0.105131] pnp: PnP ACPI: disabled
[    0.144415] NET: Registered protocol family 2
[    0.144886] IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.147612] TCP established hash table entries: 262144 (order: 10,
4194304 bytes)
[    0.149020] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.149263] TCP: Hash tables configured (established 262144 bind 65536)
[    0.149279] TCP reno registered
[    0.149331] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.149387] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.150021] NET: Registered protocol family 1
[    0.151039] RPC: Registered udp transport module.
[    0.151068] RPC: Registered tcp transport module.
[    0.151080] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.151537] Trying to unpack rootfs image as initramfs...
[    0.195821] Freeing initrd memory: 18536k freed
[    0.286598] DMA-API: preallocated 32768 debug entries
[    0.286610] DMA-API: debugging enabled by kernel config
[    0.288249] platform rtc_cmos: registered platform RTC device (no
PNP device found)
[    0.300038] Machine check injector initialized
[    0.308999] microcode: no support for this CPU vendor
[    0.309013] Scanning for low memory corruption every 60 seconds
[    0.312235] audit: initializing netlink socket (disabled)
[    0.312318] type=2000 audit(1291310104.544:1): initialized
[    0.351935] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.394898] VFS: Disk quotas dquot_6.5.2
[    0.395664] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.400904] NTFS driver 2.1.29 [Flags: R/W].
[    0.402874] msgmni has been set to 3864
[    0.408008] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 253)
[    0.408026] io scheduler noop registered
[    0.408035] io scheduler deadline registered
[    0.408728] io scheduler cfq registered (default)
[    0.410538] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.425531] pcifront pci-0: Installing PCI frontend
[    0.425977] pcifront pci-0: Creating PCI Frontend Bus 0000:00
[    0.443708] pcifront pci-0: claiming resource 0000:00:00.0/0
[    0.443708] pcifront pci-0: claiming resource 0000:00:00.0/2
[    0.443708] pcifront pci-0: claiming resource 0000:00:00.0/3
[    0.443708] pcifront pci-0: claiming resource 0000:00:00.0/4
[    0.443708] pcifront pci-0: claiming resource 0000:00:01.0/0
[    0.443708] pcifront pci-0: claiming resource 0000:00:01.0/2
[    0.443708] pcifront pci-0: claiming resource 0000:00:01.0/3
[    0.443708] pcifront pci-0: claiming resource 0000:00:01.0/4
[    0.443708] pcifront pci-0: claiming resource 0000:00:02.0/0
[    0.443708] pcifront pci-0: claiming resource 0000:00:02.0/2
[    0.443708] pcifront pci-0: claiming resource 0000:00:02.0/3
[    0.443708] pcifront pci-0: claiming resource 0000:00:02.0/4
[    0.443708] pcifront pci-0: claiming resource 0000:00:03.0/0
[    0.443708] pcifront pci-0: claiming resource 0000:00:03.0/2
[    0.443708] pcifront pci-0: claiming resource 0000:00:03.0/3
[    0.443708] pcifront pci-0: claiming resource 0000:00:03.0/4
[    0.728914] Non-volatile memory driver v1.3
[    0.728929] Linux agpgart interface v0.103
[    0.730416] [drm] Initialized drm 1.1.0 20060810
[    0.730437] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.833097] brd: module loaded
[    0.845967] loop: module loaded
[    0.847158] Fixed MDIO Bus: probed
[    0.849136] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.849688] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.850172] uhci_hcd: USB Universal Host Controller Interface driver
[    0.851870] usbcore: registered new interface driver usblp
[    0.852383] usbcore: registered new interface driver libusual
[    0.854370] PNP: No PS/2 controller found. Probing ports directly.
[    0.855219] i8042.c: No controller found.
[    0.855790] mice: PS/2 mouse device common for all mice
[    0.858311] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    0.858934] rtc_cmos: probe of rtc_cmos failed with error -38
[    0.860890] cpuidle: using governor ladder
[    0.860920] cpuidle: using governor menu
[    0.861007] Netfilter messages via NETLINK v0.30.
[    0.861116] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    0.862960] ctnetlink v0.93: registering with nfnetlink.
[    0.865256] ip_tables: (C) 2000-2006 Netfilter Core Team
[    0.865645] TCP cubic registered
[    0.865655] Initializing XFRM netlink socket
[    0.868322] NET: Registered protocol family 10
[    0.872388] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    0.872760] IPv6 over IPv4 tunneling driver
[    0.876502] NET: Registered protocol family 17
[    0.876723] Registering the dns_resolver key type
[    0.878973] registered taskstats version 1
[    0.879259] kmemleak: Kernel memory leak detector initialized
[    0.879313] kmemleak: Automatic memory scanning thread started
[    0.880238] XENBUS: Device with no driver: device/console/0
[    0.880238] XENBUS: Device with no driver: device/vbd/51712
[    0.880238] XENBUS: Device with no driver: device/vif/0
[    0.880238]   Magic number: 1:252:3141
[   13.395048] Freeing unused kernel memory: 760k freed
[   13.395116] Write protecting the kernel read-only data: 10240k
[   13.404961] Freeing unused kernel memory: 1716k freed
[   13.406216] Freeing unused kernel memory: 1988k freed
[   13.441682] exe used greatest stack depth: 5488 bytes left
Loading, please wait...
mount: mounting none on /dev failed: No such device
[   13.528124] udevd (1109): /proc/1109/oom_adj is deprecated, please
use /proc/1109/oom_score_adj instead.
Begin: Loading essential drivers... ...
[   13.559533] blkid used greatest stack depth: 5104 bytes left
[   13.588027] blkfront: xvda: barriers enabled
[   13.600991]  xvda: xvda1 xvda2 < xvda5 >
[   13.664386] Initialising Xen virtual ethernet driver.
[   13.671581] blkid used greatest stack depth: 4752 bytes left
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Running /scripts/local-premount ...
Done.
[   13.931586] EXT4-fs (xvda1): mounted filesystem with ordered data
mode. Opts: (null)
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.
[   14.754489] hwclock used greatest stack depth: 4608 bytes left
init: ureadahead main process (1209) terminated with status 5
[   14.854024] plymouthd used greatest stack depth: 4320 bytes left
[   16.117059] chown used greatest stack depth: 3648 bytes left
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
/dev/xvda1: clean, 57230/288576 files, 328709/1153280 blocks
 * Enable login on console                                               [ OK ]
 * Setting sensors limits
         No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
                                                                         [ OK ]
 * Initializing random number generator...                               [ OK ]
 * Setting up X server socket directory /tmp/.X11-unix...                [ OK ]
 * Setting up ICE socket directory /tmp/.ICE-unix...                     [ OK ]
 * Not starting fancontrol; run pwmconfig first.
 * Starting internet superserver inetd                                   [ OK ]
 * Starting the system activity data collector sadc
 * Restoring resolver state...                                           [ OK ]
 * Starting Tomcat servlet engine tomcat6
         Using CATALINA_BASE:   /var/lib/tomcat6
Using CATALINA_HOME:   /usr/share/tomcat6
Using CATALINA_TMPDIR: /tmp/tomcat6-tmp
Using JRE_HOME:        /usr/lib/jvm/java-6-openjdk
Using CLASSPATH:       /usr/share/tomcat6/bin/bootstrap.jar
                                                                         [ OK ]
 * Recording successful boot for GRUB
   ...done.
 * Running local boot scripts (/etc/rc.local)                            [ OK ]
mountall: Disconnected from Plymouth

6.0.16-01
uss004-dpm login:


I am going to try migrate away from NFS for dom0 <-> domU file sharing
because this is preventing us form moving to a mainline kernel.
There was one recommendation for glusterfs, is that the preferred Xen
VM file sharing option or is there something else?

Note that mounting the same dir over sshfs does not have this problem
with either .37 kernel.

-Bruce


>>
>>    J
>>
>>
>> diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
>> index 21ed8d7..0e4ecac 100644
>> --- a/arch/x86/xen/mmu.c
>> +++ b/arch/x86/xen/mmu.c
>> @@ -2358,8 +2358,6 @@ void __init xen_init_mmu_ops(void)
>>        x86_init.paging.pagetable_setup_done = xen_pagetable_setup_done;
>>        pv_mmu_ops = xen_mmu_ops;
>>
>> -       vmap_lazy_unmap = false;
>> -
>>        memset(dummy_mapping, 0xff, PAGE_SIZE);
>>  }
>>
>> diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h
>> index a03dcf6..44b54f6 100644
>> --- a/include/linux/vmalloc.h
>> +++ b/include/linux/vmalloc.h
>> @@ -7,8 +7,6 @@
>>
>>  struct vm_area_struct;         /* vma defining user mapping in mm_types.h
>> */
>>
>> -extern bool vmap_lazy_unmap;
>> -
>>  /* bits in flags of vmalloc's vm_struct below */
>>  #define VM_IOREMAP     0x00000001      /* ioremap() and friends */
>>  #define VM_ALLOC       0x00000002      /* vmalloc() */
>> diff --git a/mm/vmalloc.c b/mm/vmalloc.c
>> index a3d66b3..eb5cc7d 100644
>> --- a/mm/vmalloc.c
>> +++ b/mm/vmalloc.c
>> @@ -31,8 +31,6 @@
>>  #include <asm/tlbflush.h>
>>  #include <asm/shmparam.h>
>>
>> -bool vmap_lazy_unmap __read_mostly = true;
>> -
>>  /*** Page table manipulation functions ***/
>>
>>  static void vunmap_pte_range(pmd_t *pmd, unsigned long addr, unsigned
>> long end)
>> @@ -503,9 +501,6 @@ static unsigned long lazy_max_pages(void)
>>  {
>>        unsigned int log;
>>
>> -       if (!vmap_lazy_unmap)
>> -               return 0;
>> -
>>        log = fls(num_online_cpus());
>>
>>        return log * (32UL * 1024 * 1024 / PAGE_SIZE);
>> @@ -566,7 +561,6 @@ static void __purge_vmap_area_lazy(unsigned long
>> *start, unsigned long *end,
>>                        if (va->va_end > *end)
>>                                *end = va->va_end;
>>                        nr += (va->va_end - va->va_start) >> PAGE_SHIFT;
>> -                       unmap_vmap_area(va);
>>                        list_add_tail(&va->purge_list, &valist);
>>                        va->flags |= VM_LAZY_FREEING;
>>                        va->flags &= ~VM_LAZY_FREE;
>> @@ -611,10 +605,11 @@ static void purge_vmap_area_lazy(void)
>>  }
>>
>>  /*
>> - * Free and unmap a vmap area, caller ensuring flush_cache_vunmap had
>> been
>> - * called for the correct range previously.
>> + * Free a vmap area, caller ensuring that the area has been unmapped
>> + * and flush_cache_vunmap had been called for the correct range
>> + * previously.
>>  */
>> -static void free_unmap_vmap_area_noflush(struct vmap_area *va)
>> +static void free_vmap_area_noflush(struct vmap_area *va)
>>  {
>>        va->flags |= VM_LAZY_FREE;
>>        atomic_add((va->va_end - va->va_start) >> PAGE_SHIFT,
>> &vmap_lazy_nr);
>> @@ -623,6 +618,16 @@ static void free_unmap_vmap_area_noflush(struct
>> vmap_area *va)
>>  }
>>
>>  /*
>> + * Free and unmap a vmap area, caller ensuring flush_cache_vunmap had
>> been
>> + * called for the correct range previously.
>> + */
>> +static void free_unmap_vmap_area_noflush(struct vmap_area *va)
>> +{
>> +       unmap_vmap_area(va);
>> +       free_vmap_area_noflush(va);
>> +}
>> +
>> +/*
>>  * Free and unmap a vmap area
>>  */
>>  static void free_unmap_vmap_area(struct vmap_area *va)
>> @@ -798,7 +803,7 @@ static void free_vmap_block(struct vmap_block *vb)
>>        spin_unlock(&vmap_block_tree_lock);
>>        BUG_ON(tmp != vb);
>>
>> -       free_unmap_vmap_area_noflush(vb->va);
>> +       free_vmap_area_noflush(vb->va);
>>        call_rcu(&vb->rcu_head, rcu_free_vb);
>>  }
>>
>> @@ -936,6 +941,8 @@ static void vb_free(const void *addr, unsigned long
>> size)
>>        rcu_read_unlock();
>>        BUG_ON(!vb);
>>
>> +       vunmap_page_range((unsigned long)addr, (unsigned long)addr +
>> size);
>> +
>>        spin_lock(&vb->lock);
>>        BUG_ON(bitmap_allocate_region(vb->dirty_map, offset >> PAGE_SHIFT,
>> order));
>>
>> @@ -988,7 +995,6 @@ void vm_unmap_aliases(void)
>>
>>                                s = vb->va->va_start + (i << PAGE_SHIFT);
>>                                e = vb->va->va_start + (j << PAGE_SHIFT);
>> -                               vunmap_page_range(s, e);
>>                                flush = 1;
>>
>>                                if (s < start)
>>
>>
>
>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.