Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemi con moduli del kernel.
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
TuxUber
n00b
n00b


Joined: 16 Aug 2008
Posts: 56

PostPosted: Mon Oct 27, 2008 11:40 am    Post subject: Problemi con moduli del kernel. Reply with quote

Ho 2 problemi dopo aver installato gentoo (premetto che per il kernel ho usato genkernel ):

1) Quando lancio alsaconf non mi riconosce la scheda audio

2) Quando lancio il comando iptables mi da questo:

Code:
FATAL: Module ip_tables not found.
iptables v1.4.0: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Cosa devo fare???
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Wed Oct 29, 2008 10:40 am    Post subject: Reply with quote

per il punto 1): potresti postare l'errore esatto?

per il punto 2):
Code:
# cd /usr/src/linux
# make menuconfig

e poi affidati a questo elenco
http://www.shorewall.net/kernel.htm#Network
per le opzioni da abilitare
una volta scelte tutte basta che salvi ed esci e dai un:
Code:
# make && make modules_install

e poi copi il kernel in /boot o manualmente o con
Code:
make install

ricordati quindi di far combaciare il nome del kernel che hai in grub.conf con quello che è stato copiato ex novo.
se hai dubbi posta pure (ps l'ultima parte della guida/handbook spiega bene come sistemare questo problema, quindi ti consiglio di guardare lì prima)
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
TuxUber
n00b
n00b


Joined: 16 Aug 2008
Posts: 56

PostPosted: Wed Oct 29, 2008 11:13 am    Post subject: Reply with quote

Peach wrote:
per il punto 1): potresti postare l'errore esatto?
NOn mi da un errore semplicemente non trova nessuna scheda....

Peach wrote:
(ps l'ultima parte della guida/handbook spiega bene come sistemare questo problema, quindi ti consiglio di guardare lì prima)
Dove scusa di preciso io la guida tra l'altro me la sono pure stampata....

PS. Speravo che genkernel mi permettesse di non dover mettere mano al kernel .... :cry: :cry:
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Wed Oct 29, 2008 11:46 am    Post subject: Reply with quote

TuxUber wrote:
Peach wrote:
per il punto 1): potresti postare l'errore esatto?
NOn mi da un errore semplicemente non trova nessuna scheda....

mmm
cioè quando riavvii di preciso che ti stampa?

TuxUber wrote:
Peach wrote:
(ps l'ultima parte della guida/handbook spiega bene come sistemare questo problema, quindi ti consiglio di guardare lì prima)
Dove scusa di preciso io la guida tra l'altro me la sono pure stampata....

forse è meglio che ti dica i passi io:
una volta configurato il kernel per bene
Code:
# mount /boot
# make && make modules_install && make install

quindi controlla in /boot gli ultimi file creati dall'ultimo comando con:
Code:
# ls -ltc /boot

quindi segui la parte della guida specifica per la configurazione di grub per utenti che NON hanno usato genkernel (in altre parole non ci sarà la riga di initrd e nemmeno un paio di opzioni del kernel).

se hai dubbi domanda, postando il contenuto di boot (con il comando sopra citato) e grub.conf.

TuxUber wrote:
PS. Speravo che genkernel mi permettesse di non dover mettere mano al kernel .... :cry: :cry:

per questo non so davvero aiutarti, anzi, la cosa è davvero semplice una volta che hai capito come funziona, e direi pure che è il caso di iniziare a sbatterci la testa. L'importante è avere sempre la vecchia immagine del kernel pronta da avviare in caso di necessità.

NOTA: quando ricompili il kernel devi ricompilare anche tutti i moduli che si installano nella directory dei moduli del kernel, c'è uno strumento che facilita questo e si chiama sys-kernel/module-rebuild che si usa:
Code:
# module-rebuild -X rebuild

_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
TuxUber
n00b
n00b


Joined: 16 Aug 2008
Posts: 56

PostPosted: Wed Oct 29, 2008 12:03 pm    Post subject: Reply with quote

Peach wrote:

cioè quando riavvii di preciso che ti stampa?
Ti spiego: io avvio il sistema (con gnome). Al boot vedo che il suono non funziona e mi dico: "certo devo ancora lanciare alsaconf per configurare la scheda audio". Allora lancio alsaconf non è che mi da un errore ma non trova nessuna scheda di nessun tipo come se non avesse schede...

Per il kernel hai ragione ... cercherò di seguire i tuoi consigli...
8) 8)
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Wed Oct 29, 2008 12:15 pm    Post subject: Reply with quote

TuxUber wrote:
Peach wrote:

cioè quando riavvii di preciso che ti stampa?
Ti spiego: io avvio il sistema (con gnome). Al boot vedo che il suono non funziona e mi dico: "certo devo ancora lanciare alsaconf per configurare la scheda audio". Allora lancio alsaconf non è che mi da un errore ma non trova nessuna scheda di nessun tipo come se non avesse schede...


allora dato che ci sei, verifica sotto Device Drivers/Sound/ di avere selezionata la tua scheda audio :)
lo puoi controllare anche senza andare nel kernel con
Code:
# modprobe -l | grep sound
sempre che tu conosca il nome della tua scheda audio :)
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
TuxUber
n00b
n00b


Joined: 16 Aug 2008
Posts: 56

PostPosted: Wed Oct 29, 2008 7:14 pm    Post subject: Reply with quote

Non mi da output :
Code:
ubermensch@tux-devil ~ $ sudo modprobe -l | grep sound
ubermensch@tux-devil ~ $
:( :(
Back to top
View user's profile Send private message
riverdragon
Veteran
Veteran


Joined: 14 Sep 2006
Posts: 1269
Location: Verona

PostPosted: Thu Oct 30, 2008 9:23 am    Post subject: Reply with quote

Prova con
Code:
sudo modprobe -l | grep snd


Alsaconf funziona solo se il supporto alla tua scheda audio è compilato come modulo, prova a verificare.
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Thu Oct 30, 2008 9:31 am    Post subject: Reply with quote

riverdragon wrote:
Prova con
Code:
sudo modprobe -l | grep snd


Alsaconf funziona solo se il supporto alla tua scheda audio è compilato come modulo, prova a verificare.

oppure, se genkernel ha abilitato la config del kernel in /proc/config.gz:

Code:
# zcat /proc/config.gz |grep -i ^[^#].*snd

_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
TuxUber
n00b
n00b


Joined: 16 Aug 2008
Posts: 56

PostPosted: Thu Oct 30, 2008 1:00 pm    Post subject: Reply with quote

Ancora nulla :
Code:
ubermensch@tux-devil ~ $ sudo zcat /proc/config.gz |grep -i ^[^#].*snd
ubermensch@tux-devil ~ $
:cry:
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Thu Oct 30, 2008 2:11 pm    Post subject: Reply with quote

TuxUber wrote:
Ancora nulla :
Code:
ubermensch@tux-devil ~ $ sudo zcat /proc/config.gz |grep -i ^[^#].*snd
ubermensch@tux-devil ~ $
:cry:

allora ok, non è proprio stata inclusa la tua scheda da genkernel.
prendi, segui la guida ad ALSA (http://www.gentoo.org/doc/it/alsa-guide.xml) e configura il kernel adeguatamente ;)
ormai la strada l'hai presa :)
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
TuxUber
n00b
n00b


Joined: 16 Aug 2008
Posts: 56

PostPosted: Fri Oct 31, 2008 1:16 pm    Post subject: Reply with quote

La setssa cosa devo fare per iptables no?? E in generale per fare il tutto seguo la guida che mi hai postato tu prima...
8) 8)
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Fri Oct 31, 2008 2:02 pm    Post subject: Reply with quote

TuxUber wrote:
La setssa cosa devo fare per iptables no?? E in generale per fare il tutto seguo la guida che mi hai postato tu prima...
8) 8)

per iptables, segui quanto scritto nella guida da me linkata prima
per alsa, segui quanto scritot nella guida da me linkata prima
per il resto segui quanto ho scritto nei post precedenti

se non capisci, domanda.
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
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