Displaying 13 results from an estimated 13 matches for "sysctlbyname".
2014 Jun 05
3
Cannot obtain CPU freq during vbox machine creation
Dear libvirt experts,
I can not instantiate even a simple machine when using the 'vbox' hypervisor:
s14% virt-install --connect=vbox:///session --virt-type vbox --name vtest --memory 500
ERROR cannot obtain CPU freq: No such file or directory
s14% virsh -c vbox:///session
błąd: cannot obtain CPU freq: No such file or directory
(1)
How to fix this error? The VirtualBox driver seems
2015 Jan 08
0
[PATCH] Add ARM cpu detection for iDevices
...know how useful this would be.
So my inclination would be to just always set OPUS_CPU_ARM_NEON on iOS/arm.
That said, if we do want to support runtime Neon detection on iOS, rather than checking hardware models I believe the semantically-correct way to do this is to check ?hw.optional.neon? using sysctlbyname(), as in:
unsigned int hasNeon;
size_t length = sizeof(hasNeon);
if (sysctlbyname("hw.optional.neon", &hasNeon, &length, NULL, 0) != 0)
hasNeon = 0;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20...
2015 Jan 08
2
[PATCH] Add ARM cpu detection for iDevices
This adds run-time CPU detection for iOS devices. I found this page useful
for CPU support and models: http://iossupportmatrix.com/
The patch could be simplified to just set the OPUS_CPU_ARM_NEON flag if you
think it's unlikely that anyone would be running on the really old devices
that don't support NEON.
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
2019 Feb 25
4
[cfe-dev] [8.0.0 Release] Need help with PR40761: Sanitizers broken on FreeBSD
Many thanks for digging into this, and sorry for my slow reply.
Kamil: it sounds like your commit is involved here. Any idea what's happening?
Dimitry: If we don't find anyone to debug and fix this before the
release, how bad is it for FreeBSD? Can it be worked around downstream
if 8.0.0 ships without a fix? Since I'm not entirely sure how
supported this functionality is on FreeBSD,
2005 Feb 11
1
FreeBSD 4.x problem resolved
...ID_MMX = 0x00800000;
const unsigned FLAC__CPUINFO_IA32_CPUID_FXSR = 0x01000000;
@@ -52,6 +57,15 @@
#ifndef FLAC__SSE_OS
info->data.ia32.fxsr = info->data.ia32.sse = info->data.ia32.sse2 = false;
+#else
+#if defined(__FreeBSD__)
+ {
+ int sse;
+ size_t len = sizeof(sse);
+ if (sysctlbyname("hw.instruction_sse", &sse, &len, NULL, 0) || !sse)
+ info->data.ia32.fxsr = info->data.ia32.sse = info->data.ia32.sse2 = false;
+ }
+#endif
#endif
#ifdef FLAC__USE_3DNOW
--
Christian "naddy" Weisgerber naddy@mips.inka.de
2011 Mar 12
0
try with succes rpm bind 9.7.3 with koji el4 and el5
...me modifications rpm fedora core 14 of bind-9.7.3 and patching.
diff -u unpatched/configure.in patched/configure.in
--- unpatched/configure.in 2010-07-05 14:02:20.000000000 +0200
+++ patched/configure.in 2010-07-05 14:03:48.000000000 +0200
@@ -282,7 +282,8 @@
AC_C_INLINE
AC_C_VOLATILE
AC_CHECK_FUNC(sysctlbyname, AC_DEFINE(HAVE_SYSCTLBYNAME))
-AC_C_FLEXIBLE_ARRAY_MEMBER
+# RvR: this breaks things on RHEL5
+#AC_C_FLEXIBLE_ARRAY_MEMBER
I managed to compile on EL4 and EL5
koji result
http://koji.fedoraproject.org/koji/taskinfo?taskID=2907187
http://koji.fedoraproject.org/koji/taskinfo?taskID=2907203...
2019 Jan 04
2
virsh on mac os X
Mac OS X 10.14.2
VirtualBox 5.2.22 and 6.0.0
libvirt installed via homebrew
virsh -V
Virsh command line tool of libvirt 4.10.0
See web site at https://libvirt.org/
Compiled with support for:
Hypervisors: QEMU/KVM VMware VirtualBox ESX Test
Networking: Remote Bridging
Storage: Dir
Miscellaneous: Daemon Secrets Debug
brew services start libvirt
virsh -c vbox:///session list
error:
2019 Jan 07
2
Re: virsh on mac os X
...x3b12: madvise(0x10D87E000, 0x2000, 0x5) = 0 0
918/0x3b12: madvise(0x10D406000, 0x2000, 0x5) = 0 0
918/0x3b12: access("/AppleInternal/XBS/.isChrooted\0", 0x0, 0x0) = -1
Err#2
918/0x3b12: bsdthread_register(0x7FFF6DA47408, 0x7FFF6DA473F8, 0x2000) =
1073742047 0
918/0x3b12: sysctlbyname(kern.bootargs, 0xD, 0x7FFEE285C5B0,
0x7FFEE285C5A8, 0x0) = 0 0
918/0x3b12: ioctl(0x2, 0x4004667A, 0x7FFEE285C834) = 0 0
918/0x3b12: mprotect(0x10DC0B000, 0x1000, 0x0) = 0 0
918/0x3b12: mprotect(0x10DC12000, 0x1000, 0x0) = 0 0
918/0x3b12: mprotect(0x10DC13000, 0x1000, 0x0) = 0 0
9...
2019 Jan 07
0
Re: virsh on mac os X
...1: madvise(0x1056CA000, 0x2000, 0x5) = 0 0
98962/0x5a031: madvise(0x10554C000, 0x2000, 0x5) = 0 0
98962/0x5a031: access("/AppleInternal/XBS/.isChrooted\0", 0x0, 0x0) = -1
Err#2
98962/0x5a031: bsdthread_register(0x7FFF6722B408, 0x7FFF6722B3F8, 0x2000)
= 1073742047 0
98962/0x5a031: sysctlbyname(kern.bootargs, 0xD, 0x7FFEEA7165B0,
0x7FFEEA7165A8, 0x0) = 0 0
98962/0x5a031: ioctl(0x2, 0x4004667A, 0x7FFEEA716834) = 0 0
98962/0x5a031: mprotect(0x105E1A000, 0x1000, 0x0) = 0 0
98962/0x5a031: mprotect(0x105E21000, 0x1000, 0x0) = 0 0
98962/0x5a031: mprotect(0x105E22000, 0x1000, 0x0) = 0 0...
2018 Dec 06
3
Build error while upgrading samba 4.9.3
...: ok
Checking for strupr : not found
Checking for macro strupr : not found
Checking for sysctl : ok
Checking for sysctlbyname : not found
Checking for macro sysctlbyname : not found
Checking for __sys_llseek : not found
Checking for macro __sys_llseek...
2010 Feb 04
3
3.3 and 3.4 compile failure on dbwrap
...h presence... no
checking for libexc.h... no
checking libunwind.h usability... no
checking libunwind.h presence... no
checking for libunwind.h... no
checking for library containing backtrace_symbols... no
checking for backtrace_symbols... no
checking for trace_back_stack in -lexc... no
checking for sysctlbyname... no
checking gpfs_gpl.h usability... no
checking gpfs_gpl.h presence... no
checking for gpfs_gpl.h... no
checking for Isilon OneFS... no
checking for libunwind... no
checking for _dup... yes
checking for _dup2... yes
checking for _opendir... yes
checking for _readdir... yes
checking for _seekdir....
2010 May 11
1
Samba 3.5.2 compile on AIX
...h presence... no
checking for libexc.h... no
checking libunwind.h usability... no
checking libunwind.h presence... no
checking for libunwind.h... no
checking for library containing backtrace_symbols... no
checking for backtrace_symbols... no
checking for trace_back_stack in -lexc... no
checking for sysctlbyname... no
checking gpfs_gpl.h usability... no
checking gpfs_gpl.h presence... no
checking for gpfs_gpl.h... no
checking for Isilon OneFS... no
checking for libunwind... no
checking for _dup... no
checking for _dup2... no
checking for _opendir... no
checking for _readdir... yes
checking for _seekdir......
2013 Jan 07
4
3.6.10 file handle leak under ancient 32-bit kernel
.... no
checking for libexc.h... no
checking libunwind.h usability... no
checking libunwind.h presence... no
checking for libunwind.h... no
checking for library containing backtrace_symbols... none required
checking for backtrace_symbols... yes
checking for trace_back_stack in -lexc... no
checking for sysctlbyname... no
checking for /proc/sys/kernel/core_pattern... yes
checking gpfs_gpl.h usability... no
checking gpfs_gpl.h presence... no
checking for gpfs_gpl.h... no
checking for Isilon OneFS... no
checking for libunwind... no
checking for _dup... no
checking for _dup2... no
checking for _opendir... no
chec...