Autore Topic: Failed to Activate Swap  (Letto 3540 volte)

Offline mrcrowley

  • *
  • Post: 876
  • Reputazione: -1
    • Mostra profilo
Failed to Activate Swap
« il: 06 Aprile 2014 ore 15:38 »
 
All' avvio di Chakra ho notato (dopo l'ultimo aggiornamento) dei messaggi rossi riguardante lo Swap.
In una riga sono riuscito a leggere quanto messo in oggetto.
Ho provato a fare fschk della partizione, ma mi dà errore, e anche dall' editor delle partizioni non viene rilevata alcuna partizione di quel disco.

Codice: [Seleziona]
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
UUID=67b7eef8-0130-4236-b896-830f73989858 / ext4 defaults,noatime 0 1
UUID=cf7c8ec6-21aa-4cc4-9fca-a92cfabd178b swap swap defaults,noatime 0 0
UUID=3154f8de-9596-4766-8571-e648635034c7 /Storage ext4 defaults,noatime 0 2
UUID=6a15ee02-4e40-4941-a0c7-a8b1269d3789 /Video ext4 defaults,noatime 0 2
UUID=6215062a-d107-4531-b172-67101a3b90a4 /home ext4 defaults,noatime 0 1
/home/massimiliano /srv/nfs4/home  none   bind   0 1
/Storage /srv/nfs4/Storage  none   bind   0 2

Offline whoami

  • *
  • Post: 1562
  • Reputazione: 64
  • Quando c'era init i log arrivavano in orario!
    • Mostra profilo
Re:Failed to Activate Swap
« Risposta #1 il: 06 Aprile 2014 ore 18:26 »
posta sudo blkid
echo "VQF AHELME I BI CI WECPF"| tr "ETAOINSHRDLUBCFGJMQPVWZYXK" "A-Z"

Offline mrcrowley

  • *
  • Post: 876
  • Reputazione: -1
    • Mostra profilo
R: Failed to Activate Swap
« Risposta #2 il: 06 Aprile 2014 ore 19:20 »
L' UID é quello in fstab. Ho già controllato.

Inviato dal mio Galaxy Nexus utilizzando Tapatalk


Offline Cylon

  • *
  • Post: 1960
  • Reputazione: 78
  • CYbernetic Life fOrm Node
    • Mostra profilo
Re:Failed to Activate Swap
« Risposta #3 il: 06 Aprile 2014 ore 19:28 »
che versione di systemd hai installata (la 204 o la 212)? il tuo è un sistema GPT?
We are the Cylons. Lower your firewalll and surrender.Your PC will adapt to service our GNU/Linux systems. Resistance is futile. Extermination of human race has began!
                                                                     Non rispondo a PM

Offline mrcrowley

  • *
  • Post: 876
  • Reputazione: -1
    • Mostra profilo
R: Failed to Activate Swap
« Risposta #4 il: 06 Aprile 2014 ore 19:29 »
Adesso sono fuori ... ma come si vedono questi due dati ?

Inviato dal mio Galaxy Nexus utilizzando Tapatalk


Offline mrcrowley

  • *
  • Post: 876
  • Reputazione: -1
    • Mostra profilo
Re:Failed to Activate Swap
« Risposta #5 il: 07 Aprile 2014 ore 14:04 »

systemd 212-2

GPT ... che vuol dire ???

Offline mrcrowley

  • *
  • Post: 876
  • Reputazione: -1
    • Mostra profilo
Re:Failed to Activate Swap
« Risposta #6 il: 07 Aprile 2014 ore 14:05 »
posta sudo blkid

Codice: [Seleziona]
sudo blkid
Password:
/dev/sde1: UUID="67b7eef8-0130-4236-b896-830f73989858" TYPE="ext4" PARTUUID="0005bbc7-01"
/dev/sde5: UUID="6215062a-d107-4531-b172-67101a3b90a4" TYPE="ext4" PARTUUID="0005bbc7-05"
/dev/sde6: UUID="cf7c8ec6-21aa-4cc4-9fca-a92cfabd178b" TYPE="swap"
/dev/sdf1: LABEL="Video" UUID="6a15ee02-4e40-4941-a0c7-a8b1269d3789" TYPE="ext4" PARTUUID="000e6c7c-01"
/dev/sdg1: LABEL="Storage" UUID="3154f8de-9596-4766-8571-e648635034c7" TYPE="ext4" PARTUUID="00050abd-01"

Offline Cylon

  • *
  • Post: 1960
  • Reputazione: 78
  • CYbernetic Life fOrm Node
    • Mostra profilo
Re:Failed to Activate Swap
« Risposta #7 il: 07 Aprile 2014 ore 15:27 »
gpt è in parole povere quello che ha sostituto mbr.. hai un sistema recente che usa efi? se si hai gpt.

se hai un sistema gpt/efi apri il file fstab e commenta (ossia metti il segno #) la riga inerente alla swap riavvia e vedi se l'errore se ne andato e se la swap è presente (dovrebbe esserlo poiche viene montata in automatico da systemd ora)
We are the Cylons. Lower your firewalll and surrender.Your PC will adapt to service our GNU/Linux systems. Resistance is futile. Extermination of human race has began!
                                                                     Non rispondo a PM

Offline mrcrowley

  • *
  • Post: 876
  • Reputazione: -1
    • Mostra profilo
Re:Failed to Activate Swap
« Risposta #8 il: 07 Aprile 2014 ore 15:47 »
gpt è in parole povere quello che ha sostituto mbr.. hai un sistema recente che usa efi? se si hai gpt.

se hai un sistema gpt/efi apri il file fstab e commenta (ossia metti il segno #) la riga inerente alla swap riavvia e vedi se l'errore se ne andato e se la swap è presente (dovrebbe esserlo poiche viene montata in automatico da systemd ora)

efi ??? sistema recente ... intendi hardware ??? Se si, direi di no. Il pc è piuttosto vecchiotto.
« Ultima modifica: 07 Aprile 2014 ore 16:36 da mrcrowley »

Offline Cylon

  • *
  • Post: 1960
  • Reputazione: 78
  • CYbernetic Life fOrm Node
    • Mostra profilo
Re:Failed to Activate Swap
« Risposta #9 il: 07 Aprile 2014 ore 16:35 »
ovvio. ;D
We are the Cylons. Lower your firewalll and surrender.Your PC will adapt to service our GNU/Linux systems. Resistance is futile. Extermination of human race has began!
                                                                     Non rispondo a PM

Offline mrcrowley

  • *
  • Post: 876
  • Reputazione: -1
    • Mostra profilo
Re:Failed to Activate Swap
« Risposta #10 il: 07 Aprile 2014 ore 16:37 »
Quindi devo provare anche se è vecchio e sicuramente non EFI ??

Offline Cylon

  • *
  • Post: 1960
  • Reputazione: 78
  • CYbernetic Life fOrm Node
    • Mostra profilo
Re:Failed to Activate Swap
« Risposta #11 il: 07 Aprile 2014 ore 16:55 »
no.,, se non è un sistema che usa gpt no.. ma la swap è attiva?

dai da terminale
Codice: [Seleziona]
swapon -s

se no prova ad attivarla (o a riavviare il servizio da systemd) e poi riavvia il sistema
« Ultima modifica: 07 Aprile 2014 ore 16:58 da Cylon »
We are the Cylons. Lower your firewalll and surrender.Your PC will adapt to service our GNU/Linux systems. Resistance is futile. Extermination of human race has began!
                                                                     Non rispondo a PM

Offline mrcrowley

  • *
  • Post: 876
  • Reputazione: -1
    • Mostra profilo
Re:Failed to Activate Swap
« Risposta #12 il: 07 Aprile 2014 ore 17:38 »
con swapon -s adesso il sistema vede la swap.

però quando si avvia Chakra, compare sempre il messaggio in rosso "failed to activate swap", anche se almeno adesso la swap viene usata.

edit: sembra che il messaggio relativo alla swap non ci sia più, però ce ne è un'altro rosso prima, che non riesco a leggere bene. Sembra qualcosa relativo a moduli kernel.
« Ultima modifica: 07 Aprile 2014 ore 17:42 da mrcrowley »

Offline Cylon

  • *
  • Post: 1960
  • Reputazione: 78
  • CYbernetic Life fOrm Node
    • Mostra profilo
Re:Failed to Activate Swap
« Risposta #13 il: 07 Aprile 2014 ore 18:10 »
hai provato se systemd ti segnala qualcosa?
Codice: [Seleziona]
systemctl --failed
al limite dai uno sguardo al journal (almeno dell'ultimo boot)
Codice: [Seleziona]
sudo journalctl -b
We are the Cylons. Lower your firewalll and surrender.Your PC will adapt to service our GNU/Linux systems. Resistance is futile. Extermination of human race has began!
                                                                     Non rispondo a PM

Offline mrcrowley

  • *
  • Post: 876
  • Reputazione: -1
    • Mostra profilo
Re:Failed to Activate Swap
« Risposta #14 il: 07 Aprile 2014 ore 18:29 »
Codice: [Seleziona]
systemctl --failed
  UNIT                        LOAD   ACTIVE SUB    DESCRIPTION
● systemd-modules-load.service loaded failed failed Load Kernel Modules

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

Codice: [Seleziona]
apr 07 17:39:39 chakra-pc systemd-modules-load[136]: Failed to insert 'vboxsf': No such device

apr 07 17:39:39 chakra-pc systemd[1]: Failed to start Load Kernel Modules.

apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 2,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 4,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 6,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 8,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 10,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 12,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 14,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 16,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 18,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 20,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 22,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 24,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 26,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 28,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 30,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 32,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 34,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 36,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 38,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 40,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 42,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 44,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 46,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 48,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 50,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 52,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 54,starting at character 1 ('U')
apr 07 17:39:39 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 56,starting at character 1 ('U')

apr 07 17:39:48 chakra-pc kdm_greet[510]: Data directory "/var/lib/kdm" not accessible: File o directory non esistente
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 2,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 4,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 6,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 8,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 10,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 12,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 14,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 16,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 18,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 20,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 22,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 24,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 26,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 28,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 30,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 32,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 34,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 36,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 38,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 40,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 42,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 44,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 46,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 48,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 50,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 52,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 54,starting at character 1 ('U')
apr 07 17:39:49 chakra-pc systemd-udevd[149]: invalid key/value pair in file /etc/udev/rules.d/51-android.rules on line 56,starting at character 1 ('U')

apr 07 17:39:50 chakra-pc NetworkManager[327]: <error> [1396885190.856357] [nm-device.c:3355] start_sharing(): (enp4s0/enp4s0): failed to start dnsmasq: Could not find dnsmasq b

apr 07 17:39:51 chakra-pc kdm_greet[510]: Cannot load /usr/share/apps/kdm/faces/.default.face: File o directory non esistente

apr 07 17:39:55 chakra-pc NetworkManager[327]: <error> [1396885195.250793] [nm-device.c:3355] start_sharing(): (enp4s0/enp4s0): failed to start dnsmasq: Could not find dnsmasq b

apr 07 17:39:59 chakra-pc NetworkManager[327]: <error> [1396885199.247766] [nm-device.c:3355] start_sharing(): (enp4s0/enp4s0): failed to start dnsmasq: Could not find dnsmasq b

apr 07 17:40:03 chakra-pc NetworkManager[327]: <error> [1396885203.247983] [nm-device.c:3355] start_sharing(): (enp4s0/enp4s0): failed to start dnsmasq: Could not find dnsmasq b


Questi sono i messaggi rossi, però ne ho letti qualcuno in bianco che mi sembravano strani.
Se hai voglia di dargli un'occhiata http://pastebin.com/zwkCh80R

 

Template by Homey | Sito ufficiale | Disclaimer