source: introduction/welcome/askhelp.xml@ 966dfd9b

trunk
Last change on this file since 966dfd9b was 812f47a, checked in by Xi Ruoyao <xry111@…>, 6 days ago

askhelp: Discourage and encourage scripting

The subject seems irony. We should clearly say scripting is deviating
from the book because there are too many cases where people fail to
notice a subtle difference between the script and the book. But if you
must deviate anyway (no matter scripting or not), it's better to have a
script to tell precisely what the deviation is.

I still believe scripting does not make too much sense for building
BLFS, but having the script is at least better than guessing what the
script contains.

  • Property mode set to 100644
File size: 5.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="askhelp">
9 <?dbhtml filename="askhelp.html"?>
10
11
12 <title>Asking for Help and the FAQ</title>
13
14 <para>If you encounter a problem while using this book, and your problem
15 is not listed in the FAQ (<ulink url="https://www.&lfs-domainname;/faq"/>),
16 you will find that most of the people on Internet Relay Chat (IRC) and on the
17 mailing lists are willing to help you. An overview of the LFS mailing
18 lists can be found in <xref linkend="maillists"/>. To assist us
19 in diagnosing and solving your problem, include as much relevant information
20 as possible in your request for help.</para>
21
22 <sect2>
23 <title>Things to Check Prior to Asking</title>
24
25 <para>Before asking for help, you should review the following items:</para>
26
27 <itemizedlist>
28 <listitem>
29 <para>Is the hardware support compiled into the kernel or
30 available as a module to the kernel? If it is a module, is it
31 configured properly in <filename>modprobe.conf</filename> and has it
32 been loaded? You should use <command>lsmod</command> as the
33 <systemitem class='username'>root</systemitem> user to see if it's
34 loaded. Check the <filename>sys.log</filename> file or run
35 <command>modprobe <replaceable>&lt;driver&gt;</replaceable></command> to
36 review any error message. If it loads properly, you may need to add
37 the <command>modprobe</command> command to your boot scripts.</para>
38 </listitem>
39 <listitem>
40 <para>Are your permissions properly set, especially for devices? LFS
41 uses groups to make these settings easier, but it also adds the step of
42 adding users to groups to allow access. A simple <command>usermod
43 -G audio <replaceable>&lt;user&gt;</replaceable></command> may be all that's
44 necessary for that user to have access to the sound system. Any question
45 that starts out with <quote>It works as root, but not as ...</quote>
46 requires a thorough review of permissions prior to asking.</para>
47 </listitem>
48 <listitem>
49 <para>BLFS liberally uses <filename
50 class='directory'>/opt/<replaceable>&lt;package&gt;</replaceable></filename>.
51 The main objection to this centers around the need to expand your
52 environment variables for each package placed there (e.g.,
53 PATH=$PATH:/opt/kde/bin). In most cases, the package instructions will
54 walk you through the changes, but some will not. The section called
55 <quote><xref linkend="beyond"/></quote> is
56 available to help you check.</para>
57 </listitem>
58 </itemizedlist>
59
60 </sect2>
61
62 <sect2>
63 <title>Things to Mention</title>
64
65 <para>Apart from a brief explanation of the problem you're having, the
66 essential things to include in your request are:</para>
67
68 <itemizedlist>
69 <listitem>
70 <para>the version of the book you are using (being &version;),</para>
71 </listitem>
72 <listitem>
73 <para>the package or section giving you problems,</para>
74 </listitem>
75 <listitem>
76 <para>the exact error message or symptom you are receiving,</para>
77 </listitem>
78 <listitem>
79 <para>whether you have deviated from the book or LFS at all
80 (packing the book instructions into a script while the book does not
81 tell to do so is always considered as deviation, because there have
82 been too many cases of issues where people fail to notice a subtle
83 difference between the script and the book),</para>
84 </listitem>
85 <listitem>
86 <para>if you are installing a BLFS package on a non-LFS system.</para>
87 </listitem>
88 </itemizedlist>
89
90 <para>Note that saying that you've deviated from the book doesn't mean
91 that we won't help you. It'll just help us to see other possible causes
92 of your problem. If you've deviated from the book, you should also tell
93 precisely what the deviation is so the other people can reproduce it.
94 A script can be attached to show what you've exactly done (especially
95 if you already have such a script, i.e. you've already have deviated
96 from the book by packing the book instructions into a script and run
97 it).</para>
98
99 <para>Expect guidance instead of specific instructions. If you are
100 instructed to read something, please do so. It generally implies that
101 the answer was way too obvious and that the question would not have
102 been asked if a little research was done prior to asking. The volunteers
103 in the mailing list prefer not to be used as an alternative to doing
104 reasonable research on your end. In addition, the quality of your
105 experience with BLFS is also greatly enhanced by this research, and
106 the quality of volunteers is enhanced because they don't feel that their
107 time has been abused, so they are far more likely to participate.</para>
108
109 <para>An excellent article on asking for help on the Internet in general
110 has been written by Eric S. Raymond. It is available online at
111 <ulink url="http://www.catb.org/~esr/faqs/smart-questions.html"/>.
112 Read and follow the hints in that document and you are much more likely
113 to get a response to start with and also to get the help you actually
114 need.</para>
115
116 </sect2>
117
118</sect1>
Note: See TracBrowser for help on using the repository browser.