Date: Thu, 10 Oct 2013 21:39:03 -0600 From: "Justin T. Gibbs" <gibbs@scsiguy.com> To: Michael Schmiedgen <schmiedgen@gmx.net> Cc: freebsd-current@freebsd.org Subject: Re: undefined reference to xenpci_alloc_space Message-ID: <3E0575B1-D8F9-49B6-85C1-6594F03A26B2@scsiguy.com> In-Reply-To: <5256F4BA.80209@gmx.net> References: <5256F4BA.80209@gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_C263034D-6B06-4F6C-95A3-5C9D2C086C9F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Oct 10, 2013, at 12:40 PM, Michael Schmiedgen <schmiedgen@gmx.net> = wrote: > Hi List, >=20 > is it intended that kernel does not build if >=20 > device xenpci >=20 > is omitted in the kernel config? I get the following error: >=20 > linking kernel > gnttab.o: In function `gnttab_resume': > /usr/src/sys/xen/gnttab.c:(.text+0xe47): undefined reference to = `xenpci_alloc_space' >=20 > Thanks, > Michael > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" >=20 XENHVM depends on xenpci, so you must remove XENHVM if you remove xenpci. Perhaps we should make a change similar to the attached patch in order to make this clear? -- Justin --Apple-Mail=_C263034D-6B06-4F6C-95A3-5C9D2C086C9F Content-Disposition: attachment; filename=GENERIC.diff Content-Type: application/octet-stream; name="GENERIC.diff" Content-Transfer-Encoding: 7bit Index: amd64/conf/GENERIC =================================================================== --- amd64/conf/GENERIC (revision 256304) +++ amd64/conf/GENERIC (working copy) @@ -72,7 +72,6 @@ options KDTRACE_FRAME # Ensure frames are compil options KDTRACE_HOOKS # Kernel DTrace hooks options DDB_CTF # Kernel ELF linker loads CTF data options INCLUDE_CONFIG_FILE # Include this file in kernel -options XENHVM # Include Xen support # Debugging support. Always need this: options KDB # Enable kernel debugger support. @@ -345,8 +344,10 @@ device virtio_balloon # VirtIO Memory Balloon dev # HyperV drivers device hyperv # HyperV drivers -# Xen support -device xenpci # Generic Xen bus +# Xen HVM Guest Optimizations +# NOTE: XENHVM depends on xenpci. They must be added or removed together. +options XENHVM # Xen HVM kernel infrastructure +device xenpci # Xen HVM Hypervisor services driver # VMware support device vmx # VMware VMXNET3 Ethernet Index: i386/conf/GENERIC =================================================================== --- i386/conf/GENERIC (revision 256304) +++ i386/conf/GENERIC (working copy) @@ -72,7 +72,6 @@ options MAC # TrustedBSD MAC Framework options KDTRACE_HOOKS # Kernel DTrace hooks options DDB_CTF # Kernel ELF linker loads CTF data options INCLUDE_CONFIG_FILE # Include this file in kernel -options XENHVM # Include Xen support # Debugging support. Always need this: options KDB # Enable kernel debugger support. @@ -356,8 +355,10 @@ device virtio_blk # VirtIO Block device device virtio_scsi # VirtIO SCSI device device virtio_balloon # VirtIO Memory Balloon device -# Xen support -device xenpci # Generic Xen bus +# Xen HVM Guest Optimizations +# NOTE: XENHVM depends on xenpci. They must be added or removed together. +options XENHVM # Xen HVM kernel infrastructure +device xenpci # Xen HVM Hypervisor services driver # VMware support device vmx # VMware VMXNET3 Ethernet --Apple-Mail=_C263034D-6B06-4F6C-95A3-5C9D2C086C9F--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E0575B1-D8F9-49B6-85C1-6594F03A26B2>