Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Kernel coverage OS11.4 ?

  1. #1
    Join Date
    Jun 2008
    Location
    Portugal
    Posts
    223

    Default Kernel coverage OS11.4 ?

    Hi,


    I have searched a bit and I can not find a way to make kernel-coverage work.
    I would really like to have a kernel pic of the current instal has this machine will be re-installed with the new 12.2.

    Anyone ever made Kernel-coverage work and got the picture on OS 11.4 64 bits ?

    Regards.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    15,314
    Blog Entries
    14

    Default Re: Kernel coverage OS11.4 ?

    On Wed 19 Dec 2012 03:36:01 PM CST, keyb user wrote:


    Hi,


    I have searched a bit and I can not find a way to make kernel-coverage
    work.
    I would really like to have a kernel pic of the current instal has this
    machine will be re-installed with the new 12.2.

    Anyone ever made Kernel-coverage work and got the picture on OS 11.4 64
    bits ?

    Regards.


    Hi
    Does this help?
    http://old-en.opensuse.org/LTP_Kernel_Coverage

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
    up 1 day 22:33, 3 users, load average: 0.20, 0.14, 0.08
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


  3. #3
    Join Date
    Jun 2008
    Location
    Portugal
    Posts
    223

    Default Re: Kernel coverage OS11.4 ?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Does this help?
    LTP Kernel Coverage - openSUSE

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
    up 1 day 22:33, 3 users, load average: 0.20, 0.14, 0.08
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU
    Nope.
    Not a bit.

    I have seen that before.
    lcov does not work.
    The make command runs perfectly on OS11.4 64 bits but takes a Huge time to stop, about 14 hours on my q9550 ...
    And then the final image.ps is empty ...


    There are no error messages whatsoever.


    Regards.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    15,314
    Blog Entries
    14

    Default Re: Kernel coverage OS11.4 ?

    On Wed 19 Dec 2012 11:06:01 PM CST, keyb user wrote:


    malcolmlewis;2511985 Wrote:
    > Hi
    > Does this help?
    > 'LTP Kernel Coverage - openSUSE'
    > (http://old-en.opensuse.org/LTP_Kernel_Coverage)
    >
    > --
    > Cheers Malcolm °¿° (Linux Counter #276890)
    > openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
    > up 1 day 22:33, 3 users, load average: 0.20, 0.14, 0.08
    > CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


    Nope.
    Not a bit.

    I have seen that before.
    lcov does not work.
    The make command runs perfectly on OS11.4 64 bits but takes a Huge time
    to stop, about 14 hours on my q9550 ...
    And then the final image.ps is empty ...


    There are no error messages whatsoever.


    Regards.


    Hi
    Doesn't sound right, the README (You have read this too?) says about
    30mins on 400Mhz celeron....

    Or which specific command in the README isn't working?

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
    up 2 days 5:36, 4 users, load average: 0.03, 0.04, 0.05
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


  5. #5
    Join Date
    Jun 2008
    Location
    Portugal
    Posts
    223

    Default Re: Kernel coverage OS11.4 ?

    Hi,

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Doesn't sound right, the README (You have read this too?) says about
    30mins on 400Mhz celeron....

    Or which specific command in the README isn't working?

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
    up 2 days 5:36, 4 users, load average: 0.03, 0.04, 0.05
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU
    README ?!?!? Why bother with those pesky details ... ??

    (just kidding, I read the readme).

    the main command :
    when we issue the

    Code:
    sudo make kernel=/sr/src/linux-<version>
    It does not give any error, it runs like hell all the time listing every possible kernel file from drivers to the more inner timmers related stuff ...
    But in the end the image.ps file, about 20MB, can not be opened with any ps editor or viewer ?!?
    And the final step to make the poster, posterize also does not even output Any type of gz file as advertized on the readme.
    If you ask me .... "It ain't workin" ...

    Regards.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    15,314
    Blog Entries
    14

    Default Re: Kernel coverage OS11.4 ?

    On Thu 20 Dec 2012 03:46:01 PM CST, keyb user wrote:


    Hi,

    malcolmlewis;2512049 Wrote:
    > Hi
    > Doesn't sound right, the README (You have read this too?) says about
    > 30mins on 400Mhz celeron....
    >
    > Or which specific command in the README isn't working?
    >
    > --
    > Cheers Malcolm °¿° (Linux Counter #276890)
    > openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
    > up 2 days 5:36, 4 users, load average: 0.03, 0.04, 0.05
    > CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


    README ?!?!? Why bother with those pesky details ... ??

    (just kidding, I read the readme).

    the main command :
    when we issue the


    Code:
    --------------------
    sudo make kernel=/sr/src/linux-<version>
    --------------------


    It does not give any error, it runs like hell all the time listing
    every possible kernel file from drivers to the more inner timmers
    related stuff ...
    But in the end the image.ps file, about 20MB, can not be opened with
    any ps editor or viewer ?!?
    And the final step to make the poster, posterize also does not even
    output Any type of gz file as advertized on the readme.
    If you ask me .... "It ain't workin" ...

    Regards.


    Hi
    Sounds like it....!!! BTW if you use the -jN (N=cpus) option after the
    make command, it should parallel build? Tweak the makefile so it only
    build part of the coverage map to see if errors can be isolated?

    Or manually run through the commands in the makefile to try and
    isolate where the errors are

    Maybe raise a bug?

    I also wonder if an old 2.6.x kernel source is downloaded and run
    against if that works?

    Finally, you don't need to run as super user (sudo) to use make....

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
    up 3 days 2:40, 3 users, load average: 0.28, 0.26, 0.17
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


  7. #7
    Join Date
    Jun 2008
    Location
    Portugal
    Posts
    223

    Default Re: Kernel coverage OS11.4 ?

    Hi,

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Sounds like it....!!! BTW if you use the -jN (N=cpus) option after the
    make command, it should parallel build? Tweak the makefile so it only
    build part of the coverage map to see if errors can be isolated?

    Or manually run through the commands in the makefile to try and
    isolate where the errors are

    Maybe raise a bug?

    I also wonder if an old 2.6.x kernel source is downloaded and run
    against if that works?

    Finally, you don't need to run as super user (sudo) to use make....

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
    up 3 days 2:40, 3 users, load average: 0.28, 0.26, 0.17
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

    - Kernel sources are installed
    - you must make sudo in order to have permissions to write the many many .ps files on the /usr/lib/kernel-coverage dir.
    - -jN option (in my case -j4) does not help. Any script command to run parallel always depends on the Software that is actually being executed. In this case Analyzing one by one every Kernel file is not a parallel process.
    - There are no errors in the entire output.

    I really think the problem here is the output .ps files ... none of them opens in any ps editor or viewer. So they are not output .ps files. something must be very wrong on the format of those files.

    Regards.

  8. #8
    dd NNTP User

    Default Re: Kernel coverage OS11.4 ?

    On 12/21/2012 02:36 PM, keyb user wrote:
    > - you must make sudo in order to have permissions to write the many
    > many .ps files on the /usr/lib/kernel-coverage dir.


    then something is wrong with the source!

    you should *always* (see footnote) run make as a user and then 'make
    install' as root (or as user if you want it installed just for the user
    running 'make install' (that is, only need to run 'make install' if you
    want all users on the machine to access the app... (been that way since
    way last century)

    *always* unless someone builds an app wrongly.

    --
    dd

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    20,316

    Default Re: Kernel coverage OS11.4 ?

    On 2012-12-21 20:58, dd wrote:
    > On 12/21/2012 02:36 PM, keyb user wrote:
    >> - you must make sudo in order to have permissions to write the many
    >> many .ps files on the /usr/lib/kernel-coverage dir.

    >
    > then something is wrong with the source!


    No, nothing is wrong, this is how kernel sources are distributed. They
    are made to be used by root. To use them as plain user you have to
    previously chown or chmod the entire tree, and this is not documented.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    20,316

    Default Re: Kernel coverage OS11.4 ?

    On 2012-12-21 14:36, keyb user wrote:
    > I really think the problem here is the output .ps files ... none of
    > them opens in any ps editor or viewer. So they are not output .ps files.
    > something must be very wrong on the format of those files.


    Run "file" on those files and find out what they are. Maybe they are ps
    files with a large preamble and no contents.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

Page 1 of 2 12 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
  •