Re: Build mainline driver for another Kernel Version

2023-05-17 Thread Greg KH
On Wed, May 17, 2023 at 09:47:21AM +0100, Lucas Tanure wrote: > On Wed, May 17, 2023 at 9:22 AM Greg KH wrote: > > > > On Wed, May 17, 2023 at 09:16:45AM +0100, Lucas Tanure wrote: > > > Hi, > > > > > > Can I build a driver in the mainline kernel to a p

Re: Build mainline driver for another Kernel Version

2023-05-17 Thread Lucas Tanure
On Wed, May 17, 2023 at 9:22 AM Greg KH wrote: > > On Wed, May 17, 2023 at 09:16:45AM +0100, Lucas Tanure wrote: > > Hi, > > > > Can I build a driver in the mainline kernel to a previous kernel version? > > Not easily, and you really do not want to do that as the

Re: Build mainline driver for another Kernel Version

2023-05-17 Thread Greg KH
On Wed, May 17, 2023 at 09:16:45AM +0100, Lucas Tanure wrote: > Hi, > > Can I build a driver in the mainline kernel to a previous kernel version? Not easily, and you really do not want to do that as the whole kernel source, drivers included, are a snapshot in time and depend on e

Build mainline driver for another Kernel Version

2023-05-17 Thread Lucas Tanure
Hi, Can I build a driver in the mainline kernel to a previous kernel version? Like, in the mainline kernel, I have a Z driver, and I want to use that driver for my current stable driver in my embedded system with version kernel 5.15. Is there a procedure to build a kernel driver against other

Problem building an out of tree modules for kernel version 5.8.0

2021-04-28 Thread Michael McCann
I'm trying to build out of tree modules for kernel version 5.8.0 for a X86 host. Below are the results when I attempt to compile the modules. *test@test-GA-78LMT-USB3-6-0:~/X86module$ ./BuildDrivermake: Entering directory '/home/test/LinuxKernel/linux-git' CC

Re: Why new kernel version cannot be installed on old Ubuntu?

2020-12-05 Thread Valdis Klētnieks
ng you to have a 3.10.0, a 3.10.61, a 4.18.0, a 5.8-5.10 kernel or two, and still have room for a dozen or so builds if you find a need to bisect something. And the *vast* majority of stuff will Work Just Fine even if the kernel version doesn't match the /usr userspace - there's no

Re: Why new kernel version cannot be installed on old Ubuntu?

2020-12-05 Thread Ezra Buehler
Hi Joontaek, On 5 Dec 2020, at 14:35, Joontaek Oh wrote: > I tried to install them on a single OS among Ubuntu 14.04, 16.04, 18.04, > and Centos7.4, but I failed, being hung up during booting. > > If you know why the problem occurs and how can it be solved, could reply > me? Well, one would def

Why new kernel version cannot be installed on old Ubuntu?

2020-12-05 Thread Joontaek Oh
Dear kernelnewbies mailing system. Hello, I am a student studying the Linux kernel. I mostly use the Linux kernel version 3.10.61 or 4.18.0, and Ubuntu for the Linux distribution. However, version 3.10.61 is not installed on the late Ubuntu version (18.04), while version 4.18.0 is not installed

Re: Report on Linux kernel version 4.16

2018-05-27 Thread Ruben Safir
On 05/23/2018 06:31 AM, Cornelius Vanderbilt wrote: > hen linux kernel version 4.16 was released you were supposed to publish a > detailed report about all the changes it had and post it here - > www.https://kernelnewbies.org/LinuxVersions - like the way you have done for > a

Report on Linux kernel version 4.16

2018-05-23 Thread Cornelius Vanderbilt
Hey, This is addressed to the moderators of kernelnewbies.org or anybody associated with it.I would like to say the current state of affair on the website (kernelnewbies.org) isnot very nice.When linux kernel version 4.16 was released you were supposed to publish a detailed report about all

答复: 1. Kernel version for new drivers (Dushara Jayasinghe)

2017-05-02 Thread 许文武
can reach the person managing the list at kernelnewbies-ow...@kernelnewbies.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Kernelnewbies digest..." Today's Topics: 1. Kernel version for new drivers (Dushara Jayasinghe)

Re: Kernel version for new drivers

2017-05-01 Thread Dushara Jayasinghe
On 2/05/2017 11:03 AM, Greg KH wrote: > In short, you always have to add new features to the latest development > verison of the kernel. > > hope this helps, > It does. Thanks. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://list

Re: Kernel version for new drivers

2017-05-01 Thread Greg KH
On Tue, May 02, 2017 at 09:05:18AM +1000, Dushara Jayasinghe wrote: > Hi all, > > Not sure if this has been covered elsewhere. I'm working on a sama5d2 > based device where the kernel supported by the hardware vendor is 4.4. > Any drivers we develop and test are based on this version of the kern

Kernel version for new drivers

2017-05-01 Thread Dushara Jayasinghe
Hi all, Not sure if this has been covered elsewhere. I'm working on a sama5d2 based device where the kernel supported by the hardware vendor is 4.4. Any drivers we develop and test are based on this version of the kernel. Do the kernel maintainers accept drivers for older (but maintained) vers

Re: building last kernel version

2016-12-02 Thread Alexander Kapshuk
On Fri, Dec 2, 2016 at 6:02 AM, Ahmed Adel wrote: > your solution is correct. Thanks you so much You're welcome. Good to hear it worked out for you. Thanks for letting us know. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://list

building last kernel version

2016-12-01 Thread Ahmed Adel
Hi, I'm trying to build the latest version of kernel. i followed steps on this link https://kernelnewbies.org/KernelBuild .I switched to branch v4.9-rc9 when I check my current branch using command (git status), I get ( On branch v4.9-rc9 ) .when I complete next steps on the page and open .conf fi

Re: Kernel Version 4.6.3 - build error

2016-07-02 Thread Michael McCann
Thank you, problem solved! On Sat, Jul 2, 2016 at 3:38 PM, Andrey Skvortsov wrote: > On 02 Jul, Michael McCann wrote: > > Has anyone seen this problem when building 4.6.3? > > > > Mike KB2GHZ > > > > > > * HOSTCC scripts/recordmcount HOSTCC scripts/sortextable HOSTCC > > scripts/asn1_compile

Re: Kernel Version 4.6.3 - build error

2016-07-02 Thread Andrey Skvortsov
On 02 Jul, Michael McCann wrote: > Has anyone seen this problem when building 4.6.3? > > Mike KB2GHZ > > > * HOSTCC scripts/recordmcount HOSTCC scripts/sortextable HOSTCC > scripts/asn1_compiler HOSTCC scripts/sign-filescripts/sign-file.c:25:30: > fatal error: openssl/opensslv.h: No such f

Kernel Version 4.6.3 - build error

2016-07-02 Thread Michael McCann
Has anyone seen this problem when building 4.6.3? Mike KB2GHZ * HOSTCC scripts/recordmcount HOSTCC scripts/sortextable HOSTCC scripts/asn1_compiler HOSTCC scripts/sign-filescripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory #include

Re: Compare two diiferent kernel version

2016-04-22 Thread Greg KH
On Fri, Apr 22, 2016 at 11:23:28AM +0530, vish chopra wrote: > Hi, > > i'm new to driver development. > how can i compare two different kernel version to see changes git diff v4.4..v4.5 :) > and also help me with how i can make changes to kernel and notice its > effec

Compare two diiferent kernel version

2016-04-21 Thread vish chopra
Hi, i'm new to driver development. how can i compare two different kernel version to see changes and also help me with how i can make changes to kernel and notice its effect. please help with this. thank you Regards, Vishal Chopra +91-78375

Re: SPI Slave Patch - Kernel Version

2016-02-10 Thread maitysanchayan
Hi, On 16-02-02 06:46:33, Asharaf P wrote: > Hai, > > I was looking for SPI slave support and found some patches at linux-spi > mailing list[1]. > > I am using custom branch[2] from freescale based on 3.14, on which the above > patch failed, so how can i find the base version of the above pat

SPI Slave Patch - Kernel Version

2016-02-01 Thread Asharaf P
Hai, I was looking for SPI slave support and found some patches at linux-spi mailing list[1]. I am using custom branch[2] from freescale based on 3.14, on which the above patch failed, so how can i find the base version of the above patch set, also can anyone help me to find the status of the

Re: kernel version

2014-12-11 Thread Valdis . Kletnieks
On Thu, 11 Dec 2014 20:48:38 +0530, p.rameshb...@globaledgesoft.com said: > How can I change the kernel version from 3.12 to 3.5.0.45-generic? First, figure out *why* you need to do that. There's probably a better solution. > Whether I need to download the source code for 3.5.0.45-

kernel version

2014-12-11 Thread p . rameshbabu
Hi All, How can I change the kernel version from 3.12 to 3.5.0.45-generic? Whether I need to download the source code for 3.5.0.45-generic and I need to compile it? Regards, Ramesh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Porting PCi driver from 2.6.32 to 3.x kernel version

2014-08-04 Thread Omkar Houddin
e the I'm getting different value than what I used to get on 2.6.32 kernel version. *3.11.6.4 Kernel verison:* scull_ioctl: SCULL_SOFT_RESET 2014-08-04T08:06:24.839008-07:00 kernel: [ 2065.546754] calling softReset... 2014-08-04T08:06:24.839009-07:00 kernel: [ 2065.546756] softReset: star

Re:Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-14 Thread shhuiw
Some info needed: * Output of 'getconf PAGESIZE' [or PAGE_SIZE] on 2 systems * Output of 'free' before and after the application run on the 2 systems * Output of 'top' on the 2 systems * Does the application call mlock on the mmaped area? -- Regards, shhuiw At 2014-07-14 03:04:50, "Amit A

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-14 Thread Amit Agarwal
On 14-07-2014 12:20, shhuiw wrote: > Will you please show us your application code, if possible? Or at > least the mmap part. The application code is proprietary, so I cannot disclose that. For the mmap part, we are not doing mmap explicitly in our code, rather the binary is linked to some dynam

Re:Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-13 Thread shhuiw
Will you please show us your application code, if possible? Or at least the mmap part. So that we can figure out the testcase to reproduce on our boxes. -- Regards, shhuiw At 2014-07-11 04:01:03, "Amit Agarwal" wrote: >Hi, > > >On 10-07-2014 11:12, shhuiw wrote: >> Hi, >> >> How about set

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-11 Thread Amit Agarwal
Hi Dave, On 11-07-2014 12:29, Dave Tian wrote: Compare the .config and ‘sysctl -a’ of the two running system may give a hint from the kernel configuration and running parameters. ‘sysctl -a’ may be much more useful in this case, I guess. I compared the config files and they are verbatim same.

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-11 Thread Amit Agarwal
Hi, On 10-07-2014 11:12, shhuiw wrote: > Hi, > > How about setting /proc/sys/vm/min_free_kbytes to small values, e.g 128? > And what's the output on other workable system? > Tried changing min_free_kbytes, with this change, application comes up but dies a little later while allocating memory lat

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-11 Thread Dave Tian
Compare the .config and ‘sysctl -a’ of the two running system may give a hint from the kernel configuration and running parameters. ‘sysctl -a’ may be much more useful in this case, I guess. Dave Tian dave.jing.t...@gmail.com On Jul 10, 2014, at 10:46 PM, Amit Agarwal wrote: > Hi Shhuiw, >

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-10 Thread Amit Agarwal
Hi Shhuiw, On 11-07-2014 11:12, shhuiw wrote: > What's your workable OS and kernel on the same system, please? > We can't change the OS and kernel on the system having issues as it has other services running which are live and we cannot disturb them. So, we tried with same OS and kernel in anoth

Re:Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-10 Thread shhuiw
What's your workable OS and kernel on the same system, please? -- Regards, shhuiw At 2014-07-11 12:52:54, "Amit Agarwal" wrote: >Hi Shhuiw, > >On 10-07-2014 12:36, shhuiw wrote: >> . >> Confused. >> The words "When we are running the same application on other system, >> it comes up. " >> H

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-10 Thread Amit Agarwal
Hi Shhuiw, On 10-07-2014 12:36, shhuiw wrote: > . > Confused. > The words "When we are running the same application on other system, > it comes up. " > How can the program run on other systems? By another system, I meant to say with same OS and kernel but on another host. -- Thanks, -aka http:

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-10 Thread Amit Agarwal
Hi Rik, On 10-07-2014 11:38, Rik van Riel wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 07/09/2014 08:23 AM, Amit Agarwal wrote: >> Hi All, >> >> We are running a 32 bit application on RHEL6.3-64 bit OS with >> kernel version 2.6.32-279.

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-10 Thread Amit Agarwal
On 2014-07-10 10:33, Greg KH wrote: > On Wed, Jul 09, 2014 at 05:53:29PM +0530, Amit Agarwal wrote: >> Hi All, >> >> We are running a 32 bit application on RHEL6.3-64 bit OS with kernel >> version 2.6.32-279.el6.x86_64. > > Great. So ask them for support

Re:Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-10 Thread shhuiw
At 2014-07-10 02:08:04, "Rik van Riel" wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >On 07/09/2014 08:23 AM, Amit Agarwal wrote: >> Hi All, >> >> We are running a 32 bit application on RHEL6.3-64 bit OS with >> kernel version 2

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-09 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/09/2014 08:23 AM, Amit Agarwal wrote: > Hi All, > > We are running a 32 bit application on RHEL6.3-64 bit OS with > kernel version 2.6.32-279.el6.x86_64. > > While running this application we see the following when running &g

Re:Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-09 Thread shhuiw
Hi, How about setting /proc/sys/vm/min_free_kbytes to small values, e.g 128? And what's the output on other workable system? -- Regards, shhuiw At 2014-07-09 08:23:29, "Amit Agarwal" wrote: >Hi All, > >We are running a 32 bit application on RHEL6.3-64 bit OS with

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-09 Thread Greg KH
On Wed, Jul 09, 2014 at 05:53:29PM +0530, Amit Agarwal wrote: > Hi All, > > We are running a 32 bit application on RHEL6.3-64 bit OS with kernel > version 2.6.32-279.el6.x86_64. Great. So ask them for support for this as you are paying for it, nothing that we can do about i

Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-09 Thread Amit Agarwal
Hi All, We are running a 32 bit application on RHEL6.3-64 bit OS with kernel version 2.6.32-279.el6.x86_64. While running this application we see the following when running under strace: mmap(offset=33230848, len=2068480) failed with errno=12 for the file The system has enough RAM, total

Re: Adding a syscall to specific kernel version

2014-06-05 Thread Valdis . Kletnieks
On Thu, 05 Jun 2014 18:10:06 +0530, Dipanjan Das said: > Why isn't there a consistent interface for addition of syscall across > kernel version? Please read Documentation/stable_api_nonsense.txt for the explanation. > How will I get to know the method for a specific kernel vers

Re: Adding a syscall to specific kernel version

2014-06-05 Thread Greg KH
s, at least one of those is > missing in all the cases. > > Why isn't there a consistent interface for addition of syscall across kernel > version? Because code changes over time for valid reasons. If it didn't, the project would be dead. > How will I get to know the meth

Adding a syscall to specific kernel version

2014-06-05 Thread Dipanjan Das
rface for addition of syscall across kernel version? How will I get to know the method for a specific kernel version officially? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Magic number in kernel version string

2013-08-29 Thread Woody Wu
On Wed, Aug 28, 2013 at 07:22:13PM -0700, Anatol Pomozov wrote: > Hi, > > > On Wed, Aug 28, 2013 at 6:56 PM, Woody Wu wrote: > > > Hi, > > > > In my own built kernel, its version string (via uname -a) has a magic > > number: 'Linux MyProd 3.x.x-LOCALVERSION-9b5c9ab2-dirty' > > > > I want to und

Re: Magic number in kernel version string

2013-08-28 Thread Anatol Pomozov
Hi, On Wed, Aug 28, 2013 at 6:56 PM, Woody Wu wrote: > Hi, > > In my own built kernel, its version string (via uname -a) has a magic > number: 'Linux MyProd 3.x.x-LOCALVERSION-9b5c9ab2-dirty' > > I want to understand, where the '9b5c9ab2-dirty' comes from and how can > I change it? Thanks. > T

Magic number in kernel version string

2013-08-28 Thread Woody Wu
Hi, In my own built kernel, its version string (via uname -a) has a magic number: 'Linux MyProd 3.x.x-LOCALVERSION-9b5c9ab2-dirty' I want to understand, where the '9b5c9ab2-dirty' comes from and how can I change it? Thanks. -- I can't go back to yesterday - because I was a different person the

topic about old linux kernel version 0.11

2012-12-03 Thread horse_rivers
hi,    I use bochs to boot linux 0.11 kernel .I put kernel image to floppy , when it run to mount root-file system , it prints    "reset floppy called"    hoe to continue with this issure? thanks! ___ Kernelnewbies mailing list Kernelnewbies@kerne

Re: Linux Kernel Version 3.x

2011-12-12 Thread Philip Downer
On 12/12/11 04:14, Kaushal Shriyan wrote: > Please help me understand the difference between Linux Kernel 3.x vs > Linux Kernel 2.6. And also i have not understood > http://www.phoronix.com/scan.php?page=news_item&px=OTUwMg > about 2.6.40

Re: Linux Kernel Version 3.x

2011-12-11 Thread Stephen Gream
3.0 was just in recognition of Linux's 20th anniversary. There are no real major technical differences (except maybe I think KVM support was improved, don't hold me to that, though) On Mon, Dec 12, 2011 at 3:14 PM, Kaushal Shriyan wrote: > Hi, > > Please help me understand the difference between

Linux Kernel Version 3.x

2011-12-11 Thread Kaushal Shriyan
Hi, Please help me understand the difference between Linux Kernel 3.x vs Linux Kernel 2.6. And also i have not understood http://www.phoronix.com/scan.php?page=news_item&px=OTUwMg about 2.6.40 meaning 3.0 version. And also help me understand about linux-next and mainline vs stable branch on http:

Re: kernel version incorporating a particular feature

2011-10-12 Thread Matt Schulte
;>>> On Wed, Oct 12, 2011 at 2:14 PM, amit mehta wrote: >>>>>> How do i find the linux kernel version from which a certain >>>>>> feature was first incorporated. For example , How do i find the >>>>>> first kernel version which had suppor

Re: kernel version incorporating a particular feature

2011-10-12 Thread Jeff Kirsher
t;>>> How do i find the linux kernel version from which a certain >>>>> feature was first incorporated. For example , How do i find the >>>>> first kernel version which had support for >>>>> GRO (generic receive offload) ? >>>>> >>

Re: kernel version incorporating a particular feature

2011-10-12 Thread amit mehta
On Wed, Oct 12, 2011 at 4:46 PM, Jeff Kirsher wrote: > On 10/12/2011 02:17 AM, amit mehta wrote: >> On Wed, Oct 12, 2011 at 2:20 PM, rohan puri wrote: >>> >>> On Wed, Oct 12, 2011 at 2:14 PM, amit mehta wrote: >>>> How do i find the linux kernel versio

Re: kernel version incorporating a particular feature

2011-10-12 Thread Jeff Kirsher
On 10/12/2011 02:17 AM, amit mehta wrote: > On Wed, Oct 12, 2011 at 2:20 PM, rohan puri wrote: >> >> On Wed, Oct 12, 2011 at 2:14 PM, amit mehta wrote: >>> How do i find the linux kernel version from which a certain >>> feature was first incorporated. For exam

Re: kernel version incorporating a particular feature

2011-10-12 Thread amit mehta
On Wed, Oct 12, 2011 at 2:20 PM, rohan puri wrote: > > > On Wed, Oct 12, 2011 at 2:14 PM, amit mehta wrote: >> >> How do i find the linux kernel version from which a certain >> feature was first incorporated. For example , How do i find the >> first kernel ver

Re: kernel version incorporating a particular feature

2011-10-12 Thread rohan puri
On Wed, Oct 12, 2011 at 2:14 PM, amit mehta wrote: > How do i find the linux kernel version from which a certain > feature was first incorporated. For example , How do i find the > first kernel version which had support for > GRO (generic receive offload) ? > &

kernel version incorporating a particular feature

2011-10-12 Thread amit mehta
How do i find the linux kernel version from which a certain feature was first incorporated. For example , How do i find the first kernel version which had support for GRO (generic receive offload) ? Thanks, Amit ___ Kernelnewbies mailing list

Re: how to download a specific kernel version from kernel.org

2011-05-23 Thread Greg KH
On Mon, May 23, 2011 at 04:38:29PM +0530, sandeep kumar wrote: > Hi all, > I want to download kernel version 2.6.35 for a specific reason. > I have a patch which is to be applied to that specific kernel revision. >   > But in kernel.org i m finding only 2.6.35.13 only.(May be i

Re: how to download a specific kernel version from kernel.org

2011-05-23 Thread Robert P. J. Day
On Mon, 23 May 2011, sandeep kumar wrote: > Hi all, > I want to download kernel version 2.6.35 for a specific reason. > I have a patch which is to be applied to that specific kernel revision. >   > But in kernel.org i m finding only 2.6.35.13 only.(May be i cudnot find it) >  

Re: how to download a specific kernel version from kernel.org

2011-05-23 Thread Daniel Baluta
Try this: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.35.tar.gz thanks, Daniel. On Mon, May 23, 2011 at 2:08 PM, sandeep kumar wrote: > Hi all, > I want to download kernel version 2.6.35 for a specific reason. > I have a patch which is to be applied to that specific kernel

how to download a specific kernel version from kernel.org

2011-05-23 Thread sandeep kumar
Hi all, I want to download kernel version 2.6.35 for a specific reason. I have a patch which is to be applied to that specific kernel revision. But in kernel.org i m finding only 2.6.35.13 only.(May be i cudnot find it) Pls tell me How to download that? Thanks in advance.. -- With regards