search for: kernel_version

Displaying 20 results from an estimated 109 matches for "kernel_version".

2016 Nov 21
2
[PATCH 1/2] kernel: refactor build_kernel & find_kernel
...5 deletions(-) diff --git a/src/kernel.ml b/src/kernel.ml index 9b0e8a2..2e061d8 100644 --- a/src/kernel.ml +++ b/src/kernel.ml @@ -40,28 +40,7 @@ let patt_of_cpu host_cpu = let rec build_kernel debug host_cpu dtb_wildcard copy_kernel kernel dtb = (* Locate the kernel. *) - let kernel_name, kernel_version = - find_kernel debug host_cpu copy_kernel kernel in - - (* If the user passed --dtb option, locate dtb. *) - (match dtb_wildcard with - | None -> () - | Some wildcard -> - find_dtb debug copy_kernel kernel_name wildcard dtb - ); - - (* Get the kernel modules. *) - let modpath =...
2017 Aug 03
14
[PATCH supermin 0/9] kernel: Multiple fixes to handling of kernels (RHBZ#1477758).
This patch series fixes several problems in the way that supermin handles kernels. The most pressing problem is that supermin doesn't handle bogus vmlinuz files which aren't actual kernels. Along the way there is a lot of clean up. The patches look much better if you view them with ‘-w’. This series will require plenty of time to be tested in Fedora, especially on non-x86 arches.
2015 Nov 13
3
Trying to compile DAHDI on Pidora 2014 (RPi)
...ahdi/dahdi-base.o In file included from /usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/drivers/dahdi/dahdi-base.c:68:0: /usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:63:5: warning: "LINUX_VERSION_CODE" is not defined [-Wundef] #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) ^ /usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include/dahdi/kernel.h:63:27: warning: "KERNEL_VERSION" is not defined [-Wundef] #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) ^ /usr/src/dahdi-linux-complete-2.10.2+2.10.2/linux/include...
2015 Dec 15
2
Wifi Driver Broadcom BCM4322 not working with Centos 7.2
Hi, I've been using in the past the broadcom wifi card BCM4322 with Centos 7.1 one in the past, with kernel 3.10.0-229.7.2.el7 and driver 6_30_223_248 and it worked well. Now I updated Centos to 7.2 and the driver is not compiling any more under kernel 3.10.0-327.3.1.el7. Neither driver 6_30_223_238 nor 6_30_223_271. Does any body experienced the same issues? Cheers, Roberto Nebot --
2014 Jun 03
2
Re: libguestfs supermin error
Hi Rich But there is no src/kernel.ml file on my ubuntu powerpc to which the above patch is reffering. I have installed supermin as supermin_5.1.8-2_powerpc.deb debian package. Thanks On Tue, Jun 3, 2014 at 7:16 PM, Richard W.M. Jones <rjones@redhat.com> wrote: > On Tue, Jun 03, 2014 at 06:55:49PM +0530, abhishek jain wrote: > > supermin: failed to find a suitable kernel
2017 May 04
4
CentOS 7 cloned VM cannot boot
On 4/5/2017 5:56 ??, Marcelo Roccasalva wrote: > dracut -f /boot/initramfs-<kernel_version>.img <kernel_version> I did: # dracut -f /boot/initramfs-3.10.0-514.10.2.el7.x86_64.img 3.10.0-514.10.2.el7.x86_64 and it ended without reporting any error. However, when I rebooted, nothing changed ("no such device: <UUID>. Entering rescue mode..."). Am I missing som...
2014 Jun 04
2
Re: libguestfs supermin error
...;armv7" -> ["armmp"] > | _ -> [host_cpu] > in > List.map (fun model -> sprintf "vmlinu?-*-%s" model) models > > let rec build_kernel debug host_cpu dtb_wildcard copy_kernel kernel dtb = > (* Locate the kernel. *) > let kernel_name, kernel_version = > find_kernel debug host_cpu copy_kernel kernel in > > (* If the user passed --dtb option, locate dtb. *) > (match dtb_wildcard with > | None -> () > | Some wildcard -> > find_dtb debug copy_kernel kernel_name wildcard dtb > ); > > (* Get th...
2019 Jan 15
2
Request for edit permission on HowTos/BuildingKernelModules
...releases - in CentOS 7 if people use the in-distro /usr/lib/rpm/redhat/kmodtool the following command won't work rpmbuild -bb --target=`uname -m` --define 'kversion 3.10.0-862.el7' testkmod.spec Instead, people should use something like rpmbuild -bb --target=`uname -m` --define 'kernel_version 3.10.0-862.el7' testkmod.spec In my case # rpmspec --define "kernel_version 3.10.0-957.el7" -P ~/testkmod.spec | grep "BuildRequire" warning: Macro %kmp_release defined but not used within scope warning: Macro %kmp_version defined but not used within scope warning: Macro %...
2007 May 04
4
zaptel compile error
I get the following error when trying to compile zaptel on CentOS 5 kernel 2.6.18-8.1.3.el5 CC [M] /root/asterisk-src/zaptel-1.2.17.1/xpp/xbus-core.o /root/asterisk-src/zaptel-1.2.17.1/xpp/xbus-core.c: In function ? /root/asterisk-src/zaptel-1.2.17.1/xpp/xbus-core.c:171: error: ? has no member named ? make[3]: *** [/root/asterisk-src/zaptel-1.2.17.1/xpp/xbus-core.o] Error 1 make[2]: ***
2017 May 04
2
CentOS 7 cloned VM cannot boot
On 4/5/2017 5:20 ??, Marcelo Roccasalva wrote: > Dumb question: the file starts with a dot, doesn't show up in "ls" without "-a". Of course, I check with ls -la.It is empty indeed. > Even dumber question: the erroring UUID exist in the origin of > thecloned guest? I guess you have rebuilt initramfs a few times now, > so I believe it is irrelevant...
2015 Jul 13
2
[PATCH 1/2] utils: import parse_size from libguestfs
--- src/utils.ml | 21 +++++++++++++++++++++ src/utils.mli | 3 +++ 2 files changed, 24 insertions(+) diff --git a/src/utils.ml b/src/utils.ml index 3e81c21..7ae24bd 100644 --- a/src/utils.ml +++ b/src/utils.ml @@ -204,3 +204,24 @@ let compare_architecture a1 a2 = exit 1 in compare (index_of_architecture a1) (index_of_architecture a2) + +(* Parse a size field, eg. "10G".
2010 Jan 12
2
kickstart %pre help on C5.4
Hey folks! I'm doing some %pre work for the first time in a very long time, and have been at this all day so far and still don't have anything sorted out properly. First I tried just doing some simple bash stuff like this %pre #!/bin/bash # stuff I reduced "stuff" down to basically a simple "select" statement to echo and read input, just for the sake of debugging.
2017 Aug 03
0
[PATCH supermin 9/9] kernel: Reject implausibly small kernels in /lib/modules (RHBZ#1477758).
...quot; [GLOB_NOSORT; GLOB_NOESCAPE] in let files = Array.to_list files in let kernels = - List.map ( + filter_map ( fun kernel_file -> - let kernel_name = Filename.basename kernel_file in - let modpath = Filename.dirname kernel_file in - let kernel_version = Filename.basename modpath in - kernel_file, kernel_name, kernel_version, modpath + let size = try (stat kernel_file).st_size with Unix_error _ -> 0 in + if size < 10000 then None + else ( + let kernel_name = Filename.basename kernel_file in +...
2004 Jun 14
0
[PATCH] dcache.c polishing
...===================== --- dcache.c (revision 1091) +++ dcache.c (working copy) @@ -44,24 +44,11 @@ #define OCFS_DEBUG_CONTEXT OCFS_DEBUG_CONTEXT_DCACHE -static int ocfs_empty_func(struct dentry *dentry, void *ignore); - -/* - * ocfs_dentry_revalidate() - * - */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) -int ocfs_dentry_revalidate (struct dentry *dentry, struct nameidata *nd) -#else -int ocfs_dentry_revalidate (struct dentry *dentry, int flags) -#endif +static int ocfs_dentry_revalidate24(struct dentry *dentry, int flags) { - int ret = 0; /* if all else fails, just return false */ str...
2005 Apr 15
0
[PATCH] Eliminate kernel version checks from i386/kernel/pci-dma.c
.../arch/xen/i386/kernel/pci-dma.c 2005-04-04 08:38:39 -07:00 +++ edited/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/pci-dma.c 2005-04-15 11:11:09 -07:00 @@ -14,14 +14,7 @@ #include <linux/version.h> #include <asm/io.h> #include <asm-xen/balloon.h> - -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) #include <asm/tlbflush.h> -#else -#define pte_offset_kernel pte_offset -#define pud_t pgd_t -#define pud_offset(d, va) d -#endif struct dma_coherent_mem { void *virt_base; @@ -85,24 +78,13 @@ xen_contig_memory(unsigned long vstart, balloon_unlock(flags); } -#if LINUX_VERSI...
2005 Feb 20
1
Mandrake & CAPI
...86 -O2 barrier i $(krnlincl) \ include/usr/src/linux/include/linux/modversions.h Going back to the original Guidance (http://www.voip-info.org/wiki-Asterisk+AVM+Fritz+CAPI+Driver+Install) I am instructed to modify the defs.h file in /usr/src/fritz/src.drv as follows - #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0) with #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 23) Great, I'm now ready to run the make command! Unfortunately the first couple of responses are as follows which to me looks very bad? And not sure what to do next? [root@asterisk src.drv]# make cc C Dmodule Dmodversions D__...
2004 Jun 06
1
[PATCH] use sb_getblk
...[i] == NULL) { LOG_TRACE_STR("bh == NULL"); status = -EIO; Index: src/inc/ocfs.h =================================================================== --- src/inc/ocfs.h (revision 1014) +++ src/inc/ocfs.h (working copy) @@ -542,21 +542,16 @@ #endif #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) -typedef struct block_device * ocfs_blockdev; typedef dev_t ocfs_dev; #define OCFS_NODEV 0 -#define OCFS_GET_BLOCKDEV(sb) ((sb)->s_bdev) #else /* 2.4 kernel */ -typedef kdev_t ocfs_blockdev; typedef int ocfs_dev; #define OCFS_NODEV NODEV -#define OCFS_GET_BLOCKDEV(sb) ((s...
2014 Apr 26
2
[supermin] Be smarter about finding suitable kernel images
...ng.sub host_cpu 0 5 = "armv7" -> ["armmp"] + | _ -> [host_cpu] + in + List.map (fun model -> sprintf "vmlinu?-*-%s" model) models + let rec build_kernel debug host_cpu dtb_wildcard copy_kernel kernel dtb = (* Locate the kernel. *) let kernel_name, kernel_version = @@ -59,9 +72,6 @@ and find_kernel debug host_cpu copy_kernel kernel = let kernel_name = Filename.basename kernel_env in kernel_env, kernel_name, kernel_version with Not_found -> - let is_x86 = - String.length host_cpu = 4 && - host_cpu.[0] = 'i...
2015 Jul 13
0
[PATCH 2/2] Add --size for ext2 filesystem
...installed) + packager_config, tmpdir, use_installed, size) inputs outputdir = if debug >= 1 then printf "supermin: build: %s\n%!" (String.concat " " inputs); @@ -210,7 +210,7 @@ let rec build debug and initrd = outputdir // "initrd" in let kernel_version, modpath = Kernel.build_kernel debug host_cpu dtb_wildcard copy_kernel kernel dtb in - Ext2.build_ext2 debug basedir files modpath kernel_version appliance; + Ext2.build_ext2 debug basedir files modpath kernel_version appliance size; Ext2_initrd.build_initrd debug tmpdir modpath i...
2014 Apr 28
2
Re: [supermin] Be smarter about finding suitable kernel images
* Richard W.M. Jones: > On Sat, Apr 26, 2014 at 02:27:07PM +0200, Hilko Bengen wrote: >> --- >> src/kernel.ml | 43 ++++++++++++++++++++++++++++--------------- >> 1 file changed, 28 insertions(+), 15 deletions(-) >> >> diff --git a/src/kernel.ml b/src/kernel.ml >> index ed5aea3..436b1b0 100644 >> --- a/src/kernel.ml >> +++ b/src/kernel.ml