kernel.po 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR Free Software Foundation, Inc.
  3. # This file is distributed under the same license as the PACKAGE package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: PACKAGE VERSION\n"
  10. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  11. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  12. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  13. "Language-Team: LANGUAGE <LL@li.org>\n"
  14. "Language: \n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #. type: Content of: <sect1><sect1info><address>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:14
  20. #, no-wrap
  21. msgid "&linux-url;"
  22. msgstr ""
  23. #. type: Content of: <sect1><sect1info>
  24. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:12
  25. msgid ""
  26. "<productname>kernel</productname> "
  27. "<productnumber>&linux-version;</productnumber> <placeholder type=\"address\" "
  28. "id=\"0\"/>"
  29. msgstr ""
  30. #. type: Content of: <sect1><title>
  31. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:17
  32. msgid "Linux-&linux-version;"
  33. msgstr ""
  34. #. type: Content of: <sect1><indexterm><primary>
  35. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:20
  36. msgid "Linux"
  37. msgstr ""
  38. #. type: Content of: <sect1><sect2><para>
  39. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:26
  40. msgid "The Linux package contains the Linux kernel."
  41. msgstr ""
  42. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  43. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:29
  44. msgid "&buildtime;"
  45. msgstr ""
  46. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  47. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:30
  48. msgid "&diskspace;"
  49. msgstr ""
  50. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  51. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:33
  52. msgid "&linux-knl-sbu;"
  53. msgstr ""
  54. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  55. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:34
  56. msgid "&linux-knl-du;"
  57. msgstr ""
  58. #. type: Content of: <sect1><sect2><title>
  59. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:41
  60. msgid "Installation of the kernel"
  61. msgstr ""
  62. #. type: Content of: <sect1><sect2><para>
  63. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:43
  64. msgid ""
  65. "Building the kernel involves a few steps&mdash;configuration, compilation, "
  66. "and installation. Read the <filename>README</filename> file in the kernel "
  67. "source tree for alternative methods to the way this book configures the "
  68. "kernel."
  69. msgstr ""
  70. #. type: Content of: <sect1><sect2><para>
  71. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:48
  72. msgid "Prepare for compilation by running the following command:"
  73. msgstr ""
  74. #. type: Content of: <sect1><sect2><screen>
  75. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:50
  76. #, no-wrap
  77. msgid "<userinput remap=\"pre\">make mrproper</userinput>"
  78. msgstr ""
  79. #. type: Content of: <sect1><sect2><para>
  80. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:52
  81. msgid ""
  82. "This ensures that the kernel tree is absolutely clean. The kernel team "
  83. "recommends that this command be issued prior to each kernel compilation. Do "
  84. "not rely on the source tree being clean after un-tarring."
  85. msgstr ""
  86. #. type: Content of: <sect1><sect2><para>
  87. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:59
  88. msgid ""
  89. "Configure the kernel via a menu-driven interface. For general information on "
  90. "kernel configuration see <ulink "
  91. "url=\"&hints-root;kernel-configuration.txt\"/>. BLFS has some information "
  92. "regarding particular kernel configuration requirements of packages outside "
  93. "of LFS at <ulink url=\"&blfs-book;longindex.html#kernel-config-index\"/>. "
  94. "Additional information about configuring and building the kernel can be "
  95. "found at <ulink url=\"http://www.kroah.com/lkn/\"/>"
  96. msgstr ""
  97. #. type: Content of: <sect1><sect2><note><para>
  98. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:70
  99. msgid ""
  100. "A good starting place for setting up the kernel configuration is to run "
  101. "<command>make defconfig</command>. This will set the base configuration to a "
  102. "good state that takes your current system architecture into account."
  103. msgstr ""
  104. #. type: Content of: <sect1><sect2><note><para>
  105. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:75
  106. msgid ""
  107. "Be sure to enable/disable/set the following features or the system might not "
  108. "work correctly or boot at all:"
  109. msgstr ""
  110. #. type: Content of: <sect1><sect2><note><screen>
  111. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:79
  112. #, no-wrap
  113. msgid ""
  114. "Device Drivers ---&gt;\n"
  115. " Generic Driver Options ---&gt;\n"
  116. " [ ] Support for uevent helper [CONFIG_UEVENT_HELPER]\n"
  117. " [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]\n"
  118. "\n"
  119. "Kernel hacking ---&gt;\n"
  120. " Choose kernel unwinder (Frame pointer unwinder) ---&gt; "
  121. "[CONFIG_UNWINDER_FRAME_POINTER]"
  122. msgstr ""
  123. #. type: Content of: <sect1><sect2><note><screen>
  124. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:88
  125. #, no-wrap
  126. msgid ""
  127. "General setup -->\n"
  128. " [*] Control Group support [CONFIG_CGROUPS]\n"
  129. " [ ] Enable deprecated sysfs features to support old userspace tools "
  130. "[CONFIG_SYSFS_DEPRECATED]\n"
  131. " [*] Configure standard kernel features (expert users) [CONFIG_EXPERT] "
  132. "---&gt; \n"
  133. " [*] open by fhandle syscalls [CONFIG_FHANDLE]\n"
  134. " [ ] Auditing support [CONFIG_AUDIT]\n"
  135. "Processor type and features ---&gt;\n"
  136. " [*] Enable seccomp to safely compute untrusted bytecode "
  137. "[CONFIG_SECCOMP]\n"
  138. "Firmware Drivers ---&gt;\n"
  139. " [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID]\n"
  140. "Networking support ---&gt;\n"
  141. " Networking options ---&gt;\n"
  142. " &lt;*&gt; The IPv6 protocol [CONFIG_IPV6]\n"
  143. "Device Drivers ---&gt;\n"
  144. " Generic Driver Options ---&gt;\n"
  145. " [ ] Support for uevent helper [CONFIG_UEVENT_HELPER]\n"
  146. " [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]\n"
  147. " Firmware Loader ---&gt;\n"
  148. " [ ] Enable the firmware sysfs fallback mechanism "
  149. "[CONFIG_FW_LOADER_USER_HELPER]\n"
  150. "File systems ---&gt;\n"
  151. " [*] Inotify support for userspace [CONFIG_INOTIFY_USER]\n"
  152. " &lt;*&gt; Kernel automounter support (supports v3, v4, and v5) "
  153. "[CONFIG_AUTOFS_FS]\n"
  154. " Pseudo filesystems ---&gt;\n"
  155. " [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]\n"
  156. " [*] Tmpfs extended attributes [CONFIG_TMPFS_XATTR]"
  157. msgstr ""
  158. #. type: Content of: <sect1><sect2><note><para>
  159. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:116
  160. msgid ""
  161. "While \"The IPv6 Protocol\" is not strictly required, it is highly "
  162. "recommended by the systemd developers."
  163. msgstr ""
  164. #. type: Content of: <sect1><sect2><para>
  165. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:120
  166. msgid ""
  167. "There are several other options that may be desired depending on the "
  168. "requirements for the system. For a list of options needed for BLFS packages, "
  169. "see the <ulink "
  170. "url=\"&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index\">BLFS "
  171. "Index of Kernel Settings</ulink> "
  172. "(&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index)."
  173. msgstr ""
  174. #. type: Content of: <sect1><sect2><note><para>
  175. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:128
  176. msgid ""
  177. "If your host hardware is using UEFI, then the 'make defconfig' above should "
  178. "automatically add in some EFI-related kernel options."
  179. msgstr ""
  180. #. type: Content of: <sect1><sect2><note><para>
  181. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:131
  182. msgid ""
  183. "In order to allow your LFS kernel to be booted from within your host's UEFI "
  184. "boot environment, your kernel must have this option selected:"
  185. msgstr ""
  186. #. type: Content of: <sect1><sect2><note><screen>
  187. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:135
  188. #, no-wrap
  189. msgid ""
  190. "Processor type and features ---&gt;\n"
  191. " [*] EFI stub support [CONFIG_EFI_STUB]"
  192. msgstr ""
  193. #. type: Content of: <sect1><sect2><note><para>
  194. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:138
  195. msgid ""
  196. "A fuller description of managing UEFI environments from within LFS is "
  197. "covered by the lfs-uefi.txt hint at <ulink "
  198. "url=\"&hints-root;lfs-uefi.txt\"/>."
  199. msgstr ""
  200. #. type: Content of: <sect1><sect2><variablelist><title>
  201. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:146
  202. msgid "The rationale for the above configuration items:"
  203. msgstr ""
  204. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  205. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:149
  206. msgid "<parameter>Support for uevent helper</parameter>"
  207. msgstr ""
  208. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  209. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:151
  210. msgid ""
  211. "Having this option set may interfere with device management when using "
  212. "Udev/Eudev."
  213. msgstr ""
  214. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  215. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:157
  216. msgid "<parameter>Maintain a devtmpfs</parameter>"
  217. msgstr ""
  218. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  219. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:159
  220. msgid ""
  221. "This will create automated device nodes which are populated by the kernel, "
  222. "even without Udev running. Udev then runs on top of this, managing "
  223. "permissions and adding symlinks. This configuration item is required for "
  224. "all users of Udev/Eudev."
  225. msgstr ""
  226. #. type: Content of: <sect1><sect2><screen>
  227. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:168
  228. #, no-wrap
  229. msgid "<userinput>make menuconfig</userinput>"
  230. msgstr ""
  231. #. type: Content of: <sect1><sect2><variablelist><title>
  232. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:171
  233. msgid "The meaning of optional make environment variables:"
  234. msgstr ""
  235. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  236. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:174
  237. msgid "<parameter>LANG=&lt;host_LANG_value&gt; LC_ALL=</parameter>"
  238. msgstr ""
  239. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  240. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:176
  241. msgid ""
  242. "This establishes the locale setting to the one used on the host. This may "
  243. "be needed for a proper menuconfig ncurses interface line drawing on a UTF-8 "
  244. "linux text console."
  245. msgstr ""
  246. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  247. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:180
  248. msgid ""
  249. "If used, be sure to replace "
  250. "<replaceable>&lt;host_LANG_value&gt;</replaceable> by the value of the "
  251. "<envar>$LANG</envar> variable from your host. You can alternatively use "
  252. "instead the host's value of <envar>$LC_ALL</envar> or "
  253. "<envar>$LC_CTYPE</envar>."
  254. msgstr ""
  255. #. type: Content of: <sect1><sect2><para>
  256. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:190
  257. msgid ""
  258. "Alternatively, <command>make oldconfig</command> may be more appropriate in "
  259. "some situations. See the <filename>README</filename> file for more "
  260. "information."
  261. msgstr ""
  262. #. type: Content of: <sect1><sect2><para>
  263. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:194
  264. msgid ""
  265. "If desired, skip kernel configuration by copying the kernel config file, "
  266. "<filename>.config</filename>, from the host system (assuming it is "
  267. "available) to the unpacked <filename "
  268. "class=\"directory\">linux-&linux-version;</filename> directory. However, we "
  269. "do not recommend this option. It is often better to explore all the "
  270. "configuration menus and create the kernel configuration from scratch."
  271. msgstr ""
  272. #. type: Content of: <sect1><sect2><para>
  273. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:202
  274. msgid "Compile the kernel image and modules:"
  275. msgstr ""
  276. #. type: Content of: <sect1><sect2><screen>
  277. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:204
  278. #, no-wrap
  279. msgid "<userinput remap=\"make\">make</userinput>"
  280. msgstr ""
  281. #. type: Content of: <sect1><sect2><para>
  282. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:206
  283. msgid ""
  284. "If using kernel modules, module configuration in <filename "
  285. "class=\"directory\">/etc/modprobe.d</filename> may be required. Information "
  286. "pertaining to modules and kernel configuration is located in <xref "
  287. "linkend=\"ch-config-udev\"/> and in the kernel documentation in the "
  288. "<filename class=\"directory\">linux-&linux-version;/Documentation</filename> "
  289. "directory. Also, <filename>modprobe.d(5)</filename> may be of interest."
  290. msgstr ""
  291. #. type: Content of: <sect1><sect2><para>
  292. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:214
  293. msgid ""
  294. "Unless module support has been disabled in the kernel configuration, install "
  295. "the modules with:"
  296. msgstr ""
  297. #. type: Content of: <sect1><sect2><screen>
  298. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:217
  299. #, no-wrap
  300. msgid "<userinput remap=\"install\">make modules_install</userinput>"
  301. msgstr ""
  302. #. type: Content of: <sect1><sect2><para>
  303. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:219
  304. msgid ""
  305. "After kernel compilation is complete, additional steps are required to "
  306. "complete the installation. Some files need to be copied to the <filename "
  307. "class=\"directory\">/boot</filename> directory."
  308. msgstr ""
  309. #. type: Content of: <sect1><sect2><caution><para>
  310. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:224
  311. msgid ""
  312. "If the host system has a separate /boot partition, the files copied below "
  313. "should go there. The easiest way to do that is to bind /boot on the host "
  314. "(outside chroot) to /mnt/lfs/boot before proceeding. As the root user in "
  315. "the <emphasis>host system</emphasis>:"
  316. msgstr ""
  317. #. type: Content of: <sect1><sect2><caution><screen>
  318. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:229
  319. #, no-wrap
  320. msgid "<userinput>mount --bind /boot /mnt/lfs/boot</userinput>"
  321. msgstr ""
  322. #. type: Content of: <sect1><sect2><para>
  323. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:232
  324. msgid ""
  325. "The path to the kernel image may vary depending on the platform being "
  326. "used. The filename below can be changed to suit your taste, but the stem of "
  327. "the filename should be <emphasis>vmlinuz</emphasis> to be compatible with "
  328. "the automatic setup of the boot process described in the next section. The "
  329. "following command assumes an x86 architecture:"
  330. msgstr ""
  331. #. type: Content of: <sect1><sect2><screen>
  332. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:238
  333. #, no-wrap
  334. msgid ""
  335. "<userinput remap=\"install\">cp -iv arch/x86/boot/bzImage "
  336. "/boot/vmlinuz-&linux-version;-lfs-&version;</userinput>"
  337. msgstr ""
  338. #. type: Content of: <sect1><sect2><screen>
  339. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:240
  340. #, no-wrap
  341. msgid ""
  342. "<userinput remap=\"install\">cp -iv arch/x86/boot/bzImage "
  343. "/boot/vmlinuz-&linux-version;-lfs-&versiond;</userinput>"
  344. msgstr ""
  345. #. type: Content of: <sect1><sect2><para>
  346. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:242
  347. msgid ""
  348. "<filename>System.map</filename> is a symbol file for the kernel. It maps "
  349. "the function entry points of every function in the kernel API, as well as "
  350. "the addresses of the kernel data structures for the running kernel. It is "
  351. "used as a resource when investigating kernel problems. Issue the following "
  352. "command to install the map file:"
  353. msgstr ""
  354. #. type: Content of: <sect1><sect2><screen>
  355. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:248
  356. #, no-wrap
  357. msgid ""
  358. "<userinput remap=\"install\">cp -iv System.map "
  359. "/boot/System.map-&linux-version;</userinput>"
  360. msgstr ""
  361. #. type: Content of: <sect1><sect2><para>
  362. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:250
  363. msgid ""
  364. "The kernel configuration file <filename>.config</filename> produced by the "
  365. "<command>make menuconfig</command> step above contains all the configuration "
  366. "selections for the kernel that was just compiled. It is a good idea to keep "
  367. "this file for future reference:"
  368. msgstr ""
  369. #. type: Content of: <sect1><sect2><screen>
  370. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:256
  371. #, no-wrap
  372. msgid ""
  373. "<userinput remap=\"install\">cp -iv .config "
  374. "/boot/config-&linux-version;</userinput>"
  375. msgstr ""
  376. #. type: Content of: <sect1><sect2><para>
  377. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:258
  378. msgid "Install the documentation for the Linux kernel:"
  379. msgstr ""
  380. #. type: Content of: <sect1><sect2><screen>
  381. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:260
  382. #, no-wrap
  383. msgid ""
  384. "<userinput remap=\"install\">install -d "
  385. "/usr/share/doc/linux-&linux-version;\n"
  386. "cp -r Documentation/* /usr/share/doc/linux-&linux-version;</userinput>"
  387. msgstr ""
  388. #. type: Content of: <sect1><sect2><para>
  389. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:263
  390. msgid ""
  391. "It is important to note that the files in the kernel source directory are "
  392. "not owned by <emphasis>root</emphasis>. Whenever a package is unpacked as "
  393. "user <emphasis>root</emphasis> (like we did inside chroot), the files have "
  394. "the user and group IDs of whatever they were on the packager's "
  395. "computer. This is usually not a problem for any other package to be "
  396. "installed because the source tree is removed after the "
  397. "installation. However, the Linux source tree is often retained for a long "
  398. "time. Because of this, there is a chance that whatever user ID the packager "
  399. "used will be assigned to somebody on the machine. That person would then "
  400. "have write access to the kernel source."
  401. msgstr ""
  402. #. type: Content of: <sect1><sect2><note><para>
  403. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:276
  404. msgid ""
  405. "In many cases, the configuration of the kernel will need to be updated for "
  406. "packages that will be installed later in BLFS. Unlike other packages, it is "
  407. "not necessary to remove the kernel source tree after the newly built kernel "
  408. "is installed."
  409. msgstr ""
  410. #. type: Content of: <sect1><sect2><note><para>
  411. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:281
  412. msgid ""
  413. "If the kernel source tree is going to be retained, run <command>chown -R "
  414. "0:0</command> on the <filename "
  415. "class=\"directory\">linux-&linux-version;</filename> directory to ensure all "
  416. "files are owned by user <emphasis>root</emphasis>."
  417. msgstr ""
  418. #. type: Content of: <sect1><sect2><warning><para>
  419. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:288
  420. msgid ""
  421. "Some kernel documentation recommends creating a symlink from <filename "
  422. "class=\"symlink\">/usr/src/linux</filename> pointing to the kernel source "
  423. "directory. This is specific to kernels prior to the 2.6 series and "
  424. "<emphasis>must not</emphasis> be created on an LFS system as it can cause "
  425. "problems for packages you may wish to build once your base LFS system is "
  426. "complete."
  427. msgstr ""
  428. #. type: Content of: <sect1><sect2><warning><para>
  429. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:297
  430. msgid ""
  431. "The headers in the system's <filename class=\"directory\">include</filename> "
  432. "directory (<filename class=\"directory\">/usr/include</filename>) should "
  433. "<emphasis>always</emphasis> be the ones against which Glibc was compiled, "
  434. "that is, the sanitised headers installed in <xref "
  435. "linkend=\"ch-tools-linux-headers\"/>. Therefore, they should "
  436. "<emphasis>never</emphasis> be replaced by either the raw kernel headers or "
  437. "any other kernel sanitized headers."
  438. msgstr ""
  439. #. type: Content of: <sect1><sect2><title>
  440. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:310
  441. msgid "Configuring Linux Module Load Order"
  442. msgstr ""
  443. #. type: Content of: <sect1><sect2><indexterm><primary>
  444. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:313
  445. msgid "/etc/modprobe.d/usb.conf"
  446. msgstr ""
  447. #. type: Content of: <sect1><sect2><para>
  448. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:316
  449. msgid ""
  450. "Most of the time Linux modules are loaded automatically, but sometimes it "
  451. "needs some specific direction. The program that loads modules, "
  452. "<command>modprobe</command> or <command>insmod</command>, uses "
  453. "<filename>/etc/modprobe.d/usb.conf</filename> for this purpose. This file "
  454. "needs to be created so that if the USB drivers (ehci_hcd, ohci_hcd and "
  455. "uhci_hcd) have been built as modules, they will be loaded in the correct "
  456. "order; ehci_hcd needs to be loaded prior to ohci_hcd and uhci_hcd in order "
  457. "to avoid a warning being output at boot time."
  458. msgstr ""
  459. #. type: Content of: <sect1><sect2><para>
  460. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:325
  461. msgid ""
  462. "Create a new file <filename>/etc/modprobe.d/usb.conf</filename> by running "
  463. "the following:"
  464. msgstr ""
  465. #. type: Content of: <sect1><sect2><screen>
  466. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:328
  467. #, no-wrap
  468. msgid ""
  469. "<userinput>install -v -m755 -d /etc/modprobe.d\n"
  470. "cat &gt; /etc/modprobe.d/usb.conf &lt;&lt; \"EOF\"\n"
  471. "<literal># Begin /etc/modprobe.d/usb.conf\n"
  472. "\n"
  473. "install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; "
  474. "true\n"
  475. "install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; "
  476. "true\n"
  477. "\n"
  478. "# End /etc/modprobe.d/usb.conf</literal>\n"
  479. "EOF</userinput>"
  480. msgstr ""
  481. #. type: Content of: <sect1><sect2><title>
  482. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:341
  483. msgid "Contents of Linux"
  484. msgstr ""
  485. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  486. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:344
  487. msgid "Installed files"
  488. msgstr ""
  489. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  490. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:345
  491. msgid "Installed directories"
  492. msgstr ""
  493. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  494. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:348
  495. msgid ""
  496. "config-&linux-version;, <phrase "
  497. "revision=\"sysv\">vmlinuz-&linux-version;-lfs-&version;,</phrase> <phrase "
  498. "revision=\"systemd\">vmlinuz-&linux-version;-lfs-&versiond;,</phrase> and "
  499. "System.map-&linux-version;"
  500. msgstr ""
  501. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  502. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:352
  503. msgid "/lib/modules, /usr/share/doc/linux-&linux-version;"
  504. msgstr ""
  505. #. type: Content of: <sect1><sect2><variablelist><bridgehead>
  506. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:357
  507. msgid "Short Descriptions"
  508. msgstr ""
  509. #. type: Content of: <sect1><sect2><variablelist>
  510. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:358
  511. msgid "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"
  512. msgstr ""
  513. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  514. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:362
  515. msgid "<filename>config-&linux-version;</filename>"
  516. msgstr ""
  517. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  518. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:364
  519. msgid "Contains all the configuration selections for the kernel"
  520. msgstr ""
  521. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  522. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:366
  523. msgid "/boot/config-&linux-version;"
  524. msgstr ""
  525. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  526. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:372
  527. msgid "<filename>vmlinuz-&linux-version;-lfs-&version;</filename>"
  528. msgstr ""
  529. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  530. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:373
  531. msgid "<filename>vmlinuz-&linux-version;-lfs-&versiond;</filename>"
  532. msgstr ""
  533. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  534. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:375
  535. msgid ""
  536. "The engine of the Linux system. When turning on the computer, the kernel is "
  537. "the first part of the operating system that gets loaded. It detects and "
  538. "initializes all components of the computer's hardware, then makes these "
  539. "components available as a tree of files to the software and turns a single "
  540. "CPU into a multitasking machine capable of running scores of programs "
  541. "seemingly at the same time"
  542. msgstr ""
  543. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  544. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:382
  545. msgid "lfskernel-&linux-version;"
  546. msgstr ""
  547. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  548. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:388
  549. msgid "<filename>System.map-&linux-version;</filename>"
  550. msgstr ""
  551. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  552. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:390
  553. msgid ""
  554. "A list of addresses and symbols; it maps the entry points and addresses of "
  555. "all the functions and data structures in the kernel"
  556. msgstr ""
  557. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  558. #: /home/xry111/svn-repos/LFS-BOOK/chapter10/kernel.xml:394
  559. msgid "/boot/System.map-&linux-version;"
  560. msgstr ""