Secti on 6. Sol uti ons to common mi scel l aneous probl ems
Q6. 1 Setui d scri pts don' t seem to work.
Q6. 2 Free memory as reported by free keeps shri nki ng.
Q6. 3 When I add more memory i t sl ows to a crawl .
Q6. 4 Some programs (e. g. xdm) won' t l et me l og i n.
Q6. 5 Some programs l et me l og i n wi th no password.
Q6. 6 My machi ne runs very sl owl y when I run GCC / X / . . .
Q6. 7 I can onl y l og i n as root.
Q6. 8 My screen i s al l ful l of wei rd characters i nstead of l etters.
Q6. 9 I have screwed up my system and can' t l og i n to fi x i t.
Q6. 10 Emacs j ust dumps core.
Q6. 11 I' ve di scovered a huge securi ty hol e i n rm !
Q6. 12 l pr and/or l pd aren' t worki ng.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Questi on 6. 1. Setui d scri pts don' t seem to work.
That' s ri ght. Thi s feature has been del i beratel y di sabl ed i n the Li nux
kernel because setui d scri pts are al most al ways a securi ty hol e. If you
want to know why read the FAQ for comp. uni x. questi ons.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Questi on 6. 2. Free memory as reported by free keeps shri nki ng.
The ` free' fi gure pri nted by free doesn' t i ncl ude memory used as a di sk
buffer cache - shown i n the ` buffers' col umn. If you want to know how
much memory i s real l y free add the ` buffers' amount to ` free' .
The di sk buffer cache tends to grow soon after starti ng Li nux up, as you
l oad more programs and use more fi l es and the contents get cached. It
wi l l stabi l i se after a whi l e.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Questi on 6. 3. When I add more memory i t sl ows to a crawl .
Thi s i s qui te a common symptom of a fai l ure to cache the addi ti onal
memory. The exact probl em depends on your motherboard.
Someti mes you have to enabl e cachi ng of certai n regi ons i n your BIOS
setup. Look i n the CMOS setup and see i f there i s an opti on to cache the
new memory area whi ch i s currentl y swi tched off. Thi s i s apparentl y most
common on a 486.
Someti mes the RAMs have to be i n certai n sockets to be cached.
Someti mes you have to set j umpers to enabl e the cachi ng.
Some motherboards don' t cache al l the RAM i f you have more RAM per amount
of cache than they expect. Usual l y a ful l 256K cache wi l l sol ve thi s
probl em.
If i n doubt, check your motherboard manual . If you sti l l can' t fi x i t
because the documentati on i s i nadequate you mi ght l i ke to post a message
gi vi ng *al l * the detai l s - make, model number, date code, etc. so that
other Li nux users can avoi d i t.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Page: 1
![](https://bbs-cdn.datacourse.cn/static/image/filetype/pdf.gif)