Configurar logs

De OpenSPA Wiki
Saltar a: navegación, buscar

PRÓLOGO


Los archivos de registro o como los conocemos con el nombre de "log", son archivos que se crean en nuestro receptor automáticamente o que nosotros podemos crear.


En estos archivos se crea información de registro de nuestro receptor que ayudan tanto para ver errores producidos y ver las posibles causas así como simplemente para ver informaciones a nivel de hardware o programas que se están ejecutando.


NOTA: Para ver el contenido de estos simplemente es necesario abrirlos con algún editor de textos.


A nivel de archivos de registro podríamos dividirlos en tres bloques:


Los que el sistema de la imagen genera automáticamente

Estos se ubicarían en el directorio del receptor /var/log, los cuales son generados por el sistema de la imagen o por aplicaciones instaladas en ésta. Podemos ver cuales son simplemente accediendo al mencionado directorio a través de algún programa cliente ftp (filezilla, wincsp.....):


Los más habituales podrían ser:


  • /var/log/boot: Informaciones que se registran cuando se inicia la imagen OpenSPA.
  • /var/log/dmesg: Informaciones del núcleo linux, tanto al iniciar el sistema como depuración de programas.


Ver boot log

[ 0.000000] Linux version 3.14.28-1.12 (jenkins@openspa.webhop.info) (gcc version 6.3.0 (GCC) ) #1 SMP Sat Nov 25 02:45:18 CET 2017

[ 0.000000] CPU: ARMv7 Processor [420f00f3] revision 3 (ARMv7), cr=30c7387d

[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache

[ 0.000000] Machine model: gbquad4k

[ 0.000000] moving dtb from 0x0000000007624000 to 0x0000000000894c98

[ 0.000000] cma: Reserved 764 MiB at 0x0000000010000000

[ 0.000000] cma: Reserved 1024 MiB at 0x0000000080000000

[ 0.000000] cma: Reserved 16 MiB at 0x000000000f000000

[ 0.000000] Memory policy: Data cache writealloc

[ 0.000000] On node 0 totalpages: 524288

[ 0.000000] Normal zone: 512 pages used for memmap

[ 0.000000] Normal zone: 0 pages reserved

[ 0.000000] Normal zone: 65536 pages, LIFO batch:15

[ 0.000000] HighMem zone: 3584 pages used for memmap

[ 0.000000] HighMem zone: 458752 pages, LIFO batch:31

[ 0.000000] MCP: Enabling write pairing

[ 0.000000] PERCPU: Embedded 8 pages/cpu @cdfbf000 s8896 r8192 d15680 u32768

[ 0.000000] pcpu-alloc: s8896 r8192 d15680 u32768 alloc=8*4096

[ 0.000000] pcpu-alloc: [0] 0 [0] 1

[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 523776

[ 0.000000] Kernel command line: root=/dev/mmcblk0p7 rootwait rw rootflags=data=journal libata.force=1:3.0G,2:3.0G,3:3.0G coherent_poll=2M brcm_cma=764M@0x10000000 brcm_cma=1024M@0x80000000

[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)

[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

[ 0.000000] Memory: 220096K/2097152K available (5989K kernel code, 347K rwdata, 1964K rodata, 256K init, 191K bss, 29760K reserved, 1847296K cma-reserved, 0K highmem)

[ 0.000000] Virtual kernel memory layout:

[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)

[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)

[ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)

[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)

[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)

[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)

[ 0.000000] .text : 0xc0008000 - 0xc07cc684 (7954 kB)

[ 0.000000] .init : 0xc07cd000 - 0xc080d2c0 ( 257 kB)

[ 0.000000] .data : 0xc080e000 - 0xc0864cd8 ( 348 kB)

[ 0.000000] .bss : 0xc0864ce0 - 0xc0894c98 ( 192 kB)

[ 0.000000] Hierarchical RCU implementation.

[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.

[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2

[ 0.000000] NR_IRQS:16 nr_irqs:16 16

[ 0.000000] irq_brcmstb_l2: registered L2 intc (mem: 0xfc403000, parent irq: 93)

[ 0.000000] irq_brcmstb_l2: registered L2 intc (mem: 0xfc3e1000, parent irq: 64)

[ 0.000000] irq_brcmstb_l2: registered L2 intc (mem: 0xfc410640, parent irq: 95)

[ 0.000000] irq_brcmstb_l2: registered L2 intc (mem: 0xfc4d1200, parent irq: 58)

[ 0.000000] Architected cp15 timer(s) running at 27.00MHz (virt).

[ 0.000004] sched_clock: 56 bits at 27MHz, resolution 37ns, wraps every 2545165795328ns

[ 0.000009] Switching to timer-based delay loop

[ 0.000235] Calibrating delay loop (skipped), value calculated using timer frequency.. 54.00 BogoMIPS (lpj=27000)

[ 0.000244] pid_max: default: 32768 minimum: 301

[ 0.000329] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)

[ 0.000334] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

[ 0.005991] CPU: Testing write buffer coherency: ok

[ 0.006180] CPU0: update cpu_power 1024

[ 0.006186] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

[ 0.006357] Setting up static identity map for 0x5b76c8 - 0x5b7720

[ 0.008713] CPU1: Booted secondary processor

[ 0.008731] CPU1: update cpu_power 1024

[ 0.008735] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

[ 0.008827] Brought up 2 CPUs

[ 0.008837] SMP: Total of 2 processors activated.

[ 0.008842] CPU: All CPU(s) started in SVC mode.

[ 0.009220] devtmpfs: initialized

[ 0.012571] VFP support v0.3: implementor 42 architecture 4 part 00 variant 0 rev 0

[ 0.040016] regulator-dummy: no parameters

[ 0.040257] NET: Registered protocol family 16

[ 0.040922] DMA: preallocated 256 KiB pool for atomic coherent allocations

[ 0.041566] cpuidle: using governor ladder

[ 0.041573] cpuidle: using governor menu

[ 0.044077] irq: no irq domain found for /rdb/interrupt-controller@f040a700 !

[ 0.044220] irq: no irq domain found for /rdb/interrupt-controller@f0417380 !

[ 0.047680] irq: no irq domain found for /rdb/interrupt-controller@f03e1a00 !

[ 0.047934] syscon f0404000.syscon: regmap [mem 0xf0404000-0xf0404523] registered

[ 0.048073] syscon f0404100.syscon: regmap [mem 0xf0404100-0xf040415b] registered

[ 0.048216] syscon f040415c.syscon: regmap [mem 0xf040415c-0xf040419b] registered

[ 0.048358] syscon f0410700.syscon: regmap [mem 0xf0410700-0xf041070b] registered

[ 0.048486] syscon f041070c.syscon: regmap [mem 0xf041070c-0xf0410713] registered

[ 0.048623] syscon f1101004.syscon: regmap [mem 0xf1101004-0xf1101403] registered

[ 0.048754] syscon f1181004.syscon: regmap [mem 0xf1181004-0xf1181403] registered

[ 0.048888] syscon f0404080.syscon: regmap [mem 0xf0404080-0xf0404083] registered

[ 0.049013] syscon f04040a4.syscon: regmap [mem 0xf04040a4-0xf04040a7] registered

[ 0.049136] syscon f03e0154.syscon: regmap [mem 0xf03e0154-0xf03e0157] registered

[ 0.049277] syscon f03e0354.syscon: regmap [mem 0xf03e0354-0xf03e0357] registered

[ 0.049428] syscon f03e0400.syscon: regmap [mem 0xf03e0400-0xf03e0403] registered

[ 0.049953] irq: no irq domain found for /rdb/interrupt-controller@f0417380 !

[ 0.050598] syscon f03e2400.syscon: regmap [mem 0xf03e2400-0xf03e27ff] registered

[ 0.050730] syscon f0452000.syscon: regmap [mem 0xf0452000-0xf04520ff] registered

[ 0.051162] No ATAGs?

[ 0.051181] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.

[ 0.051186] hw-breakpoint: maximum watchpoint size is 8 bytes.

[ 0.051381] Broadcom Brahma-B15 readahead cache at: 0xfc3e2478

[ 0.065093] bio: create slab <bio-0> at 0

[ 0.065834] SCSI subsystem initialized

[ 0.066045] libata version 3.00 loaded.

[ 0.066427] usbcore: registered new interface driver usbfs

[ 0.066508] usbcore: registered new interface driver hub

[ 0.066592] usbcore: registered new device driver usb

[ 0.066709] Linux video capture interface: v2.00

[ 0.066907] pps_core: LinuxPPS API ver. 1 registered

[ 0.066911] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

[ 0.066960] PTP clock support registered

[ 0.067570] Advanced Linux Sound Architecture Driver Initialized.

[ 0.068302] cfg80211: Calling CRDA to update world regulatory domain

[ 0.068993] brcm-pci f0460000.pcie: adjusting to legacy (broken) pcie DT

[ 0.069174] brcm-pci f0490000.pcie: adjusting to legacy (broken) pcie DT

[ 0.169783] brcm-pci f0460000.pcie: link down

[ 0.270061] brcm-pci f0490000.pcie: link down

[ 0.270104] Switched to clocksource arch_sys_counter

[ 0.270281] FS-Cache: Loaded

[ 0.271834] thermal thermal_zone0: failed to read out thermal zone 0

[ 0.271900] NET: Registered protocol family 2

[ 0.272297] TCP established hash table entries: 2048 (order: 1, 8192 bytes)

[ 0.272312] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)

[ 0.272334] TCP: Hash tables configured (established 2048 bind 2048)

[ 0.272372] TCP: reno registered

[ 0.272379] UDP hash table entries: 256 (order: 1, 8192 bytes)

[ 0.272390] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)

[ 0.272486] NET: Registered protocol family 1

[ 0.272657] RPC: Registered named UNIX socket transport module.

[ 0.272662] RPC: Registered udp transport module.

[ 0.272665] RPC: Registered tcp transport module.

[ 0.272668] RPC: Registered tcp NFSv4.1 backchannel transport module.

[ 0.272674] PCI: CLS 0 bytes, default 64

[ 0.272890] hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7 counters available

[ 0.273939] futex hash table entries: 512 (order: 3, 32768 bytes)

[ 0.279852] bounce pool size: 64 pages

[ 0.280237] FS-Cache: Netfs 'nfs' registered for caching

[ 0.280376] NFS: Registering the id_resolver key type

[ 0.280403] Key type id_resolver registered

[ 0.280407] Key type id_legacy registered

[ 0.280416] nfs4filelayout_init: NFSv4 File Layout Driver Registering...

[ 0.280420] Installing knfsd (copyright (C) 1996 <a href="mailto:okir@monad.swb.de">okir@monad.swb.de</a>).

[ 0.280543] FS-Cache: Netfs 'cifs' registered for caching

[ 0.280594] Key type cifs.spnego registered

[ 0.280795] fuse init (API version 7.22)

[ 0.280952] msgmni has been set to 461

[ 0.281818] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)

[ 0.281825] io scheduler noop registered

[ 0.281829] io scheduler deadline registered

[ 0.281845] io scheduler cfq registered (default)

[ 0.282059] brcm-gisb-arb f0400000.gisb-arb: registered mem: fc400000, irqs: 258, 259

[ 0.297614] brcm-cma brcm-cma.0: Initialized Broadcom CMA root device

[ 0.298192] brcm-cma brcm-cma.0: Added CMA device @ PA=0x10000000 LEN=0x2fc00000

[ 0.313794] brcm-cma brcm-cma.0: Pre-allocated 0x2fc00000 bytes @ 0x10000000

[ 0.314398] brcm-cma brcm-cma.1: Added CMA device @ PA=0x80000000 LEN=0x40000000

[ 0.335003] brcm-cma brcm-cma.1: Pre-allocated 0x40000000 bytes @ 0x80000000

[ 0.335403] brcm-waketimer f0417580.waketimer: registered, with irq 260

[ 0.335793] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled

[ 0.337232] f040a900.serial: ttyS0 at MMIO 0xf040a900 (irq = 107, base_baud = 5062500) is a 16550A

[ 1.176532] console [ttyS0] enabled

[ 1.180414] f040a940.serial: ttyS1 at MMIO 0xf040a940 (irq = 108, base_baud = 5062500) is a 16550A

[ 1.189721] f040a980.serial: ttyS2 at MMIO 0xf040a980 (irq = 109, base_baud = 5062500) is a 16550A

[ 1.204269] brd: module loaded

[ 1.209920] loop: module loaded

[ 1.213735] ahci brcmstb-ahci.0: can't get clock

[ 1.218460] ahci brcmstb-ahci.0: SSS flag set, parallel bus scan disabled

[ 1.236120] ahci brcmstb-ahci.0: AHCI 0001.0300 32 slots 2 ports 6 Gbps 0x3 impl platform mode

[ 1.244751] ahci brcmstb-ahci.0: flags: 64bit ncq sntf stag pm clo pmp slum part

[ 1.254025] scsi0 : ahci_platform

[ 1.257664] scsi1 : ahci_platform

[ 1.261211] ata1: FORCE: PHY spd limit set to 3.0Gbps

[ 1.266276] ata1: SATA max UDMA/133 mmio [mem 0xf045a000-0xf045aa9b] port 0x100 irq 91

[ 1.274206] ata2: FORCE: PHY spd limit set to 3.0Gbps

[ 1.279267] ata2: SATA max UDMA/133 mmio [mem 0xf045a000-0xf045aa9b] port 0x180 irq 91

[ 1.288463] spi_brcmstb f03e3400.spi: 1-lane output, 3-byte address

[ 1.294858] spi_brcmstb f03e3400.spi: master is unqueued, this is deprecated

[ 1.302175] m25p80 spi32766.0: found n25q032, expected m25p80

[ 1.307950] m25p80 spi32766.0: n25q032 (4096 Kbytes)

[ 1.312946] 6 ofpart partitions found on MTD device spi32766.0

[ 1.318789] Creating 6 MTD partitions on "spi32766.0":

[ 1.323938] 0x000000000000-0x000000100000 : "flash0.bolt"

[ 1.330000] 0x000000100000-0x000000110000 : "flash0.macadr"

[ 1.336196] 0x000000110000-0x000000120000 : "flash0.nvram"

[ 1.342294] 0x000000120000-0x000000130000 : "flash0.devtree"

[ 1.348568] 0x000000130000-0x000000140000 : "flash0.fdata"

[ 1.354661] 0x000000000000-0x000000400000 : "flash0"

[ 1.361273] libphy: Fixed MDIO Bus: probed

[ 1.366072] bcmgenet f0b00000.ethernet: GENET 4.5 EPHY: 0x1001

[ 1.383113] libphy: bcmgenet MII bus: probed

[ 1.396120] ata1: SATA link down (SStatus 0 SControl 320)

[ 1.408356] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k

[ 1.414205] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.

[ 1.420624] xhci-brcm: xHCI BRCM driver

[ 1.424565] xhci-brcm f0471000.xhci_v2: xHCI Host Controller

[ 1.430376] xhci-brcm f0471000.xhci_v2: new USB bus registered, assigned bus number 1

[ 1.438426] xhci-brcm f0471000.xhci_v2: irq 149, io mem 0xf0471000

[ 1.445136] hub 1-0:1.0: USB hub found

[ 1.448917] hub 1-0:1.0: config failed, hub doesn't have any ports! (err -19)

[ 1.456177] xhci-brcm f0471000.xhci_v2: xHCI Host Controller

[ 1.461990] xhci-brcm f0471000.xhci_v2: new USB bus registered, assigned bus number 2

[ 1.470304] hub 2-0:1.0: USB hub found

[ 1.474081] hub 2-0:1.0: 2 ports detected

[ 1.478473] ehci-brcm: EHCI BRCM driver

[ 1.482401] ehci-brcm f0470300.ehci_v2: EHCI Host Controller

[ 1.488217] ehci-brcm f0470300.ehci_v2: new USB bus registered, assigned bus number 3

[ 1.506163] ehci-brcm f0470300.ehci_v2: irq 145, io mem 0xf0470300

[ 1.518114] ehci-brcm f0470300.ehci_v2: USB 2.0 started, EHCI 1.00

[ 1.524784] hub 3-0:1.0: USB hub found

[ 1.528563] hub 3-0:1.0: 1 port detected

[ 1.532699] ehci-brcm f0470500.ehci_v2: EHCI Host Controller

[ 1.538522] ehci-brcm f0470500.ehci_v2: new USB bus registered, assigned bus number 4

[ 1.556455] ehci-brcm f0470500.ehci_v2: irq 146, io mem 0xf0470500

[ 1.568110] ehci-brcm f0470500.ehci_v2: USB 2.0 started, EHCI 1.00

[ 1.574758] hub 4-0:1.0: USB hub found

[ 1.578593] hub 4-0:1.0: 1 port detected

[ 1.582850] ohci-brcm: OHCI BRCM driver

[ 1.586769] ohci-brcm f0470400.ohci_v2: BRCM OHCI controller

[ 1.592597] ohci-brcm f0470400.ohci_v2: new USB bus registered, assigned bus number 5

[ 1.600477] ohci-brcm f0470400.ohci_v2: irq 147, io mem 0xf0470400

[ 1.661577] hub 5-0:1.0: USB hub found

[ 1.665353] hub 5-0:1.0: 1 port detected

[ 1.669491] ohci-brcm f0470600.ohci_v2: BRCM OHCI controller

[ 1.673121] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 320)

[ 1.681525] ohci-brcm f0470600.ohci_v2: new USB bus registered, assigned bus number 6

[ 1.689412] ohci-brcm f0470600.ohci_v2: irq 148, io mem 0xf0470600

[ 1.695633] ata2.00: ATA-8: WDC WD10JUCT-63J6SY0, 01.01A01, max UDMA/133

[ 1.702359] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)

[ 1.711244] ata2.00: configured for UDMA/133

[ 1.715726] scsi 1:0:0:0: Direct-Access ATA WDC WD10JUCT-63J 01.0 PQ: 0 ANSI: 5

[ 1.724445] sd 1:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)

[ 1.727309] sd 1:0:0:0: Attached scsi generic sg0 type 0

[ 1.737434] sd 1:0:0:0: [sda] 4096-byte physical blocks

[ 1.742780] sd 1:0:0:0: [sda] Write Protect is off

[ 1.747587] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00

[ 1.751141] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

[ 1.760813] hub 6-0:1.0: USB hub found

[ 1.764593] hub 6-0:1.0: 1 port detected

[ 1.768885] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[ 1.775455] ehci-pci: EHCI PCI platform driver

[ 1.776158] sda: sda1

[ 1.782408] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

[ 1.788619] ohci-pci: OHCI PCI platform driver

[ 1.789600] sd 1:0:0:0: [sda] Attached SCSI disk

[ 1.797973] usbcore: registered new interface driver usb-storage

[ 1.804168] mousedev: PS/2 mouse device common for all mice

[ 1.810152] i2c /dev entries driver

[ 1.813975] usb 2-2: new SuperSpeed USB device number 2 using xhci-brcm

[ 1.820750] IR NEC protocol handler initialized

[ 1.825297] IR RC5(x) protocol handler initialized

[ 1.830102] IR RC6 protocol handler initialized

[ 1.834644] IR JVC protocol handler initialized

[ 1.836365] usb 2-2: Parent hub missing LPM exit latency info. Power management will be impacted.

[ 1.848150] IR Sony protocol handler initialized

[ 1.849650] hub 2-2:1.0: USB hub found

[ 1.849938] hub 2-2:1.0: 4 ports detected

[ 1.860546] IR RC5 (streamzap) protocol handler initialized

[ 1.866130] IR SANYO protocol handler initialized

[ 1.870843] IR MCE Keyboard/mouse protocol handler initialized

[ 1.877135] brcmstb_thermal f04d1500.thermal: registered AVS TMON of-sensor driver

[ 1.884940] cpufreq_cpu0: failed to get cpu0 regulator: -19

[ 1.890780] sdhci: Secure Digital Host Controller Interface driver

[ 1.896983] sdhci: Copyright(c) Pierre Ossman

[ 1.901350] sdhci-pltfm: SDHCI platform and OF driver helper

[ 1.908140] mmc0: no vqmmc regulator found

[ 1.912245] mmc0: no vmmc regulator found

[ 1.946113] mmc0: SDHCI controller on f03e0000.sdhci [f03e0000.sdhci] using ADMA

[ 1.954591] mmc1: no vqmmc regulator found

[ 1.958698] mmc1: no vmmc regulator found

[ 1.979125] usb 4-1: new high-speed USB device number 2 using ehci-brcm

[ 1.991112] mmc1: SDHCI controller on f03e0200.sdhci [f03e0200.sdhci] using ADMA

[ 1.998803] hidraw: raw HID events driver (C) Jiri Kosina

[ 2.009631] usbcore: registered new interface driver usbhid

[ 2.015219] usbhid: USB HID core driver

[ 2.019699] TCP: cubic registered

[ 2.023035] NET: Registered protocol family 17

[ 2.028763] Key type dns_resolver registered

[ 2.033136] Registering SWP/SWPB emulation handler

[ 2.040579] regulator-dummy: disabling

[ 2.048688] ALSA device list:

[ 2.051675] No soundcards found.

[ 2.055357] Waiting for root device /dev/mmcblk0p7...

[ 2.094732] mmc1: BKOPS_EN bit is not set

[ 2.105130] mmc1: new high speed MMC card at address 0001

[ 2.110906] mmcblk0: mmc1:0001 004GE0 3.68 GiB

[ 2.115540] mmcblk0boot0: mmc1:0001 004GE0 partition 1 2.00 MiB

[ 2.117071] hub 4-1:1.0: USB hub found

[ 2.117423] hub 4-1:1.0: 4 ports detected

[ 2.129326] mmcblk0boot1: mmc1:0001 004GE0 partition 2 2.00 MiB

[ 2.135330] mmcblk0rpmb: mmc1:0001 004GE0 partition 3 512 KiB

[ 2.143909] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10

[ 2.151687] mmcblk0boot1: unknown partition table

[ 2.157590] mmcblk0boot0: unknown partition table

[ 2.164404] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support!

[ 2.310868] EXT4-fs (mmcblk0p7): recovery complete

[ 2.316483] EXT4-fs (mmcblk0p7): mounted filesystem with journalled data mode. Opts: data=journal

[ 2.325400] VFS: Mounted root (ext4 filesystem) on device 179:7.

[ 2.335898] devtmpfs: mounted

[ 2.338989] Freeing unused kernel memory: 256K (c07cd000 - c080d000)

[ 2.530688] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

[ 2.544884] Adding 670716k swap on /dev/mmcblk0p10. Priority:-1 extents:1 across:670716k SS

[ 2.622356] random: nonblocking pool is initialized

[ 2.796212] nexus driver initialized

[ 2.804168] wakeup_drv: Initializing wakeup driver

[ 2.809220] wakeup_drv: Initialization complete

[ 3.876227] buildtag=20171128142548-u163

[ 4.340486] LCD: R61509V

[ 4.427138] mmc0: new high speed SDHC card at address 59b4

[ 4.433033] mmcblk1: mmc0:59b4 USDU1 14.6 GiB

[ 4.438712] mmcblk1: p1

[ 4.663430] input: gigablue remote control as /devices/virtual/input/input0

[ 4.670760] DVB: registering new adapter (_gigablue_)

[ 4.698650] dvb dvb.0: DVB: registering adapter 0 frontend 0 (DVB-S2 NIM(45208 FBC))...

[ 4.706946] dvb dvb.0: DVB: registering adapter 0 frontend 0 (DVB-S2 NIM(45208 FBC))...

[ 4.715151] dvb dvb.0: DVB: registering adapter 0 frontend 0 (DVB-S2 NIM(45208 FBC))...

[ 4.723319] dvb dvb.0: DVB: registering adapter 0 frontend 0 (DVB-S2 NIM(45208 FBC))...

[ 4.731483] dvb dvb.0: DVB: registering adapter 0 frontend 0 (DVB-S2 NIM(45208 FBC))...

[ 4.739768] dvb dvb.0: DVB: registering adapter 0 frontend 0 (DVB-S2 NIM(45208 FBC))...

[ 4.748539] dvb dvb.0: DVB: registering adapter 0 frontend 0 (DVB-S2 NIM(45208 FBC))...

[ 4.756791] dvb dvb.0: DVB: registering adapter 0 frontend 0 (DVB-S2 NIM(45208 FBC))...

[ 5.993419] dvb dvb.0: DVB: registering adapter 0 frontend 0 (GIGA DVB-T2/C NIM (TT2L10))...

[ 6.584081] EXT4-fs (sda1): recovery complete

[ 6.614437] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

[ 7.275879] EXT4-fs (mmcblk1p1): recovery complete

[ 7.285484] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)

[ 7.427243] SGI XFS with security attributes, realtime, large block/inode numbers, no debug enabled

[ 7.952929] EXT4-fs (mmcblk0p7): re-mounted. Opts: nodelalloc,data=journal


Ver dmesg log

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/021_HbbTV.m3u'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/022_UltraHD.m3u'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/023_Streaming_TDT.m3u'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/024_Test_España.m3u'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/025_Last_Scanned.m3u'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '001_Movistar+_IPLUS'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '002_Sky_Alemania_HD'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '003_CanalSat_Francia'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '004_Orf_Digital'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '005_AustriaSat_HD'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '006_ARD_Digital'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '007_Canal_Digitaal'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '008_HD_+'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '009_ZDF_Vision'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '010_TNTSat'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '011_TeleSat'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '012_MTV_Network'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '013_Champions_League'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '014_Peliculas_Series'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '015_Documentales'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '016_Canales_Libres'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '017_Canales_Deportes'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '018_Canales_Musica'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '019_Canales_Infantiles'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '020_Canales_Adultos'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '021_HbbTV'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '022_UltraHD'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '023_Streaming_TDT'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '024_Test_España'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: playlist '025_Last_Scanned'

Dec 31 10:53:00 gbquad4k local0.info xupnpd[1497]: reload playlist, update_id=8268

Dec 31 10:53:01 gbquad4k local0.info xupnpd[8068]: wget -q -O- <a href="http://192.168.0.111/web/getservices" target="_blank" class="externalLink" rel="nofollow">http://192.168.0.111/web/getservices</a>

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/001_Movistar+_IPLUS.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/002_Sky_Alemania_HD.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/003_CanalSat_Francia.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/004_Orf_Digital.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/005_AustriaSat_HD.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/006_ARD_Digital.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/007_Canal_Digitaal.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/008_HD_+.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/009_ZDF_Vision.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/010_TNTSat.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/011_TeleSat.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/012_MTV_Network.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/013_Champions_League.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/014_Peliculas_Series.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/015_Documentales.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/016_Canales_Libres.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/017_Canales_Deportes.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/018_Canales_Musica.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/019_Canales_Infantiles.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/020_Canales_Adultos.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/021_HbbTV.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/022_UltraHD.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/023_Streaming_TDT.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/024_Test_España.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/025_Last_Scanned.m3u'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '001_Movistar+_IPLUS'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '002_Sky_Alemania_HD'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '003_CanalSat_Francia'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '004_Orf_Digital'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '005_AustriaSat_HD'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '006_ARD_Digital'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '007_Canal_Digitaal'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '008_HD_+'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '009_ZDF_Vision'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '010_TNTSat'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '011_TeleSat'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '012_MTV_Network'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '013_Champions_League'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '014_Peliculas_Series'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '015_Documentales'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '016_Canales_Libres'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '017_Canales_Deportes'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '018_Canales_Musica'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '019_Canales_Infantiles'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '020_Canales_Adultos'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '021_HbbTV'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '022_UltraHD'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '023_Streaming_TDT'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '024_Test_España'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: playlist '025_Last_Scanned'

Dec 31 10:53:20 gbquad4k local0.info xupnpd[1497]: reload playlist, update_id=8269

Dec 31 10:53:21 gbquad4k local0.info xupnpd[8278]: wget -q -O- <a href="http://192.168.0.111/web/getservices" target="_blank" class="externalLink" rel="nofollow">http://192.168.0.111/web/getservices</a>

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/001_Movistar+_IPLUS.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/002_Sky_Alemania_HD.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/003_CanalSat_Francia.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/004_Orf_Digital.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/005_AustriaSat_HD.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/006_ARD_Digital.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/007_Canal_Digitaal.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/008_HD_+.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/009_ZDF_Vision.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/010_TNTSat.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/011_TeleSat.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/012_MTV_Network.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/013_Champions_League.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/014_Peliculas_Series.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/015_Documentales.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/016_Canales_Libres.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/017_Canales_Deportes.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/018_Canales_Musica.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/019_Canales_Infantiles.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/020_Canales_Adultos.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/021_HbbTV.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/022_UltraHD.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/023_Streaming_TDT.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/024_Test_España.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: found unlisted playlist '/media/hdd/tuner/025_Last_Scanned.m3u'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '001_Movistar+_IPLUS'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '002_Sky_Alemania_HD'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '003_CanalSat_Francia'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '004_Orf_Digital'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '005_AustriaSat_HD'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '006_ARD_Digital'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '007_Canal_Digitaal'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '008_HD_+'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '009_ZDF_Vision'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '010_TNTSat'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '011_TeleSat'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '012_MTV_Network'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '013_Champions_League'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '014_Peliculas_Series'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '015_Documentales'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '016_Canales_Libres'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '017_Canales_Deportes'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '018_Canales_Musica'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '019_Canales_Infantiles'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '020_Canales_Adultos'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '021_HbbTV'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '022_UltraHD'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '023_Streaming_TDT'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '024_Test_España'

Dec 31 10:53:40 gbquad4k local0.info xupnpd[1497]: playlist '025_Last_Scanned'

Dec 31 10:53:41 gbquad4k local0.info xupnpd[1497]: reload playlist, update_id=8270

Dec 31 10:53:42 gbquad4k local0.info xupnpd[8491]: wget -q -O- <a href="http://192.168.0.111/web/getservices" target="_blank" class="externalLink" rel="nofollow">http://192.168.0.111/web/getservices</a>


  • /var/log/wtmp: Informaciones sobre los inicios de la imagen, es lo que sería el lastlog, y se puede visionar usando el comando a través de cónsola terminal (telnet):


Código:
last


/var/log/aplicaciones: Esto englobaría log de diferentes aplicaciones instaladas en nuestro receptor, que generan log en este directorio, como por ejemplo: samba, oscam, .......


Los que el sistema de Openspa genera tras un error o podemos configurar para que se generen

Por defecto en OpenSPA se generan en el directorio del receptor /home/root/log, y serían:


  • enigma2_crash_fecha_creacion.log: Estos archivos de registro se crean automáticamente cuando se produce un error en el sistema, por ejemplo cuando por error de alguna aplicación o del propio sistema, observamos un pantallazo azul y nuestro receptor se reinicia. Este archivo se crea normalmente cuando el error produce un reinicio del receptor.


NOTA: Este archivo es importante cuando se produce un error, añadirlo al hilo donde avisemos de dicho error, para que el equipo OpenSPA pueda ver que es o que produce el error.


  • Enigma2-debug-fecha_creacion.log: Este archivo no se crea automáticamente por defecto, sino que es necesario activar esta función como veremos mas adelante, y es útil para cuando queremos ver un log de la imagen, por ejemplo de algún error que no produzca reinicio del receptor.


MENÚ CONFIGURACIÓN


En Openspa existe menú para configurar ciertos aspectos en la creación del crash_log así como el enigma2-debug, que se accede a través de MENÚ + SISTEMA + CONFIGURACIÓN RECEPTOR + SISTEMA + CONFIGURAR LOG ENIGMA2



  • Ubicación de logs: Por defecto como mencionemos el crash_log y el Enigma2-debug se crean en /home/root/log, en esta opción podemos cambiar el directorio por ejemplo en una unidad montada como /media/hdd
  • Crear crashlog más detallado: Pues con esta opción en Si, incrementa los datos informativos en el archivo crashlog.
  • Habilitar log de depuración: Con esta opción en si, nos crea el archivo Enigma2-Debug que expliquemos anteriormente (tras reiniciar el receptor).
  • Limitar el tamaño log de depuración: Pues podemos seleccionar el tamaño máximo en megas del archivo Enigma2-Debug
  • Número máximo de días: Se borrarán los log creados que lleven más días que los configurados
  • Espacio máximo utilizado: Se borrarán los archivos más antiguos una vez superado el máximo configurado
  • Crash por error de skin por culpa del debug: Habilita errores del skin que estemos usando.
  • Registrar datos python durante los spinners (puede tener efectos secundarios)


NOTA: Para acceder a estos log simplemente acceder por algún cliente ftp al receptor al directorio donde se han creado, y los podemos abrir con un editor de textos.


Generación log a través de cónsola terminal (Telnet)

Ahora vamos a ver como generar log a través de consola terminal/Telnet, para ello podemos usar:


  • La misma cónsola cmd de windows para acceder a través de telnet
  • Programa putty
  • Cónsola terminal en PC con linux
  • Para el uso de log por consola terminal vamos a ver dos variantes:
    • Básico
    • Avanzado


Creación de log básico

Creación log con putty

En primer lugar nos descargamos PuTTy de AQUÍ. Una vez abierto, seleccionamos Session-Loggin, y en la interfaz resultante marcamos:


  • Printable output
  • Log filename: Seleccionamos ruta (Browse) y nombre que tendrá el log.



A continuación seleccionamos Session y marcamos:


  • Telnet
  • Hostname: Introducimos la ip de nuestro receptor



Pulsamos Open y se nos abrirá la cónsola para introducir user y contraseña :



Una vez logueados vamos a ejecutar el siguiente comando para parar enigma2:


init 4


Ahora vamos a ejecutar el siguiente comando para iniciar de nuevo enigma2 y observaremos el log de procesos de enigma en la cónsola:


enigma2


Ahora todas las opciones que realicemos con el mando a distancia se irán viendo en el log. Cuando hayamos terminado y queramos reiniciar el receptor con normalidad realizamos lo siguiente:


  1. Pulsamos CONTROL + C en el teclado del pc para parar el proceso
  2. Ejecutamos los siguientes comandos:
killall -9 enigma2
init 3

Ahora en la carpeta que elegimos, tendremos el log creado de lo que nos aparecía en la cónsola, el cual podemos abrir con un editor de textos para ver su contenido (aconsejable abrir con Notepad++)


Creación de log por cónsola terminal

Ahora vamos a ver como crearlo por cónsola terminal ya sea de Windows (cmd) o de linux.

En Windows debemos tener telnet activado para que funcione. Para activarlo :

Activación telnet

Si quieres habilitar Telnet en Windows 10, aparte de hacerlo por comandos también puedes hacerlo desde el Panel de Control:

  1. Pulsa botón derecho del ratón encima del botón de Inicio y elige Panel de Control.
  2. Selecciona Programas y Características
  3. En el menú de la izquierda selecciona Activar o desactivar características de Windows
  4. Marca la opción Cliente Telnet.
  5. Y al aceptar lo estarás activando.


  1. Accedemos a nuestro receptor a través de telnet para ello ejecutamos el siguiente comando:
    telnet ipdenuestrodeco
  2. Nos logueamos con nuestro usuario y contraseña
  3. Paramos enigma con el comando:
    init 4
  4. Iniciamos enigma para que nos aparezca el log por cónsola con el comando:
    enigma2
  5. Ahora nos podemos mover por los diferentes menús y visionar el log de los procesos, para terminar y volver a iniciar enigma2 con normalidad realizamos lo siguiente:
    • Pulsamos CONTROL + C con el teclado del pc
    • Ejecutamos los siguientes comandos:
      killall -9 enigma2
      init 3


NOTA: De este modo no se nos crea log de texto en el PC, por lo que al terminar deberíamos copiar datos de la misma cónsola terminal. Si deseamos crear por este método un archivo de texto, debemos ejecutar el siguiente comando una vez accedemos al receptor vía telnet:


init 4 && sleep 10 && enigma2 > /tmp/enigma2.log 2>&1


Y en este caso en la carpeta /tmp del receptor tendríamos el log creado.


Para volver a iniciar el receptor con normalidad:


  1. Pulsamos CONTROL + C con el teclado del PC
  2. Ejecutamos los siguientes comandos:
    killall -9 enigma2
    init 3

Creación de log Avanzado ENIGMA2-DBG

Ahora vamos a ver como crear log avanzado con la utilidad enigma2-dbg, esta utilidad posee una gran cantidad de comandos y utilidades, aquí solo vamos a tratar lo mas básico.


Instalación de enigma2-dbg

Accedemos al receptor vía cónsola terminal y ejecutamos:

opkg install gdb
opkg install enigma2-dbg

Uso básico de enigma2-dbg

Como hemos comentado esta utilidad tiene multitud de funciones. Vamos a tratar lo mas básico.


Ejecutamos los siguientes comandos:


  1. En primer lugar paramos enigma2 :
    init 4
  2. A continuación ejecutamos el siguiente comando:
    gdb enigma2
    Tras lanzar este comando tendremos la utilidad gdb lista para ejecutar distintos comandos:
  3. Ahora ejecutamos:
    help all
    y nos aparecerán todos los comandos que podemos usar.
    Para volver a la ejecucion de gdb introducir q
  4. Creación de log simple, ahora ejecutamos:
    r
    Con esto se reinicia enigma2 y podremos observar el log de inicio del sistema, ver con normalidad la TV y movernos por las distintas opciones para ver posibles fallos.


Como observamos, en caso de hallar depende que tipo de señales se para el log, pero para poder evitarlo, y nosotros definir que mostrar o no y que no se pare el log usaremos estos comandos para ese tipo de señales.


handle SIGILL pass nostop noprint
handle SIG32 pass nostop noprint
handle SIGUSR1 pass nostop noprint

Podéis visitar ESTA PÁGINA para obtener mas información.

Por lo tanto ejecutamos:

handle SIGILL pass nostop noprint

Para parar el log pulsamos CONTROL + C en el pc, y podemos ejecutar nuevamente comandos como por ejemplo:

bt

Para salir de enigma2 gdb ejecutamos:

q

y para reiniciar el receptor normalmente:

init 3