Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
upgrade udev da 208 a 210
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
Stramonium
n00b
n00b


Joined: 20 Apr 2014
Posts: 15

PostPosted: Tue Apr 22, 2014 2:14 pm    Post subject: upgrade udev da 208 a 210 Reply with quote

Salve !
Eselect mi ha notificato l'avviso per l'upgrade di udev alla versione 210 .
Ma è consigliato fare questo aggiornamento?

Qui spiega le operazioni da fare prima dell'aggiornamento (se ho tradotto bene).

Sono in fase di istallazione , queste operazioni le devo effettuare subito? Il kernel non lo ho ancora compilato!
Chiedo perchè è inutile aspettare se tanto poi mi potrebbe dare problemi nell'istallazione.
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Apr 22, 2014 3:41 pm    Post subject: Reply with quote

si. ti conviene seguire l'aggiornamento.
non ti preoccupare.

in pratica, tu non devi far nulla, proprio perché sei principiante, quindi non hai bisogno di abituarti alle nuove nomenclature.
semplicemente, abituati a quelle nuove.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Stramonium
n00b
n00b


Joined: 20 Apr 2014
Posts: 15

PostPosted: Tue Apr 22, 2014 4:03 pm    Post subject: Reply with quote

si ok ma quei settaggi
Quote:
kernel settings CONFIG_FHANDLE=y and CONFIG_NET=y are mandatory. Kernel setting CONFIG_DMIID=y is recommended for amd64/ia64/x86,

dove li trovo?
Sto facendo il kernel ma non so dove cercarli.
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Apr 22, 2014 4:39 pm    Post subject: Reply with quote

Stramonium wrote:

Quote:
kernel settings CONFIG_FHANDLE=y and CONFIG_NET=y are mandatory. Kernel setting CONFIG_DMIID=y is recommended for amd64/ia64/x86,

dove li trovo?
Sto facendo il kernel ma non so dove cercarli.

io, che uso menuconfig, accedo a un campo di ricerca battendo uno slash, poi digito il nome del parametro e ricavo le informazioni necessarie.
con xconfig dovrebbe essere ancora più facile.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Stramonium
n00b
n00b


Joined: 20 Apr 2014
Posts: 15

PostPosted: Tue Apr 22, 2014 4:51 pm    Post subject: Reply with quote

sono alla configurazione del kernel xorg non ce l ho ancora :-P

Ora vedo se lo trovo con la ricerca .
Grazie
Back to top
View user's profile Send private message
Stramonium
n00b
n00b


Joined: 20 Apr 2014
Posts: 15

PostPosted: Tue Apr 22, 2014 7:56 pm    Post subject: Reply with quote

Ok messe tutte le spunte built-in per CONFIG_FHANDLE=y CONFIG_NET=y CONFIG_DMIID

Quote:
File /lib/udev/rules.d/80-net-name-slot.rules was replaced with /lib/udev/rules.d/80-net-setup-link.rules. If you are currently using an empty (or single-comment) /etc/udev/rules.d/80-net-name-slot.rules to disable predictable network interface names, you should now use 80-net-setup-link.rules. eg:

cd /etc/udev/rules.d/ && ln 80-net-name-slot.rules 80-net-setup-link.rules

..to keep the override both pre- and post-upgrade; you can then:

rm /etc/udev/rules.d/80-net-name-slot.rules

..once you have upgraded. The hardlink can be made now, in order to protect against not noticing the upgrade in a busy or non-professional situation.

However, 80-net-setup-link.rules is only a trigger for the actual configuration file 99-default.link at /lib/systemd/network/ which you can override at /etc/systemd/network/
The most reliable way of disabling the new network interface scheme is still the kernel bootline parameter: net.ifnames=0

Example interface IDs


Non ho capito cosa significano queste istruzioni....
Back to top
View user's profile Send private message
Stramonium
n00b
n00b


Joined: 20 Apr 2014
Posts: 15

PostPosted: Wed Apr 23, 2014 11:02 am    Post subject: Reply with quote

Quote:
File /lib/udev/rules.d/80-net-name-slot.rules was replaced with /lib/udev/rules.d/80-net-setup-link.rules.


in lib/udev/rules.d ho 80-net-name-slot.rules , non ho /lib/udev/rules.d/80-net-setup-link.rules

Quote:
If you are currently using an empty (or single-comment) /etc/udev/rules.d/80-net-name-slot.rules to disable predictable network interface names, you should now use 80-net-setup-link.rules


In /etc/udev/rules.d non ho nulla !
Quindi cosa devo fare ?
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Wed Apr 23, 2014 7:22 pm    Post subject: Reply with quote

Stramonium wrote:

In /etc/udev/rules.d non ho nulla !
Quindi cosa devo fare ?

non fare nulla!
è ovvio :).

quella cartella viene utilizzata da certi automatismi di sistema per memorizzare i nomi dei dispositivi di connessione utilizzati in precedenza, e può essere modificata dall'utente per personalizzare determinate impostazioni.
non mi sembra sia una tua necessità al momento.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Stramonium
n00b
n00b


Joined: 20 Apr 2014
Posts: 15

PostPosted: Wed Apr 23, 2014 7:48 pm    Post subject: Reply with quote

Ok procedo all aggiornamento. Grazie
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Thu Apr 24, 2014 3:57 pm    Post subject: Reply with quote

In generale è sempre bene non fare gli eroi e da novellini è praticamente obbligatorio usare genkernel.
Ti consiglio di configurarlo e leggere a partire da qui.
Ti sconsiglio di fargli aggiungere automaticamente il kernel a grub.
Il comando giusto non è
Code:
genkernel all
ma
Code:
genkernel --menuconfig all
per capirci... :wink:
Per udev bada che se usi openrc potresti pensare di creare qualcosa del genere
/etc/udev/rules.d/80-net-setup-link.rules:
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="xx:xx:xx:xx:xx:xx", NAME="net0"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="xx:xx:xx:xx:xx:xx", NAME="net1"
e
/etc/udev/rules.d/70-persistent-cd.rules:
# DVDRAM_xxxxxxxxxxx (pci-0000:00:11.0-scsi-3:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-3:0:0:0", SYMLINK+="cdrom0", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-3:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-3:0:0:0", SYMLINK+="dvd0", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-3:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"
se invece hai optato per systemd ti devi adattare ad usare i nuovi nomi astrusi che fanno tanto sistemistica anni '60 e rompono le scatole non poco ma si sa che la missione divina assegnata a quei porci dal cappello rosso è trasformare linux in una caricatura di windozz.
A questo punto la scelta è tua, c'è sempre la possibilità che in futuro siano abolite queste futili libertà nel personalizzare.
Per inciso funziona anche usando il vecchio nome (uso udev 2.08) visto che udev non fa altro che applicare le regole che trova nella directory secondo l'ordine specificato dal numero iniziale (cosa ripresa dai vecchi rc degli anni '70, tanto per capire come sragiona codesta marmaglia).
Puoi pure chiamarlo 80-faccio-quel-che-cavolo-mi-pare.rules ma tant'è.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Stramonium
n00b
n00b


Joined: 20 Apr 2014
Posts: 15

PostPosted: Thu Apr 24, 2014 4:23 pm    Post subject: Reply with quote

Francamente cercherò di smanettare il meno possibile per nonn incasinarmi , inftti sto seguendo l'handbo in inglese alla lettera.
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