summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/book-enea-linux-release-info/doc/about_release.xml13
-rw-r--r--doc/book-enea-linux-release-info/doc/common_bugs_and_limitations.xml450
-rw-r--r--doc/book-enea-linux-release-info/doc/known_bugs_and_limitations.xml455
-rw-r--r--doc/book-enea-linux-release-info/doc/main_changes.xml3
-rw-r--r--doc/gen_pkgdiff.py18
5 files changed, 464 insertions, 475 deletions
diff --git a/doc/book-enea-linux-release-info/doc/about_release.xml b/doc/book-enea-linux-release-info/doc/about_release.xml
index 500853e..2305b7d 100644
--- a/doc/book-enea-linux-release-info/doc/about_release.xml
+++ b/doc/book-enea-linux-release-info/doc/about_release.xml
@@ -171,7 +171,7 @@
171 </row> 171 </row>
172 172
173 <row> 173 <row>
174 <entry>poky source</entry> 174 <entry>Poky source</entry>
175 175
176 <entry><xi:include href="../../s_docsrc_common/pardoc-distro.xml" 176 <entry><xi:include href="../../s_docsrc_common/pardoc-distro.xml"
177 xmlns:xi="http://www.w3.org/2001/XInclude" 177 xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -180,17 +180,18 @@
180 </row> 180 </row>
181 181
182 <row> 182 <row>
183 <entry>gcc version</entry> 183 <entry>GCC version</entry>
184 184
185 <entry>4.9<remark>was EneaLinux_GCC_VER Not in poky.ent 185 <entry>5.3<remark>was EneaLinux_GCC_VER Not in poky.ent
186 </remark></entry> 186 </remark></entry>
187 </row> 187 </row>
188 188
189 <row> 189 <row>
190 <entry>Linux kernel version (all targets)</entry> 190 <entry>Linux kernel version<remark>was EneaLinux_KERNEL_VER Not in
191
192 <entry>3.12<remark>was EneaLinux_KERNEL_VER Not in
193 poky.ent</remark></entry> 191 poky.ent</remark></entry>
192
193 <entry><para>3.12 (P2041RDB &amp; LS1021a-IoT)</para><para>4.4
194 (QEmu targets)</para></entry>
194 </row> 195 </row>
195 196
196 <row> 197 <row>
diff --git a/doc/book-enea-linux-release-info/doc/common_bugs_and_limitations.xml b/doc/book-enea-linux-release-info/doc/common_bugs_and_limitations.xml
deleted file mode 100644
index 88763f2..0000000
--- a/doc/book-enea-linux-release-info/doc/common_bugs_and_limitations.xml
+++ /dev/null
@@ -1,450 +0,0 @@
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4<section id="bugs-limitations-common">
5 <title>General Bugs and Limitations</title>
6
7 <!-- Include this release-independent section in an XML chapter complemented with release-specific problems. -->
8
9 <section id="bugs-limitations-yocto">
10 <title>Yocto</title>
11
12 <para>Open source projects often use bug databases for much more than
13 tracking bugs. The Yocto Project's Bugzilla database also functions as a
14 feature tracking program, both for the current release and for future
15 releases, and a way to track non-software issues, like documentation
16 changes.</para>
17
18 <para>The following page shows a sampling of the database: <ulink
19 url="https://www.yoctoproject.org/tools-resources/bugs">https://www.yoctoproject.org/tools-resources/bugs</ulink>.</para>
20
21 <para>For the full database, visit <ulink
22 url="https://bugzilla.yoctoproject.org">https://bugzilla.yoctoproject.org</ulink>.</para>
23 </section>
24
25 <section id="bugs-limitations-sdk">
26 <title>Toolchain / SDK</title>
27
28 <itemizedlist spacing="compact">
29 <listitem>
30 <para>Building the kernel might fail if GNU Make of version 3.82 has
31 been installed on the host. The mandatory recovery action is to revert
32 to version 3.81.</para>
33 </listitem>
34
35 <listitem>
36 <para>Installing a second toolchain in the same directory as a
37 previous one will break the $PATH variable of the first
38 one.<remark>LXCR-3624</remark></para>
39 </listitem>
40 </itemizedlist>
41 </section>
42
43 <section id="bugs-package-manager">
44 <title>Smart Package Manager</title>
45
46 <para>Installation of some packages might currently fail when installing
47 using the Smart Package Manager. An example is the qemu package. Errors
48 can e.g. be reported by smart about conflicts with files from other
49 packages.</para>
50
51 <para>The recommended solution to this problem is to install the failing
52 package using rpm, already available in enea-image-base. In order to
53 install it using rpm, first install rpm using the command <command>smart
54 install rpm</command>, then download the package to the target, and
55 finally on the target use <command>rpm -i
56 &lt;packagename&gt;.rpm</command>. If not installed, several dependencies
57 can be reported as "Failed dependencies" with lines "x is needed by y". In
58 that case, install the required packages "x" found by dependencies by
59 using the smart package manager. Add a channel to an accessible directory
60 containing all missing rpm packages. Add packages detected to be missing,
61 until all dependencies are resolved.<remark>FIXME It would be nice to add
62 also a PowerPC example with qemu failing, the example below is for
63 ARM.</remark></para>
64
65 <section>
66 <title>Example with Failing QEMU Package</title>
67
68 <para>As an example, the qemu installation can show the following
69 error.</para>
70
71 <note>
72 <para>The example below is for ARM, including the RPM names. For
73 PowerPC similar errors can occur and other packages are needed.</para>
74 </note>
75
76 <para><emphasis role="bold">error: file /var/run from install of
77 qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64 conflicts with file from package
78 base-files-3.0.14-r89.0.hierofalcon</emphasis></para>
79
80 <para>A solution to this problem is to install the above qemu package
81 using rpm, already available in enea-image-base. In order to install it
82 using rpm, first install rpm using the command <command>smart install
83 rpm</command>, then download the above package from
84 &lt;build_dir&gt;/tmp/deploy/rpm/aarch64. On target, use <command>rpm -i
85 qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64.rpm</command>. If not installed,
86 several dependencies can be seen, e.g.:</para>
87
88 <programlisting>error: Failed dependencies:
89 libpixman-1-0 &gt;= 0.32.6 is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64
90 libpixman-1.so.0()(64bit) is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64
91 libglib-2.0.so.0()(64bit) is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64
92 libcap2 &gt;= 2.22 is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64
93 libglib-2.0-0 &gt;= 2.40.0 is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64
94 bluez4 &gt;= 4.101 is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64
95 libbluetooth.so.3()(64bit) is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64
96 libcap.so.2()(64bit) is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64</programlisting>
97
98 <para>Install the required packages found by dependencies by using the
99 smart package manager, as specified in the User's Guide, by adding a
100 channel to an accessible directory containing all of the above rpm
101 packages. Suggestion for installing required packages, as in the
102 following example for qemu and ARM:</para>
103
104 <programlisting>smart install bash
105smart install libcap
106smart install bluez4
107smart install libpixman-1-0
108rpm -i qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64.rpm</programlisting>
109
110 <para>Add packages detected to be missing until all dependencies are
111 resolved.</para>
112 </section>
113 </section>
114
115 <section id="bugs-limitations-eclipse">
116 <title>Eclipse Tools</title>
117
118 <para>The Eclipse tools provided together with Enea Linux are part of the
119 Yocto Application Development Toolkit (ADT) and are maintained by
120 different open source projects. The list below outlines current problems
121 with the plug-ins as such, as well as kernel limitations when using a tool
122 towards the mentioned target:</para>
123
124 <itemizedlist spacing="compact">
125 <listitem>
126 <para><emphasis role="bold">HOB</emphasis> is currently not supported
127 on Red Hat.<remark>LXCR-2994, LXCR-3222</remark></para>
128 </listitem>
129
130 <listitem>
131 <para><emphasis role="bold">SystemTap</emphasis> is currently not
132 supported on Red Hat.<remark>LXCR-3274</remark></para>
133 </listitem>
134
135 <listitem>
136 <para>When running <emphasis role="bold">SystemTap</emphasis> for the
137 first time on a target, you may need to manually ssh into the target
138 beforehand, in order to add the RSA key of the host to the file
139 known_hosts. Failing to do so will result in Eclipse freezing with the
140 progress window displayed, and a terminal message <literal>The
141 authenticity of host &lt;target_ip&gt; can't be
142 established</literal>.</para>
143 </listitem>
144
145 <listitem>
146 <para><emphasis role="bold">SystemTap</emphasis> scripts sometimes
147 result crosstap error messages about inaccessible variables. This is
148 not an issue with the tool itself, but stems from the compiler
149 optimizing away some of the variables. See workaround in the User's
150 Guide.<remark>LXCR-2204</remark></para>
151 </listitem>
152
153 <listitem>
154 <para>Currently <emphasis role="bold">BitBake Commander</emphasis>
155 projects can only be created for a local connection. Due to an
156 upstream bug, selecting a remote connection causes the Eclipse GUI to
157 freeze such that it must be killed.<remark>LXCR-2801</remark></para>
158 </listitem>
159
160 <listitem>
161 <para>A limitation currently makes <emphasis
162 role="bold">Eclipse</emphasis> non-responding when running a streaming
163 script, i.e. a script that runs continuously.</para>
164 </listitem>
165
166 <listitem>
167 <para>The <emphasis role="bold">LatencyTop</emphasis> plug-in for the
168 P2041 target reports some errors due to the permissions configuration
169 on the target, but it works correctly if the
170 <literal>latencytop</literal> command is issued from the Eclipse
171 console.<remark>LXCR-6303</remark></para>
172 </listitem>
173
174 <listitem>
175 <para>Currently <emphasis role="bold">LatencyTOP</emphasis> is not
176 available for ARM kernels built with SMP support due to an ARM
177 specific limitation in the Linux kernel.</para>
178 </listitem>
179
180 <listitem>
181 <para><emphasis role="bold">PowerTOP</emphasis> sometimes freezes
182 Eclipse after displaying a progress bar with message
183 <literal>Gathering powertop data file
184 remotely</literal>.<remark>LXCR-3143</remark></para>
185 </listitem>
186
187 <listitem>
188 <para>When running <emphasis role="bold">powertop</emphasis> from the
189 Eclipse terminal towards p2020rdb targets it is necessary to specify
190 the full path in order to find the
191 command.<remark>LXCR-2265</remark></para>
192 </listitem>
193
194 <listitem>
195 <para>When running <emphasis role="bold">powertop</emphasis> from the
196 Eclipse terminal towards zynq ZC702 targets it is necessary to specify
197 the full path in order to find the
198 command.<remark>LXCR-2265</remark></para>
199 </listitem>
200
201 <listitem>
202 <para>The <emphasis role="bold">PowerTOP</emphasis> console in Eclipse
203 might display messages like <literal>Cannot load
204 /var/cache/powertop/&lt;filename&gt;</literal>. As a workaround, run
205 <emphasis role="bold">powertop --calibrate</emphasis> for a while to
206 generate the missing files. See <ulink
207 url="https://bugzilla.redhat.com/show_bug.cgi?id=698020">Bugzilla
208 #698020</ulink>.<remark>LXCR-3575</remark></para>
209 </listitem>
210
211 <listitem>
212 <para><emphasis role="bold">ssh-only</emphasis> is currently the only
213 supported connection type when running Eclipse tools towards a
214 target.<remark>LXCR-2799</remark></para>
215 </listitem>
216
217 <listitem>
218 <para>Hyphen character '-' in the name of the <emphasis
219 role="bold">Yocto ADT AutoTools project</emphasis> can cause
220 configuration errors.<remark>LXCR-2290</remark></para>
221 </listitem>
222
223 <listitem>
224 <para>The <emphasis role="bold">LTTng</emphasis> tool does not work on
225 <emphasis role="bold">ARM</emphasis> targets, neither from within
226 Eclipse nor when run directly on target, due to a problem with
227 lttng-modules and gcc-4.8.x. See <ulink
228 url="https://bugzilla.yoctoproject.org/show_bug.cgi?id=6015">Bugzilla
229 #6015</ulink>.<remark>LXCR-2653, LXCR-3053</remark></para>
230 </listitem>
231
232 <listitem>
233 <para>When running <emphasis role="bold">LTTng</emphasis> from
234 Eclipse, it sometimes happens that a new session created in the
235 Control View does not immediately appear under Sessions for that
236 target. However, the session is created and will appear after
237 right-clicking "Sessions" and selecting "Refresh".</para>
238 </listitem>
239
240 <listitem>
241 <para>The<emphasis role="bold"> yocto-bsp</emphasis> properties page
242 has some problems in the graphical user interface. Occasionally it is
243 not possible to resize and scroll which makes it impossible to see the
244 lower part of the properties window.<remark>LXCR-3128</remark></para>
245 </listitem>
246
247 <listitem>
248 <para>When connecting an Eclipse project configured for <emphasis
249 role="bold">KGDB</emphasis> (GDB Hardware Debugging) to a 64-bit
250 PowerPC target, GDB fails to connect unless the architecture is
251 specified in <filename>.gdbinit</filename>. See <ulink
252 url="https://bugs.eclipse.org/bugs/show_bug.cgi?id=457697">Bugzilla
253 #457697</ulink>.<remark>LXCR-3984</remark></para>
254 </listitem>
255 </itemizedlist>
256 </section>
257
258 <section id="bugs-limitations-target-side-tools">
259 <title>Target-Side Tools</title>
260
261 <para>The target-side tools can be run stand-alone on target or from
262 Eclipse on host. The issues below are only observed when running the tools
263 directly on target:</para>
264
265 <itemizedlist spacing="compact">
266 <listitem>
267 <para>The <emphasis role="bold">perf report</emphasis> command hangs
268 or crashes due to segmentation fault on ARM
269 targets.<remark>LXCR-2708</remark></para>
270 </listitem>
271
272 <listitem>
273 <para>The <emphasis role="bold">perf report</emphasis> does not show
274 any output for the PandaBoard target.<remark>LXCR-2710</remark></para>
275 </listitem>
276
277 <listitem>
278 <para><emphasis role="bold">perf top</emphasis> displays for a few
279 seconds the error message <literal>Failed to open
280 /tmp/perf-388.map</literal>. Any attempt to exit the subsequent window
281 causes the system to hang.<remark>LXCR-3113</remark></para>
282 </listitem>
283
284 <listitem>
285 <para>When running the <command>perf top</command> command on the i.MX
286 6Quad SABRE Lite target, the console text may become red after running
287 for some time (~ 1 minute).<remark>LXCR-3631</remark></para>
288 </listitem>
289
290 <listitem>
291 <para>The <emphasis role="bold">LTTng</emphasis> tool does not work on
292 <emphasis role="bold">ARM</emphasis> targets, neither from within
293 Eclipse nor when run directly on target, due to a problem with
294 lttng-modules and gcc-4.8.x. See <ulink
295 url="https://bugzilla.yoctoproject.org/show_bug.cgi?id=6015">Bugzilla
296 #6015</ulink>.<remark>LXCR-2653, LXCR-3053</remark></para>
297 </listitem>
298
299 <listitem>
300 <para>The <emphasis role="bold">powertop --calibrate</emphasis>
301 command does not work on the Keystone k2hk-evm
302 target.<remark>LXCR-2660</remark></para>
303 </listitem>
304
305 <listitem>
306 <para>The <emphasis role="bold">powertop</emphasis> command run with
307 <emphasis role="bold">--calibrate</emphasis> or -<emphasis
308 role="bold">-time</emphasis> arguments may show some warnings on
309 PowerPC targets.</para>
310 </listitem>
311
312 <listitem>
313 <para>When running <emphasis role="bold">powertop</emphasis> on
314 <emphasis role="bold">ARM</emphasis> targets, the following
315 warning/error is repeated: <literal>clk_set_rate: failed to set
316 i2c0_aper rate</literal> . Then powertop stops and the statistics are
317 no longer updated. What probably happens here is that the cpufreq
318 governor tries to scale the CPU frequency, but since the I2C clock is
319 derived from the CPU frequency, the I2C driver implements some policy
320 to stay within legal frequency limits and rejects the frequency
321 changes, ending up with the warning message. A <ulink
322 url="https://github.com/Xilinx/linux-xlnx/commit/0fdd34575efae5c8eced09b6b0a1b723bff4d225">fix</ulink>
323 has been merged in the linux-xlnx kernel but is not yet propagated
324 into meta-xilinx.<remark>LXCR-3205, LXCR-3106,
325 LXCR-2660</remark></para>
326 </listitem>
327
328 <listitem>
329 <para>If you get an error message like <literal>Cannot load from file
330 /var/cache/powertop/saved_results.powertop</literal> when running
331 <emphasis role="bold">powertop</emphasis>, there is most likely not
332 enough measurement data collected yet. All you have to do is to keep
333 powertop running for a certain time.<remark>LXCR-2176, LXCR-2660,
334 LXCR-3106</remark></para>
335 </listitem>
336
337 <listitem>
338 <para>The message <literal>Model-specific registers (MSR) not found
339 (try enabling CONFIG_X86_MSR)</literal> appears when you run <emphasis
340 role="bold">powertop</emphasis> on <emphasis
341 role="bold">non-x86</emphasis> targets. powertop is mainly an x86n
342 tool, so it expects X*^_MSR config to be enabled in the kernel. For
343 non-x86 targets this config is not available in the kernel, hence,
344 powertop warns about it, but the message can be ignored on those
345 targets.<remark> LXCR-2176, LXCR-2660, LXCR-3106</remark></para>
346 </listitem>
347
348 <listitem>
349 <para><emphasis role="bold">powertop</emphasis> issues a message
350 <literal>sh: /usr/bin/xset: No such file or directory</literal> when
351 it tries to use xset to configure X display preferences but cannot
352 find the binary since the image by default contains no X system. The
353 message can simply be ignored.<remark>LXCR-2176</remark></para>
354 </listitem>
355 </itemizedlist>
356 </section>
357
358 <section id="bugs-limitations-virtualization">
359 <title>Virtualization</title>
360
361 <itemizedlist spacing="compact">
362 <listitem>
363 <para><emphasis role="bold">virtualization</emphasis>: CONFIG_BRIDGE
364 is not included in the default p2020rdb
365 kernel.<remark>LXVTCR-273</remark></para>
366 </listitem>
367
368 <listitem>
369 <para><emphasis role="bold">lxc</emphasis>:</para>
370
371 <itemizedlist spacing="compact">
372 <listitem>
373 <para>User namespace is not available on PowerPC targets as it is
374 an experimental feature in the 3.8 kernel.</para>
375 </listitem>
376
377 <listitem>
378 <para>If multiple Linux containers are started from the same
379 process and share resources, destroying the containers might
380 result in a race condition with error message "Error in
381 `./lxc-test-concurrent': double free or corruption (fasttop)"
382 followed by an application
383 crash."<remark>LXVTCR-365</remark></para>
384 </listitem>
385 </itemizedlist>
386 </listitem>
387
388 <listitem>
389 <para><emphasis role="bold">libvirt</emphasis>: Default network does
390 not start.<remark>LXVTCR-240</remark></para>
391 </listitem>
392 </itemizedlist>
393 </section>
394
395 <section id="bugs-limitations-doc">
396 <title>Documentation</title>
397
398 <itemizedlist spacing="compact">
399 <listitem>
400 <para><emphasis role="bold">PDF navigation</emphasis>: When using
401 links to open other PDFs, or jump to another place in the same PDF,
402 jumping back sometimes fails. This has been observed when opening a
403 PDF in Adobe Reader, inside a browser with PDF add-on, as well as when
404 the browser is configured to open PDF files in an external PDF reader.
405 As a workaround, open the HTML version of the
406 document.<remark>LXCR-3283</remark></para>
407 </listitem>
408
409 <listitem>
410 <para><emphasis role="bold">Internet Explorer (IE) cannot display some
411 web pages</emphasis>: It is recommended to use Firefox or another
412 non-IE browser for opening external links. If you prefer reading the
413 documentation in PDF format in Adobe Reader (not in an Adobe plug-in
414 in a browser), remember to configure a non-IE browser as default
415 browser to be able to follow all links from within Adobe Reader.
416 Example of a link that does not work in IE: <ulink
417 url="https://rt.wiki.kernel.org/">https://rt.wiki.kernel.org/</ulink>.
418 <remark>LXCR-3281</remark></para>
419 </listitem>
420
421 <listitem>
422 <para><emphasis role="bold">Characters not displayed properly in
423 PDF</emphasis>: When viewing PDF files in a browser, checkmarks (V)
424 and crosses (x) might display as 4 and 7, respectively. This has been
425 observed when reading <link
426 linkend="relinfo-supported-targets">Supported Targets</link> in
427 Firefox. Installing the Adobe Acrobat add-on should fix the
428 problem.<remark>LXCR-3266</remark></para>
429 </listitem>
430 </itemizedlist>
431 </section>
432
433 <section id="bugs-limitations-other">
434 <title>Miscellaneous</title>
435
436 <itemizedlist spacing="compact">
437 <listitem>
438 <para>Running <emphasis role="bold">QEMU from an exported
439 rootfs</emphasis> requires sudo privileges on the host.</para>
440 </listitem>
441
442 <listitem>
443 <para><emphasis role="bold">menuconfig</emphasis> requires <emphasis
444 role="bold">Ncurses</emphasis>. If the terminal that pops up
445 immediately closes instead of showing the menuconfig interface, check
446 that the Ncurses development library is installed.</para>
447 </listitem>
448 </itemizedlist>
449 </section>
450</section> \ No newline at end of file
diff --git a/doc/book-enea-linux-release-info/doc/known_bugs_and_limitations.xml b/doc/book-enea-linux-release-info/doc/known_bugs_and_limitations.xml
index a219fe4..2a9598b 100644
--- a/doc/book-enea-linux-release-info/doc/known_bugs_and_limitations.xml
+++ b/doc/book-enea-linux-release-info/doc/known_bugs_and_limitations.xml
@@ -14,27 +14,456 @@
14 targetptr="book_enea_linux_users_guide"><trademark 14 targetptr="book_enea_linux_users_guide"><trademark
15 class="registered">Enea</trademark> Linux User's Guide</olink>.</para> 15 class="registered">Enea</trademark> Linux User's Guide</olink>.</para>
16 16
17 <section id="bugs-limitations-release"> 17 <section id="bugs-limitations-yocto">
18 <title>Release-Specific Problems</title> 18 <title>Yocto</title>
19 19
20 <section> 20 <para>Open source projects often use bug databases for much more than
21 <title>Problem with 32-bit Applications on 64-bit T4240</title> 21 tracking bugs. The Yocto Project's Bugzilla database also functions as a
22 feature tracking program, both for the current release and for future
23 releases, and a way to track non-software issues, like documentation
24 changes.</para>
22 25
23 <para>Currently in the Enea Linux 5.0-ppc release, cross-compiling 26 <para>The following page shows a sampling of the database: <ulink
24 32-bit applications to run on the T4240 64-bit target is not 27 url="https://www.yoctoproject.org/tools-resources/bugs">https://www.yoctoproject.org/tools-resources/bugs</ulink>.</para>
25 supported.</para> 28
29 <para>For the full database, visit <ulink
30 url="https://bugzilla.yoctoproject.org">https://bugzilla.yoctoproject.org</ulink>.</para>
31 </section>
32
33 <section id="bugs-limitations-sdk">
34 <title>Toolchain / SDK</title>
35
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>Building the kernel might fail if GNU Make of version 3.82 has
39 been installed on the host. The mandatory recovery action is to
40 revert to version 3.81.</para>
41 </listitem>
42
43 <listitem>
44 <para>Installing a second toolchain in the same directory as a
45 previous one will break the $PATH variable of the first
46 one.<remark>LXCR-3624</remark></para>
47 </listitem>
48 </itemizedlist>
49 </section>
50
51 <section id="bugs-package-manager">
52 <title>Smart Package Manager</title>
53
54 <para>Installation of some packages might currently fail when installing
55 using the Smart Package Manager. An example is the qemu package. Errors
56 can e.g. be reported by smart about conflicts with files from other
57 packages.</para>
58
59 <para>The recommended solution to this problem is to install the failing
60 package using rpm, already available in enea-image-base. In order to
61 install it using rpm, first install rpm using the command <command>smart
62 install rpm</command>, then download the package to the target, and
63 finally on the target use <command>rpm -i
64 &lt;packagename&gt;.rpm</command>. If not installed, several
65 dependencies can be reported as "Failed dependencies" with lines "x is
66 needed by y". In that case, install the required packages "x" found by
67 dependencies by using the smart package manager. Add a channel to an
68 accessible directory containing all missing rpm packages. Add packages
69 detected to be missing, until all dependencies are
70 resolved.<remark>FIXME It would be nice to add also a PowerPC example
71 with qemu failing, the example below is for ARM.</remark></para>
72
73 <section>
74 <title>Example with Failing QEMU Package</title>
75
76 <para>As an example, the qemu installation can show the following
77 error.</para>
78
79 <note>
80 <para>The example below is for ARM, including the RPM names. For
81 PowerPC similar errors can occur and other packages are
82 needed.</para>
83 </note>
84
85 <para><emphasis role="bold">error: file /var/run from install of
86 qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64 conflicts with file from
87 package base-files-3.0.14-r89.0.hierofalcon</emphasis></para>
88
89 <para>A solution to this problem is to install the above qemu package
90 using rpm, already available in enea-image-base. In order to install
91 it using rpm, first install rpm using the command <command>smart
92 install rpm</command>, then download the above package from
93 &lt;build_dir&gt;/tmp/deploy/rpm/aarch64. On target, use <command>rpm
94 -i qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64.rpm</command>. If not
95 installed, several dependencies can be seen, e.g.:</para>
96
97 <programlisting>error: Failed dependencies:
98 libpixman-1-0 &gt;= 0.32.6 is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64
99 libpixman-1.so.0()(64bit) is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64
100 libglib-2.0.so.0()(64bit) is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64
101 libcap2 &gt;= 2.22 is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64
102 libglib-2.0-0 &gt;= 2.40.0 is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64
103 bluez4 &gt;= 4.101 is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64
104 libbluetooth.so.3()(64bit) is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64
105 libcap.so.2()(64bit) is needed by qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64</programlisting>
106
107 <para>Install the required packages found by dependencies by using the
108 smart package manager, as specified in the User's Guide, by adding a
109 channel to an accessible directory containing all of the above rpm
110 packages. Suggestion for installing required packages, as in the
111 following example for qemu and ARM:</para>
112
113 <programlisting>smart install bash
114 smart install libcap
115 smart install bluez4
116 smart install libpixman-1-0
117 rpm -i qemu-2.1.0+git0+541bbb07eb-r0.0.aarch64.rpm</programlisting>
118
119 <para>Add packages detected to be missing until all dependencies are
120 resolved.</para>
121 </section>
122 </section>
123
124 <section id="bugs-limitations-eclipse">
125 <title>Eclipse Tools</title>
126
127 <para>The Eclipse tools provided together with Enea Linux are part of
128 the Yocto Application Development Toolkit (ADT) and are maintained by
129 different open source projects. The list below outlines current problems
130 with the plug-ins as such, as well as kernel limitations when using a
131 tool towards the mentioned target:</para>
132
133 <itemizedlist spacing="compact">
134 <listitem>
135 <para><emphasis role="bold">HOB</emphasis> is currently not
136 supported on Red Hat.<remark>LXCR-2994, LXCR-3222</remark></para>
137 </listitem>
138
139 <listitem>
140 <para><emphasis role="bold">SystemTap</emphasis> is currently not
141 supported on Red Hat.<remark>LXCR-3274</remark></para>
142 </listitem>
143
144 <listitem>
145 <para>When running <emphasis role="bold">SystemTap</emphasis> for
146 the first time on a target, you may need to manually ssh into the
147 target beforehand, in order to add the RSA key of the host to the
148 file known_hosts. Failing to do so will result in Eclipse freezing
149 with the progress window displayed, and a terminal message
150 <literal>The authenticity of host &lt;target_ip&gt; can't be
151 established</literal>.</para>
152 </listitem>
153
154 <listitem>
155 <para><emphasis role="bold">SystemTap</emphasis> scripts sometimes
156 result crosstap error messages about inaccessible variables. This is
157 not an issue with the tool itself, but stems from the compiler
158 optimizing away some of the variables. See workaround in the User's
159 Guide.<remark>LXCR-2204</remark></para>
160 </listitem>
161
162 <listitem>
163 <para>Currently <emphasis role="bold">BitBake Commander</emphasis>
164 projects can only be created for a local connection. Due to an
165 upstream bug, selecting a remote connection causes the Eclipse GUI
166 to freeze such that it must be
167 killed.<remark>LXCR-2801</remark></para>
168 </listitem>
169
170 <listitem>
171 <para>A limitation currently makes <emphasis
172 role="bold">Eclipse</emphasis> non-responding when running a
173 streaming script, i.e. a script that runs continuously.</para>
174 </listitem>
175
176 <listitem>
177 <para>The <emphasis role="bold">LatencyTop</emphasis> plug-in for
178 the P2041 target reports some errors due to the permissions
179 configuration on the target, but it works correctly if the
180 <literal>latencytop</literal> command is issued from the Eclipse
181 console.<remark>LXCR-6303</remark></para>
182 </listitem>
183
184 <listitem>
185 <para>Currently <emphasis role="bold">LatencyTOP</emphasis> is not
186 available for ARM kernels built with SMP support due to an ARM
187 specific limitation in the Linux kernel.</para>
188 </listitem>
189
190 <listitem>
191 <para><emphasis role="bold">PowerTOP</emphasis> sometimes freezes
192 Eclipse after displaying a progress bar with message
193 <literal>Gathering powertop data file
194 remotely</literal>.<remark>LXCR-3143</remark></para>
195 </listitem>
196
197 <listitem>
198 <para>When running <emphasis role="bold">powertop</emphasis> from
199 the Eclipse terminal towards p2020rdb targets it is necessary to
200 specify the full path in order to find the
201 command.<remark>LXCR-2265</remark></para>
202 </listitem>
203
204 <listitem>
205 <para>When running <emphasis role="bold">powertop</emphasis> from
206 the Eclipse terminal towards zynq ZC702 targets it is necessary to
207 specify the full path in order to find the
208 command.<remark>LXCR-2265</remark></para>
209 </listitem>
210
211 <listitem>
212 <para>The <emphasis role="bold">PowerTOP</emphasis> console in
213 Eclipse might display messages like <literal>Cannot load
214 /var/cache/powertop/&lt;filename&gt;</literal>. As a workaround, run
215 <emphasis role="bold">powertop --calibrate</emphasis> for a while to
216 generate the missing files. See <ulink
217 url="https://bugzilla.redhat.com/show_bug.cgi?id=698020">Bugzilla
218 #698020</ulink>.<remark>LXCR-3575</remark></para>
219 </listitem>
220
221 <listitem>
222 <para><emphasis role="bold">ssh-only</emphasis> is currently the
223 only supported connection type when running Eclipse tools towards a
224 target.<remark>LXCR-2799</remark></para>
225 </listitem>
226
227 <listitem>
228 <para>Hyphen character '-' in the name of the <emphasis
229 role="bold">Yocto ADT AutoTools project</emphasis> can cause
230 configuration errors.<remark>LXCR-2290</remark></para>
231 </listitem>
232
233 <listitem>
234 <para>The <emphasis role="bold">LTTng</emphasis> tool does not work
235 on <emphasis role="bold">ARM</emphasis> targets, neither from within
236 Eclipse nor when run directly on target, due to a problem with
237 lttng-modules and gcc-4.8.x. See <ulink
238 url="https://bugzilla.yoctoproject.org/show_bug.cgi?id=6015">Bugzilla
239 #6015</ulink>.<remark>LXCR-2653, LXCR-3053</remark></para>
240 </listitem>
241
242 <listitem>
243 <para>When running <emphasis role="bold">LTTng</emphasis> from
244 Eclipse, it sometimes happens that a new session created in the
245 Control View does not immediately appear under Sessions for that
246 target. However, the session is created and will appear after
247 right-clicking "Sessions" and selecting "Refresh".</para>
248 </listitem>
249
250 <listitem>
251 <para>The<emphasis role="bold"> yocto-bsp</emphasis> properties page
252 has some problems in the graphical user interface. Occasionally it
253 is not possible to resize and scroll which makes it impossible to
254 see the lower part of the properties
255 window.<remark>LXCR-3128</remark></para>
256 </listitem>
257
258 <listitem>
259 <para>When connecting an Eclipse project configured for <emphasis
260 role="bold">KGDB</emphasis> (GDB Hardware Debugging) to a 64-bit
261 PowerPC target, GDB fails to connect unless the architecture is
262 specified in <filename>.gdbinit</filename>. See <ulink
263 url="https://bugs.eclipse.org/bugs/show_bug.cgi?id=457697">Bugzilla
264 #457697</ulink>.<remark>LXCR-3984</remark></para>
265 </listitem>
266 </itemizedlist>
267 </section>
268
269 <section id="bugs-limitations-target-side-tools">
270 <title>Target-Side Tools</title>
271
272 <para>The target-side tools can be run stand-alone on target or from
273 Eclipse on host. The issues below are only observed when running the
274 tools directly on target:</para>
275
276 <itemizedlist spacing="compact">
277 <listitem>
278 <para>The <emphasis role="bold">perf report</emphasis> command hangs
279 or crashes due to segmentation fault on ARM
280 targets.<remark>LXCR-2708</remark></para>
281 </listitem>
282
283 <listitem>
284 <para>The <emphasis role="bold">perf report</emphasis> does not show
285 any output for the PandaBoard
286 target.<remark>LXCR-2710</remark></para>
287 </listitem>
288
289 <listitem>
290 <para><emphasis role="bold">perf top</emphasis> displays for a few
291 seconds the error message <literal>Failed to open
292 /tmp/perf-388.map</literal>. Any attempt to exit the subsequent
293 window causes the system to hang.<remark>LXCR-3113</remark></para>
294 </listitem>
295
296 <listitem>
297 <para>When running the <command>perf top</command> command on the
298 i.MX 6Quad SABRE Lite target, the console text may become red after
299 running for some time (~ 1 minute).<remark>LXCR-3631</remark></para>
300 </listitem>
301
302 <listitem>
303 <para>The <emphasis role="bold">LTTng</emphasis> tool does not work
304 on <emphasis role="bold">ARM</emphasis> targets, neither from within
305 Eclipse nor when run directly on target, due to a problem with
306 lttng-modules and gcc-4.8.x. See <ulink
307 url="https://bugzilla.yoctoproject.org/show_bug.cgi?id=6015">Bugzilla
308 #6015</ulink>.<remark>LXCR-2653, LXCR-3053</remark></para>
309 </listitem>
310
311 <listitem>
312 <para>The <emphasis role="bold">powertop --calibrate</emphasis>
313 command does not work on the Keystone k2hk-evm
314 target.<remark>LXCR-2660</remark></para>
315 </listitem>
316
317 <listitem>
318 <para>The <emphasis role="bold">powertop</emphasis> command run with
319 <emphasis role="bold">--calibrate</emphasis> or -<emphasis
320 role="bold">-time</emphasis> arguments may show some warnings on
321 PowerPC targets.</para>
322 </listitem>
323
324 <listitem>
325 <para>When running <emphasis role="bold">powertop</emphasis> on
326 <emphasis role="bold">ARM</emphasis> targets, the following
327 warning/error is repeated: <literal>clk_set_rate: failed to set
328 i2c0_aper rate</literal> . Then powertop stops and the statistics
329 are no longer updated. What probably happens here is that the
330 cpufreq governor tries to scale the CPU frequency, but since the I2C
331 clock is derived from the CPU frequency, the I2C driver implements
332 some policy to stay within legal frequency limits and rejects the
333 frequency changes, ending up with the warning message. A <ulink
334 url="https://github.com/Xilinx/linux-xlnx/commit/0fdd34575efae5c8eced09b6b0a1b723bff4d225">fix</ulink>
335 has been merged in the linux-xlnx kernel but is not yet propagated
336 into meta-xilinx.<remark>LXCR-3205, LXCR-3106,
337 LXCR-2660</remark></para>
338 </listitem>
339
340 <listitem>
341 <para>If you get an error message like <literal>Cannot load from
342 file /var/cache/powertop/saved_results.powertop</literal> when
343 running <emphasis role="bold">powertop</emphasis>, there is most
344 likely not enough measurement data collected yet. All you have to do
345 is to keep powertop running for a certain time.<remark>LXCR-2176,
346 LXCR-2660, LXCR-3106</remark></para>
347 </listitem>
348
349 <listitem>
350 <para>The message <literal>Model-specific registers (MSR) not found
351 (try enabling CONFIG_X86_MSR)</literal> appears when you run
352 <emphasis role="bold">powertop</emphasis> on <emphasis
353 role="bold">non-x86</emphasis> targets. powertop is mainly an x86n
354 tool, so it expects X*^_MSR config to be enabled in the kernel. For
355 non-x86 targets this config is not available in the kernel, hence,
356 powertop warns about it, but the message can be ignored on those
357 targets.<remark> LXCR-2176, LXCR-2660, LXCR-3106</remark></para>
358 </listitem>
359
360 <listitem>
361 <para><emphasis role="bold">powertop</emphasis> issues a message
362 <literal>sh: /usr/bin/xset: No such file or directory</literal> when
363 it tries to use xset to configure X display preferences but cannot
364 find the binary since the image by default contains no X system. The
365 message can simply be ignored.<remark>LXCR-2176</remark></para>
366 </listitem>
367 </itemizedlist>
26 </section> 368 </section>
27 </section>
28 369
29 <!-- common_bugs_and_limitations.xml COPY from documentation.git --> 370 <section id="bugs-limitations-virtualization">
371 <title>Virtualization</title>
372
373 <itemizedlist spacing="compact">
374 <listitem>
375 <para><emphasis role="bold">virtualization</emphasis>: CONFIG_BRIDGE
376 is not included in the default p2020rdb
377 kernel.<remark>LXVTCR-273</remark></para>
378 </listitem>
379
380 <listitem>
381 <para><emphasis role="bold">lxc</emphasis>:</para>
382
383 <itemizedlist spacing="compact">
384 <listitem>
385 <para>User namespace is not available on PowerPC targets as it
386 is an experimental feature in the 3.8 kernel.</para>
387 </listitem>
388
389 <listitem>
390 <para>If multiple Linux containers are started from the same
391 process and share resources, destroying the containers might
392 result in a race condition with error message "Error in
393 `./lxc-test-concurrent': double free or corruption (fasttop)"
394 followed by an application
395 crash."<remark>LXVTCR-365</remark></para>
396 </listitem>
397 </itemizedlist>
398 </listitem>
399
400 <listitem>
401 <para><emphasis role="bold">libvirt</emphasis>: Default network does
402 not start.<remark>LXVTCR-240</remark></para>
403 </listitem>
404 </itemizedlist>
405 </section>
30 406
31 <xi:include href="common_bugs_and_limitations.xml" 407 <section id="bugs-limitations-doc">
32 xmlns:xi="http://www.w3.org/2001/XInclude" /> 408 <title>Documentation</title>
409
410 <itemizedlist spacing="compact">
411 <listitem>
412 <para><emphasis role="bold">PDF navigation</emphasis>: When using
413 links to open other PDFs, or jump to another place in the same PDF,
414 jumping back sometimes fails. This has been observed when opening a
415 PDF in Adobe Reader, inside a browser with PDF add-on, as well as
416 when the browser is configured to open PDF files in an external PDF
417 reader. As a workaround, open the HTML version of the
418 document.<remark>LXCR-3283</remark></para>
419 </listitem>
420
421 <listitem>
422 <para><emphasis role="bold">Internet Explorer (IE) cannot display
423 some web pages</emphasis>: It is recommended to use Firefox or
424 another non-IE browser for opening external links. If you prefer
425 reading the documentation in PDF format in Adobe Reader (not in an
426 Adobe plug-in in a browser), remember to configure a non-IE browser
427 as default browser to be able to follow all links from within Adobe
428 Reader. Example of a link that does not work in IE: <ulink
429 url="https://rt.wiki.kernel.org/">https://rt.wiki.kernel.org/</ulink>.
430 <remark>LXCR-3281</remark></para>
431 </listitem>
432
433 <listitem>
434 <para><emphasis role="bold">Characters not displayed properly in
435 PDF</emphasis>: When viewing PDF files in a browser, checkmarks (V)
436 and crosses (x) might display as 4 and 7, respectively. This has
437 been observed when reading <link
438 linkend="relinfo-supported-targets">Supported Targets</link> in
439 Firefox. Installing the Adobe Acrobat add-on should fix the
440 problem.<remark>LXCR-3266</remark></para>
441 </listitem>
442 </itemizedlist>
443 </section>
444
445 <section id="bugs-limitations-other">
446 <title>Miscellaneous</title>
447
448 <itemizedlist spacing="compact">
449 <listitem>
450 <para>Running <emphasis role="bold">QEMU from an exported
451 rootfs</emphasis> requires sudo privileges on the host.</para>
452 </listitem>
453
454 <listitem>
455 <para><emphasis role="bold">menuconfig</emphasis> requires <emphasis
456 role="bold">Ncurses</emphasis>. If the terminal that pops up
457 immediately closes instead of showing the menuconfig interface,
458 check that the Ncurses development library is installed.</para>
459 </listitem>
460 </itemizedlist>
461 </section>
33 462
34 <section id="relinfo-extracted-from-jira"> 463 <section id="relinfo-extracted-from-jira">
35 <title>Extracted from Jira</title> 464 <title>Extracted from Jira</title>
36 465
37 <para>This section lists open bugs in Jira. </para> 466 <para>This section lists open bugs in Jira.</para>
38 467
39 <para><programlisting>project = "Linux CR" \ 468 <para><programlisting>project = "Linux CR" \
40 and issuetype = Bug \ 469 and issuetype = Bug \
@@ -144,4 +573,4 @@
144 </tgroup> 573 </tgroup>
145 </informaltable> 574 </informaltable>
146 </section> 575 </section>
147</chapter> \ No newline at end of file 576</chapter>
diff --git a/doc/book-enea-linux-release-info/doc/main_changes.xml b/doc/book-enea-linux-release-info/doc/main_changes.xml
index 8647a83..4739669 100644
--- a/doc/book-enea-linux-release-info/doc/main_changes.xml
+++ b/doc/book-enea-linux-release-info/doc/main_changes.xml
@@ -18,7 +18,8 @@
18 <para>New Yocto version (<xi:include 18 <para>New Yocto version (<xi:include
19 href="../../s_docsrc_common/pardoc-distro.xml" 19 href="../../s_docsrc_common/pardoc-distro.xml"
20 xmlns:xi="http://www.w3.org/2001/XInclude" 20 xmlns:xi="http://www.w3.org/2001/XInclude"
21 xpointer="element(Yocto_VER/1)" />)</para> 21 xpointer="element(Yocto_VER/1)" />). See <ulink
22 url="???">https://www.yoctoproject.org/downloads/core/krogoth21</ulink>.</para>
22 </listitem> 23 </listitem>
23 24
24 <listitem> 25 <listitem>
diff --git a/doc/gen_pkgdiff.py b/doc/gen_pkgdiff.py
index acfbadc..7dd8c73 100644
--- a/doc/gen_pkgdiff.py
+++ b/doc/gen_pkgdiff.py
@@ -12,7 +12,8 @@
12# 12#
13# Note that packages with the unchanged version is not listed. 13# Note that packages with the unchanged version is not listed.
14# 14#
15# The output is presented as XML code printed to stdout. 15# The output is presented as XML code printed to stdout. A summary is printed
16# to STDERR at the end.
16# 17#
17############################################################################### 18###############################################################################
18 19
@@ -22,11 +23,18 @@ import xml.etree.ElementTree as ET
22 23
23def get_pkgs(file_spec): 24def get_pkgs(file_spec):
24 if file_spec.find(":") >= 0: 25 if file_spec.find(":") >= 0:
25 cmd = ("git", "show", file_spec) 26 s = subprocess.check_output(("git", "show", file_spec))
26 root = ET.fromstring(subprocess.check_output(cmd))
27
28 else: 27 else:
29 root = ET.parse(file_spec) 28 f = open(file_spec)
29 s = f.read()
30 f.close()
31 del f
32
33 # ET can't handle some special quotes
34 for old, new in (("&rdquor;", "&quot;"), ("&rdquo;", "&quot;")):
35 s = s.replace(old, new)
36
37 root = ET.fromstring(s)
30 38
31 for node in root.iter("section"): 39 for node in root.iter("section"):
32 if "id" in node.attrib: 40 if "id" in node.attrib: