Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Kernel coverage OS11.4 ?

  1. #11
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,246
    Blog Entries
    15

    Default Re: Kernel coverage OS11.4 ?

    On Sat 22 Dec 2012 12:08:11 AM CST, Carlos E. R. wrote:

    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.

    Hi
    In this case no, the kernel source is only read from not written too,
    it's the makefile using the file system in /usr/lib/kernel-coverage. The
    program can be run all as a user thus;

    Code:
    mkdir ~/coverage
    set -- /usr/lib/kernel-coverage/*
    cp  -r "$@" ~/coverage
    cd coverage
    make KERNEL_DIR=/usr/src/linux
    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
    up 1:25, 3 users, load average: 0.22, 0.07, 0.06
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


  2. #12
    Join Date
    Aug 2008
    Location
    Texas, US
    Posts
    232

    Default Re: Kernel coverage OS11.4 ?

    This is a very old thread, but I would like to add a comment.

    I am currently running openSUSE 13.1 with kernel-default-3.17.1 and the option to use multiple cores works fine. My command was "make -j8" and all cores show a load most of the time. I have yet to learn whether or not the kernel-coverage package is compatible with the newest kernels, but I'll find out soon enough.
    I had it running yesterday using the instructions from the README file. It had been running for 26 hours when my electric service was interrupted and I had to shut down.

  3. #13
    Join Date
    Aug 2008
    Location
    Texas, US
    Posts
    232

    Default Re: Kernel coverage OS11.4 ?

    Everything went very quickly, then I got errors. I should clarify my comment from my last post. The number of cores necessary were used. Sometimes 8 and as few as 3 at times. I don't think that the program ran 15 minutes before the error. If anyone can make sense of these, please do:
    Code:
    cd image && make image.ps
    make[1]: Entering directory `/home/ronnie/coverage/image'
    Making Ring 1
    I got small_row_scrunch=0.900000, small_row_max=0.000000 
    finished
    Done Ring 1
    find: ‘arch/Kconfig’: No such file or directory
    Runtime error (func=(main), adr=21): Divide by zero
    Runtime error (func=(main), adr=21): Divide by zero
    Rendering net-ring2.ps
    Rendering fs-ring2.ps
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    /bin/sh: line 1:   721 Segmentation fault      ../draw_arrangement 1 0 `cat net-ring2.angle` `cat ring1.radius` 0.9 2 `find net -name '*-all.ps'` > net-ring2.ps
    make[1]: *** [net-ring2.ps] Error 139
    make[1]: *** Waiting for unfinished jobs....
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    /bin/sh: line 1:   742 Segmentation fault      ../draw_arrangement 1 0 `cat fs-ring2.angle` `cat ring1.radius` 0.9 2 `find fs -name '*-all.ps'` > fs-ring2.ps
    make[1]: *** [fs-ring2.ps] Error 139
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    Runtime error (func=(main), adr=22): Divide by zero
    rm ring1.radius
    make[1]: Leaving directory `/home/ronnie/coverage/image'
    make: *** [image.ps] Error 2

Page 2 of 2 FirstFirst 12

Posting Permissions

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