Những câu hỏi thường gặp về Linux
Note that this is probably not a Linux-specific problem. Unless you are compiling a program many other
Linux users also compile, you should not post your bug report to any of the comp.os.linux groups.
If the problem is not repeatable, you may be experiencing memory corruption. Refer to the answer:
(“Make nói Error 139.”)
H:
Make nói “
Error 139.
”
Đ:
Your compiler (GCC) dumped core. You probably have a corrupted, buggy, or old version of GCC -
get the latest release or EGCS. Alternatively, you may be running out of swap space. Refer to: (“Tại sao
máy chạy rất chậm với GCC / X / ...?
”)
If this doesn’t fix the problem, you are probably having problems with memory or disk corruption.
Check that the clock rate, wait states, và refresh timing for your SIMMS và cache are correct (hardware
manuals are sometimes wrong, too). If so, you may have some marginal SIMMS, or a faulty
motherboard or hard disk or controller.
Linux is a very good memory tester - much better than MS-DOS based memory test programs.
Reportedly, some clone x87 math coprocessors can cause problems. Try compiling a kernel with math
emulation (“Làm thế nào để nâng cấp/biên dịch lại hạt nhân”)
no387
kernel command line flag on the
LILO prompt to force the kernel to use math emulation, or it may be able to work và still use the ’387,
with the math emulation compiled in but mainly unused.
More information about this problem is available on the Web tại http://www.bitwizard.nl/sig11/ .
H:
Shell-Init: Permission Denied when I Log In
Đ:
Your root directory và all the directories up to your home directory must be readable và executable
bởi everybody. See the manual page for chmod or a book on Unix for how to fix the problem.
H:
No Utmp Entry. You Must Exec ... when Logging In
Đ:
Your [/var/run/utmp] is screwed up. You should have
/var/run/utmp
in your [/etc/rc.local] or [/etc/rc.d/*]. See, (“Nếu tôi quậy hệ thống và không thể đăng nhập được thì làm
thế nào để khắc phục?
”) Note that the [utmp] may also be found in [/var/adm/] or [/etc/] on some older
systems.
H:
Warning--bdflush Not Running
Đ:
Modern kernels use a better strategy for writing cached disk blocks. In addition to the kernel
changes, this involves replacing the old update program which used to write everything every 30
seconds with a more subtle daemon (actually a pair), known as bdflush. Get [bdflush-]n.n[.tar.gz] from
the same place as the kernel source code (“Làm thế nào để nâng cấp/biên dịch lại hạt nhân”) và
compile và install it. bdflush should be started before the usual boot-time file system checks. It will
work fine with older kernels as well, so there’s no need to keep the old update around.
65