Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35

Thread: Kernel 2.6.39-rc? The Next Kernel is Here to Test - Post Your Comments Here!

  1. #1
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Kernel 2.6.39-rc? The Next Kernel is Here to Test - Post Your Comments Here!

    I skipped kernel 2.6.39.rc1 and just tried to compile kernel 2.6.39-rc2, but it has failed to compile twice so far with Exit code 2. Has anyone else looked at or tried to use the next kernel 2.6.39 so far?

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  2. #2
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: Kernel 2.6.39-rc? The Next Kernel is Here to Test - Post YourComments Here!

    On 04/09/2011 09:06 AM, jdmcdaniel3 wrote:
    >
    > I skipped kernel 2.6.39.rc1 and just tried to compile kernel 2.6.39-rc2,
    > but it has failed to compile twice so far with Exit code 2. Has anyone
    > else looked at or tried to use the next kernel 2.6.39 so far?


    Yes. I have been running both 2.6.39-rc1 and -rc2.

    Note, exit code 2 only says that make found an error. As such, that conveys no
    information. You need to go back through the console output and find the place
    that gcc found an error and report that.

  3. #3
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Kernel 2.6.39-rc? The Next Kernel is Here to Test - Post YourComments Here!

    Looking through the capture file I found this information:

    Code:
    In file included from drivers/staging/keucr/smilecc.c:6:0:
    drivers/staging/keucr/smcommon.h:9:0: warning: "SUCCESS" redefined
    include/scsi/scsi.h:463:0: note: this is the location of the previous definition
      CC [M]  drivers/usb/image/microtek.o
      CC [M]  drivers/staging/iio/adc/max1363_ring.o
    drivers/staging/hv/hv_mouse.c: In function ReleaseInputDevice:
    drivers/staging/hv/hv_mouse.c:293:3: error: implicit declaration of function udelay
    make[3]: *** [drivers/staging/hv/hv_mouse.o] Error 1
    make[2]: *** [drivers/staging/hv] Error 2
    make[2]: *** Waiting for unfinished jobs....
    This was the only thing that said Error 2 in it.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,336
    Blog Entries
    15

    Default Re: Kernel 2.6.39-rc? The Next Kernel is Here to Test - Post YourComments Here!

    Hi
    That would be the same error here;
    https://patchwork.kernel.org/patch/18485/

    Looks like someone forgot to include delay.h (or it's alternative in the newer kernel).
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Kernel 2.6.39-rc? The Next Kernel is Here to Test - Post YourComments Here!

    So it indicates this is the Patch:

    Code:
    diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c
    index 96934f0..791501d 100644
    --- a/kernel/trace/trace_events.c
    +++ b/kernel/trace/trace_events.c
    @@ -15,6 +15,7 @@ 
     #include <linux/uaccess.h>
     #include <linux/module.h>
     #include <linux/ctype.h>
    +#include <linux/delay.h>
     
     #include "trace_output.h"
    Just how would one implement this patch to the kernel 2.6.39.rc2? Obviously I can just wait for kernel 2.6.39-rc3 to come out.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,336
    Blog Entries
    15

    Default Re: Kernel 2.6.39-rc? The Next Kernel is Here to Test - Post YourComments Here!

    Hi
    If linux/delay.h is there, you would need to check in /include/linux/ all you need to do as a quick hack is edit drivers/staging/hv/hv_mouse.c to add the line. Then recompile. If it works, make a patch and submit it to kernel.org.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Kernel 2.6.39-rc? The Next Kernel is Here to Test - Post YourComments Here!

    So from all of this I was able to put together the following actions:

    1. You found a kernel 2.6.39-rc2 problem report on drivers/staging/hv/hv_mouse.o file I was having problems with.
    2. The report suggested an issue with delay.h. I checked in the folder include/linux/ and found the file delay.h
    3. So then I modified the file drivers/staging/hv/hv_mouse.c to add the line #include <linux/delay.h>
    4. Since I am using SAKC, I had to put a pause in, before the file was compile to modify the hv_mouse.c text file to add in the line.
    5. The Kernel File 2.6.39-rc2 then compiled properly.

    So, with your help, I was able to fix the issue. I am not sure I understand the proper procedure for this fix nor just what I report as a bug or what I would submit as a fix. It is not clear to me if everyone or just who would see this error. Can someone compile this kernel OK due to having different hardware or if not, why would some say it compiled OK for them? Just a few more questions for being so smart.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,336
    Blog Entries
    15

    Default Re: Kernel 2.6.39-rc? The Next Kernel is Here to Test - Post YourComments Here!

    Hi
    Different compile flags would possibly be the reason.

    Looks like it's already been discussed here;
    Re: [PATCH]drivers:staging:hv:hv_mouse.c Fix build error in hv_mouse. | Linux | Kernel
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: Kernel 2.6.39-rc? The Next Kernel is Here to Test - Post YourComments Here!

    On 04/09/2011 01:36 PM, malcolmlewis wrote:
    >
    > Hi
    > Different compile flags would possibly be the reason.
    >
    > Looks like it's already been discussed here;
    > 'Re: [PATCH]drivers:staging:hv:hv_mouse.c Fix build error in hv_mouse.
    > | Linux | Kernel'
    > (http://www.gossamer-threads.com/list...kernel/1363198)


    The most likely explanation is that some systems or architectures are including
    delay.h in a manner that other systems do not. That way, it compiles for some
    people and not for others. This kind of thing slips through. I recently missed
    an include for a wireless driver. The code would compile for i386 and x86_64
    architectures, but fail for ARM and PPC.

    FWIW, the fix for this problem went into the mainline kernel on Wed., April 6 as
    commit 7e3bf1d3308934bc1b8ca492f47. It will be part of 2.6.39-rc3 and is already
    part of 2.6.39-rc2-gitX.

  10. #10
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Kernel 2.6.39-rc? The Next Kernel is Here to Test - Post YourComments Here!

    Well, the new kernel 2.6.39-rc2 does load, but none of my NVIDIA drivers will load any more including 260.19.44 or 270.30 so I guess I will be waiting for a new Video driver version as well. I will give it another shot when kernel 2.6.39-rc3 hits the streets.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •