ERROR: "function_trace_stop" [kernel/power/tuxonice_core.ko] undefined

Pavel Alexeev <[email protected]> Sun, 11 May 2014 15:39:41 +0400
Newsgroups gmane.linux.swsusp.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============0373373138==
Content-Type: multipart/alternative;
 boundary="------------000000050809050107020000"

This is a multi-part message in MIME format.
--------------000000050809050107020000
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi.

I have tried compile kernel with
http://tuxonice.nigelcunningham.com.au/downloads/all/tuxonice-for-linux-3.14.2-2014-04-28.patch.bz2
patch.
But it failed:
[pasha@hubbitus linux-3.14.2-200.hu.1.fc20.x86_64]$ LANG=C make -s
ARCH=x86_64 V=1 -j3 modules
ERROR: "function_trace_stop" [kernel/power/tuxonice_core.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
[pasha@hubbitus linux-3.14.2-200.hu.1.fc20.x86_64]$

I could do it only with next patch:
--- a/kernel/power/tuxonice_atomic_copy.c       2014-05-08
15:47:08.867317138 +0400
+++ b/kernel/power/tuxonice_atomic_copy.c       2014-05-08
15:48:36.951897961 +0400
@@ -31,6 +31,8 @@

 unsigned long extra_pd1_pages_used;

+int function_trace_stop;
+
 /**
  * free_pbe_list - free page backup entries used by the atomic copy code.
  * @list:      List to free.


All modules compiled, kernel installed but I can't discover why it is
not work. You wiki (
https://github.com/NigelCunningham/Tuxonice-Userui/wiki ) absolutely
empty, documentation  which present in aforementioned patch seams
outdated (only legacy pm-utils mentioned instead of systemd control).
Is there some documentation how start working with it and start
debugging what and why is not working?

-- 
With best wishes, Pavel Alexeev (aka Pahan-Hubbitus). For fast contact
with me use jabber: [email protected]

--------------000000050809050107020000
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi.<br>
    <br>
    I have tried compile kernel with
    <a class="moz-txt-link-freetext" href="http://tuxonice.nigelcunningham.com.au/downloads/all/tuxonice-for-linux-3.14.2-2014-04-28.patch.bz2">http://tuxonice.nigelcunningham.com.au/downloads/all/tuxonice-for-linux-3.14.2-2014-04-28.patch.bz2</a>
    patch.<br>
    But it failed:<br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <span style="color: rgb(0, 0, 0); font-family: 'dejavu sans mono',
      monaco, 'lucida console', 'courier new', monospace; font-size:
      x-small; font-style: normal; font-variant: normal; font-weight:
      normal; letter-spacing: normal; line-height: 15px; orphans: auto;
      text-align: start; text-indent: 0px; text-transform: none;
      white-space: nowrap; widows: auto; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; background-color: rgb(238, 238,
      255); display: inline !important; float: none;">[pasha@hubbitus
      linux-3.14.2-200.hu.1.fc20.x86_64]$ LANG=C make -s ARCH=x86_64 V=1
      -j3 modules</span><br style="color: rgb(0, 0, 0); font-family:
      'dejavu sans mono', monaco, 'lucida console', 'courier new',
      monospace; font-size: x-small; font-style: normal; font-variant:
      normal; font-weight: normal; letter-spacing: normal; line-height:
      15px; orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: nowrap; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;">
    <span style="color: rgb(0, 0, 0); font-family: 'dejavu sans mono',
      monaco, 'lucida console', 'courier new', monospace; font-size:
      x-small; font-style: normal; font-variant: normal; font-weight:
      normal; letter-spacing: normal; line-height: 15px; orphans: auto;
      text-align: start; text-indent: 0px; text-transform: none;
      white-space: nowrap; widows: auto; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; background-color: rgb(238, 238,
      255); display: inline !important; float: none;">ERROR:
      "function_trace_stop" [kernel/power/tuxonice_core.ko] undefined!</span><br
      style="color: rgb(0, 0, 0); font-family: 'dejavu sans mono',
      monaco, 'lucida console', 'courier new', monospace; font-size:
      x-small; font-style: normal; font-variant: normal; font-weight:
      normal; letter-spacing: normal; line-height: 15px; orphans: auto;
      text-align: start; text-indent: 0px; text-transform: none;
      white-space: nowrap; widows: auto; word-spacing: 0px;
      -webkit-text-stroke-width: 0px;">
    <span style="color: rgb(0, 0, 0); font-family: 'dejavu sans mono',
      monaco, 'lucida console', 'courier new', monospace; font-size:
      x-small; font-style: normal; font-variant: normal; font-weight:
      normal; letter-spacing: normal; line-height: 15px; orphans: auto;
      text-align: start; text-indent: 0px; text-transform: none;
      white-space: nowrap; widows: auto; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; background-color: rgb(238, 238,
      255); display: inline !important; float: none;">make[1]: ***
      [__modpost] Error 1</span><br style="color: rgb(0, 0, 0);
      font-family: 'dejavu sans mono', monaco, 'lucida console',
      'courier new', monospace; font-size: x-small; font-style: normal;
      font-variant: normal; font-weight: normal; letter-spacing: normal;
      line-height: 15px; orphans: auto; text-align: start; text-indent:
      0px; text-transform: none; white-space: nowrap; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;">
    <span style="color: rgb(0, 0, 0); font-family: 'dejavu sans mono',
      monaco, 'lucida console', 'courier new', monospace; font-size:
      x-small; font-style: normal; font-variant: normal; font-weight:
      normal; letter-spacing: normal; line-height: 15px; orphans: auto;
      text-align: start; text-indent: 0px; text-transform: none;
      white-space: nowrap; widows: auto; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; background-color: rgb(238, 238,
      255); display: inline !important; float: none;">make: ***
      [modules] Error 2</span><br style="color: rgb(0, 0, 0);
      font-family: 'dejavu sans mono', monaco, 'lucida console',
      'courier new', monospace; font-size: x-small; font-style: normal;
      font-variant: normal; font-weight: normal; letter-spacing: normal;
      line-height: 15px; orphans: auto; text-align: start; text-indent:
      0px; text-transform: none; white-space: nowrap; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;">
    <span style="color: rgb(0, 0, 0); font-family: 'dejavu sans mono',
      monaco, 'lucida console', 'courier new', monospace; font-size:
      x-small; font-style: normal; font-variant: normal; font-weight:
      normal; letter-spacing: normal; line-height: 15px; orphans: auto;
      text-align: start; text-indent: 0px; text-transform: none;
      white-space: nowrap; widows: auto; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; background-color: rgb(238, 238,
      255); display: inline !important; float: none;">[pasha@hubbitus
      linux-3.14.2-200.hu.1.fc20.x86_64]$<br>
      <br>
      I could do it only with next patch:<br>
      --- a/kernel/power/tuxonice_atomic_copy.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2014-05-08
      15:47:08.867317138 +0400<br>
      +++ b/kernel/power/tuxonice_atomic_copy.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2014-05-08
      15:48:36.951897961 +0400<br>
      @@ -31,6 +31,8 @@<br>
      <br>
      &nbsp;unsigned long extra_pd1_pages_used;<br>
      <br>
      +int function_trace_stop;<br>
      +<br>
      &nbsp;/**<br>
      &nbsp; * free_pbe_list - free page backup entries used by the atomic
      copy code.<br>
      &nbsp; * @list:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; List to free.<br>
      <br>
      <br>
      All modules compiled, kernel installed but I can't discover why it
      is not work. You wiki (
      <a class="moz-txt-link-freetext" href="https://github.com/NigelCunningham/Tuxonice-Userui/wiki">https://github.com/NigelCunningham/Tuxonice-Userui/wiki</a> )
      absolutely empty, documentation&nbsp; which present in aforementioned
      patch seams outdated (only legacy pm-utils mentioned instead of
      systemd control).<br>
      Is there some documentation how start working with it and start
      debugging what and why is not working?<br>
    </span><br>
    <div class="moz-signature">-- <br>
      With best wishes, Pavel Alexeev (aka Pahan-Hubbitus).
      For fast contact with me use jabber: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a></div>
  </body>
</html>

--------------000000050809050107020000--

--===============0373373138==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
TuxOnIce-devel mailing list
[email protected]
http://lists.tuxonice.net/listinfo/tuxonice-devel
--===============0373373138==--