[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cancellare /var/log/ksymoops



On Thu, Jan 30, 2003 at 01:26:18AM +0100, savagnolu@gmx.net wrote:
> Posso cancellare senza preoccuparmi la dir /var/log/ksymoops, verra' poi
> ricreata al prossimo reboot?
> se si, faccio #rm -r /var/log/ksymoops
> E' grande circa 128Mb.
> grazie gianni

  cancella sì. e poi, 3 possibilità:
  1)touch /var/log/ksymoops;  chmod 600
  e in tal caso puoi usare poi insmod_ksymoops_clean ogni 1-2 giorni
  (man insmod; c'è anche il testo dello script)
  Utile solo se poi usi ksymoops per il debug 
  2)non ricrei il file ma se non elimini gli oops il kernel
  te li logga lo stesso, puntualissimo, appena si ripresenta il
  problema con i moduli. In altra forma.  

  terza possibilità: non vuoi fare il debug, non ti interessano
  gli oops.  per i moduli che installi a mano:
  insmod -y (--noksymoops)
  per gli altri, in /etc/modules.conf:

   insmod_opt=GENERIC_OPTIONS_TO_INSMOD (man modules.conf)
  ma
            " ksymoops symbols add approximately  260  bytes  per
              loaded  module.   Unless  you  are  really short on
              kernel space and are trying to reduce ksyms to  its
              minimum   size,  take  the  default  and  get  more
              accurate  Oops  debugging.   ksymoops  symbols  are
              required to save persistent module data."
 
   ciao
   regexp


           
	



Reply to: