elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Estamos en la red social de Mastodon


  Mostrar Temas
Páginas: [1] 2 3 4
1  Sistemas Operativos / GNU/Linux / Backup con el comando tar en: 31 Marzo 2017, 10:53 am
Hola a todos.

Ando super liado intentando hacer un tar.bz2 en Centos 7 pero no lo consigo siempre termina con error y no entiendo porque quizá me podeis echar una mano.

Ejecuto el comando
Código:
sudo tar cPjf /backup/prueba.tar.bz2  --exclude=/backup/* --exclude=/home/error.log --exclude=/proc/* --exclude=/media/* --exclude=/dev/* --exclude=/mnt/* --exclude=/mnt/* --exclude=/run/*--exclude=/sys/* --exclude=/tmp/* /
le quité la v para no ver la salido y solamente ver el error.
la salida por consola.
Código:
tar: /sys/module/rfkill/sections/__ksymtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/rfkill/parameters/default_state: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/rfkill/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/rfkill/uevent: Cannot open: Permission denied
tar: /sys/module/rfkill/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/sd_mod/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/sd_mod/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/sd_mod/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/sd_mod/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/sd_mod/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/.bss: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/.smp_locks: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/.data: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/.rodata: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/.rodata.str1.8: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/__bug_table: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/sections/.exit.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sd_mod/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/sd_mod/uevent: Cannot open: Permission denied
tar: /sys/module/sd_mod/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/pcmcia_core/parameters/shutdown_delay: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/pcmcia_core/parameters/cis_speed: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/pcmcia_core/parameters/setup_delay: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/pcmcia_core/parameters/unreset_check: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/pcmcia_core/parameters/unreset_delay: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/pcmcia_core/parameters/unreset_limit: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/pcmcia_core/parameters/reset_time: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/pcmcia_core/parameters/resume_delay: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/pcmcia_core/parameters/vcc_settle: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/pcmcia_core/uevent: Cannot open: Permission denied
tar: /sys/module/shpchp/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/shpchp/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/shpchp/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/shpchp/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/shpchp/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/shpchp/sections/.bss: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/sections/.data: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/sections/.ref.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/sections/__param: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/sections/.rodata: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/sections/.rodata.str1.8: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/sections/.exit.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/shpchp/parameters/shpchp_debug: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/shpchp/parameters/shpchp_poll_mode: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/shpchp/parameters/shpchp_poll_time: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/shpchp/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/shpchp/uevent: Cannot open: Permission denied
tar: /sys/module/shpchp/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/sis8300drv/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/sis8300drv/taint: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/sis8300drv/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/sis8300drv/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/sis8300drv/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/.bss: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/.smp_locks: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/.data: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/.rodata: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/__verbose: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/.text.unlikely: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/.rodata.str1.8: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/__bug_table: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/sections/.exit.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/sis8300drv/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/sis8300drv/uevent: Cannot open: Permission denied
tar: /sys/module/sis8300drv/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/nls_utf8/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/nls_utf8/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/nls_utf8/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/nls_utf8/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/nls_utf8/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/nls_utf8/sections/.bss: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/nls_utf8/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/nls_utf8/sections/.data: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/nls_utf8/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/nls_utf8/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/nls_utf8/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/nls_utf8/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/nls_utf8/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/nls_utf8/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/nls_utf8/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/nls_utf8/sections/.exit.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/nls_utf8/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/nls_utf8/uevent: Cannot open: Permission denied
tar: /sys/module/nls_utf8/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/tcp_lp/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/tcp_lp/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/tcp_lp/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/tcp_lp/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/tcp_lp/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/tcp_lp/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/tcp_lp/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/tcp_lp/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/tcp_lp/sections/.rodata: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/tcp_lp/sections/__verbose: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/tcp_lp/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/tcp_lp/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/tcp_lp/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/tcp_lp/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/tcp_lp/sections/.rodata.str1.8: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/tcp_lp/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/tcp_lp/sections/.exit.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/tcp_lp/sections/.data..read_mostly: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/tcp_lp/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/tcp_lp/uevent: Cannot open: Permission denied
tar: /sys/module/tcp_lp/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/.smp_locks: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/.data: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/__tracepoints_strings: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/.ref.data: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/_ftrace_events: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/.rodata: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/__verbose: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/__tracepoints: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/.text.unlikely: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/.rodata.str1.8: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/__tracepoints_ptrs: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/__jump_table: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/__kcrctab_gpl: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/__ksymtab_gpl: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/__ksymtab_strings: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/sections/.parainstructions: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/snd_hda_controller/uevent: Cannot open: Permission denied
tar: /sys/module/snd_hda_controller/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/gf128mul/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/gf128mul/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/gf128mul/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/gf128mul/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/gf128mul/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/gf128mul/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/gf128mul/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/gf128mul/sections/.rodata: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/gf128mul/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/gf128mul/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/gf128mul/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/gf128mul/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/gf128mul/sections/__kcrctab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/gf128mul/sections/__ksymtab_strings: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/gf128mul/sections/__ksymtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/gf128mul/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/gf128mul/uevent: Cannot open: Permission denied
tar: /sys/module/gf128mul/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/uinput/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/uinput/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/uinput/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/uinput/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/uinput/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/uinput/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/sections/.smp_locks: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/sections/.data: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/sections/.rodata: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/sections/.rodata.str1.8: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/sections/__jump_table: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/sections/.exit.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/sections/.parainstructions: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/uinput/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/uinput/version: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/uinput/uevent: Cannot open: Permission denied
tar: /sys/module/uinput/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/processor/parameters/latency_factor: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/processor/parameters/ignore_ppc: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/processor/parameters/ignore_tpc: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/processor/uevent: Cannot open: Permission denied
tar: /sys/module/usbhid/parameters/mousepoll: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/usbhid/parameters/quirks: File shrank by 4068 bytes; padding with zeros
tar: /sys/module/usbhid/parameters/ignoreled: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/usbhid/uevent: Cannot open: Permission denied
tar: /sys/module/uv_nmi/parameters/nmi_misses: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/uv_nmi/parameters/retry_count: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/uv_nmi/parameters/slave_delay: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/uv_nmi/parameters/ping_count: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/uv_nmi/parameters/action: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/uv_nmi/parameters/wait_count: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/uv_nmi/parameters/nmi_count: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/uv_nmi/parameters/initial_delay: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/uv_nmi/parameters/loop_delay: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/uv_nmi/parameters/ping_misses: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/uv_nmi/parameters/dump_loglevel: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/uv_nmi/parameters/trigger_delay: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/uv_nmi/uevent: Cannot open: Permission denied
tar: /sys/module/usbcore/parameters/blinkenlights: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/usbcore/parameters/autosuspend: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/usbcore/parameters/old_scheme_first: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/usbcore/parameters/authorized_default: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/usbcore/parameters/usbfs_snoop: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/usbcore/parameters/usbfs_memory_mb: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/usbcore/parameters/use_both_schemes: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/usbcore/parameters/initial_descriptor_timeout: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/usbcore/uevent: Cannot open: Permission denied
tar: /sys/module/crc_t10dif/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/crc_t10dif/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/crc_t10dif/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/crc_t10dif/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/crc_t10dif/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/.bss: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/__bug_table: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/__kcrctab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/__jump_table: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/.exit.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/__ksymtab_strings: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/.data..read_mostly: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/sections/__ksymtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc_t10dif/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/crc_t10dif/uevent: Cannot open: Permission denied
tar: /sys/module/crc_t10dif/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/battery/parameters/cache_time: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/battery/uevent: Cannot open: Permission denied
tar: /sys/module/xz_dec/version: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/xz_dec/uevent: Cannot open: Permission denied
tar: /sys/module/pcie_aspm/parameters/policy: File shrank by 4063 bytes; padding with zeros
tar: /sys/module/pcie_aspm/uevent: Cannot open: Permission denied
tar: /sys/module/kvm_intel/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/kvm_intel/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/kvm_intel/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/kvm_intel/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/kvm_intel/coresize: File shrank by 4089 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.bss: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.smp_locks: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.data: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/__param: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/__ex_table: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.data.unlikely: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.rodata: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.text.unlikely: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.rodata.str1.8: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/__bug_table: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.fixup: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/__jump_table: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.exit.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.parainstructions: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/sections/.data..read_mostly: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/ept: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/vpid: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/enable_shadow_vmcs: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/eptad: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/flexpriority: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/ple_window_grow: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/ple_window_shrink: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/ple_window_max: File shrank by 4085 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/fasteoi: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/enable_apicv: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/unrestricted_guest: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/emulate_invalid_guest_state: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/nested: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/vmm_exclusive: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/ple_window: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/kvm_intel/parameters/ple_gap: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/kvm_intel/uevent: Cannot open: Permission denied
tar: /sys/module/kvm_intel/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/ata_piix/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/ata_piix/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/ata_piix/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/ata_piix/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/ata_piix/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/ata_piix/sections/.bss: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/ata_piix/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/ata_piix/sections/.data: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/ata_piix/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/ata_piix/sections/__param: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/ata_piix/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/ata_piix/sections/.rodata: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/ata_piix/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/ata_piix/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/ata_piix/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/ata_piix/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/ata_piix/sections/.rodata.str1.8: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/ata_piix/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/ata_piix/sections/.exit.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/ata_piix/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/ata_piix/version: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/ata_piix/uevent: Cannot open: Permission denied
tar: /sys/module/ata_piix/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/glue_helper/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/glue_helper/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/glue_helper/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/glue_helper/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/glue_helper/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/glue_helper/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/glue_helper/sections/.data.unlikely: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/glue_helper/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/glue_helper/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/glue_helper/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/glue_helper/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/glue_helper/sections/.rodata.str1.8: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/glue_helper/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/glue_helper/sections/__kcrctab_gpl: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/glue_helper/sections/__ksymtab_gpl: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/glue_helper/sections/__ksymtab_strings: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/glue_helper/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/glue_helper/uevent: Cannot open: Permission denied
tar: /sys/module/glue_helper/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/bluetooth/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/bluetooth/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/bluetooth/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/bluetooth/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/bluetooth/coresize: File shrank by 4089 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.bss: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.smp_locks: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.data: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/__param: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.data.unlikely: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.rodata: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/__verbose: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.text.unlikely: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.rodata.str1.8: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/__bug_table: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/__kcrctab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/__kcrctab_gpl: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/__ksymtab_gpl: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/.exit.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/__ksymtab_strings: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/sections/__ksymtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/bluetooth/parameters/disable_esco: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/bluetooth/parameters/disable_ertm: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/bluetooth/parameters/enable_hs: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/bluetooth/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/bluetooth/version: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/bluetooth/uevent: Cannot open: Permission denied
tar: /sys/module/bluetooth/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/rcupdate/parameters/rcu_cpu_stall_timeout: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/rcupdate/parameters/rcu_cpu_stall_suppress: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/rcupdate/uevent: Cannot open: Permission denied
tar: /sys/module/efi_pstore/parameters/pstore_disable: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/efi_pstore/uevent: Cannot open: Permission denied
tar: /sys/module/zlib_deflate/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/zlib_deflate/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/zlib_deflate/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/zlib_deflate/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/zlib_deflate/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/zlib_deflate/sections/.bss: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/zlib_deflate/sections/.data: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/zlib_deflate/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/zlib_deflate/sections/.rodata: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/zlib_deflate/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/zlib_deflate/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/zlib_deflate/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/zlib_deflate/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/zlib_deflate/sections/__bug_table: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/zlib_deflate/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/zlib_deflate/sections/__kcrctab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/zlib_deflate/sections/__ksymtab_strings: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/zlib_deflate/sections/__ksymtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/zlib_deflate/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/zlib_deflate/uevent: Cannot open: Permission denied
tar: /sys/module/zlib_deflate/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/intel_idle/parameters/max_cstate: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/intel_idle/uevent: Cannot open: Permission denied
tar: /sys/module/intel_rapl/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/intel_rapl/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/intel_rapl/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/intel_rapl/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/intel_rapl/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.bss: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.data: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.rodata: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/__verbose: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.text.unlikely: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.altinstructions: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.altinstr_replacement: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.rodata.str1.8: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/sections/.exit.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/intel_rapl/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/intel_rapl/uevent: Cannot open: Permission denied
tar: /sys/module/intel_rapl/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/hid_apple/parameters/fnmode: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/hid_apple/parameters/iso_layout: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/hid_apple/parameters/swap_opt_cmd: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/hid_apple/uevent: Cannot open: Permission denied
tar: /sys/module/hid_ntrig/parameters/activation_width: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/hid_ntrig/parameters/min_width: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/hid_ntrig/parameters/activate_slack: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/hid_ntrig/parameters/min_height: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/hid_ntrig/parameters/deactivate_slack: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/hid_ntrig/parameters/activation_height: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/hid_ntrig/uevent: Cannot open: Permission denied
tar: /sys/module/keyboard/parameters/brl_nbchords: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/keyboard/parameters/brl_timeout: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/keyboard/uevent: Cannot open: Permission denied
tar: /sys/module/xhci_hcd/parameters/quirks: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/xhci_hcd/parameters/link_quirk: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/xhci_hcd/uevent: Cannot open: Permission denied
tar: /sys/module/pci_hotplug/parameters/debug: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/pci_hotplug/parameters/debug_acpi: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/pci_hotplug/uevent: Cannot open: Permission denied
tar: /sys/module/hid_magicmouse/parameters/report_undeciphered: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/hid_magicmouse/parameters/scroll_speed: File shrank by 4093 bytes; padding with zeros
tar: /sys/module/hid_magicmouse/parameters/emulate_scroll_wheel: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/hid_magicmouse/parameters/scroll_acceleration: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/hid_magicmouse/parameters/emulate_3button: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/hid_magicmouse/uevent: Cannot open: Permission denied
tar: /sys/module/debug_core/parameters/kgdbreboot: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/debug_core/parameters/kgdb_use_con: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/debug_core/uevent: Cannot open: Permission denied
tar: /sys/module/libcrc32c/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/libcrc32c/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/libcrc32c/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/libcrc32c/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/libcrc32c/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/libcrc32c/sections/.bss: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/libcrc32c/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/libcrc32c/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/libcrc32c/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/libcrc32c/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/libcrc32c/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/libcrc32c/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/libcrc32c/sections/__bug_table: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/libcrc32c/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/libcrc32c/sections/__kcrctab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/libcrc32c/sections/.exit.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/libcrc32c/sections/__ksymtab_strings: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/libcrc32c/sections/__ksymtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/libcrc32c/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/libcrc32c/uevent: Cannot open: Permission denied
tar: /sys/module/libcrc32c/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/sections/.data: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/sections/.data.unlikely: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/sections/.rodata: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/sections/.rodata.str1.8: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/sections/.exit.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/crc32_pclmul/uevent: Cannot open: Permission denied
tar: /sys/module/crc32_pclmul/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/psmouse/parameters/resolution: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/psmouse/parameters/rate: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/psmouse/parameters/resync_time: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/psmouse/parameters/proto: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/psmouse/parameters/smartscroll: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/psmouse/parameters/resetafter: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/psmouse/uevent: Cannot open: Permission denied
tar: /sys/module/mfd_core/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/mfd_core/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/mfd_core/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/mfd_core/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/mfd_core/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/mfd_core/sections/.smp_locks: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/mfd_core/sections/.data: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/mfd_core/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/mfd_core/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/mfd_core/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/mfd_core/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/mfd_core/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/mfd_core/sections/.rodata.str1.1: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/mfd_core/sections/.rodata.str1.8: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/mfd_core/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/mfd_core/sections/__kcrctab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/mfd_core/sections/__ksymtab_strings: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/mfd_core/sections/__ksymtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/mfd_core/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/mfd_core/uevent: Cannot open: Permission denied
tar: /sys/module/mfd_core/initsize: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/srcversion: File shrank by 4072 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/taint: File shrank by 4095 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/rhelversion: File shrank by 4092 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/initstate: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/coresize: File shrank by 4090 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/.bss: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/.init.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/__param: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/__mcount_loc: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/.rodata: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/.strtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/.symtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/.gnu.linkonce.this_module: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/.rodata.str1.8: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/.note.gnu.build-id: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/__kcrctab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/.exit.text: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/__ksymtab_strings: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/sections/__ksymtab: File shrank by 4077 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/refcnt: File shrank by 4094 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/version: File shrank by 4091 bytes; padding with zeros
tar: /sys/module/iTCO_vendor_support/uevent: Cannot open: Permission denied
tar: /sys/module/iTCO_vendor_support/initsize: File shrank by 4094 bytes; padding with zeros
tar: /var/lib/libvirt/qemu/capabilities.monitor.sock: socket ignored
tar: /var/spool/postfix/private/tlsmgr: socket ignored
tar: /var/spool/postfix/private/bounce: socket ignored
tar: /var/spool/postfix/private/trace: socket ignored
tar: /var/spool/postfix/private/proxymap: socket ignored
tar: /var/spool/postfix/private/proxywrite: socket ignored
tar: /var/spool/postfix/private/relay: socket ignored
tar: /var/spool/postfix/private/retry: socket ignored
tar: /var/spool/postfix/private/discard: socket ignored
tar: /var/spool/postfix/private/virtual: socket ignored
tar: /var/spool/postfix/private/lmtp: socket ignored
tar: /var/spool/postfix/private/scache: socket ignored
tar: /var/spool/postfix/private/rewrite: socket ignored
tar: /var/spool/postfix/private/defer: socket ignored
tar: /var/spool/postfix/private/verify: socket ignored
tar: /var/spool/postfix/private/smtp: socket ignored
tar: /var/spool/postfix/private/error: socket ignored
tar: /var/spool/postfix/private/local: socket ignored
tar: /var/spool/postfix/private/anvil: socket ignored
tar: /var/spool/postfix/public/pickup: socket ignored
tar: /var/spool/postfix/public/cleanup: socket ignored
tar: /var/spool/postfix/public/qmgr: socket ignored
tar: /var/spool/postfix/public/flush: socket ignored
tar: /var/spool/postfix/public/showq: socket ignored
tar: Exiting with failure status due to previous errors

y no entiendo que puede estar pasando.

2  Programación / .NET (C#, VB.NET, ASP) / [C#] hilos parametros en: 24 Agosto 2016, 08:51 am
Hola a todos, a ver si alguien me puede echar una mano que estoy un pelin perdido.

Bueno pues el tema es que tengo una clase que lanza un hilo, y como en el programa solo se instanciaba una vez, la variables de la clase se compartian con el hijo mediante el identificador static y no habia ningún problema. Pero ahora necesito instanciar dos objetos y al estar la variables de la clase como static son compartidas por todos los objetos de la aplicacion. Cómo se puede solucionar esto? usando delegados?

 :silbar:
3  Programación / Scripting / Node o python?? en: 25 Enero 2016, 00:49 am
Hola gente,

Tengo una pregunta rondándome la cabeza quiero aprender un lenguaje de script que sea lo más versátil posible y estoy dudando entre node y python.

Vosotros por cual os decantais?
4  Programación / Programación C/C++ / No me reconoce las variables. en: 13 Enero 2016, 18:12 pm
Hola estoy intentando hacer la implementación del modbus en c y no sé porque me dice que los métodos no reconocen las variables globales ni los prototipos de las funciones y no sé porque.

MBSlave.cpp
Código
  1. #include "MBSlave.h"
  2.  
  3. UCHAR mFrame[BUFFER_SIZE];
  4. UINT mHoldingRegsSize;
  5. UINT   *mRegs;
  6. UCHAR   mBroadcastFlag;
  7. UCHAR mSlaveID;
  8. UCHAR mFunction;
  9. UINT errorCount;
  10. UINT    T1_5; //inter character time out
  11. UINT    T3_5; //frame delay
  12. Serial  *MBPort;
  13.  
  14. // function definitions
  15. void exceptionResponse(UCHAR exception);
  16. UINT calculateCRC(UCHAR bufferSize);
  17. void sendPacket(UCHAR bufferSize);
  18.  
  19. void
  20. mBInit( Serial *SerialPort,
  21. int    baud,
  22. UCHAR _slaveID,
  23. UINT  _holdingRegsSize,
  24.            UINT  *_regs)
  25. {
  26. //implementación
  27. }
  28. metodos de las funciones.
  29.  

MBSlave.h
Código
  1. #ifndef MBSlave_H
  2. #define MBSlave_H
  3.  
  4. //definitions of types
  5. typedef unsigned char UCHAR;
  6. typedef unsigned int  UINT;
  7.  
  8. #include "mbed.h"
  9.  
  10. #define BUFFER_SIZE    64
  11. #define MBdebug         1
  12. UINT mBPoll( void );
  13. void mBInit(Serial *SerialPort,
  14.            int    baud,
  15.            UCHAR _slaveID,
  16.            UINT  _holdingRegsSize,
  17.            UINT  *_regs)
  18. #endif
  19.  
5  Programación / Programación General / Bucles infinitos. en: 17 Diciembre 2015, 19:24 pm
 ::)

Alguno sabe la diferencia entre for( ;; ) y while(1)??
6  Programación / Programación C/C++ / Ayuda para entender el código. en: 14 Diciembre 2015, 10:36 am
Hola estoy desarrollando una implementación de Modbus master basándome en el estándar de Freemodbus, el cual lo podeis descargar en el siguiente link -> http://www.freemodbus.org/index.php?idx=5

mi pregunta es que hay parte del código que no consigo entender.

me defino un tipo de función con typedef eMBErrorCode etc
Código
  1. /* ----------------------- Prototypes  0-------------------------------------*/
  2. typedef void    ( *pvMBFrameStart ) ( void );
  3.  
  4. typedef void    ( *pvMBFrameStop ) ( void );
  5.  
  6. typedef eMBErrorCode( *peMBFrameReceive ) ( UCHAR * pucRcvAddress,
  7.                                            UCHAR ** pucFrame,
  8.                                            USHORT * pusLength );
  9.  
  10. typedef eMBErrorCode( *peMBFrameSend ) ( UCHAR slaveAddress,
  11.                                         const UCHAR * pucFrame,
  12.                                         USHORT usLength );
  13.  
  14. typedef void( *pvMBFrameClose ) ( void );
  15.  


Luego desde la máquina de estados llamo a las funciones:

Código
  1. /* Functions pointer which are initialized in eMBInit( ). Depending on the
  2.  * mode (RTU or ASCII) the are set to the correct implementations.
  3.  */
  4. static peMBFrameSend peMBFrameSendCur;
  5. static pvMBFrameStart pvMBFrameStartCur;
  6. static pvMBFrameStop pvMBFrameStopCur;
  7. static peMBFrameReceive peMBFrameReceiveCur;
  8. static pvMBFrameClose pvMBFrameCloseCur;
  9.  
  10. eMBErrorCode
  11. eMBPoll( void ) {
  12.    static UCHAR   *ucMBFrame;
  13.    static UCHAR    ucRcvAddress;
  14.    static UCHAR    ucFunctionCode;
  15.    static USHORT   usLength;
  16.    static eMBException eException;
  17.  
  18.    int             i;
  19.    eMBErrorCode    eStatus = MB_ENOERR;
  20.    eMBEventType    eEvent;
  21.  
  22.    /* Check if the protocol stack is ready. */
  23.    if ( eMBState != STATE_ENABLED ) {
  24.        return MB_EILLSTATE;
  25.    }
  26.  
  27.    /* Check if there is a event available. If not return control to caller.
  28.      * Otherwise we will handle the event. */
  29.    if ( xMBPortEventGet( &eEvent ) == TRUE ) {
  30.        switch ( eEvent ) {
  31.            case EV_READY:
  32.                break;
  33.  
  34.            case EV_FRAME_RECEIVED:
  35.                eStatus = peMBFrameReceiveCur( &ucRcvAddress, &ucMBFrame, &usLength );
  36.                if ( eStatus == MB_ENOERR ) {
  37.                    /* Check if the frame is for us. If not ignore the frame. */
  38.                    if ( ( ucRcvAddress == ucMBAddress ) || ( ucRcvAddress == MB_ADDRESS_BROADCAST ) ) {
  39.                        ( void )xMBPortEventPost( EV_EXECUTE );
  40.                    }
  41.                }
  42.                break;
  43.  
  44.            case EV_EXECUTE:
  45.                ucFunctionCode = ucMBFrame[MB_PDU_FUNC_OFF];
  46.                eException = MB_EX_ILLEGAL_FUNCTION;
  47.  
  48.  
  49.                for ( i = 0; i < MB_FUNC_HANDLERS_MAX; i++ ) {
  50.                    /* No more function handlers registered. Abort. */
  51.                    if ( xFuncHandlers[i].ucFunctionCode == 0 ) {
  52.                        break;
  53.                    } else if ( xFuncHandlers[i].ucFunctionCode == ucFunctionCode ) {
  54.                        eException = xFuncHandlers[i].pxHandler( ucMBFrame, &usLength );
  55.                        break;
  56.                    }
  57.                }
  58.  
  59.                /* If the request was not sent to the broadcast address we
  60.                  * return a reply. */
  61.                if ( ucRcvAddress != MB_ADDRESS_BROADCAST ) {
  62.                    if ( eException != MB_EX_NONE ) {
  63.                        /* An exception occured. Build an error frame. */
  64.                        usLength = 0;
  65.                        ucMBFrame[usLength++] = ( UCHAR )( ucFunctionCode | MB_FUNC_ERROR );
  66.                        ucMBFrame[usLength++] = eException;
  67.                    }
  68.                    eStatus = peMBFrameSendCur( ucMBAddress, ucMBFrame, usLength );
  69.                }
  70.                break;
  71.  
  72.            case EV_FRAME_SENT:
  73.                break;
  74.        }
  75.    }
  76.    return MB_ENOERR;
  77. }
  78.  

el problema es que no encuentro la implementación de donde se trata la función peMBFrameSendCur. Alguien sabe como está estructurado el código?
7  Programación / Java / [Android] web service error Gson parser[Solucionado] en: 28 Octubre 2015, 16:16 pm
Hola,

Estoy haciendo un servicio web y me encuentro trabajando con la librería Volley, la verdad que simplifica muchísimo la cosa para trabajar con webservices, pero tengo un error que he conseguido acotarlo a las siguientes líneas.

Cuando lanzo la consulta y el Json responde atiendo la respuesta con un método que todo va correcto hasta el punto donde tengo que extraer los datos con gson.fromJson

El método
Código
  1. private void procesarRespuesta(JSONObject response) {
  2.        try {
  3.            // Obtener atributo "estado"
  4.            String estado = response.getString("estado");
  5.  
  6.            switch (estado) {
  7.                case "1": // EXITO
  8.                    Log.d(TAG, "respuesta exitosa.");
  9.                    // Obtener "arqueta" Json
  10.                    JSONObject mensaje = response.getJSONObject("arqueta");
  11.                    // Parsear con Gson
  12.                    Log.d(TAG, "ParsearGson mensaje: "+mensaje.toString());
  13.                    BeanArqueta arquetas = gson.fromJson(mensaje.toString(), BeanArqueta.class);
  14.                    //presentar en activity
  15.                    updateDatosActivity(arquetas);
  16.                    break;
  17.                case "2": // FALLIDO
  18.                    Log.d(TAG, "respuesta fallida.");
  19.                    String mensaje2 = response.getString("mensaje");
  20.                    Toast.makeText(
  21.                            this,
  22.                            mensaje2,
  23.                            Toast.LENGTH_LONG).show();
  24.                    break;
  25.                default:
  26.                    Log.d(TAG, "respuesta error estado:"+estado);
  27.                    break;
  28.            }
  29.        } catch (JSONException e) {
  30.            e.printStackTrace();
  31.        }
  32.    }
  33.  
el contenido de JSon devuelto es correcto:
Código:
{"estado":1,"arqueta":{"id":"1","insert_time":"2015-10-27 08:40:27","nombre_arqueta":"Arqueta","direccion_arqueta":"74:48:52:44","uuid_sensor1":"0001","uuid_sensor2":"0001","uuid_sensor3":"0001"}}

y cuando queremos obtener el contenido del mensaje como se puede ver en el objeto
JSONObject mensaje es: correcto
Código:
{"id":"1","insert_time":"2015-10-27 08:40:27","nombre_arqueta":"Arqueta","direccion_arqueta":"74:48:52:44","uuid_sensor1":"0001","uuid_sensor2":"0001","uuid_sensor3":"0001"}

y cuando llega a
Código
  1.   BeanArqueta arquetas = gson.fromJson(mensaje.toString(), BeanArqueta.class);
  2.  

salta una excepción en la documentación dice que es porque el objeto que se intenta pasear no correspondo con el objeto Json.

pero como se puede ver el Json contiene los mismos campos que el objeto BeanArqueta

BeanArqueta
Código
  1. public class BeanArqueta
  2. {
  3.    private static String id;
  4.    private static String insert_time;
  5.    private static String nombre_arqueta;
  6.    private static String direccion_arqueta;
  7.    private static String uuid_sensor1;
  8.    private static String uuid_sensor2;
  9.    private static String uuid_sensor3;
  10.  
  11.    public BeanArqueta()
  12.    {
  13.        super();
  14.    }
  15.  
  16.    public static String getId() {
  17.        return id;
  18.    }
  19.  
  20.    public static void setId(String id) {
  21.        BeanArqueta.id = id;
  22.    }
  23.  
  24.    public static String getInsert_time() {
  25.        return insert_time;
  26.    }
  27.  
  28.    public static void setInsert_time(String insert_time) {
  29.        BeanArqueta.insert_time = insert_time;
  30.    }
  31.  
  32.    public static String getNombre_arqueta() {
  33.        return nombre_arqueta;
  34.    }
  35.  
  36.    public static void setNombre_arqueta(String nombre_arqueta) {
  37.        BeanArqueta.nombre_arqueta = nombre_arqueta;
  38.    }
  39.  
  40.    public static String getDireccion_arqueta() {
  41.        return direccion_arqueta;
  42.    }
  43.  
  44.    public static void setDireccion_arqueta(String direccion_arqueta) {
  45.        BeanArqueta.direccion_arqueta = direccion_arqueta;
  46.    }
  47.  
  48.    public static String getUuid_sensor1() {
  49.        return uuid_sensor1;
  50.    }
  51.  
  52.    public static void setUuid_sensor1(String uuid_sensor1) {
  53.        BeanArqueta.uuid_sensor1 = uuid_sensor1;
  54.    }
  55.  
  56.    public static String getUuid_sensor2() {
  57.        return uuid_sensor2;
  58.    }
  59.  
  60.    public static void setUuid_sensor2(String uuid_sensor2) {
  61.        BeanArqueta.uuid_sensor2 = uuid_sensor2;
  62.    }
  63.  
  64.    public static String getUuid_sensor3() {
  65.        return uuid_sensor3;
  66.    }
  67.  
  68.    public static void setUuid_sensor3(String uuid_sensor3) {
  69.        BeanArqueta.uuid_sensor3 = uuid_sensor3;
  70.    }
  71. }
  72.  

A qué se debe el error? no lo entiendo si el objeto Bean tienes los mismos campos que el mensaje.
8  Programación / PHP / problema con include. en: 27 Octubre 2015, 22:55 pm
Hola,

antes que nada queria decir que llevaba años sin tocar php y me he topado con un proyecto que he empezado pero me esta dando un fallo en el include y no sé como solventarlo.

EL sistema de directorios es el siguiente:

public_html-->webService --> Database.php
                                      |
                                      --> mysql_login.php
                                      |
                                      --> arqueta(DIR) --> arqueta.php
                                                               |
                                                                --> Obtener_arquetaById.php

cuando compruebo si funciona con:

http://105.5.10.222/~carmen/webService/arqueta/Obtener_arquetaById.php?idArqueta=1

el error es el siguiente:
Código:
Warning: require_once(webService/mysql_login.php) [function.require-once]: failed to open stream: No such file or directory in /home/carmen/public_html/webService/Database.php on line 7

Fatal error: require_once() [function.require]: Failed opening required 'webService/mysql_login.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/carmen/public_html/webService/Database.php on line 7

y los ficheros:

mysql_login.php
Código
  1. <?php
  2. /**
  3.  * Provee las constantes para conectarse a la base de datos
  4.  * Mysql.
  5.  */
  6. define("HOSTNAME", "localhost");// Nombre del host
  7. define("DATABASE", "IoTBLE"); // Nombre de la base de datos
  8. define("USERNAME", "carmen"); // Nombre del usuario
  9. define("PASSWORD", "45kb-Ahu-eop-3dL"); // Nombre de la constraseña
  10. define("SET NAMES"."UTF-8")//Tipo de codificacion de la BD
  11. ?>
  12.  

Database.php
Código
  1. <?php
  2. /**
  3.  * Clase que envuelve una instancia de la clase PDO
  4.  * para el manejo de la base de datos
  5.  */
  6.  
  7. require_once 'webService/mysql_login.php';
  8.  
  9.  
  10. class Database
  11. {
  12.  
  13.    /**
  14.      * Única instancia de la clase
  15.      */
  16.    private static $db = null;
  17.  
  18.    /**
  19.      * Instancia de PDO
  20.      */
  21.    private static $pdo;
  22.  
  23.    final private function __construct()
  24.    {
  25.        try {
  26.            // Crear nueva conexión PDO
  27.            self::getDb();
  28.        } catch (PDOException $e) {
  29.            // Manejo de excepciones
  30.        }
  31.  
  32.  
  33.    }
  34.  
  35.    /**
  36.      * Retorna en la única instancia de la clase
  37.      * @return Database|null
  38.      */
  39.    public static function getInstance()
  40.    {
  41.        if (self::$db === null) {
  42.            self::$db = new self();
  43.        }
  44.        return self::$db;
  45.    }
  46.  
  47.    /**
  48.      * Crear una nueva conexión PDO basada
  49.      * en los datos de conexión
  50.      * @return PDO Objeto PDO
  51.      */
  52.    public function getDb()
  53.    {
  54.        if (self::$pdo == null) {
  55.            self::$pdo = new PDO(
  56.                'mysql:dbname=' . DATABASE .
  57.                ';host=' . HOSTNAME .
  58.                ';port:63343;',
  59.                USERNAME,
  60.                PASSWORD,
  61.                array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8")
  62.            );
  63.  
  64.            // Habilitar excepciones
  65.            self::$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
  66.        }
  67.  
  68.        return self::$pdo;
  69.    }
  70.  
  71.    /**
  72.      * Evita la clonación del objeto
  73.      */
  74.    final protected function __clone()
  75.    {
  76.    }
  77.  
  78.    function _destructor()
  79.    {
  80.        self::$pdo = null;
  81.    }
  82. }
  83.  
  84. ?>
  85.  

arqueta.php
Código
  1. require '/home/carmen/public_html/webService/Database.php';
  2.  
  3. class Arqueta
  4. {
  5.    function __construct()
  6.    {
  7.    }
  8.  
  9.    /**
  10.      * Retorna en la fila especificada de la tabla 'arqueta'
  11.      *
  12.      * @param $idArqueta Identificador del registro
  13.      * @return array Datos del registro
  14.      */
  15.    public static function GetAll()
  16.    {
  17.        $consulta = "SELECT * FROM arqueta";
  18.        try {
  19.            // Preparar sentencia
  20.            $comando = Database::getInstance()->getDb()->prepare($consulta);
  21.            // Ejecutar sentencia preparada
  22.            $comando->execute();
  23.  
  24.            return $comando->fetchAll(PDO::FETCH_ASSOC);
  25.  
  26.        } catch (PDOException $e) {
  27.            return false;
  28.        }
  29.    }
  30.  
  31.    /**
  32.      * Obtiene los campos de una arqueta con un identificador
  33.      * determinado
  34.      *
  35.      * @param $idArqueta Identificador de la arqueta
  36.      * @return mixed
  37.      */
  38.    public static function GetById($idArqueta)
  39.    {
  40.        // Consulta de la arqueta
  41.        $consulta = "SELECT *
  42.                             FROM arqueta
  43.                             WHERE id = ?";
  44.  
  45.        try {
  46.            // Preparar sentencia
  47.            $comando = Database::getInstance()->getDb()->prepare($consulta);
  48.            // Ejecutar sentencia preparada
  49.            $comando->execute(array($idArqueta));
  50.            // Capturar primera fila del resultado
  51.            $row = $comando->fetch(PDO::FETCH_ASSOC);
  52.            return $row;
  53.  
  54.        } catch (PDOException $e) {
  55.            // Aquí puedes clasificar el error dependiendo de la excepción
  56.            // para presentarlo en la respuesta Json
  57.            return -1;
  58.        }
  59.    }
  60.  
  61.    /**
  62.      * Actualiza un registro de la bases de datos basado
  63.      * en los nuevos valores relacionados con un identificador
  64.      *
  65.      * @param $idArqueta      
  66.      * @param $insert_time    
  67.      * @param $nombre_arqueta
  68.      * @param $direccion_arqueta    
  69.      * @param $uuid_sensor1  
  70.      * @param $uuid_sensor2
  71.      * @param $uuid_sensor3
  72.      */
  73.    public static function Update(
  74.        $idArqueta,
  75.        $insert_time,
  76.        $nombre_arqueta,
  77.        $direccion_arqueta,
  78.        $uuid_sensor1,
  79.        $uuid_sensor2,
  80.        $uuid_sensor3
  81.    )
  82.    {
  83.        // Creando consulta UPDATE
  84.        $consulta = "UPDATE arqueta" .
  85.            " SET insert_time=?, nombre_arqueta=?, direccion_arqueta=?, uuid_sensor1=?, uuid_sensor2=?, uuid_sensor3=? " .
  86.            "WHERE id=?";
  87.  
  88.        // Preparar la sentencia
  89.        $cmd = Database::getInstance()->getDb()->prepare($consulta);
  90.  
  91.        // Relacionar y ejecutar la sentencia
  92.        $cmd->execute(array($insert_time, $nombre_arqueta, $fdireccion_arqueta, $uuid_sensor1, $uuid_sensor2, $uuid_sensor3, $idArqueta));
  93.  
  94.        return $cmd;
  95.    }
  96.  
  97.    /**
  98.      * Insertar una nueva arqueta
  99.      *
  100.      * @return PDOStatement
  101.      */
  102.    public static function Insertar(
  103.        $insert_time,
  104.        $nombre_arqueta,
  105.        $direccion_arqueta,
  106.        $uuid_sensor1,
  107.        $uuid_sensor2,
  108.        $uuid_sensor3
  109.    )
  110.    {
  111.        // Sentencia INSERT
  112.        $comando = "INSERT INTO arqueta ( " .
  113.            " insert_time," .
  114.            " nombre_arqueta," .
  115.            " direccion_arqueta," .
  116.            " uuid_sensor1," .
  117.            " uuid_sensor2," .
  118.            " uuid_sensor3)" .
  119.            " VALUES( ?,?,?,?,?,? )";
  120.  
  121.        // Preparar la sentencia
  122.        $sentencia = Database::getInstance()->getDb()->prepare($comando);
  123.  
  124.        return $sentencia->execute(
  125.            array(
  126.                $insert_time,
  127.                $nombre_arqueta,
  128.                $direccion_arqueta,
  129.                $uuid_sensor1,
  130.                $uuid_sensor2,
  131.                $uuid_sensor3
  132.                    )
  133.        );
  134.  
  135.    }
  136.  
  137.    /**
  138.      * Eliminar el registro con el identificador especificado
  139.      *
  140.      * @param $idArqueta identificador de la arqueta
  141.      * @return bool Respuesta de la eliminación
  142.      */
  143.    public static function Delete($idArqueta)
  144.    {
  145.        // Sentencia DELETE
  146.        $comando = "DELETE FROM arqueta WHERE id=?";
  147.  
  148.        // Preparar la sentencia
  149.        $sentencia = Database::getInstance()->getDb()->prepare($comando);
  150.  
  151.        return $sentencia->execute(array($idArqueta));
  152.    }
  153. }
  154. ?>
  155.  

Obtener_arquetaById.php
Código
  1. <?php
  2. //obtenemos un arqueta por id.
  3. require "Arqueta.php";
  4.  
  5. if($_SERVER['REQUEST_METHOD'] == 'GET')
  6. {
  7. if(isset($_GET['idArqueta']))
  8. {
  9. $idArqueta = $_GET['idArqueta'];
  10. $arqueta = Informes::getById($idArqueta);
  11.  
  12. if($arqueta)
  13. {
  14. $datos['estado']  = 1;
  15. $datos['arqueta'] = $arqueta;
  16. print json_encode($datos);
  17. }
  18. else
  19. {
  20. $datos['estado']  = 2;
  21. $datos['mensaje'] = 'Ha ocurrido un error.';
  22. print json_encode($datos);
  23. }
  24. }
  25. else
  26. {
  27. $datos['estado']  = 3;
  28. $datos['mensaje'] = 'Se necesita un identificador.';
  29. print json_encode($datos);
  30. }
  31. }
  32.  
  33. ?>
  34.  

A que se debe el error?
PD: datos de la base de datos, contraseñas son ficticios.
9  Programación / Java / [Android]Procesos en segundo plano. en: 21 Octubre 2015, 12:53 pm
Hola gente, aquí estamos de nuevo a ver si me pueden sacar del follon que yo solo me he metido.

el trabajo: basicamente se trata de crear un servicio desde la actividad principal y que cuando la app se encuentre en segundo el servicio siga activo. el servicio va a ser un escaner de dispositivos bluetooth. el controlador del dispositivo sigue un patrón singleton, es decir, tengo una instancia del objeto que se va instanciando en todas las actividades.

Problema: A continuación os dejo un trozo de código con el desarrollo. Lo que me ocurre es que cuando pongo a escanear y mato el proceso el scaneo continua y no entiendo muy bien porque.

Para el escaneo y para ahorrar bateria hago un scaneo y luego descanso, inicio escaneo y descanso.

Código
  1. public class ServiceDetectionTag extends IntentService {
  2.    private static final String NAMECLASS = "ServiceDetectionTag";
  3.    private static final long STOP_SCAN_TIMER = 10 * 1000;
  4.    private static final long START_SCAN_TIMER = 30 * 1000;
  5.  
  6.    private static Context mContext;
  7.    private static HandlerBLE mHandlerBLE;
  8.    private static ServiceBroadcastReceiver mServiceBroadcastReceiver;
  9.    private static Thread workerThread = null;
  10.    private static Boolean alive;
  11.  
  12.    public ServiceDetectionTag()
  13.    {
  14.        super(NAMECLASS);
  15.    }
  16.  
  17.    /*private volatile Timer mTimerStart;
  18.     private volatile Timer mTimerStop;*/
  19.  
  20.  
  21.    @Override
  22.    protected void onHandleIntent(Intent intent)
  23.    {
  24.        alive = true;
  25.        mHandlerBLE = ((BLE_Application) getApplication()).getmHandlerBLEInstance(this.getApplicationContext());
  26.        ((BLE_Application) getApplication()).resetHandlerBLE();
  27.        mContext = getApplicationContext();
  28.  
  29.        mServiceBroadcastReceiver = new ServiceBroadcastReceiver();
  30.        IntentFilter i = new IntentFilter(ServiceBroadcastReceiver.ACTION_NOTIFY_NEW_DEVICE_FOUND);
  31.        registerReceiver(mServiceBroadcastReceiver, i);
  32.  
  33.        if(workerThread == null || !workerThread.isAlive())
  34.        {
  35.            workerThread = new Thread(new Runnable()
  36.            {
  37.                public void run()
  38.                {
  39.                    while(isAlive())
  40.                    {
  41.                        try
  42.                        {
  43.                            if (Constant.DEBUG)
  44.                                Log.i(Constant.TAG, NAMECLASS + " ## -- onHandleIntent -> Start scanning");
  45.  
  46.                            mHandlerBLE.startLeScan();
  47.                            workerThread.sleep(START_SCAN_TIMER);
  48.  
  49.                            if (Constant.DEBUG)
  50.                                Log.i(Constant.TAG, NAMECLASS + " ## -- onHandleIntent -> Stop scanning");
  51.                            mHandlerBLE.stopLeScan();
  52.                            workerThread.sleep(STOP_SCAN_TIMER);
  53.  
  54.                        } catch (Exception e) {
  55.                            e.printStackTrace();
  56.                        }
  57.                    }
  58.                    /*
  59.                     if (Constant.DEBUG)
  60.                         Log.i(Constant.TAG, NAMECLASS + " ## -- onHandleIntent -> 1º Start scanning");
  61.                     mHandlerBLE.startLeScan();
  62.  
  63.                     mTimerStart = new Timer();
  64.                     mTimerStop = new Timer();
  65.  
  66.                     mTimerStart.scheduleAtFixedRate(new TimerTask() {
  67.                         @Override
  68.                         public void run()
  69.                         {
  70.                             if (Constant.DEBUG)
  71.                                 Log.i(Constant.TAG, NAMECLASS + " ## -- onHandleIntent -> Start scanning");
  72.                             mHandlerBLE.startLeScan();
  73.                         }
  74.                     }, 0, START_SCAN_TIMER + STOP_SCAN_TIMER);
  75.  
  76.                     mTimerStop.scheduleAtFixedRate(new TimerTask() {
  77.                         @Override
  78.                         public void run()
  79.                         {
  80.                             if (Constant.DEBUG)
  81.                                 Log.i(Constant.TAG, NAMECLASS + " ## -- onHandleIntent -> Stop scanning");
  82.                             mHandlerBLE.stopLeScan();
  83.                         }
  84.                     }, 0, START_SCAN_TIMER);*/
  85.                }
  86.            });
  87.            workerThread.start();
  88.        }
  89.    }
  90.  
  91.    @Override
  92.    public void onDestroy()
  93.    {
  94.        super.onDestroy();
  95.        alive = false;
  96.  
  97.        if (Constant.DEBUG)
  98.            Log.i(Constant.TAG, NAMECLASS + " ## -- onDestroy() -> Stop scanning");
  99.        mHandlerBLE.stopLeScan();
  100.  
  101.        try
  102.        {
  103.            workerThread.join();
  104.        } catch (InterruptedException e) {
  105.            e.printStackTrace();
  106.        }
  107.  
  108.        unregisterReceiver(mServiceBroadcastReceiver);
  109.    }
  110.  
  111.    public static Boolean isAlive()
  112.    {
  113.        if(alive != null)
  114.            return !alive;
  115.  
  116.        return false;
  117.    }
  118.  
  119.    public class ServiceBroadcastReceiver extends BroadcastReceiver {
  120.        public static final String ACTION_NOTIFY_NEW_DEVICE_FOUND = "iot_ble.NOTIFY_NEW_DEVICE";
  121.  
  122.        public ServiceBroadcastReceiver() {
  123.            super();
  124.        }
  125.  
  126.        @Override
  127.        public void onReceive(Context context, Intent intent) {
  128.            if (Constant.DEBUG)
  129.                Log.i(Constant.TAG, " ## ServiceBroadcastReceiver -- onReceive -> inside");
  130.            String action = intent.getAction();
  131.            if (action.equals(ServiceBroadcastReceiver.ACTION_NOTIFY_NEW_DEVICE_FOUND)) {
  132.                if (Constant.DEBUG)
  133.                    Log.i(Constant.TAG, " ## ServiceBroadcastReceiver -- onReceive -> sending notication(statusBar)");
  134.  
  135.  
  136.                MyNotificationHandler myNotificationHandler;
  137.                myNotificationHandler = new MyNotificationHandler(mContext);
  138.                myNotificationHandler.SendNotify();
  139.            }
  140.        }
  141.  
  142.    }
  143.  
10  Informática / Electrónica / rango de entrada analogico para un ARM corte M0 en: 29 Septiembre 2015, 15:45 pm
Estoy buscando cual es el rango máximo de entrada de una señal analogica para este tipo en concreto?

No consigo información sobre eso y no quiero conectar 3V y cargármelo.

saludos y  gracias.
Páginas: [1] 2 3 4
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines