Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tuxonice-sources-2.6.28: swapon ... Invalid Argument [RISOLT
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
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Wed Jan 14, 2009 11:10 am    Post subject: tuxonice-sources-2.6.28: swapon ... Invalid Argument [RISOLT Reply with quote

Salve ragazzi, ho aggiornato al 2.6.28 da un paio di giorni e subito sono incappato in questo problema.
Se spengo il pc e lo riaccendo va tutto per il meglio, ma se provo a fare un hibernate (quindi sospendendo su swap), alla successiva accensione non sono non riesco a ripristinare la sessione congelata ma in più non viene montata la swap! Il messaggio è proprio quello
Code:
swapon /dev/mapper/real-swap: Invalid argument

Come si capisce dal nome della partizione, la swap è su LVM. Comunque sia rimane il fatto che fino al kernel precedente tutto andava per il meglio e, come detto prima, se non uso hibernate tutto funziona!

Qualcuno sa dirmi dove andare a cercare altre informazioni in merito?! non so che altri pesci prendere :?: :!:


Last edited by oRDeX on Wed Jan 14, 2009 2:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Wed Jan 14, 2009 2:04 pm    Post subject: Reply with quote

Mi autorispondo dopo un pò di sbattimenti di testa:

fra i parametri passati in fase di boot andrebbe aggiunto:
Code:
real_resume=/dev/partizione-swap

oltre al già presente parametro resume di tuxonice :)
Forse avrei dovuto leggere il changelog di genkernel che si occupa di generare per me gli initramfs :roll: :roll:
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Wed Jan 14, 2009 3:18 pm    Post subject: Reply with quote

genkernel è il male :D
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Wed Jan 14, 2009 4:16 pm    Post subject: Reply with quote

Bhè, però direi che è comodissimo per generare l'initramfs con lvm, luks e tuxonice :)
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: Wed Jan 14, 2009 4:58 pm    Post subject: Reply with quote

genkernel è uno strumento gentoo, quindi non è pensato per essere usato senza opzioni, senza configurarlo e senza leggere le allegate istruzioni; è pensato solo per evitare di ripetere ogni volta la sequanza del cd /usr/src/linux ; make menuconfig ; make modules_istall bzlilo etc.
_________________
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
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Wed Jan 14, 2009 5:09 pm    Post subject: Reply with quote

concordo totalmente. Infatti ho ammesso l'errore che si è concretizzato nella mancata lettura del changelog :roll:

Comuqneu penso che sia uno strumento realmente comodo :) Anche perchè tiene conto dei moduli esterni installati tramite portage (vedi nvidia-drivers) ed evita l'eliminazione di questi (a differenza di quel che succede con make modules_install)

Comuqneu penso che siamo sin troppo OT adesso :P
La finisco quì :D
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: Wed Jan 14, 2009 5:17 pm    Post subject: Reply with quote

emerge module-rebuild :wink:
_________________
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
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Wed Jan 14, 2009 5:27 pm    Post subject: Reply with quote

Comodo ricompilare i moduli quando non è cambiato niente :D
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: Wed Jan 14, 2009 5:28 pm    Post subject: Reply with quote

Come si vede che non usi il kernel hardened...
_________________
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
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Wed Jan 14, 2009 5:30 pm    Post subject: Reply with quote

Bhè di usarlo sul laptop non mi è mai passato per la testa.
Comuqneu non immaginavo che aggiungere un supporto come "modulo" e installarlo nella sua dovuta directory potesse comportare cambiamenti tali da dover ricompilare i moduli di terzi
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Wed Jan 14, 2009 6:53 pm    Post subject: Reply with quote

oRDeX wrote:
Comodo ricompilare i moduli quando non è cambiato niente :D


non serve dare module-rebuild rebuild se non cambi versione di kernel.

Se usi lo stesso lo puoi ricompilare 20mila volte (make && make modules_install) e non devi ricompilare i moduli :)
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