No sample file found

View: New views
16 Messages — Rating Filter:   Alert me  

No sample file found

by Washington Ratso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I am running Linux 2.6.26 on an MPC8248.  I am using the command sequence below.
 
1.  Why, except for the ./opcontrol --init command, am I getting the " mount: mounting nodev on /dev/oprofile failed: Device or resource busy" message.  I see that load_module is called everytime I issue the opcontrol command.  Is this to be expected?
 
2.  Why is no sample file found?  I am getting a large oprofiled.log file.
 
 
Eclipse # ./opcontrol --init
 
Eclipse # ./opcontrol --no-vmlinux
 
Entering try_reset_sample_file
mount: mounting nodev on /dev/oprofile failed: Device or resource busy
 
Eclipse # ./opcontrol --image=/root/freescale_test
mount: mounting nodev on /dev/oprofile failed: Device or resource busy
 
Eclipse # ./opcontrol --start-daemon -V
mount: mounting nodev on /dev/oprofile failed: Device or resource busy
Parameters used:
SESSION_DIR /var/lib/oprofile
LOCK_FILE /var/lib/oprofile/lock
SAMPLES_DIR /var/lib/oprofile/samples
CURRENT_SAMPLES_DIR /var/lib/oprofile/samples/current
CPUTYPE timer
BUF_SIZE default value
BUF_WATERSHED default value
CPU_BUF_SIZE default value
SEPARATE_LIB 0
SEPARATE_KERNEL 0
SEPARATE_THREAD 0
SEPARATE_CPU 0
CALLGRAPH 0
VMLINUX none
KERNEL_RANGE
XENIMAGE none
XEN_RANGE
 
Eclipse # ./opcontrol --start
mount: mounting nodev on /dev/oprofile failed: Device or resource busy
Profiler running.
 
Eclipse # /root/freescale_test
 
Eclipse # ./opcontrol --dump
mount: mounting nodev on /dev/oprofile failed: Device or resource busy
 
Eclipse # ./opreport -c
./opreport error: No sample file found: try running opcontrol --dump
or specify a session containing sample files
 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No sample file found

by Robert Richter-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 31.10.09 14:02:23, jobhunts02@... wrote:
> CPUTYPE timer

There is a bug in oprofile 0.9.5 wrt timer mode. You may want to apply
the changes below to your opcontrol script. There will be a bug fix
release 0.9.6 available soon.

-Robert

commit 18352baa22cad98660dee481d05bf0e7d42d803c
Author: maynardj <maynardj>
Date:   Mon Sep 14 20:18:38 2009 +0000

    Fix timer mode regression

diff --git a/ChangeLog b/ChangeLog
index 9162deb..2538e7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-14  Suravee Suthikulpanit <suravee.suthikulpanit@...>
+
+       * utils/opcontrol: Fix timer mode
+
 2009-09-08  Robert Richter <robert.richter@...>
 
        * utils/opcontrol: fix deinit; kill daemon only if running to prevent
diff --git a/utils/opcontrol b/utils/opcontrol
index 0317ecd..c438eca 100644
--- a/utils/opcontrol
+++ b/utils/opcontrol
@@ -587,7 +587,7 @@ verify_counters()
 # setup any needed default value in chosen events
 normalise_events()
 {
-       if test "$NR_CHOSEN" -le 0; then
+       if test "$NR_CHOSEN" -le 0 || test "$IS_TIMER" = 1; then
                return
        fi
 
@@ -1453,8 +1453,12 @@ do_start_daemon()
                --separate-thread=$SEPARATE_THREAD \
                --separate-cpu=$SEPARATE_CPU"
 
-       if ! test -z "$OPROFILED_EVENTS"; then
-               OPD_ARGS="$OPD_ARGS --events=$OPROFILED_EVENTS"
+       if test "$IS_TIMER" = 1; then
+               OPD_ARGS="$OPD_ARGS --events="
+       else
+               if ! test -z "$OPROFILED_EVENTS"; then
+                       OPD_ARGS="$OPD_ARGS --events=$OPROFILED_EVENTS"
+               fi
        fi
 
        if test "$VMLINUX" = "none"; then

--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@...


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No sample file found

by Washington Ratso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I made that change and now I get an invalid sample file error and overflow stats not available warning rather than a no sample file error (see below).  Any suggestions?

Eclipse # ./opreport -c

Overflow stats not available

./opreport error: Invalid sample file, bad magic number: /var/lib/oprofile/samples/current/{root}/usr/bin/freescale_test/{dep}/{root}/usr/bin/freescale_test/TIMER.0.0.all.all.all



On Nov 2, 2009, at 4:43 AM, Robert Richter <robert.richter@...> wrote:

On 31.10.09 14:02:23, jobhunts02@... wrote:
CPUTYPE timer

There is a bug in oprofile 0.9.5 wrt timer mode. You may want to apply
the changes below to your opcontrol script. There will be a bug fix
release 0.9.6 available soon.

-Robert

commit 18352baa22cad98660dee481d05bf0e7d42d803c
Author: maynardj <maynardj>
Date:   Mon Sep 14 20:18:38 2009 +0000

   Fix timer mode regression

diff --git a/ChangeLog b/ChangeLog
index 9162deb..2538e7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-14  Suravee Suthikulpanit <suravee.suthikulpanit@...>
+
+       * utils/opcontrol: Fix timer mode
+
2009-09-08  Robert Richter <robert.richter@...>

       * utils/opcontrol: fix deinit; kill daemon only if running to prevent
diff --git a/utils/opcontrol b/utils/opcontrol
index 0317ecd..c438eca 100644
--- a/utils/opcontrol
+++ b/utils/opcontrol
@@ -587,7 +587,7 @@ verify_counters()
# setup any needed default value in chosen events
normalise_events()
{
-       if test "$NR_CHOSEN" -le 0; then
+       if test "$NR_CHOSEN" -le 0 || test "$IS_TIMER" = 1; then
               return
       fi

@@ -1453,8 +1453,12 @@ do_start_daemon()
               --separate-thread=$SEPARATE_THREAD \
               --separate-cpu=$SEPARATE_CPU"

-       if ! test -z "$OPROFILED_EVENTS"; then
-               OPD_ARGS="$OPD_ARGS --events=$OPROFILED_EVENTS"
+       if test "$IS_TIMER" = 1; then
+               OPD_ARGS="$OPD_ARGS --events="
+       else
+               if ! test -z "$OPROFILED_EVENTS"; then
+                       OPD_ARGS="$OPD_ARGS --events=$OPROFILED_EVENTS"
+               fi
       fi

       if test "$VMLINUX" = "none"; then

--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@...

=
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Parent Message unknown Re: No sample file found

by Washington Ratso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Now, in addition to this error,

Eclipse # ./opreport -c

Overflow stats not available

./opreport error: Invalid sample file, bad magic number: /var/lib/oprofile/samples/current/{root}/usr/bin/freescale_test/{dep}/{root}/usr/bin/freescale_test/TIMER.0.0.all.all.all

 

 

In /var/lib/oprofile/samples/oprofiled.log, I am seeing the following repeated.  What could cause this?

Opening "/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all"

oprofiled: open of /var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all failed: Invalid argument

Sample 0x44c(0): /root/freescale_test(c7846700), app invalid(ffffffffffffffff)

Opening "/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all"

oprofiled: open of /var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all failed: Invalid argument

Sample 0x460(0): /root/freescale_test(c7846700), app invalid(ffffffffffffffff)

Opening "/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all"

oprofiled: open of /var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all failed: Invalid argument

Sample 0x44c(0): /root/freescale_test(c7846700), app invalid(ffffffffffffffff)

Opening "/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all"

oprofiled: open of /var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all failed: Invalid argument

Sample 0x440(0): /root/freescale_test(c7846700), app invalid(ffffffffffffffff)

 

 

 
In a message dated 11/2/2009 4:53:10 A.M. Pacific Standard Time, robert.richter@... writes:
On 31.10.09 14:02:23, jobhunts02@... wrote:
> CPUTYPE timer

There is a bug in oprofile 0.9.5 wrt timer mode. You may want to apply
the changes below to your opcontrol script. There will be a bug fix
release 0.9.6 available soon.

-Robert

commit 18352baa22cad98660dee481d05bf0e7d42d803c
Author: maynardj <maynardj>
Date:   Mon Sep 14 20:18:38 2009 +0000

    Fix timer mode regression

diff --git a/ChangeLog b/ChangeLog
index 9162deb..2538e7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-14  Suravee Suthikulpanit <suravee.suthikulpanit@...>
+
+       * utils/opcontrol: Fix timer mode
+
2009-09-08  Robert Richter <robert.richter@...>

        * utils/opcontrol: fix deinit; kill daemon only if running to prevent
diff --git a/utils/opcontrol b/utils/opcontrol
index 0317ecd..c438eca 100644
--- a/utils/opcontrol
+++ b/utils/opcontrol
@@ -587,7 +587,7 @@ verify_counters()
# setup any needed default value in chosen events
normalise_events()
{
-       if test "$NR_CHOSEN" -le 0; then
+       if test "$NR_CHOSEN" -le 0 || test "$IS_TIMER" = 1; then
                return
        fi

@@ -1453,8 +1453,12 @@ do_start_daemon()
                --separate-thread=$SEPARATE_THREAD \
                --separate-cpu=$SEPARATE_CPU"

-       if ! test -z "$OPROFILED_EVENTS"; then
-               OPD_ARGS="$OPD_ARGS --events=$OPROFILED_EVENTS"
+       if test "$IS_TIMER" = 1; then
+               OPD_ARGS="$OPD_ARGS --events="
+       else
+               if ! test -z "$OPROFILED_EVENTS"; then
+                       OPD_ARGS="$OPD_ARGS --events=$OPROFILED_EVENTS"
+               fi
        fi

        if test "$VMLINUX" = "none"; then

--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@...


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No sample file found

by Maynard Johnson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

JobHunts02@... wrote:
> Now, in addition to this error,
>
>
>
> Eclipse  # ./opreport -c
> Overflow  stats not available
> ./opreport  error: Invalid sample file, bad magic number:  
> /var/lib/oprofile/samples/current/{root}/usr/bin/freescale_test/{dep}/{root}/usr/bin/freescal
> e_test/TIMER.0.0.all.all.all

Make sure you clear out the old samples dir and re-run the profiler before
trying to generate a report.  To clear the samples dir, either do 'opcontrol
--reset' or simply 'rm -rf /var/lib/oprofile/samples/current.

-Maynard

>
> In /var/lib/oprofile/samples/oprofiled.log, I am seeing the  following
> repeated.  What could cause this?
> Opening  
> "/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all"
> oprofiled: open of  
> /var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all  failed:
> Invalid argument
> Sample 0x44c(0): /root/freescale_test(c7846700), app  
> invalid(ffffffffffffffff)
> Opening  
> "/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all"
> oprofiled: open of  
> /var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all  failed:
> Invalid argument
> Sample 0x460(0): /root/freescale_test(c7846700), app  
> invalid(ffffffffffffffff)
> Opening  
> "/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all"
> oprofiled: open of  
> /var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all  failed:
> Invalid argument
> Sample 0x44c(0): /root/freescale_test(c7846700), app  
> invalid(ffffffffffffffff)
> Opening  
> "/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all"
> oprofiled: open of  
> /var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all  failed:
> Invalid argument
> Sample 0x440(0): /root/freescale_test(c7846700), app  
> invalid(ffffffffffffffff)
>
>
>
>
> In a message dated 11/2/2009 4:53:10 A.M. Pacific Standard Time,  
> robert.richter@... writes:
>
> On  31.10.09 14:02:23, jobhunts02@... wrote:
>> CPUTYPE  timer
>
> There is a bug in oprofile 0.9.5 wrt timer mode. You may want to  apply
> the changes below to your opcontrol script. There will be a bug  fix
> release 0.9.6 available soon.
>
> -Robert
>
> commit  18352baa22cad98660dee481d05bf0e7d42d803c
> Author: maynardj  <maynardj>
> Date:   Mon Sep 14 20:18:38 2009  +0000
>
> Fix timer mode regression
>
> diff --git  a/ChangeLog b/ChangeLog
> index 9162deb..2538e7d 100644
> ---  a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,7 @@
> +2009-09-14  Suravee  Suthikulpanit <suravee.suthikulpanit@...>
> +
> +     * utils/opcontrol: Fix timer mode
> +
> 2009-09-08  Robert  Richter <robert.richter@...>
>
> *  utils/opcontrol: fix deinit; kill daemon only if running to prevent
> diff  --git a/utils/opcontrol b/utils/opcontrol
> index 0317ecd..c438eca  100644
> --- a/utils/opcontrol
> +++ b/utils/opcontrol
> @@ -587,7 +587,7  @@ verify_counters()
> # setup any needed default value in chosen  events
> normalise_events()
> {
> -       if test  "$NR_CHOSEN" -le 0; then
> +       if test "$NR_CHOSEN"  -le 0 || test "$IS_TIMER" = 1; then
> return
> fi
>
> @@  -1453,8 +1453,12 @@ do_start_daemon()
> --separate-thread=$SEPARATE_THREAD \
> --separate-cpu=$SEPARATE_CPU"
>
> -       if ! test -z  "$OPROFILED_EVENTS"; then
> -             OPD_ARGS="$OPD_ARGS --events=$OPROFILED_EVENTS"
> +     if test "$IS_TIMER" = 1; then
> +         OPD_ARGS="$OPD_ARGS --events="
> +     else
> +                if ! test -z "$OPROFILED_EVENTS"; then
> +           OPD_ARGS="$OPD_ARGS  --events=$OPROFILED_EVENTS"
> +             fi
> fi
>
> if test "$VMLINUX" = "none"; then
>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> oprofile-list mailing list
> oprofile-list@...
> https://lists.sourceforge.net/lists/listinfo/oprofile-list


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No sample file found

by Washington Ratso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried that and am still seeing the "bad magic number" error when running opreport and "Invalid argument" entries in oprofiled.log.

 

 

The commands I am using and part of oprofiled.log follow.  Any suggestions?

 

Eclipse # rm /var/lib/oprofile/samples/oprofiled.log

Eclipse # rm -rf /var/lib/oprofile/samples/current/

Eclipse # cd /usr/bin/

Eclipse # ./opcontrol --init

mount: mounting nodev on /dev/oprofile failed: Device or resource busy

Eclipse # ./opcontrol --no-vmlinux

mount: mounting nodev on /dev/oprofile failed: Device or resource busy

Eclipse # ./opcontrol --image=freescale_test

mount: mounting nodev on /dev/oprofile failed: Device or resource busy

Eclipse # ./opcontrol --start -V

mount: mounting nodev on /dev/oprofile failed: Device or resource busy

Parameters used:

SESSION_DIR /var/lib/oprofile

LOCK_FILE /var/lib/oprofile/lock

SAMPLES_DIR /var/lib/oprofile/samples

CURRENT_SAMPLES_DIR /var/lib/oprofile/samples/current

CPUTYPE timer

BUF_SIZE default value

BUF_WATERSHED default value

CPU_BUF_SIZE default value

SEPARATE_LIB 0

SEPARATE_KERNEL 0

SEPARATE_THREAD 0

SEPARATE_CPU 0

CALLGRAPH 0

VMLINUX none

KERNEL_RANGE

XENIMAGE none

XEN_RANGE

executing oprofiled --session-dir=/var/lib/oprofile --separate-lib=0 --separate-kernel=0 --separate-thread=0 --separate-cpu=0 --events= --no-vmlinux --image=freescale_test --verbose=all

Adding to image filter: "/usr/bin/freescale_test"

Using 2.6+ OProfile kernel interface.

Using log file /var/lib/oprofile/samples/oprofiled.log

Daemon started.

Profiler running.

Eclipse # ./freescale_test

Eclipse # ./opcontrol --shutdown

mount: mounting nodev on /dev/oprofile failed: Device or resource busy

Stopping profiling.

Killing daemon.

Eclipse # ./opreport

./opreport error: Invalid sample file, bad magic number: /var/lib/oprofile/samples/current/{root}/usr/bin/freescale_test/{dep}/{root}/usr/bin/freescale_test/TIMER.0.0.all.all.all

 

 

/var/lib/oprofile/samples/ oprofiled.log has repeated entries like:

 

Opening "/var/lib/oprofile/samples//current/{root}//usr/bin/freescale_test/{dep}/{root}//usr/bin/freescale_test/TIMER.0.0.all.all.all"

oprofiled: open of /var/lib/oprofile/samples//current/{root}//usr/bin/freescale_test/{dep}/{root}//usr/bin/freescale_test/TIMER.0.0.all.all.all failed: Invalid argument

Sample 0x574(0): /usr/bin/freescale_test(c784ef80), app invalid(ffffffffffffffff)

Opening "/var/lib/oprofile/samples//current/{root}//usr/bin/freescale_test/{dep}/{root}//usr/bin/freescale_test/TIMER.0.0.all.all.all"

oprofiled: open of /var/lib/oprofile/samples//current/{root}//usr/bin/freescale_test/{dep}/{root}//usr/bin/freescale_test/TIMER.0.0.all.all.all failed: Invalid argument

Sample 0x58c(0): /usr/bin/freescale_test(c784ef80), app invalid(ffffffffffffffff)

Opening "/var/lib/oprofile/samples//current/{root}//usr/bin/freescale_test/{dep}/{root}//usr/bin/freescale_test/TIMER.0.0.all.all.all"

oprofiled: open of /var/lib/oprofile/samples//current/{root}//usr/bin/freescale_test/{dep}/{root}//usr/bin/freescale_test/TIMER.0.0.all.all.all failed: Invalid argument

Sample 0x5a8(0): /usr/bin/freescale_test(c784ef80), app invalid(ffffffffffffffff)

Opening "/var/lib/oprofile/samples//current/{root}//usr/bin/freescale_test/{dep}/{root}//usr/bin/freescale_test/TIMER.0.0.all.all.all"

oprofiled: open of /var/lib/oprofile/samples//current/{root}//usr/bin/freescale_test/{dep}/{root}//usr/bin/freescale_test/TIMER.0.0.all.all.all failed: Invalid argument

Sample 0x574(0): /usr/bin/freescale_test(c784ef80), app invalid(ffffffffffffffff)

Opening "/var/lib/oprofile/samples//current/{root}//usr/bin/freescale_test/{dep}/{root}//usr/bin/freescale_test/TIMER.0.0.all.all.all"

oprofiled: open of /var/lib/oprofile/samples//current/{root}//usr/bin/freescale_test/{dep}/{root}//usr/bin/freescale_test/TIMER.0.0.all.all.all failed: Invalid argument

Sample 0x5a0(0): /usr/bin/freescale_test(c784ef80), app invalid(ffffffffffffffff)

Opening "/var/lib/oprofile/samples//current/{root}//usr/bin/freescale_test/{dep}/{root}//usr/bin/freescale_test/TIMER.0.0.all.all.all"

oprofiled: open of /var/lib/oprofile/samples//current/{root}//usr/bin/freescale_test/{dep}/{root}//usr/bin/freescale_test/TIMER.0.0.all.all.all failed: Invalid argument

Sample 0x5a8(0): /usr/bin/freescale_test(c784ef80), app invalid(ffffffffffffffff)

Opening "/var/lib/oprofile/samples//current/{root}//usr/bin/freescale_test/{dep}/{root}//usr/bin/freescale_test/TIMER.0.0.all.all.all"

oprofiled: open of /var/lib/oprofile/samples//current/{root}//usr/bin/freescale_test/{dep}/{root}//usr/bin/freescale_test/TIMER.0.0.all.all.all failed: Invalid argument

Sample 0x5a0(0): /usr/bin/freescale_test(c784ef80), app invalid(ffffffffffffffff)




On Nov 3, 2009, at 7:47 AM, Maynard Johnson <maynardj@...> wrote:

JobHunts02@... wrote:
Now, in addition to this error,



Eclipse  # ./opreport -c
Overflow  stats not available
./opreport  error: Invalid sample file, bad magic number:  
/var/lib/oprofile/samples/current/{root}/usr/bin/freescale_test/{dep}/{root}/usr/bin/freescal
e_test/TIMER.0.0.all.all.all

Make sure you clear out the old samples dir and re-run the profiler before
trying to generate a report.  To clear the samples dir, either do 'opcontrol
--reset' or simply 'rm -rf /var/lib/oprofile/samples/current.

-Maynard


In /var/lib/oprofile/samples/oprofiled.log, I am seeing the  following
repeated.  What could cause this?
Opening  
"/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all"
oprofiled: open of  
/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all  failed:
Invalid argument
Sample 0x44c(0): /root/freescale_test(c7846700), app  
invalid(ffffffffffffffff)
Opening  
"/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all"
oprofiled: open of  
/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all  failed:
Invalid argument
Sample 0x460(0): /root/freescale_test(c7846700), app  
invalid(ffffffffffffffff)
Opening  
"/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all"
oprofiled: open of  
/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all  failed:
Invalid argument
Sample 0x44c(0): /root/freescale_test(c7846700), app  
invalid(ffffffffffffffff)
Opening  
"/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all"
oprofiled: open of  
/var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all  failed:
Invalid argument
Sample 0x440(0): /root/freescale_test(c7846700), app  
invalid(ffffffffffffffff)




In a message dated 11/2/2009 4:53:10 A.M. Pacific Standard Time,  
robert.richter@... writes:

On  31.10.09 14:02:23, jobhunts02@... wrote:
CPUTYPE  timer

There is a bug in oprofile 0.9.5 wrt timer mode. You may want to  apply
the changes below to your opcontrol script. There will be a bug  fix
release 0.9.6 available soon.

-Robert

commit  18352baa22cad98660dee481d05bf0e7d42d803c
Author: maynardj  <maynardj>
Date:   Mon Sep 14 20:18:38 2009  +0000

Fix timer mode regression

diff --git  a/ChangeLog b/ChangeLog
index 9162deb..2538e7d 100644
---  a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-14  Suravee  Suthikulpanit <suravee.suthikulpanit@...>
+
+     * utils/opcontrol: Fix timer mode
+
2009-09-08  Robert  Richter <robert.richter@...>

*  utils/opcontrol: fix deinit; kill daemon only if running to prevent
diff  --git a/utils/opcontrol b/utils/opcontrol
index 0317ecd..c438eca  100644
--- a/utils/opcontrol
+++ b/utils/opcontrol
@@ -587,7 +587,7  @@ verify_counters()
# setup any needed default value in chosen  events
normalise_events()
{
-       if test  "$NR_CHOSEN" -le 0; then
+       if test "$NR_CHOSEN"  -le 0 || test "$IS_TIMER" = 1; then
return
fi

@@  -1453,8 +1453,12 @@ do_start_daemon()
--separate-thread=$SEPARATE_THREAD \
--separate-cpu=$SEPARATE_CPU"

-       if ! test -z  "$OPROFILED_EVENTS"; then
-             OPD_ARGS="$OPD_ARGS --events=$OPROFILED_EVENTS"
+     if test "$IS_TIMER" = 1; then
+         OPD_ARGS="$OPD_ARGS --events="
+     else
+                if ! test -z "$OPROFILED_EVENTS"; then
+           OPD_ARGS="$OPD_ARGS  --events=$OPROFILED_EVENTS"
+             fi
fi

if test "$VMLINUX" = "none"; then



------------------------------------------------------------------------

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference


------------------------------------------------------------------------

_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list
=
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No sample file found

by Robert Richter-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 03.11.09 10:21:40, jobhunts02@... wrote:

> I tried that and am still seeing the "bad magic number" error when  
> running opreport and "Invalid argument" entries in oprofiled.log.
>
>
> The commands I am using and part of oprofiled.log follow.  Any  
> suggestions?
>
> Eclipse # rm /var/lib/oprofile/samples/oprofiled.log
> Eclipse # rm -rf /var/lib/oprofile/samples/current/
> Eclipse # cd /usr/bin/
> Eclipse # ./opcontrol --init
> mount: mounting nodev on /dev/oprofile failed: Device or resource busy

There is an error mounting oprofilefs, try the following steps to
debug this:

First, unmount /dev/oprofile if it is there.

The script tries to mount the oprofile filesystem that the kernel
should provide. It checks /proc/filesystems, you should get something
like this on your system:

 # cat /proc/filesystems | grep oprofile
 nodev  oprofilefs

If it is not there, the script tries then to load the oprofile module
and checks the filesystem again. oprofile should then be listed in
/proc/modules and also oprofilefs in /proc/filesystems. If not, the
script fails. Maybe /proc is disabled or not available? Not sure if
this is a config option.

You can also try to mount oprofile directly:

 # mkdir /dev/oprofile
 # mount -t oprofilefs nodev /dev/oprofile

Also, it seems you are using an own build of oprofile, which version
are you using. Did you use configure/make/make install to install the
package on your system? Which config did you use to compile your
kernel?

-Robert

--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@...


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Parent Message unknown Re: No sample file found

by Washington Ratso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

First, are there any books that cover oprofile in depth that you can recommend?


I assume that TIMER.0.0.all.all.all is a sample database file.   I transferred the files TIMER.0.0.all.all.all and abi from my powerpc target to my PC host and converted  TIMER.0.0.all.all.all using opimport to output_file.

 

$ opimport -a abi -o output_file TIMER.0.0.all.all.all

 

Can I now get profile information from output_file using my host machine?  If so, how?

 

I tried unmounting and mounting /dev/oprofile and am still getting the " mount: mounting nodev on /dev/oprofile failed: Device or resource busy" warnings.

 

> Also, it seems you are using an own build of oprofile, which version are you using.

oprofile-0.9.5

 

> Did you use configure/make/make install to install the package on your system?

No.  I cross-compiled oprofile on my host PC for my target powerpc board (MPC8248 running Linux 2.6.26).  After cross-compiling, I copied opcontrol and opreport to the /usr/bin directory on my target board.  I cross-compiled oprofile.ko and then copied and insmod it on my target board.

 

> Which config did you use to compile your kernel?

 #

# Automatically generated make config: don't edit

# Linux kernel version: 2.6.26

# Wed Nov  4 09:12:42 2009

#

CONFIG_WORD_SIZE=32

CONFIG_MMU=y

CONFIG_GENERIC_HARDIRQS=y

CONFIG_RWSEM_XCHGADD_ALGORITHM=y

CONFIG_ARCH_HAS_ILOG2_U32=y

# CONFIG_ARCH_HAS_ILOG2_U64 is not set

CONFIG_GENERIC_HWEIGHT=y

CONFIG_GENERIC_CALIBRATE_DELAY=y

CONFIG_PPC=y

CONFIG_PPC32=y

CONFIG_GENERIC_NVRAM=y

CONFIG_GENERIC_FIND_NEXT_BIT=y

CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y

CONFIG_ARCH_MAY_HAVE_PC_FDC=y

CONFIG_GENERIC_BUG=y

CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

 

#

# General setup

#

CONFIG_EXPERIMENTAL=y

CONFIG_BROKEN_ON_SMP=y

CONFIG_LOCK_KERNEL=y

CONFIG_INIT_ENV_ARG_LIMIT=32

CONFIG_LOCALVERSION=""

CONFIG_LOCALVERSION_AUTO=y

# CONFIG_SWAP is not set

CONFIG_SYSVIPC=y

CONFIG_SYSVIPC_SYSCTL=y

# CONFIG_POSIX_MQUEUE is not set

# CONFIG_BSD_PROCESS_ACCT is not set

# CONFIG_TASKSTATS is not set

# CONFIG_AUDIT is not set

# CONFIG_IKCONFIG is not set

CONFIG_LOG_BUF_SHIFT=14

# CONFIG_CGROUPS is not set

# CONFIG_GROUP_SCHED is not set

CONFIG_SYSFS_DEPRECATED=y

CONFIG_SYSFS_DEPRECATED_V2=y

# CONFIG_RELAY is not set

# CONFIG_NAMESPACES is not set

# CONFIG_BLK_DEV_INITRD is not set

# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set

CONFIG_SYSCTL=y

CONFIG_EMBEDDED=y

CONFIG_SYSCTL_SYSCALL=y

CONFIG_SYSCTL_SYSCALL_CHECK=y

CONFIG_KALLSYMS=y

# CONFIG_KALLSYMS_ALL is not set

# CONFIG_KALLSYMS_EXTRA_PASS is not set

# CONFIG_HOTPLUG is not set

CONFIG_PRINTK=y

CONFIG_BUG=y

CONFIG_ELF_CORE=y

CONFIG_COMPAT_BRK=y

CONFIG_BASE_FULL=y

CONFIG_FUTEX=y

CONFIG_ANON_INODES=y

# CONFIG_EPOLL is not set

CONFIG_SIGNALFD=y

CONFIG_TIMERFD=y

CONFIG_EVENTFD=y

# CONFIG_SHMEM is not set

CONFIG_VM_EVENT_COUNTERS=y

CONFIG_SLUB_DEBUG=y

# CONFIG_SLAB is not set

CONFIG_SLUB=y

# CONFIG_SLOB is not set

CONFIG_PROFILING=y

# CONFIG_MARKERS is not set

CONFIG_OPROFILE=m

CONFIG_HAVE_OPROFILE=y

# CONFIG_KPROBES is not set

CONFIG_HAVE_KPROBES=y

# CONFIG_HAVE_KRETPROBES is not set

# CONFIG_HAVE_DMA_ATTRS is not set

CONFIG_PROC_PAGE_MONITOR=y

CONFIG_SLABINFO=y

CONFIG_RT_MUTEXES=y

CONFIG_TINY_SHMEM=y

CONFIG_BASE_SMALL=0

CONFIG_MODULES=y

# CONFIG_MODULE_FORCE_LOAD is not set

CONFIG_MODULE_UNLOAD=y

# CONFIG_MODULE_FORCE_UNLOAD is not set

# CONFIG_MODVERSIONS is not set

# CONFIG_MODULE_SRCVERSION_ALL is not set

# CONFIG_KMOD is not set

CONFIG_BLOCK=y

# CONFIG_LBD is not set

# CONFIG_BLK_DEV_IO_TRACE is not set

# CONFIG_LSF is not set

# CONFIG_BLK_DEV_BSG is not set

 

#

# IO Schedulers

#

CONFIG_IOSCHED_NOOP=y

CONFIG_IOSCHED_AS=y

CONFIG_IOSCHED_DEADLINE=y

CONFIG_IOSCHED_CFQ=y

CONFIG_DEFAULT_AS=y

# CONFIG_DEFAULT_DEADLINE is not set

# CONFIG_DEFAULT_CFQ is not set

# CONFIG_DEFAULT_NOOP is not set

CONFIG_DEFAULT_IOSCHED="anticipatory"

CONFIG_CLASSIC_RCU=y

 

#

# Processor

#

CONFIG_6xx=y

# CONFIG_40x is not set

# CONFIG_44x is not set

# CONFIG_8xx is not set

CONFIG_PPC_FPU=y

# CONFIG_PPC_DCR_NATIVE is not set

# CONFIG_KEXEC is not set

# CONFIG_CPU_FREQ is not set

# CONFIG_WANT_EARLY_SERIAL is not set

CONFIG_EMBEDDEDBOOT=y

CONFIG_PPC_STD_MMU=y

 

#

# Platform options

#

# CONFIG_PPC_PREP is not set

# CONFIG_KATANA is not set

# CONFIG_WILLOW is not set

# CONFIG_CPCI690 is not set

# CONFIG_POWERPMC250 is not set

# CONFIG_CHESTNUT is not set

# CONFIG_SPRUCE is not set

# CONFIG_HDPU is not set

# CONFIG_EV64260 is not set

# CONFIG_LOPEC is not set

# CONFIG_MVME5100 is not set

# CONFIG_PPLUS is not set

# CONFIG_PRPMC750 is not set

# CONFIG_PRPMC800 is not set

# CONFIG_SANDPOINT is not set

# CONFIG_RADSTONE_PPC7D is not set

# CONFIG_PAL4 is not set

# CONFIG_EST8260 is not set

# CONFIG_SBC82xx is not set

# CONFIG_SBS8260 is not set

# CONFIG_RPX8260 is not set

# CONFIG_EP8260 is not set

CONFIG_EP8248=y

# CONFIG_TQM8260 is not set

# CONFIG_PQ2FADS is not set

# CONFIG_LITE5200 is not set

# CONFIG_EV64360 is not set

CONFIG_8260=y

CONFIG_CPM2=y

# CONFIG_PC_KEYBOARD is not set

# CONFIG_SMP is not set

# CONFIG_HIGHMEM is not set

CONFIG_ARCH_POPULATES_NODE_MAP=y

# CONFIG_HZ_100 is not set

CONFIG_HZ_250=y

# CONFIG_HZ_300 is not set

# CONFIG_HZ_1000 is not set

CONFIG_HZ=250

# CONFIG_SCHED_HRTICK is not set

# CONFIG_PREEMPT_NONE is not set

# CONFIG_PREEMPT_VOLUNTARY is not set

CONFIG_PREEMPT=y

# CONFIG_PREEMPT_RCU is not set

CONFIG_SELECT_MEMORY_MODEL=y

CONFIG_FLATMEM_MANUAL=y

# CONFIG_DISCONTIGMEM_MANUAL is not set

# CONFIG_SPARSEMEM_MANUAL is not set

CONFIG_FLATMEM=y

CONFIG_FLAT_NODE_MEM_MAP=y

# CONFIG_SPARSEMEM_STATIC is not set

# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set

CONFIG_PAGEFLAGS_EXTENDED=y

CONFIG_SPLIT_PTLOCK_CPUS=4

# CONFIG_RESOURCES_64BIT is not set

CONFIG_ZONE_DMA_FLAG=1

CONFIG_BOUNCE=y

CONFIG_VIRT_TO_BUS=y

CONFIG_BINFMT_ELF=y

# CONFIG_BINFMT_MISC is not set

CONFIG_CMDLINE_BOOL=y

CONFIG_CMDLINE="root=/dev/ram rw"

CONFIG_SECCOMP=y

CONFIG_ISA_DMA_API=y

 

#

# Bus options

#

CONFIG_ZONE_DMA=y

# CONFIG_PPC_I8259 is not set

CONFIG_PPC_INDIRECT_PCI=y

CONFIG_PCI=y

CONFIG_PCI_DOMAINS=y

CONFIG_PCI_SYSCALL=y

CONFIG_PCI_8260=y

# CONFIG_8260_PCI9 is not set

# CONFIG_ARCH_SUPPORTS_MSI is not set

CONFIG_PCI_LEGACY=y

# CONFIG_PCI_DEBUG is not set

 

#

# Advanced setup

#

# CONFIG_ADVANCED_OPTIONS is not set

 

#

# Default settings for advanced configuration options are used

#

CONFIG_HIGHMEM_START=0xfe000000

CONFIG_LOWMEM_SIZE=0x30000000

CONFIG_KERNEL_START=0xc0000000

CONFIG_TASK_SIZE=0x80000000

CONFIG_BOOT_LOAD=0x00400000

CONFIG_PPC_LIB_RHEAP=y

 

#

# Networking

#

CONFIG_NET=y

 

#

# Networking options

#

CONFIG_PACKET=y

CONFIG_PACKET_MMAP=y

CONFIG_UNIX=y

CONFIG_XFRM=y

# CONFIG_XFRM_USER is not set

# CONFIG_XFRM_SUB_POLICY is not set

# CONFIG_XFRM_MIGRATE is not set

# CONFIG_XFRM_STATISTICS is not set

# CONFIG_NET_KEY is not set

CONFIG_INET=y

CONFIG_IP_MULTICAST=y

CONFIG_IP_ADVANCED_ROUTER=y

CONFIG_ASK_IP_FIB_HASH=y

# CONFIG_IP_FIB_TRIE is not set

CONFIG_IP_FIB_HASH=y

CONFIG_IP_MULTIPLE_TABLES=y

CONFIG_IP_ROUTE_MULTIPATH=y

CONFIG_IP_ROUTE_VERBOSE=y

CONFIG_IP_PNP=y

# CONFIG_IP_PNP_DHCP is not set

# CONFIG_IP_PNP_BOOTP is not set

# CONFIG_IP_PNP_RARP is not set

# CONFIG_NET_IPIP is not set

# CONFIG_NET_IPGRE is not set

CONFIG_IP_MROUTE=y

# CONFIG_IP_PIMSM_V1 is not set

CONFIG_IP_PIMSM_V2=y

CONFIG_ARPD=y

# CONFIG_SYN_COOKIES is not set

# CONFIG_INET_AH is not set

# CONFIG_INET_ESP is not set

# CONFIG_INET_IPCOMP is not set

# CONFIG_INET_XFRM_TUNNEL is not set

CONFIG_INET_TUNNEL=y

CONFIG_INET_XFRM_MODE_TRANSPORT=y

CONFIG_INET_XFRM_MODE_TUNNEL=y

CONFIG_INET_XFRM_MODE_BEET=y

# CONFIG_INET_LRO is not set

CONFIG_INET_DIAG=y

CONFIG_INET_TCP_DIAG=y

# CONFIG_TCP_CONG_ADVANCED is not set

CONFIG_TCP_CONG_CUBIC=y

CONFIG_DEFAULT_TCP_CONG="cubic"

# CONFIG_TCP_MD5SIG is not set

# CONFIG_IP_VS is not set

CONFIG_IPV6=y

# CONFIG_IPV6_PRIVACY is not set

CONFIG_IPV6_ROUTER_PREF=y

# CONFIG_IPV6_ROUTE_INFO is not set

# CONFIG_IPV6_OPTIMISTIC_DAD is not set

# CONFIG_INET6_AH is not set

# CONFIG_INET6_ESP is not set

# CONFIG_INET6_IPCOMP is not set

# CONFIG_IPV6_MIP6 is not set

# CONFIG_INET6_XFRM_TUNNEL is not set

CONFIG_INET6_TUNNEL=y

CONFIG_INET6_XFRM_MODE_TRANSPORT=y

CONFIG_INET6_XFRM_MODE_TUNNEL=y

CONFIG_INET6_XFRM_MODE_BEET=y

# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set

CONFIG_IPV6_SIT=y

CONFIG_IPV6_NDISC_NODETYPE=y

CONFIG_IPV6_TUNNEL=y

CONFIG_IPV6_MULTIPLE_TABLES=y

CONFIG_IPV6_SUBTREES=y

# CONFIG_IPV6_MROUTE is not set

# CONFIG_NETWORK_SECMARK is not set

CONFIG_NETFILTER=y

# CONFIG_NETFILTER_DEBUG is not set

CONFIG_NETFILTER_ADVANCED=y

 

#

# Core Netfilter Configuration

#

# CONFIG_NETFILTER_NETLINK_QUEUE is not set

# CONFIG_NETFILTER_NETLINK_LOG is not set

# CONFIG_NF_CONNTRACK is not set

CONFIG_NETFILTER_XTABLES=y

# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set

CONFIG_NETFILTER_XT_TARGET_DSCP=y

CONFIG_NETFILTER_XT_TARGET_MARK=y

# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set

# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set

# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set

# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set

# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set

# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set

# CONFIG_NETFILTER_XT_MATCH_DCCP is not set

CONFIG_NETFILTER_XT_MATCH_DSCP=y

# CONFIG_NETFILTER_XT_MATCH_ESP is not set

# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set

# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set

# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set

# CONFIG_NETFILTER_XT_MATCH_MAC is not set

CONFIG_NETFILTER_XT_MATCH_MARK=y

# CONFIG_NETFILTER_XT_MATCH_OWNER is not set

# CONFIG_NETFILTER_XT_MATCH_POLICY is not set

# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set

# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set

# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set

# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set

# CONFIG_NETFILTER_XT_MATCH_REALM is not set

# CONFIG_NETFILTER_XT_MATCH_SCTP is not set

# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set

# CONFIG_NETFILTER_XT_MATCH_STRING is not set

# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set

# CONFIG_NETFILTER_XT_MATCH_TIME is not set

# CONFIG_NETFILTER_XT_MATCH_U32 is not set

# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set

 

#

# IP: Netfilter Configuration

#

# CONFIG_IP_NF_QUEUE is not set

CONFIG_IP_NF_IPTABLES=y

# CONFIG_IP_NF_MATCH_RECENT is not set

# CONFIG_IP_NF_MATCH_ECN is not set

# CONFIG_IP_NF_MATCH_AH is not set

# CONFIG_IP_NF_MATCH_TTL is not set

# CONFIG_IP_NF_MATCH_ADDRTYPE is not set

# CONFIG_IP_NF_FILTER is not set

# CONFIG_IP_NF_TARGET_LOG is not set

# CONFIG_IP_NF_TARGET_ULOG is not set

CONFIG_IP_NF_MANGLE=y

# CONFIG_IP_NF_TARGET_ECN is not set

# CONFIG_IP_NF_TARGET_TTL is not set

# CONFIG_IP_NF_RAW is not set

CONFIG_IP_NF_ARPTABLES=y

# CONFIG_IP_NF_ARPFILTER is not set

CONFIG_IP_NF_ARP_MANGLE=y

 

#

# IPv6: Netfilter Configuration

#

# CONFIG_IP6_NF_QUEUE is not set

CONFIG_IP6_NF_IPTABLES=y

CONFIG_IP6_NF_MATCH_RT=y

# CONFIG_IP6_NF_MATCH_OPTS is not set

# CONFIG_IP6_NF_MATCH_FRAG is not set

# CONFIG_IP6_NF_MATCH_HL is not set

# CONFIG_IP6_NF_MATCH_IPV6HEADER is not set

# CONFIG_IP6_NF_MATCH_AH is not set

# CONFIG_IP6_NF_MATCH_MH is not set

# CONFIG_IP6_NF_MATCH_EUI64 is not set

CONFIG_IP6_NF_FILTER=y

# CONFIG_IP6_NF_TARGET_LOG is not set

# CONFIG_IP6_NF_TARGET_REJECT is not set

CONFIG_IP6_NF_MANGLE=y

# CONFIG_IP6_NF_TARGET_HL is not set

# CONFIG_IP6_NF_RAW is not set

# CONFIG_IP_DCCP is not set

# CONFIG_IP_SCTP is not set

# CONFIG_TIPC is not set

# CONFIG_ATM is not set

# CONFIG_BRIDGE is not set

# CONFIG_VLAN_8021Q is not set

# CONFIG_DECNET is not set

# CONFIG_LLC2 is not set

# CONFIG_IPX is not set

# CONFIG_ATALK is not set

# CONFIG_X25 is not set

# CONFIG_LAPB is not set

# CONFIG_ECONET is not set

# CONFIG_WAN_ROUTER is not set

# CONFIG_NET_SCHED is not set

 

#

# Network testing

#

# CONFIG_NET_PKTGEN is not set

# CONFIG_HAMRADIO is not set

# CONFIG_CAN is not set

# CONFIG_IRDA is not set

# CONFIG_BT is not set

# CONFIG_AF_RXRPC is not set

CONFIG_FIB_RULES=y

 

#

# Wireless

#

# CONFIG_CFG80211 is not set

# CONFIG_WIRELESS_EXT is not set

# CONFIG_MAC80211 is not set

# CONFIG_IEEE80211 is not set

# CONFIG_RFKILL is not set

# CONFIG_NET_9P is not set

 

#

# Device Drivers

#

 

#

# Generic Driver Options

#

CONFIG_STANDALONE=y

CONFIG_PREVENT_FIRMWARE_BUILD=y

# CONFIG_DEBUG_DRIVER is not set

# CONFIG_DEBUG_DEVRES is not set

# CONFIG_SYS_HYPERVISOR is not set

# CONFIG_CONNECTOR is not set

CONFIG_MTD=y

# CONFIG_MTD_DEBUG is not set

CONFIG_MTD_CONCAT=y

CONFIG_MTD_PARTITIONS=y

# CONFIG_MTD_REDBOOT_PARTS is not set

# CONFIG_MTD_CMDLINE_PARTS is not set

# CONFIG_MTD_AR7_PARTS is not set

 

#

# User Modules And Translation Layers

#

CONFIG_MTD_CHAR=y

CONFIG_MTD_BLKDEVS=y

CONFIG_MTD_BLOCK=y

# CONFIG_FTL is not set

# CONFIG_NFTL is not set

# CONFIG_INFTL is not set

# CONFIG_RFD_FTL is not set

# CONFIG_SSFDC is not set

# CONFIG_MTD_OOPS is not set

 

#

# RAM/ROM/Flash chip drivers

#

CONFIG_MTD_CFI=y

# CONFIG_MTD_JEDECPROBE is not set

CONFIG_MTD_GEN_PROBE=y

CONFIG_MTD_CFI_ADV_OPTIONS=y

CONFIG_MTD_CFI_NOSWAP=y

# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set

# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set

CONFIG_MTD_CFI_GEOMETRY=y

# CONFIG_MTD_MAP_BANK_WIDTH_1 is not set

CONFIG_MTD_MAP_BANK_WIDTH_2=y

CONFIG_MTD_MAP_BANK_WIDTH_4=y

# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set

# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set

# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set

CONFIG_MTD_CFI_I1=y

# CONFIG_MTD_CFI_I2 is not set

# CONFIG_MTD_CFI_I4 is not set

# CONFIG_MTD_CFI_I8 is not set

# CONFIG_MTD_OTP is not set

# CONFIG_MTD_CFI_INTELEXT is not set

CONFIG_MTD_CFI_AMDSTD=y

# CONFIG_MTD_CFI_STAA is not set

CONFIG_MTD_CFI_UTIL=y

# CONFIG_MTD_RAM is not set

# CONFIG_MTD_ROM is not set

# CONFIG_MTD_ABSENT is not set

 

#

# Mapping drivers for chip access

#

# CONFIG_MTD_COMPLEX_MAPPINGS is not set

CONFIG_MTD_SUPERNOVA=y

# CONFIG_MTD_PHYSMAP is not set

# CONFIG_MTD_INTEL_VR_NOR is not set

# CONFIG_MTD_PLATRAM is not set

 

#

# Self-contained MTD device drivers

#

# CONFIG_MTD_PMC551 is not set

# CONFIG_MTD_SLRAM is not set

# CONFIG_MTD_PHRAM is not set

# CONFIG_MTD_MTDRAM is not set

# CONFIG_MTD_BLOCK2MTD is not set

 

#

# Disk-On-Chip Device Drivers

#

# CONFIG_MTD_DOC2000 is not set

# CONFIG_MTD_DOC2001 is not set

# CONFIG_MTD_DOC2001PLUS is not set

# CONFIG_MTD_NAND is not set

# CONFIG_MTD_ONENAND is not set

 

#

# UBI - Unsorted block images

#

# CONFIG_MTD_UBI is not set

# CONFIG_PARPORT is not set

CONFIG_BLK_DEV=y

# CONFIG_BLK_DEV_FD is not set

# CONFIG_BLK_CPQ_DA is not set

# CONFIG_BLK_CPQ_CISS_DA is not set

# CONFIG_BLK_DEV_DAC960 is not set

# CONFIG_BLK_DEV_UMEM is not set

# CONFIG_BLK_DEV_COW_COMMON is not set

# CONFIG_BLK_DEV_LOOP is not set

# CONFIG_BLK_DEV_NBD is not set

# CONFIG_BLK_DEV_SX8 is not set

# CONFIG_BLK_DEV_RAM is not set

# CONFIG_CDROM_PKTCDVD is not set

# CONFIG_ATA_OVER_ETH is not set

CONFIG_MISC_DEVICES=y

# CONFIG_PHANTOM is not set

# CONFIG_EEPROM_93CX6 is not set

# CONFIG_SGI_IOC4 is not set

# CONFIG_TIFM_CORE is not set

# CONFIG_ENCLOSURE_SERVICES is not set

CONFIG_HAVE_IDE=y

# CONFIG_IDE is not set

 

#

# SCSI device support

#

# CONFIG_RAID_ATTRS is not set

# CONFIG_SCSI is not set

# CONFIG_SCSI_DMA is not set

# CONFIG_SCSI_NETLINK is not set

# CONFIG_ATA is not set

# CONFIG_MD is not set

# CONFIG_FUSION is not set

 

#

# IEEE 1394 (FireWire) support

#

 

#

# Enable only one of the two stacks, unless you know what you are doing

#

# CONFIG_FIREWIRE is not set

# CONFIG_IEEE1394 is not set

# CONFIG_I2O is not set

# CONFIG_MACINTOSH_DRIVERS is not set

CONFIG_NETDEVICES=y

# CONFIG_NETDEVICES_MULTIQUEUE is not set

# CONFIG_DUMMY is not set

# CONFIG_BONDING is not set

# CONFIG_MACVLAN is not set

# CONFIG_EQUALIZER is not set

CONFIG_TUN=y

# CONFIG_VETH is not set

# CONFIG_ARCNET is not set

# CONFIG_NET_ETHERNET is not set

CONFIG_NETDEV_1000=y

# CONFIG_ACENIC is not set

# CONFIG_DL2K is not set

CONFIG_E1000=y

# CONFIG_E1000_NAPI is not set

# CONFIG_E1000_DISABLE_PACKET_SPLIT is not set

# CONFIG_E1000E is not set

# CONFIG_E1000E_ENABLED is not set

# CONFIG_IP1000 is not set

# CONFIG_IGB is not set

# CONFIG_NS83820 is not set

# CONFIG_HAMACHI is not set

# CONFIG_YELLOWFIN is not set

# CONFIG_R8169 is not set

# CONFIG_SIS190 is not set

# CONFIG_SKGE is not set

# CONFIG_SKY2 is not set

# CONFIG_VIA_VELOCITY is not set

# CONFIG_TIGON3 is not set

# CONFIG_BNX2 is not set

# CONFIG_QLA3XXX is not set

# CONFIG_ATL1 is not set

CONFIG_NETDEV_10000=y

# CONFIG_CHELSIO_T1 is not set

# CONFIG_CHELSIO_T3 is not set

# CONFIG_IXGBE is not set

# CONFIG_IXGB is not set

# CONFIG_S2IO is not set

# CONFIG_MYRI10GE is not set

# CONFIG_NETXEN_NIC is not set

# CONFIG_NIU is not set

# CONFIG_MLX4_CORE is not set

# CONFIG_TEHUTI is not set

# CONFIG_BNX2X is not set

# CONFIG_SFC is not set

# CONFIG_TR is not set

 

#

# Wireless LAN

#

# CONFIG_WLAN_PRE80211 is not set

# CONFIG_WLAN_80211 is not set

# CONFIG_IWLWIFI_LEDS is not set

# CONFIG_WAN is not set

# CONFIG_FDDI is not set

# CONFIG_HIPPI is not set

# CONFIG_PPP is not set

# CONFIG_SLIP is not set

# CONFIG_NETCONSOLE is not set

# CONFIG_NETPOLL is not set

# CONFIG_NET_POLL_CONTROLLER is not set

# CONFIG_ISDN is not set

# CONFIG_PHONE is not set

 

#

# Input device support

#

# CONFIG_INPUT is not set

 

#

# Hardware I/O ports

#

# CONFIG_SERIO is not set

# CONFIG_GAMEPORT is not set

 

#

# Character devices

#

# CONFIG_VT is not set

CONFIG_DEVKMEM=y

# CONFIG_SERIAL_NONSTANDARD is not set

# CONFIG_NOZOMI is not set

 

#

# Serial drivers

#

# CONFIG_SERIAL_8250 is not set

 

#

# Non-8250 serial port support

#

# CONFIG_SERIAL_UARTLITE is not set

CONFIG_SERIAL_CORE=y

CONFIG_SERIAL_CORE_CONSOLE=y

CONFIG_SERIAL_CPM=y

CONFIG_SERIAL_CPM_CONSOLE=y

CONFIG_SERIAL_CPM_SCC1=y

# CONFIG_SERIAL_CPM_SCC2 is not set

# CONFIG_SERIAL_CPM_SCC3 is not set

# CONFIG_SERIAL_CPM_SCC4 is not set

# CONFIG_SERIAL_CPM_SMC1 is not set

# CONFIG_SERIAL_CPM_SMC2 is not set

# CONFIG_SERIAL_JSM is not set

CONFIG_UNIX98_PTYS=y

# CONFIG_LEGACY_PTYS is not set

# CONFIG_IPMI_HANDLER is not set

CONFIG_HW_RANDOM=m

# CONFIG_NVRAM is not set

# CONFIG_GEN_RTC is not set

# CONFIG_R3964 is not set

# CONFIG_APPLICOM is not set

# CONFIG_RAW_DRIVER is not set

# CONFIG_TCG_TPM is not set

CONFIG_DEVPORT=y

# CONFIG_I2C is not set

# CONFIG_SPI is not set

# CONFIG_W1 is not set

# CONFIG_POWER_SUPPLY is not set

CONFIG_HWMON=y

# CONFIG_HWMON_VID is not set

# CONFIG_SENSORS_I5K_AMB is not set

# CONFIG_SENSORS_F71805F is not set

# CONFIG_SENSORS_F71882FG is not set

# CONFIG_SENSORS_IT87 is not set

# CONFIG_SENSORS_PC87360 is not set

# CONFIG_SENSORS_PC87427 is not set

# CONFIG_SENSORS_SIS5595 is not set

# CONFIG_SENSORS_SMSC47M1 is not set

# CONFIG_SENSORS_SMSC47B397 is not set

# CONFIG_SENSORS_VIA686A is not set

# CONFIG_SENSORS_VT1211 is not set

# CONFIG_SENSORS_VT8231 is not set

# CONFIG_SENSORS_W83627HF is not set

# CONFIG_SENSORS_W83627EHF is not set

# CONFIG_HWMON_DEBUG_CHIP is not set

# CONFIG_THERMAL is not set

# CONFIG_THERMAL_HWMON is not set

# CONFIG_WATCHDOG is not set

 

#

# Sonics Silicon Backplane

#

CONFIG_SSB_POSSIBLE=y

# CONFIG_SSB is not set

 

#

# Multifunction device drivers

#

# CONFIG_MFD_SM501 is not set

# CONFIG_HTC_PASIC3 is not set

 

#

# Multimedia devices

#

 

#

# Multimedia core support

#

# CONFIG_VIDEO_DEV is not set

# CONFIG_DVB_CORE is not set

# CONFIG_VIDEO_MEDIA is not set

 

#

# Multimedia drivers

#

# CONFIG_DAB is not set

 

#

# Graphics support

#

# CONFIG_AGP is not set

# CONFIG_DRM is not set

# CONFIG_VGASTATE is not set

# CONFIG_VIDEO_OUTPUT_CONTROL is not set

# CONFIG_FB is not set

# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

 

#

# Display device support

#

# CONFIG_DISPLAY_SUPPORT is not set

 

#

# Sound

#

# CONFIG_SOUND is not set

CONFIG_USB_SUPPORT=y

CONFIG_USB_ARCH_HAS_HCD=y

CONFIG_USB_ARCH_HAS_OHCI=y

CONFIG_USB_ARCH_HAS_EHCI=y

# CONFIG_USB is not set

# CONFIG_USB_OTG_WHITELIST is not set

# CONFIG_USB_OTG_BLACKLIST_HUB is not set

 

#

# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'

#

# CONFIG_USB_GADGET is not set

# CONFIG_MMC is not set

# CONFIG_MEMSTICK is not set

# CONFIG_NEW_LEDS is not set

# CONFIG_ACCESSIBILITY is not set

# CONFIG_INFINIBAND is not set

# CONFIG_EDAC is not set

# CONFIG_RTC_CLASS is not set

# CONFIG_DMADEVICES is not set

# CONFIG_UIO is not set

 

#

# File systems

#

CONFIG_EXT2_FS=y

# CONFIG_EXT2_FS_XATTR is not set

# CONFIG_EXT2_FS_XIP is not set

# CONFIG_EXT3_FS is not set

# CONFIG_EXT4DEV_FS is not set

# CONFIG_REISERFS_FS is not set

# CONFIG_JFS_FS is not set

# CONFIG_FS_POSIX_ACL is not set

# CONFIG_XFS_FS is not set

# CONFIG_OCFS2_FS is not set

CONFIG_DNOTIFY=y

CONFIG_INOTIFY=y

CONFIG_INOTIFY_USER=y

# CONFIG_QUOTA is not set

# CONFIG_AUTOFS_FS is not set

# CONFIG_AUTOFS4_FS is not set

# CONFIG_FUSE_FS is not set

 

#

# CD-ROM/DVD Filesystems

#

# CONFIG_ISO9660_FS is not set

# CONFIG_UDF_FS is not set

 

#

# DOS/FAT/NT Filesystems

#

# CONFIG_MSDOS_FS is not set

# CONFIG_VFAT_FS is not set

# CONFIG_NTFS_FS is not set

 

#

# Pseudo filesystems

#

CONFIG_PROC_FS=y

# CONFIG_PROC_KCORE is not set

CONFIG_PROC_SYSCTL=y

CONFIG_SYSFS=y

# CONFIG_TMPFS is not set

# CONFIG_HUGETLB_PAGE is not set

# CONFIG_CONFIGFS_FS is not set

 

#

# Miscellaneous filesystems

#

# CONFIG_ADFS_FS is not set

# CONFIG_AFFS_FS is not set

# CONFIG_HFS_FS is not set

# CONFIG_HFSPLUS_FS is not set

# CONFIG_BEFS_FS is not set

# CONFIG_BFS_FS is not set

# CONFIG_EFS_FS is not set

CONFIG_JFFS2_FS=y

CONFIG_JFFS2_FS_DEBUG=0

CONFIG_JFFS2_FS_WRITEBUFFER=y

# CONFIG_JFFS2_FS_WBUF_VERIFY is not set

# CONFIG_JFFS2_SUMMARY is not set

# CONFIG_JFFS2_FS_XATTR is not set

# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set

CONFIG_JFFS2_ZLIB=y

# CONFIG_JFFS2_LZO is not set

CONFIG_JFFS2_RTIME=y

# CONFIG_JFFS2_RUBIN is not set

# CONFIG_CRAMFS is not set

# CONFIG_VXFS_FS is not set

# CONFIG_MINIX_FS is not set

# CONFIG_HPFS_FS is not set

# CONFIG_QNX4FS_FS is not set

# CONFIG_ROMFS_FS is not set

# CONFIG_SYSV_FS is not set

# CONFIG_UFS_FS is not set

CONFIG_NETWORK_FILESYSTEMS=y

CONFIG_NFS_FS=y

CONFIG_NFS_V3=y

# CONFIG_NFS_V3_ACL is not set

CONFIG_NFS_V4=y

# CONFIG_NFSD is not set

CONFIG_ROOT_NFS=y

CONFIG_LOCKD=y

CONFIG_LOCKD_V4=y

CONFIG_NFS_COMMON=y

CONFIG_SUNRPC=y

CONFIG_SUNRPC_GSS=y

# CONFIG_SUNRPC_BIND34 is not set

CONFIG_RPCSEC_GSS_KRB5=y

# CONFIG_RPCSEC_GSS_SPKM3 is not set

# CONFIG_SMB_FS is not set

# CONFIG_CIFS is not set

# CONFIG_NCP_FS is not set

# CONFIG_CODA_FS is not set

# CONFIG_AFS_FS is not set

 

#

# Partition Types

#

# CONFIG_PARTITION_ADVANCED is not set

CONFIG_MSDOS_PARTITION=y

# CONFIG_NLS is not set

# CONFIG_DLM is not set

 

#

# CPM2 Options

#

# CONFIG_PCI_DEV is not set

CONFIG_PCISLAVE_SIZE=1

 

#

# Library routines

#

CONFIG_BITREVERSE=y

# CONFIG_GENERIC_FIND_FIRST_BIT is not set

# CONFIG_CRC_CCITT is not set

# CONFIG_CRC16 is not set

# CONFIG_CRC_ITU_T is not set

CONFIG_CRC32=y

# CONFIG_CRC7 is not set

# CONFIG_LIBCRC32C is not set

CONFIG_ZLIB_INFLATE=y

CONFIG_ZLIB_DEFLATE=y

CONFIG_PLIST=y

CONFIG_HAS_IOMEM=y

CONFIG_HAS_IOPORT=y

CONFIG_HAS_DMA=y

 

#

# Kernel hacking

#

# CONFIG_PRINTK_TIME is not set

CONFIG_ENABLE_WARN_DEPRECATED=y

CONFIG_ENABLE_MUST_CHECK=y

CONFIG_FRAME_WARN=1024

# CONFIG_MAGIC_SYSRQ is not set

# CONFIG_UNUSED_SYMBOLS is not set

# CONFIG_DEBUG_FS is not set

# CONFIG_HEADERS_CHECK is not set

CONFIG_DEBUG_KERNEL=y

# CONFIG_DEBUG_SHIRQ is not set

CONFIG_DETECT_SOFTLOCKUP=y

CONFIG_SCHED_DEBUG=y

# CONFIG_SCHEDSTATS is not set

# CONFIG_TIMER_STATS is not set

# CONFIG_DEBUG_OBJECTS is not set

# CONFIG_SLUB_DEBUG_ON is not set

# CONFIG_SLUB_STATS is not set

# CONFIG_DEBUG_RT_MUTEXES is not set

# CONFIG_RT_MUTEX_TESTER is not set

# CONFIG_DEBUG_SPINLOCK is not set

# CONFIG_DEBUG_MUTEXES is not set

# CONFIG_DEBUG_SPINLOCK_SLEEP is not set

# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set

# CONFIG_DEBUG_KOBJECT is not set

# CONFIG_DEBUG_BUGVERBOSE is not set

CONFIG_DEBUG_INFO=y

# CONFIG_DEBUG_VM is not set

# CONFIG_DEBUG_WRITECOUNT is not set

# CONFIG_DEBUG_LIST is not set

# CONFIG_DEBUG_SG is not set

# CONFIG_BOOT_PRINTK_DELAY is not set

# CONFIG_RCU_TORTURE_TEST is not set

# CONFIG_BACKTRACE_SELF_TEST is not set

# CONFIG_FAULT_INJECTION is not set

# CONFIG_SAMPLES is not set

# CONFIG_KGDB_CONSOLE is not set

# CONFIG_XMON is not set

CONFIG_BDI_SWITCH=y

 

#

# Security options

#

# CONFIG_KEYS is not set

# CONFIG_SECURITY is not set

# CONFIG_SECURITY_FILE_CAPABILITIES is not set

CONFIG_CRYPTO=y

 

#

# Crypto core or helper

#

CONFIG_CRYPTO_ALGAPI=y

CONFIG_CRYPTO_BLKCIPHER=y

CONFIG_CRYPTO_MANAGER=y

# CONFIG_CRYPTO_GF128MUL is not set

# CONFIG_CRYPTO_NULL is not set

# CONFIG_CRYPTO_CRYPTD is not set

# CONFIG_CRYPTO_AUTHENC is not set

# CONFIG_CRYPTO_TEST is not set

 

#

# Authenticated Encryption with Associated Data

#

# CONFIG_CRYPTO_CCM is not set

# CONFIG_CRYPTO_GCM is not set

# CONFIG_CRYPTO_SEQIV is not set

 

#

# Block modes

#

CONFIG_CRYPTO_CBC=y

# CONFIG_CRYPTO_CTR is not set

# CONFIG_CRYPTO_CTS is not set

# CONFIG_CRYPTO_ECB is not set

# CONFIG_CRYPTO_LRW is not set

# CONFIG_CRYPTO_PCBC is not set

# CONFIG_CRYPTO_XTS is not set

 

#

# Hash modes

#

# CONFIG_CRYPTO_HMAC is not set

# CONFIG_CRYPTO_XCBC is not set

 

#

# Digest

#

# CONFIG_CRYPTO_CRC32C is not set

# CONFIG_CRYPTO_MD4 is not set

CONFIG_CRYPTO_MD5=y

# CONFIG_CRYPTO_MICHAEL_MIC is not set

# CONFIG_CRYPTO_SHA1 is not set

# CONFIG_CRYPTO_SHA256 is not set

# CONFIG_CRYPTO_SHA512 is not set

# CONFIG_CRYPTO_TGR192 is not set

# CONFIG_CRYPTO_WP512 is not set

 

#

# Ciphers

#

# CONFIG_CRYPTO_AES is not set

# CONFIG_CRYPTO_ANUBIS is not set

# CONFIG_CRYPTO_ARC4 is not set

# CONFIG_CRYPTO_BLOWFISH is not set

# CONFIG_CRYPTO_CAMELLIA is not set

# CONFIG_CRYPTO_CAST5 is not set

# CONFIG_CRYPTO_CAST6 is not set

CONFIG_CRYPTO_DES=y

# CONFIG_CRYPTO_FCRYPT is not set

# CONFIG_CRYPTO_KHAZAD is not set

# CONFIG_CRYPTO_SALSA20 is not set

# CONFIG_CRYPTO_SEED is not set

# CONFIG_CRYPTO_SERPENT is not set

# CONFIG_CRYPTO_TEA is not set

# CONFIG_CRYPTO_TWOFISH is not set

 

#

# Compression

#

# CONFIG_CRYPTO_DEFLATE is not set

# CONFIG_CRYPTO_LZO is not set

CONFIG_CRYPTO_HW=y

# CONFIG_CRYPTO_DEV_HIFN_795X is not set




On Nov 4, 2009, at 2:14 AM, Robert Richter <robert.richter@...robert.richter@...robert.richter@...> wrote:

On 03.11.09 10:21:40, jobhunts02@...jobhunts02@...jobhunts02@... wrote:
I tried that and am still seeing the "bad magic number" error when  
running opreport and "Invalid argument" entries in oprofiled.log.


The commands I am using and part of oprofiled.log follow.  Any  
suggestions?

Eclipse # rm /var/lib/oprofile/samples/oprofiled.log
Eclipse # rm -rf /var/lib/oprofile/samples/current/
Eclipse # cd /usr/bin/
Eclipse # ./opcontrol --init
mount: mounting nodev on /dev/oprofile failed: Device or resource busy

There is an error mounting oprofilefs, try the following steps to
debug this:

First, unmount /dev/oprofile if it is there.

The script tries to mount the oprofile filesystem that the kernel
should provide. It checks /proc/filesystems, you should get something
like this on your system:

# cat /proc/filesystems | grep oprofile
nodev  oprofilefs

If it is not there, the script tries then to load the oprofile module
and checks the filesystem again. oprofile should then be listed in
/proc/modules and also oprofilefs in /proc/filesystems. If not, the
script fails. Maybe /proc is disabled or not available? Not sure if
this is a config option.

You can also try to mount oprofile directly:

# mkdir /dev/oprofile
# mount -t oprofilefs nodev /dev/oprofile

Also, it seems you are using an own build of oprofile, which version
are you using. Did you use configure/make/make install to install the
package on your system? Which config did you use to compile your
kernel?

-Robert

--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@...robert.richter@...robert.richter@...robert.richter@...

=
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No sample file found

by Washington Ratso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The reason that I cannot open my sample file is that the call to mmap in odb_open in libdb/db_manage.c is returning MAP_FAILED.  The arguments to mmap are start = 0, length = 2680, prot = 3, flags = MAP_SHARED, fd = 5, offset = 0.

Any suggestions why mmap is returning MAP_FAILED?


Re: No sample file found

by Washington Ratso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

errno = 22   "Invalid argument"

Washington Ratso wrote:
The reason that I cannot open my sample file is that the call to mmap in odb_open in libdb/db_manage.c is returning MAP_FAILED.  The arguments to mmap are start = 0, length = 2680, prot = 3, flags = MAP_SHARED, fd = 5, offset = 0.

Any suggestions why mmap is returning MAP_FAILED?

Re: No sample file found

by Maynard Johnson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Robert Richter wrote:

> On 03.11.09 10:21:40, jobhunts02@... wrote:
>> I tried that and am still seeing the "bad magic number" error when  
>> running opreport and "Invalid argument" entries in oprofiled.log.
>>
>>
>> The commands I am using and part of oprofiled.log follow.  Any  
>> suggestions?
>>
>> Eclipse # rm /var/lib/oprofile/samples/oprofiled.log
>> Eclipse # rm -rf /var/lib/oprofile/samples/current/
>> Eclipse # cd /usr/bin/
>> Eclipse # ./opcontrol --init
>> mount: mounting nodev on /dev/oprofile failed: Device or resource busy
>
> There is an error mounting oprofilefs, try the following steps to
> debug this:
You need to figure out why the init is failing.  Any oprofile commands you do
afterwards are useless until you fix this.  It sounds to me like you still have
an oprofile daemon running.  Do 'ps awx |grep oprofiled' to see if the daemon is
running.  If so, do:
   1. opcontrol --deinit
   2. rm /root/.oprofile/daemonrc
   3. opcontrol --init
   4. Execute your other opcontrol setup commands to specify profiling parameters
   5. 'opcontrol --start' and run your app.
   6. generate your report(s) with opreport

If the 'ps' command shows oprofiled is not running, you need to determine why
you're getting "Device or resource busy".  Look at dmesg.  Are there any other
perf tools on the system that might be using the performance monitoring hardware?


-Maynard

>
> First, unmount /dev/oprofile if it is there.
>
> The script tries to mount the oprofile filesystem that the kernel
> should provide. It checks /proc/filesystems, you should get something
> like this on your system:
>
>  # cat /proc/filesystems | grep oprofile
>  nodev  oprofilefs
>
> If it is not there, the script tries then to load the oprofile module
> and checks the filesystem again. oprofile should then be listed in
> /proc/modules and also oprofilefs in /proc/filesystems. If not, the
> script fails. Maybe /proc is disabled or not available? Not sure if
> this is a config option.
>
> You can also try to mount oprofile directly:
>
>  # mkdir /dev/oprofile
>  # mount -t oprofilefs nodev /dev/oprofile
>
> Also, it seems you are using an own build of oprofile, which version
> are you using. Did you use configure/make/make install to install the
> package on your system? Which config did you use to compile your
> kernel?
>
> -Robert
>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No sample file found

by Washington Ratso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I must confess that I had previously altered check_version() to avoid a "Kernel support not available" error I was getting initially because my kernel should support oprofile.  So, I went back to the original version and this is what happens when I try to start oprofile after rebooting my board:

 

Eclipse # insmod oprofile.ko

Eclipse # /usr/bin/opcontrol --init

Kernel support not available, missing opcontrol --init as root ?

 

/etc/mtab is empty.  I am doing everything as root. 

 

I apologize for having bypassed this error.  Should "oprofilefs" appear in /etc/mtab after inmod'ing oprofile.ko and doing opcontrol --init?


Sent from my iPhone 3G

On Nov 6, 2009, at 10:19 AM, Maynard Johnson <maynardj@...> wrote:

Robert Richter wrote:
On 03.11.09 10:21:40, jobhunts02@... wrote:
I tried that and am still seeing the "bad magic number" error when  running opreport and "Invalid argument" entries in oprofiled.log.


The commands I am using and part of oprofiled.log follow.  Any  suggestions?

Eclipse # rm /var/lib/oprofile/samples/oprofiled.log
Eclipse # rm -rf /var/lib/oprofile/samples/current/
Eclipse # cd /usr/bin/
Eclipse # ./opcontrol --init
mount: mounting nodev on /dev/oprofile failed: Device or resource busy
There is an error mounting oprofilefs, try the following steps to
debug this:
You need to figure out why the init is failing.  Any oprofile commands you do afterwards are useless until you fix this.  It sounds to me like you still have an oprofile daemon running.  Do 'ps awx |grep oprofiled' to see if the daemon is running.  If so, do:
 1. opcontrol --deinit
 2. rm /root/.oprofile/daemonrc
 3. opcontrol --init
 4. Execute your other opcontrol setup commands to specify profiling parameters
 5. 'opcontrol --start' and run your app.
 6. generate your report(s) with opreport

If the 'ps' command shows oprofiled is not running, you need to determine why you're getting "Device or resource busy".  Look at dmesg.  Are there any other perf tools on the system that might be using the performance monitoring hardware?


-Maynard
First, unmount /dev/oprofile if it is there.
The script tries to mount the oprofile filesystem that the kernel
should provide. It checks /proc/filesystems, you should get something
like this on your system:
# cat /proc/filesystems | grep oprofile
nodev  oprofilefs
If it is not there, the script tries then to load the oprofile module
and checks the filesystem again. oprofile should then be listed in
/proc/modules and also oprofilefs in /proc/filesystems. If not, the
script fails. Maybe /proc is disabled or not available? Not sure if
this is a config option.
You can also try to mount oprofile directly:
# mkdir /dev/oprofile
# mount -t oprofilefs nodev /dev/oprofile
Also, it seems you are using an own build of oprofile, which version
are you using. Did you use configure/make/make install to install the
package on your system? Which config did you use to compile your
kernel?
-Robert

=
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No sample file found

by Washington Ratso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Following a posting from last year "/etc/mtab not present on my busybox system,"  I was able to fix both the "Kernel support not available" and the "Device or resource busy" errors by replacing /etc/mtab with /proc/mounts.

 

I am still seeing:

 

oprofiled: open of /var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all failed:  Invalid argument

 

repeated over and over in  oprofiled.log.   This happens because the call to mmap in odb_open in libdb/db_manage.c is returning MAP_FAILED. The arguments to mmap are start = 0, length = 2680, prot = 3, flags = MAP_SHARED, fd = 5,  offset = 0.  errno = 22 (Invalid argument)

 

What could cause any of these arguments to be invalid?




On Nov 6, 2009, at 12:00 PM, jobhunts02@... wrote:

I must confess that I had previously altered check_version() to avoid a "Kernel support not available" error I was getting initially because my kernel should support oprofile.  So, I went back to the original version and this is what happens when I try to start oprofile after rebooting my board:

 

Eclipse # insmod oprofile.ko

Eclipse # /usr/bin/opcontrol --init

Kernel support not available, missing opcontrol --init as root ?

 

/etc/mtab is empty.  I am doing everything as root. 

 

I apologize for having bypassed this error.  Should "oprofilefs" appear in /etc/mtab after inmod'ing oprofile.ko and doing opcontrol --init?


Sent from my iPhone 3G

On Nov 6, 2009, at 10:19 AM, Maynard Johnson <maynardj@...> wrote:

Robert Richter wrote:
On 03.11.09 10:21:40, jobhunts02@... wrote:
I tried that and am still seeing the "bad magic number" error when  running opreport and "Invalid argument" entries in oprofiled.log.


The commands I am using and part of oprofiled.log follow.  Any  suggestions?

Eclipse # rm /var/lib/oprofile/samples/oprofiled.log
Eclipse # rm -rf /var/lib/oprofile/samples/current/
Eclipse # cd /usr/bin/
Eclipse # ./opcontrol --init
mount: mounting nodev on /dev/oprofile failed: Device or resource busy
There is an error mounting oprofilefs, try the following steps to
debug this:
You need to figure out why the init is failing.  Any oprofile commands you do afterwards are useless until you fix this.  It sounds to me like you still have an oprofile daemon running.  Do 'ps awx |grep oprofiled' to see if the daemon is running.  If so, do:
 1. opcontrol --deinit
 2. rm /root/.oprofile/daemonrc
 3. opcontrol --init
 4. Execute your other opcontrol setup commands to specify profiling parameters
 5. 'opcontrol --start' and run your app.
 6. generate your report(s) with opreport

If the 'ps' command shows oprofiled is not running, you need to determine why you're getting "Device or resource busy".  Look at dmesg.  Are there any other perf tools on the system that might be using the performance monitoring hardware?


-Maynard
First, unmount /dev/oprofile if it is there.
The script tries to mount the oprofile filesystem that the kernel
should provide. It checks /proc/filesystems, you should get something
like this on your system:
# cat /proc/filesystems | grep oprofile
nodev  oprofilefs
If it is not there, the script tries then to load the oprofile module
and checks the filesystem again. oprofile should then be listed in
/proc/modules and also oprofilefs in /proc/filesystems. If not, the
script fails. Maybe /proc is disabled or not available? Not sure if
this is a config option.
You can also try to mount oprofile directly:
# mkdir /dev/oprofile
# mount -t oprofilefs nodev /dev/oprofile
Also, it seems you are using an own build of oprofile, which version
are you using. Did you use configure/make/make install to install the
package on your system? Which config did you use to compile your
kernel?
-Robert

=
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list
=
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No sample file found

by Washington Ratso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I believe this error is occurring because  JFFS2, which I am using, only supports readonly mmap.  It does not support shared writable mmap.

Is there a workaround for oprofile using JFFS2?


On Nov 6, 2009, at 2:45 PM, jobhunts02@... wrote:

Following a posting from last year "/etc/mtab not present on my busybox system,"  I was able to fix both the "Kernel support not available" and the "Device or resource busy" errors by replacing /etc/mtab with /proc/mounts.

 

I am still seeing:

 

oprofiled: open of /var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all failed:  Invalid argument

 

repeated over and over in  oprofiled.log.   This happens because the call to mmap in odb_open in libdb/db_manage.c is returning MAP_FAILED. The arguments to mmap are start = 0, length = 2680, prot = 3, flags = MAP_SHARED, fd = 5,  offset = 0.  errno = 22 (Invalid argument)

 

What could cause any of these arguments to be invalid?




On Nov 6, 2009, at 12:00 PM, jobhunts02@... wrote:

I must confess that I had previously altered check_version() to avoid a "Kernel support not available" error I was getting initially because my kernel should support oprofile.  So, I went back to the original version and this is what happens when I try to start oprofile after rebooting my board:

 

Eclipse # insmod oprofile.ko

Eclipse # /usr/bin/opcontrol --init

Kernel support not available, missing opcontrol --init as root ?

 

/etc/mtab is empty.  I am doing everything as root. 

 

I apologize for having bypassed this error.  Should "oprofilefs" appear in /etc/mtab after inmod'ing oprofile.ko and doing opcontrol --init?


Sent from my iPhone 3G

On Nov 6, 2009, at 10:19 AM, Maynard Johnson <maynardj@...maynardj@...> wrote:

Robert Richter wrote:
On 03.11.09 10:21:40, jobhunts02@...jobhunts02@... wrote:
I tried that and am still seeing the "bad magic number" error when  running opreport and "Invalid argument" entries in oprofiled.log.


The commands I am using and part of oprofiled.log follow.  Any  suggestions?

Eclipse # rm /var/lib/oprofile/samples/oprofiled.log
Eclipse # rm -rf /var/lib/oprofile/samples/current/
Eclipse # cd /usr/bin/
Eclipse # ./opcontrol --init
mount: mounting nodev on /dev/oprofile failed: Device or resource busy
There is an error mounting oprofilefs, try the following steps to
debug this:
You need to figure out why the init is failing.  Any oprofile commands you do afterwards are useless until you fix this.  It sounds to me like you still have an oprofile daemon running.  Do 'ps awx |grep oprofiled' to see if the daemon is running.  If so, do:
 1. opcontrol --deinit
 2. rm /root/.oprofile/daemonrc
 3. opcontrol --init
 4. Execute your other opcontrol setup commands to specify profiling parameters
 5. 'opcontrol --start' and run your app.
 6. generate your report(s) with opreport

If the 'ps' command shows oprofiled is not running, you need to determine why you're getting "Device or resource busy".  Look at dmesg.  Are there any other perf tools on the system that might be using the performance monitoring hardware?


-Maynard
First, unmount /dev/oprofile if it is there.
The script tries to mount the oprofile filesystem that the kernel
should provide. It checks /proc/filesystems, you should get something
like this on your system:
# cat /proc/filesystems | grep oprofile
nodev  oprofilefs
If it is not there, the script tries then to load the oprofile module
and checks the filesystem again. oprofile should then be listed in
/proc/modules and also oprofilefs in /proc/filesystems. If not, the
script fails. Maybe /proc is disabled or not available? Not sure if
this is a config option.
You can also try to mount oprofile directly:
# mkdir /dev/oprofile
# mount -t oprofilefs nodev /dev/oprofile
Also, it seems you are using an own build of oprofile, which version
are you using. Did you use configure/make/make install to install the
package on your system? Which config did you use to compile your
kernel?
-Robert

=
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list
=
=
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No sample file found

by Maynard Johnson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

jobhunts02@... wrote:

> Following a posting from last year "/etc/mtab not present on my busybox
> system,"  I was able to fix both the "Kernel support not available" and
> the "Device or resource busy" errors by replacing /etc/mtab with
> /proc/mounts.
>
> I am still seeing:
>
> oprofiled: open of
> /var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all
> failed:  Invalid argument
>
> repeated over and over in  oprofiled.log.   This happens because the
> call to mmap in odb_open in libdb/db_manage.c is returning MAP_FAILED.
> The arguments to mmap are start = 0, length = 2680, prot = 3, flags =
> MAP_SHARED, fd = 5,  offset = 0.  errno = 22 (Invalid argument)
>
> What could cause any of these arguments to be invalid?
mmap is a syscall, and I have no idea why it would be failing for you here since
the args being passed are not atypical (instrumenting the daemon running on my
system, I see the exact same args).  I'm not seeing any evidence that anyone
else has ever seen this particular error involving oprofile, so you're
experiencing something unique.  Is the kernel you're running on from kernel.org
or is it a distro kernel?  Have you rebooted the system since you've seen this
problem?  Can you reproduce the mmap error with a simple program -- or are you
only seeing this with oprofile?

-Maynard

>
>
>
> On Nov 6, 2009, at 12:00 PM, jobhunts02@... wrote:
>
>> I must confess that I had previously altered check_version() to avoid
>> a "Kernel support not available" error I was getting initially because
>> my kernel should support oprofile.  So, I went back to the original
>> version and this is what happens when I try to start oprofile after
>> rebooting my board:
>>
>> Eclipse # insmod oprofile.ko
>> Eclipse # /usr/bin/opcontrol --init
>> Kernel support not available, missing opcontrol --init as root ?
>>
>> /etc/mtab is empty.  I am doing everything as root.
>>
>> I apologize for having bypassed this error.  Should "oprofilefs"
>> appear in /etc/mtab after inmod'ing oprofile.ko and doing opcontrol
>> --init?
>>
>> Sent from my iPhone 3G
>>
>> On Nov 6, 2009, at 10:19 AM, Maynard Johnson <maynardj@...> wrote:
>>
>>> Robert Richter wrote:
>>>> On 03.11.09 10:21:40, jobhunts02@... wrote:
>>>>> I tried that and am still seeing the "bad magic number" error when  
>>>>> running opreport and "Invalid argument" entries in oprofiled.log.
>>>>>
>>>>>
>>>>> The commands I am using and part of oprofiled.log follow.  Any  
>>>>> suggestions?
>>>>>
>>>>> Eclipse # rm /var/lib/oprofile/samples/oprofiled.log
>>>>> Eclipse # rm -rf /var/lib/oprofile/samples/current/
>>>>> Eclipse # cd /usr/bin/
>>>>> Eclipse # ./opcontrol --init
>>>>> mount: mounting nodev on /dev/oprofile failed: Device or resource busy
>>>> There is an error mounting oprofilefs, try the following steps to
>>>> debug this:
>>> You need to figure out why the init is failing.  Any oprofile
>>> commands you do afterwards are useless until you fix this.  It sounds
>>> to me like you still have an oprofile daemon running.  Do 'ps awx
>>> |grep oprofiled' to see if the daemon is running.  If so, do:
>>>  1. opcontrol --deinit
>>>  2. rm /root/.oprofile/daemonrc
>>>  3. opcontrol --init
>>>  4. Execute your other opcontrol setup commands to specify profiling
>>> parameters
>>>  5. 'opcontrol --start' and run your app.
>>>  6. generate your report(s) with opreport
>>>
>>> If the 'ps' command shows oprofiled is not running, you need to
>>> determine why you're getting "Device or resource busy".  Look at
>>> dmesg.  Are there any other perf tools on the system that might be
>>> using the performance monitoring hardware?
>>>
>>>
>>> -Maynard
>>>> First, unmount /dev/oprofile if it is there.
>>>> The script tries to mount the oprofile filesystem that the kernel
>>>> should provide. It checks /proc/filesystems, you should get something
>>>> like this on your system:
>>>> # cat /proc/filesystems | grep oprofile
>>>> nodev  oprofilefs
>>>> If it is not there, the script tries then to load the oprofile module
>>>> and checks the filesystem again. oprofile should then be listed in
>>>> /proc/modules and also oprofilefs in /proc/filesystems. If not, the
>>>> script fails. Maybe /proc is disabled or not available? Not sure if
>>>> this is a config option.
>>>> You can also try to mount oprofile directly:
>>>> # mkdir /dev/oprofile
>>>> # mount -t oprofilefs nodev /dev/oprofile
>>>> Also, it seems you are using an own build of oprofile, which version
>>>> are you using. Did you use configure/make/make install to install the
>>>> package on your system? Which config did you use to compile your
>>>> kernel?
>>>> -Robert
>>>
>> =
>> ------------------------------------------------------------------------------
>>
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> oprofile-list mailing list
>> oprofile-list@...
>> https://lists.sourceforge.net/lists/listinfo/oprofile-list
>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No sample file found

by Washington Ratso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Nov 9, 2009, at 12:35 PM, Maynard Johnson <maynardj@...> wrote:

jobhunts02@... wrote:
Following a posting from last year "/etc/mtab not present on my busybox system,"  I was able to fix both the "Kernel support not available" and the "Device or resource busy" errors by replacing /etc/mtab with /proc/mounts.
I am still seeing:
oprofiled: open of /var/lib/oprofile/samples//current/{root}//root/freescale_test/{dep}/{root}//root/freescale_test/TIMER.0.0.all.all.all failed:  Invalid argument
repeated over and over in  oprofiled.log.   This happens because the call to mmap in odb_open in libdb/db_manage.c is returning MAP_FAILED. The arguments to mmap are start = 0, length = 2680, prot = 3, flags = MAP_SHARED, fd = 5,  offset = 0.  errno = 22 (Invalid argument)
What could cause any of these arguments to be invalid?
mmap is a syscall, and I have no idea why it would be failing for you here since the args being passed are not atypical (instrumenting the daemon running on my system, I see the exact same args).  I'm not seeing any evidence that anyone else has ever seen this particular error involving oprofile, so you're experiencing something unique.  Is the kernel you're running on from kernel.org or is it a distro kernel?  Have you rebooted the system since you've seen this problem?  Can you reproduce the mmap error with a simple program -- or are you only seeing this with oprofile?

According to  http://wiki.laptop.org/go/Oprofile_setup, "The jffs2 file system does NOT support the mechanism that OProfile uses." Following the example on that page, I ran the following commands after rebooting my board:
 
Eclipse # insmod oprofile.ko
Eclipse # rm -rf /var/lib/oprofile
Eclipse # mkdir /var/lib/oprofile
Eclipse # mount -t ramfs none /var/lib/oprofile
Eclipse # opcontrol --setup --no-vmlinux --separate=library
Eclipse # opcontrol --start
Eclipse # opcontrol --shutdown

Eclipse # opreport

 

I am now getting a report:

 

CPU: CPU with timer interrupt, speed 0 MHz (estimated)

Profiling through timer interrupt

          TIMER:0|

  samples|      %|

------------------

    18544 99.2454 no-vmlinux

       84  0.4496 EclipseMSW.elf.CVS

                  TIMER:0|

          samples|      %|

        ------------------

               68 80.9524 EclipseMSW.elf.CVS

               15 17.8571 libc-2.6.so

                1  1.1905 libEclipsePai.so

       35  0.1873 busybox

                  TIMER:0|

          samples|      %|

        ------------------

               13 37.1429 ld-2.6.so

               12 34.2857 busybox

               10 28.5714 libc-2.6.so

        9  0.0482 oprofiled

                  TIMER:0|

          samples|      %|

        ------------------

                8 88.8889 oprofiled

                1 11.1111 libc-2.6.so

        6  0.0321 snmpd

                  TIMER:0|

          samples|      %|

        ------------------

                4 66.6667 snmpd

                2 33.3333 libc-2.6.so

        6  0.0321 dropbearmulti

                  TIMER:0|

          samples|      %|

        ------------------

                4 66.6667 dropbearmulti

                2 33.3333 libc-2.6.so

        1  0.0054 opjitconv

                  TIMER:0|

          samples|      %|

        ------------------

                1 100.000 ld-2.6.so

 




-Maynard
On Nov 6, 2009, at 12:00 PM, jobhunts02@... wrote:
I must confess that I had previously altered check_version() to avoid a "Kernel support not available" error I was getting initially because my kernel should support oprofile.  So, I went back to the original version and this is what happens when I try to start oprofile after rebooting my board:

Eclipse # insmod oprofile.ko
Eclipse # /usr/bin/opcontrol --init
Kernel support not available, missing opcontrol --init as root ?

/etc/mtab is empty.  I am doing everything as root.

I apologize for having bypassed this error.  Should "oprofilefs" appear in /etc/mtab after inmod'ing oprofile.ko and doing opcontrol --init?

Sent from my iPhone 3G

On Nov 6, 2009, at 10:19 AM, Maynard Johnson <maynardj@...> wrote:

Robert Richter wrote:
On 03.11.09 10:21:40, jobhunts02@... wrote:
I tried that and am still seeing the "bad magic number" error when  running opreport and "Invalid argument" entries in oprofiled.log.


The commands I am using and part of oprofiled.log follow.  Any  suggestions?

Eclipse # rm /var/lib/oprofile/samples/oprofiled.log
Eclipse # rm -rf /var/lib/oprofile/samples/current/
Eclipse # cd /usr/bin/
Eclipse # ./opcontrol --init
mount: mounting nodev on /dev/oprofile failed: Device or resource busy
There is an error mounting oprofilefs, try the following steps to
debug this:
You need to figure out why the init is failing.  Any oprofile commands you do afterwards are useless until you fix this.  It sounds to me like you still have an oprofile daemon running.  Do 'ps awx |grep oprofiled' to see if the daemon is running.  If so, do:
1. opcontrol --deinit
2. rm /root/.oprofile/daemonrc
3. opcontrol --init
4. Execute your other opcontrol setup commands to specify profiling parameters
5. 'opcontrol --start' and run your app.
6. generate your report(s) with opreport

If the 'ps' command shows oprofiled is not running, you need to determine why you're getting "Device or resource busy".  Look at dmesg.  Are there any other perf tools on the system that might be using the performance monitoring hardware?


-Maynard
First, unmount /dev/oprofile if it is there.
The script tries to mount the oprofile filesystem that the kernel
should provide. It checks /proc/filesystems, you should get something
like this on your system:
# cat /proc/filesystems | grep oprofile
nodev  oprofilefs
If it is not there, the script tries then to load the oprofile module
and checks the filesystem again. oprofile should then be listed in
/proc/modules and also oprofilefs in /proc/filesystems. If not, the
script fails. Maybe /proc is disabled or not available? Not sure if
this is a config option.
You can also try to mount oprofile directly:
# mkdir /dev/oprofile
# mount -t oprofilefs nodev /dev/oprofile
Also, it seems you are using an own build of oprofile, which version
are you using. Did you use configure/make/make install to install the
package on your system? Which config did you use to compile your
kernel?
-Robert

=
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

=
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list