View previous topic :: View next topic |
Author |
Message |
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Fri Jan 07, 2005 12:42 pm Post subject: [RISOLTO] Errori all'avvio e problemi all'uscita. |
|
|
Ho dato un'occhiata ai log di avvio e ho trovato i seguenti errori:
per veder i log ho usato il comando "cat /var/log/messages"
e questi sono gli errori riscontrati:
Code: | Jan 7 09:42:58 tux rc-scripts: Please make sure that /etc/conf.d/net has $ifconfig_eth0 set
Jan 7 09:42:58 tux rc-scripts: (or $iface_eth0 for old-style configuration)
Jan 7 09:43:02 tux rc-scripts: ERROR: Problem starting needed services.
Jan 7 09:43:02 tux rc-scripts: "portmap" was not started.
Jan 7 09:43:02 tux rc-scripts: ERROR: Problem starting needed services.
Jan 7 09:43:02 tux rc-scripts: "famd" was not started.
Jan 7 09:43:02 tux rc-scripts: ERROR: Problem starting needed services.
Jan 7 09:43:02 tux rc-scripts: "netmount" was not started.
|
per famd, se non sbaglio, dovrebbe essere ciò che abilita l'udma, e prima funzionava... anche tutto il resto funzionava, per gli altri errori non so cosa siano....
prima di questi errori non ho installato nulla, e non c'erano. Adesso, oltre a questi, non riesco a spegnere il pc se sono utente normale, ovvero, usando gnome, se faccio "termina sessione", il computer si blocca e non posso fare nulla se non chiudere X e ripetere l'operazione da root a riga di comando.
altro nuovo problema, è che non funziona la rotellina del mouse... ho letto molti post a riguardo, e il mio file /etc/X11/xorg.conf mi sebra corretto:
Code: | # **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
|
il mouse è usb...
tutto ha smesso di funzionare il medesimo giorno.... da cosa può dipendere?
se ne avete già parlato vi prego di indicarmi con quali chiavi di ricerca posso trovare le risposte corrette. grazie.
Last edited by Ciccio Bueo on Sat Jan 08, 2005 4:11 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31461 Location: here
|
Posted: Fri Jan 07, 2005 12:44 pm Post subject: |
|
|
I moduli esistono ancora? lsmod che riporta? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Fri Jan 07, 2005 12:50 pm Post subject: |
|
|
a quanto pare i moduli non esistono +...
Code: | tux / # lsmod
Module Size Used by
tux / #
|
allora per famd dovrei farcela da solo, ora ripeto la sua confiugrazione (è quello per attivare udma giusto?)
per resto non so... |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31461 Location: here
|
Posted: Fri Jan 07, 2005 12:56 pm Post subject: |
|
|
Prova andare nella cartella del kernel e lanciare smplicemente un make modules_install e poi un reboot _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Dece Apprentice
Joined: 23 Nov 2004 Posts: 291 Location: Bologna/Rimini Italy
|
Posted: Fri Jan 07, 2005 1:01 pm Post subject: |
|
|
Ma settando la riga ifconfig_eth0 in /etc/conf.d/net non si dovrebbe risolvere tutto? Per me fallisce l'avvio di net.eth0 e quindi falliscono anche portmap e netmount...
Last edited by Dece on Fri Jan 07, 2005 1:03 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31461 Location: here
|
Posted: Fri Jan 07, 2005 1:03 pm Post subject: |
|
|
Dece wrote: | Ma settando la riga $ifconfig_eth0 in /etc/conf.d/net non si dovrebbe risolvere tutto? Per me fallisce l'avvio di net.eth0 e quindi falliscono anche portmap e netmount... |
Per me il problema e' che non esistono piu' i moduli quindi non puo' avviarsi _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Fri Jan 07, 2005 1:27 pm Post subject: |
|
|
ho ricompilatoi moduli e gli errori son gli stessi...
Quote: | settando la riga ifconfig_eth0 in /etc/conf.d/net non si dovrebbe risolvere tutto? |
cosa devo modificare esattamente? |
|
Back to top |
|
|
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Fri Jan 07, 2005 1:33 pm Post subject: |
|
|
forse questo può essere d'aiuto:
Code: | tux root # hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 39704/16/63, sectors = 20491075584, start = 0
tux root # rc-status
Runlevel: default
xdm [ started ]
famd [ off ]
acpid [ started ]
cupsd [ started ]
local [ started ]
vixie-cron [ started ]
syslog-ng [ started ]
domainname [ started ]
net.eth0 [ off ]
netmount [ off ]
tux root # rc-update add net.eth0 default
* net.eth0 already installed in runlevel default; skipping
tux root # /etc/init.d/net.eth0 restart
* Please make sure that /etc/conf.d/net has $ifconfig_eth0 set
* (or $iface_eth0 for old-style configuration)
tux root #
|
e così ho visto quali servizi vendono avviati, ho provato a riavviare net.eth0 ma non cambia nulla... |
|
Back to top |
|
|
Dece Apprentice
Joined: 23 Nov 2004 Posts: 291 Location: Bologna/Rimini Italy
|
Posted: Fri Jan 07, 2005 2:01 pm Post subject: |
|
|
Se non utilizzi niente che si appoggia alla scheda di rete (immagino che tu sia connesso con un modem usb) puoi anche togliere quegli script dall'avvio Code: | rc-update del <nomescript> default | Oppure vai in /etc/conf.d/net e togli il commento da una riga che dovrebbe essere simile a questa Code: | #iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0" | Magari però aspetta una risposta di fedeliallalinea, ti saprà spiegare mooolto meglio di me |
|
Back to top |
|
|
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Fri Jan 07, 2005 2:06 pm Post subject: |
|
|
per connettermi uso un modem ethernet e questa è la con di /etc/conf.d/net:
Code: | # /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 $
# Global config file for net.* rc-scripts
# This is basically the ifconfig argument without the ifconfig $iface
#
#iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
#dhcpcd_eth0="..."
# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"
# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"
# For setting the default gateway
#
gateway="eth0/" |
ora ho rifatto un Code: | tux root # emerge baselayout
|
che ho letto sul forum dovrebbe sistemarmi le cose... riavvio e vi dico.. grazie per gli aiuti!!!! |
|
Back to top |
|
|
Dece Apprentice
Joined: 23 Nov 2004 Posts: 291 Location: Bologna/Rimini Italy
|
Posted: Fri Jan 07, 2005 2:37 pm Post subject: |
|
|
se utilizzi lo script adsl-start per connetterti allora puoi togliere tranquillamente net.eth0 dall'avvio, ci pensa lui a tirare su eth0: però non modificare /etc/conf.d/net, altrimenti non so se riuscirai a connetterti |
|
Back to top |
|
|
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Fri Jan 07, 2005 2:50 pm Post subject: |
|
|
dopo aver fatto:
Code: | tux root # emerge baselayout |
e aver risitemato i file di conf che mi ero prcedentemente salvato, ora non vedo più problemi all'avvio, ma per il resto sono ancora in alto mare..
da utente normale non niesco ad uscire da gnome,,, premo "termia sessione" e non va più na mazza...
e la rotellina del mouse k.o..... |
|
Back to top |
|
|
IlGab Guru
Joined: 26 Nov 2004 Posts: 486
|
Posted: Fri Jan 07, 2005 2:58 pm Post subject: |
|
|
Ma monti dei volumi di rete ?
Portmap e netmount servono per quello, a me sono capitate macchine che si bloccavano allo shutdown perchè cercavano di smontare volumi di rete che non trovavano e attendevano fino ad andare in time-out. |
|
Back to top |
|
|
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Fri Jan 07, 2005 3:00 pm Post subject: |
|
|
no, non monto volumi rete... ma se termino la sessione da root tutto funziona.... |
|
Back to top |
|
|
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Fri Jan 07, 2005 3:20 pm Post subject: |
|
|
ho risolto il problema della rotellina, leggendo bene il forum chiaramente.
non funzionava perchè avevo sbagliato protocollo, invece di IMPS/2 usavo PS/2.. nel file di conf di xorg. |
|
Back to top |
|
|
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Fri Jan 07, 2005 4:41 pm Post subject: |
|
|
continuo però a non riuscire ad uscire da utente normale.... |
|
Back to top |
|
|
exebeje n00b
Joined: 18 Aug 2004 Posts: 38
|
Posted: Fri Jan 07, 2005 5:56 pm Post subject: |
|
|
hai emerso hotplug? _________________ "just because you're paranoid it don't mean they're not after you" |
|
Back to top |
|
|
Ciccio Bueo l33t
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Sat Jan 08, 2005 4:10 pm Post subject: |
|
|
exebeje wrote: | hai emerso hotplug? |
fatto ero tutto funziona!!
quasi... non riesco a fare più "su" da utente normale... mah grazie ciao! |
|
Back to top |
|
|
|