Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Errori all'avvio e problemi all'uscita.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Fri Jan 07, 2005 12:42 pm    Post subject: [RISOLTO] Errori all'avvio e problemi all'uscita. Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30990
Location: here

PostPosted: Fri Jan 07, 2005 12:44 pm    Post subject: Reply with quote

I moduli esistono ancora? lsmod che riporta?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Fri Jan 07, 2005 12:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30990
Location: here

PostPosted: Fri Jan 07, 2005 12:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dece
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 291
Location: Bologna/Rimini Italy

PostPosted: Fri Jan 07, 2005 1:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30990
Location: here

PostPosted: Fri Jan 07, 2005 1:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Fri Jan 07, 2005 1:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Fri Jan 07, 2005 1:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dece
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 291
Location: Bologna/Rimini Italy

PostPosted: Fri Jan 07, 2005 2:01 pm    Post subject: Reply with quote

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 :wink:
Back to top
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Fri Jan 07, 2005 2:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dece
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 291
Location: Bologna/Rimini Italy

PostPosted: Fri Jan 07, 2005 2:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Fri Jan 07, 2005 2:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
IlGab
Guru
Guru


Joined: 26 Nov 2004
Posts: 486

PostPosted: Fri Jan 07, 2005 2:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Fri Jan 07, 2005 3:00 pm    Post subject: Reply with quote

no, non monto volumi rete... ma se termino la sessione da root tutto funziona....
Back to top
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Fri Jan 07, 2005 3:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Fri Jan 07, 2005 4:41 pm    Post subject: Reply with quote

continuo però a non riuscire ad uscire da utente normale.... :roll:
Back to top
View user's profile Send private message
exebeje
n00b
n00b


Joined: 18 Aug 2004
Posts: 38

PostPosted: Fri Jan 07, 2005 5:56 pm    Post subject: Reply with quote

hai emerso hotplug?
_________________
"just because you're paranoid it don't mean they're not after you"
Back to top
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Sat Jan 08, 2005 4:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum