Boot demorado ubuntu 14.04

Iniciado por tharael, 16 de Junho de 2014, 21:28

tópico anterior - próximo tópico

tharael

Boa a noite todos.

Ultimamente, o tempo de boot do sistema tem demorado bem mais do que o normal para o Ubuntu, chegou a demorar cerca de 75 segundos, após desativar vários serviços que não utilizo, consegui 57 segundos. Como antigamente o tempo do boot ficava em torno de 25 segundos, não sei oque pode ser.

Resultado dmesg:

[    0.377508] NET: Registered protocol family 1
[    0.377756] ACPI: PCI Interrupt Link [LUB0] enabled at IRQ 23
[    4.455306] Console: switching to colour frame buffer device 160x50
[    4.457631] uvesafb: framebuffer at 0xdd000000, mapped to 0xffffc90010e80000, using 10125k, total 14336k
[    4.457665] fb0: VESA VGA frame buffer device
[    4.614756] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
[    4.874081] random: nonblocking pool is initialized
[   28.220770] Adding 8386556k swap on /dev/sda5.  Priority:-1 extents:1 across:8386556k FS
[   28.336172] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   28.336184] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   28.446568] systemd-udevd[369]: starting version 204
[   28.774530] lp: driver loaded but no devices found
[   28.837486] ppdev: user-space parallel port driver
[   28.860490] parport_pc 00:04: reported by Plug and Play ACPI
[   28.860534] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[   28.943689] lp0: using parport0 (interrupt-driven).
[   29.399814] MCE: In-kernel MCE decoding enabled.
[   29.402932] EDAC MC: Ver: 3.0.0
[   29.438222] AMD64 EDAC driver v3.4.0
[   29.438248] EDAC amd64: DRAM ECC disabled.
[   29.438253] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.
[   29.438253]  Either enable ECC checking or force module loading by setting 'ecc_enable_override'.
[   29.438253]  (Note that use of the override may cause unknown side effects.)
[   29.440561] kvm: Nested Virtualization enabled
[   29.440563] kvm: Nested Paging enabled
[   29.552067] ACPI Warning: 0x0000000000000600-0x000000000000063f SystemIO conflicts with Region \_SB_.PCI0.SBRG.ASOC.SMRG 1 (20131115/utaddress-251)
[   29.552068] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   29.552110] i2c i2c-0: nForce2 SMBus adapter at 0x700
[   29.608216] [drm] Initialized drm 1.1.0 20060810
[   30.075600] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 22
[   30.075609] hda_intel: Disabling MSI
[   30.075627] hda-intel 0000:00:05.0: Disabling 64bit DMA
[   30.080024] hda-intel 0000:00:05.0: Enable delay in RIRB handling
[   30.209922] type=1400 audit(1402962749.297:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=534 comm="apparmor_parser"
[   30.209929] type=1400 audit(1402962749.297:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=534 comm="apparmor_parser"
[   30.209933] type=1400 audit(1402962749.297:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=534 comm="apparmor_parser"
[   30.209944] type=1400 audit(1402962749.297:5): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/sbin/dhclient" pid=535 comm="apparmor_parser"
[   30.209952] type=1400 audit(1402962749.297:6): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=535 comm="apparmor_parser"
[   30.209955] type=1400 audit(1402962749.297:7): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=535 comm="apparmor_parser"
[   30.209967] type=1400 audit(1402962749.297:8): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/sbin/dhclient" pid=536 comm="apparmor_parser"
[   30.209974] type=1400 audit(1402962749.297:9): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=536 comm="apparmor_parser"
[   30.209978] type=1400 audit(1402962749.297:10): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=536 comm="apparmor_parser"
[   30.210310] type=1400 audit(1402962749.297:11): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=534 comm="apparmor_parser"
[   30.211256] Linux video capture interface: v2.00
[   30.278492] gspca_main: v2.14.0 registered
[   30.317352] gspca_main: gspca_zc3xx-2.14.0 probing 0ac8:307b
[   30.628137] autoconfig: line_outs=1 (0x1c/0x0/0x0/0x0/0x0) type:line
[   30.628141]    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   30.628142]    hp_outs=1 (0x1d/0x0/0x0/0x0/0x0)
[   30.628143]    mono: mono_out=0x0
[   30.628144]    dig-out=0x20/0x0
[   30.628145]    inputs:
[   30.628146]      Rear Mic=0x1a
[   30.628147]      Front Mic=0x1e
[   30.628148]      Line=0x1b
[   30.860088] EXT4-fs (sda6): re-mounted. Opts: errors=remount-ro
[   31.150030] nvidia: module license 'NVIDIA' taints kernel.
[   31.150033] Disabling lock debugging due to kernel taint
[   31.157168] nvidia: module verification failed: signature and/or  required key missing - tainting kernel
[   31.161353] ACPI: PCI Interrupt Link [LNED] enabled at IRQ 18
[   31.161375] vgaarb: device changed decodes: PCI:0000:02:00.0,olddecodes=io+mem,decodes=none:owns=none
[   31.161576] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:02:00.0 on minor 0
[   31.161584] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  331.38  Wed Jan  8 19:32:30 PST 2014
[   31.372503] input: HDA NVidia Front Headphone as /devices/pci0000:00/0000:00:05.0/sound/card0/input8
[   31.372585] input: HDA NVidia Line Out as /devices/pci0000:00/0000:00:05.0/sound/card0/input7
[   31.372637] input: HDA NVidia Line as /devices/pci0000:00/0000:00:05.0/sound/card0/input6
[   31.372690] input: HDA NVidia Front Mic as /devices/pci0000:00/0000:00:05.0/sound/card0/input5
[   31.372743] input: HDA NVidia Rear Mic as /devices/pci0000:00/0000:00:05.0/sound/card0/input4
[   31.576473] init: failsafe main process (678) killed by TERM signal
[   32.106760] input: gspca_zc3xx as /devices/pci0000:00/0000:00:02.0/usb2/2-4/input/input9
[   32.106879] usbcore: registered new interface driver gspca_zc3xx
[   32.960585] Bluetooth: Core ver 2.17
[   32.960606] NET: Registered protocol family 31
[   32.960607] Bluetooth: HCI device and connection manager initialized
[   32.960615] Bluetooth: HCI socket layer initialized
[   32.960617] Bluetooth: L2CAP socket layer initialized
[   32.960621] Bluetooth: SCO socket layer initialized
[   33.088727] Bluetooth: RFCOMM TTY layer initialized
[   33.088737] Bluetooth: RFCOMM socket layer initialized
[   33.088743] Bluetooth: RFCOMM ver 1.11
[   33.105791] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   33.105793] Bluetooth: BNEP filters: protocol multicast
[   33.105799] Bluetooth: BNEP socket layer initialized
[   33.995231] init: cups main process (828) killed by HUP signal
[   33.995245] init: cups main process ended, respawning
[   34.586076] vboxdrv: Found 6 processor cores.
[   34.586978] vboxdrv: fAsync=0 offMin=0x449 offMax=0x36ba
[   34.587050] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
[   34.587051] vboxdrv: Successfully loaded version 4.3.10_Ubuntu (interface 0x001a0007).
[   34.599245] vboxpci: IOMMU not found (not registered)
[   34.619658] 8139too 0000:01:07.0 eth0: link down
[   34.619716] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   34.620026] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   34.622363] forcedeth 0000:00:07.0: irq 43 for MSI/MSI-X
[   34.622382] forcedeth 0000:00:07.0 eth1: MSI enabled
[   36.970099] nvidia 0000:02:00.0: irq 44 for MSI/MSI-X
[   38.176522] init: plymouth-upstart-bridge main process ended, respawning
[   38.180624] init: plymouth-upstart-bridge main process (2618) terminated with status 1
[   38.180634] init: plymouth-upstart-bridge main process ended, respawning
[   59.454773] systemd-hostnamed[4597]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
[   62.654629] audit_printk_skb: 186 callbacks suppressed
[   62.654632] type=1400 audit(1402962782.316:74): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=4624 comm="apparmor_parser"
[   62.654638] type=1400 audit(1402962782.316:75): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=4624 comm="apparmor_parser"
[   62.654972] type=1400 audit(1402962782.316:76): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=4624 comm="apparmor_parser"
[  381.686443] systemd-hostnamed[19251]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!


Após pesquisar no forum encontrei um programa chamado bootchart, instalei para que seja possível visualizar o tempo de boot de cada serviço/etapa, mas não fica muito claro para mim oque pode estar causando tanta demora no boot.

Imagem BootChart
http://cdn.imghack.se/images/f7f4f1c10782264a033b119244af6f55.png

Alguém poderia me auxiliar com o bootchart e o dmesg para deixar o boot do sistema mais rápido?
Agradeço a todos pela ajuda e atenção.
Abraço!

zekkerj

Pela minha experiência, uma coisa que amarra o boot é a configuração da rede. Chama a atenção este trecho:

Citar[   34.619658] 8139too 0000:01:07.0 eth0: link down
[   34.619716] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   34.620026] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

Confirme que você não tem configuração para ativar a placa de rede no arquivo "/etc/network/interfaces", a não ser que vc tenha um cabo de rede conectado à máquina sempre. Também não deixe a placa configurada para adquirir um IP automaticamente, se vc não tiver um servidor DHCP ativo em sua rede local.

Por fim, se vc não tem suporte a IPv6 em sua rede local, desative o serviço.
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D