Source-Changes-D archive

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

Re: CVS commit: src/sys/arch



Module Name:    src
Committed By:   cherry
Date:           Tue May  6 04:26:24 UTC 2014

Modified Files:
        src/sys/arch/x86/x86: pmap.c
        src/sys/arch/xen/include: xenpmap.h
        src/sys/arch/xen/x86: x86_xpmap.c

Log Message:
Use the hypervisor to copy/zero pages. This saves us the extra overheads
of setting up temporary kernel mapping/unmapping.

riz@ reports savings of about 2s on a 120s kernel build.

This commit seems to have broken the ability to boot NetBSD under at least some hypervisors. My VPS at prgmr.com boots fine with a kernel from just before this change. However, with this commit, the following
panic occurs:

...
xc_dom_bzimageloader.c:350: panic: xc_dom_probe_bzimage_kernel: kernel is not a 
bzImage
close blk: backend=/local/domain/0/backend/vbd/550/51712 node=device/vbd/51712
close blk: backend=/local/domain/0/backend/vbd/550/51776 node=device/vbd/51776
close blk: backend=/local/domain/0/backend/vbd/550/51792 node=device/vbd/51792
panic: xen_pagezero

(Complete log from the boot is available.)

I have no control over the DOM0 environment, so I'm not sure of exactly which hypervisor is running.

(I suppose the problem could also be a boot-loader problem, so if it matters, this is with Grub 0.97)

The problem is not time-critical, since I have installed a 6.1.4_PATCH without any problem. But perhaps we might want to revert this change for now...


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index