Forum
Kodi won't start after sudo apt-get upgrade update - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Installation (/forum-16.html)
+--- Thread: Kodi won't start after sudo apt-get upgrade update (/thread-3203.html)



Kodi won't start after sudo apt-get upgrade update - karanda - 2nd Nov, 2015 02:26 AM

Hi guys,

I manually initiated a sudo apt-get upgrade earlier today, using putty.
so I logged in and did an apt-get upgrade (which finished with a broken packages message for libcec2 and libcec3)

After that I rebooted my Raspberry Pi B and since then, my pi acts strange:
Kodi keeps stopping and a shell environment is opening.
[ok]
Terminal
login: done.
[ok]Setting up X socket directories .../tmp/.x11-unix/tmp/.ICE-unix.
[ok]Setting preliminary keymap...done.
[ok]Setting up X socket directories .../tmp/.x11-unix/tmp/.ICE-unix.
[ok]Setting preliminary keymap...done.
[ok]Setting up X socket directories .../tmp/.x11-unix/tmp/.ICE-unix.
[ok]Setting preliminary keymap...pidof [4254]: can't get program name from /proc/4247/stat

done.
[ok]Setting up X socket directories .../tmp/.x11-unix/tmp/.ICE-unix.
[ok]Setting preliminary keymap...
[ok]Setting up X socket directories .../tmp/.x11-unix/tmp/.ICE-unix.
[ok]Setting preliminary keymap...
[ok]Setting up X socket directories .../tmp/.x11-unix/tmp/.ICE-unix.
[ok]Setting preliminary keymap...

That's basially all it's doing for the last 15 minutes ...

during the whole proces I can access it using ssh.

the dmesg:
Terminal

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.10+ (jenkins@vps01) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-12ubuntu1) ) #1 Sun Oct 11 13:45:27 CEST 2015
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi Model B Rev 2
[ 0.000000] cma: Reserved 16 MiB at 0x16000000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 94208
[ 0.000000] free_area_init_node: node 0, pgdat c06f6654, node_mem_map d5cb3000
[ 0.000000] Normal zone: 828 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 94208 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 93380
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708.boardrev=0xe bcm2708.serial=0x589de5ae smsc95xx.macaddr=B8:27:EB:9D:E5:AE bcm2708_fb.fbswap=1 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 telnet zswap.enabled=1 zswap.compressor=lz4 console=tty1 root=/dev/mmcblk0p2 rootflags=subvol=root/@,autodefrag,compress=lz4 rootfstype=btrfs rootwait logo.nologo quiet noswap loglevel=0 partswap startevent=mountall selinux=0 splash nohdparm --startup-event mountall
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 349104K/376832K available (5202K kernel code, 229K rwdata, 1528K rodata, 140K init, 365K bss, 11344K reserved, 16384K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xd7800000 - 0xff000000 ( 632 MB)
lowmem : 0xc0000000 - 0xd7000000 ( 368 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc069ad50 (6732 kB)
.init : 0xc069b000 - 0xc06be000 ( 140 kB)
.data : 0xc06be000 - 0xc06f75d0 ( 230 kB)
.bss : 0xc06f75d0 - 0xc0752c20 ( 366 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:522
[ 0.000000] clocksource stc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000008] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000033] Switching to timer-based delay loop, resolution 1000ns
[ 0.000217] Console: colour dummy device 80x30
[ 0.000346] console [tty1] enabled
[ 0.000361] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=2000)
[ 0.000375] pid_max: default: 32768 minimum: 301
[ 0.000479] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000492] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001088] Initializing cgroup subsys memory
[ 0.001117] Initializing cgroup subsys devices
[ 0.001133] Initializing cgroup subsys net_cls
[ 0.001146] Initializing cgroup subsys perf_event
[ 0.001175] CPU: Testing write buffer coherency: ok
[ 0.001438] Setting up static identity map for 0x81c0 - 0x81f8
[ 0.002524] devtmpfs: initialized
[ 0.009312] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.009522] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 3822520892550000 ns
[ 0.011117] xor: measuring software checksum speed
[ 0.030248] arm4regs : 1390.000 MB/sec
[ 0.050289] 8regs : 672.000 MB/sec
[ 0.070329] 32regs : 672.000 MB/sec
[ 0.070339] xor: using function: arm4regs (1390.000 MB/sec)
[ 0.070510] pinctrl core: initialized pinctrl subsystem
[ 0.071092] NET: Registered protocol family 16
[ 0.075302] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.076424] bcm2708.uart_clock = 3000000
[ 0.079596] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.079611] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.079708] Serial: AMBA PL011 UART driver
[ 0.079870] 20201000.uart: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev2
[ 0.080252] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[ 0.137321] raid6: int32x1 gen() 80 MB/s
[ 0.171080] raid6: int32x1 xor() 59 MB/s
[ 0.205369] raid6: int32x2 gen() 123 MB/s
[ 0.239192] raid6: int32x2 xor() 76 MB/s
[ 0.273624] raid6: int32x4 gen() 138 MB/s
[ 0.307591] raid6: int32x4 xor() 97 MB/s
[ 0.341918] raid6: int32x8 gen() 148 MB/s
[ 0.375887] raid6: int32x8 xor() 91 MB/s
[ 0.375896] raid6: using algorithm int32x8 gen() 148 MB/s
[ 0.375903] raid6: .... xor() 91 MB/s, rmw enabled
[ 0.375909] raid6: using intx1 recovery algorithm
[ 0.376208] bcm2708-dmaengine 20007000.dma: DMA legacy API manager at f2007000, dmachans=0xf35
[ 0.376236] bcm2708-dmaengine 20007000.dma: Initialized 7 DMA channels (+ 1 legacy)
[ 0.376693] bcm2708-dmaengine 20007000.dma: Load BCM2835 DMA engine driver
[ 0.376707] bcm2708-dmaengine 20007000.dma: dma_debug:0
[ 0.377243] SCSI subsystem initialized
[ 0.377445] usbcore: registered new interface driver usbfs
[ 0.377517] usbcore: registered new interface driver hub
[ 0.377619] usbcore: registered new device driver usb
[ 0.378227] raspberrypi-firmware soc:firmware: Attached to firmware from 2015-10-11 16:21
[ 0.405207] Switched to clocksource stc
[ 0.413928] NET: Registered protocol family 2
[ 0.414830] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.414900] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.414951] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.415012] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.415033] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.415297] NET: Registered protocol family 1
[ 0.415622] RPC: Registered named UNIX socket transport module.
[ 0.415636] RPC: Registered udp transport module.
[ 0.415642] RPC: Registered tcp transport module.
[ 0.415648] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.416676] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[ 0.417509] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.425169] VFS: Disk quotas dquot_6.6.0
[ 0.425426] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.427508] NFS: Registering the id_resolver key type
[ 0.427565] Key type id_resolver registered
[ 0.427574] Key type id_legacy registered
[ 0.427603] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.430965] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.430994] io scheduler noop registered
[ 0.431009] io scheduler deadline registered
[ 0.431060] io scheduler cfq registered (default)
[ 0.432649] BCM2708FB: allocated DMA memory 56400000
[ 0.432691] BCM2708FB: allocated DMA channel 0 @ f2007000
[ 0.450955] Console: switching to colour frame buffer device 240x67
[ 0.466285] vc-cma: Videocore CMA driver
[ 0.466299] vc-cma: vc_cma_base = 0x00000000
[ 0.466306] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 0.466313] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 0.466514] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 0.467792] vchiq: vchiq_init_state: slot_zero = 0xd6480000, is_master = 0
[ 0.470446] usbcore: registered new interface driver smsc95xx
[ 0.470537] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.670719] Core Release: 2.80a
[ 0.670750] Setting default values for core params
[ 0.670780] Finished setting default values for core params
[ 0.870865] Using Buffer DMA mode
[ 0.870881] Periodic Transfer Interrupt Enhancement - disabled
[ 0.870888] Multiprocessor Interrupt Enhancement - disabled
[ 0.870896] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.870947] Dedicated Tx FIFOs mode
[ 0.871301] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xd6414000 dma = 0x56414000 len=9024
[ 0.871327] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
[ 0.871345] dwc_otg: Microframe scheduler enabled
[ 0.871389] WARN::hcd_init_fiq:412: FIQ on core 0 at 0xc03b9884
[ 0.871400] WARN::hcd_init_fiq:413: FIQ ASM at 0xc03b9b0c length 36
[ 0.871419] WARN::hcd_init_fiq:438: MPHI regs_base at 0xd7812000
[ 0.871457] dwc_otg 20980000.usb: DWC OTG Controller
[ 0.871497] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[ 0.871536] dwc_otg 20980000.usb: irq 32, io mem 0x00000000
[ 0.871562] Init: Port Power? op_state=1
[ 0.871569] Init: Power Port (0)
[ 0.871746] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.871759] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.871769] usb usb1: Product: DWC OTG Controller
[ 0.871778] usb usb1: Manufacturer: Linux 4.1.10+ dwc_otg_hcd
[ 0.871787] usb usb1: SerialNumber: 20980000.usb
[ 0.872393] hub 1-0:1.0: USB hub found
[ 0.872442] hub 1-0:1.0: 1 port detected
[ 0.872821] dwc_otg: FIQ enabled
[ 0.872833] dwc_otg: NAK holdoff enabled
[ 0.872839] dwc_otg: FIQ split-transaction FSM enabled
[ 0.872888] Module dwc_common_port init
[ 0.873264] usbcore: registered new interface driver usb-storage
[ 0.873518] mousedev: PS/2 mouse device common for all mice
[ 0.874273] bcm2835-cpufreq: min=700000 max=1000000
[ 0.874527] sdhci: Secure Digital Host Controller Interface driver
[ 0.874538] sdhci: Copyright© Pierre Ossman
[ 0.874797] mmc-bcm2835 20300000.mmc: mmc_debug:0 mmc_debug2:0
[ 0.874812] mmc-bcm2835 20300000.mmc: DMA channels allocated
[ 0.897465] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.897579] hidraw: raw HID events driver © Jiri Kosina
[ 0.897810] usbcore: registered new interface driver usbhid
[ 0.897819] usbhid: USB HID core driver
[ 0.898123] NET: Registered protocol family 17
[ 0.898256] Key type dns_resolver registered
[ 0.909435] Btrfs loaded
[ 0.909624] vc-sm: Videocore shared memory driver
[ 0.909640] [vc_sm_connected_init]: start
[ 0.912238] [vc_sm_connected_init]: end - returning 0
[ 0.919660] Waiting for root device /dev/mmcblk0p2...
[ 0.943394] mmc0: host does not support reading read-only switch, assuming write-enable
[ 0.946320] mmc0: new high speed SDHC card at address e624
[ 0.946703] mmcblk0: mmc0:e624 SL16G 14.8 GiB
[ 0.947859] mmcblk0: p1 p2 p3
[ 1.028507] BTRFS: device label xbian devid 1 transid 932 /dev/root
[ 1.030368] BTRFS info (device mmcblk0p2): enabling auto defrag
[ 1.030395] BTRFS info (device mmcblk0p2): disk space caching is enabled
[ 1.030404] BTRFS: has skinny extents
[ 1.071350] Indeed it is in host mode hprt0 = 00021501
[ 1.132070] BTRFS: detected SSD devices, enabling SSD mode
[ 1.140824] VFS: Mounted root (btrfs filesystem) readonly on device 0:14.
[ 1.143089] devtmpfs: mounted
[ 1.143541] Freeing unused kernel memory: 140K (c069b000 - c06be000)
[ 1.237368] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.237501] Indeed it is in host mode hprt0 = 00001101
[ 1.416167] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[ 1.416188] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.416886] hub 1-1:1.0: USB hub found
[ 1.416990] hub 1-1:1.0: 3 ports detected
[ 1.695299] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.783622] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 1.783642] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.786397] smsc95xx v1.0.4
[ 1.803201] random: init urandom read with 84 bits of entropy available
[ 1.828795] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:9d:e5:ae
[ 1.903284] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[ 1.991826] usb 1-1.3: New USB device found, idVendor=abcd, idProduct=1234
[ 1.991848] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.991859] usb 1-1.3: Product: UDisk
[ 1.991868] usb 1-1.3: Manufacturer: General
[ 1.991878] usb 1-1.3: SerialNumber: 0711091638474229378113
[ 1.992616] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 2.023621] scsi host0: usb-storage 1-1.3:1.0
[ 2.418099] BTRFS info (device mmcblk0p2): disk space caching is enabled
[ 3.026241] scsi 0:0:0:0: Direct-Access General UDisk 5.00 PQ: 0 ANSI: 2
[ 3.028140] sd 0:0:0:0: [sda] 30720000 512-byte logical blocks: (15.7 GB/14.6 GiB)
[ 3.028907] sd 0:0:0:0: [sda] Write Protect is off
[ 3.028944] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
[ 3.029425] sd 0:0:0:0: [sda] No Caching mode page found
[ 3.029461] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 3.033032] sda: sda1 sda2
[ 3.040062] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 4.017347] random: nonblocking pool is initialized
[ 10.734250] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 12.394672] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
[ 12.504478] BTRFS info (device mmcblk0p2): disk space caching is enabled
[ 13.460143] init: xbian-failaccess main process (103) killed by TERM signal
[ 21.325619] init: failsafe main process (75) killed by TERM signal
[ 33.004045] systemd-udevd[1093]: starting version 215
[ 33.938118] bcm2708_rng_init=d83fe000
[ 35.490870] lirc_dev: IR Remote Control driver registered, major 243
[ 35.527317] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[ 35.537457] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 36.031457] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 36.443457] lirc_rpi: auto-detected active high receiver on GPIO pin 18
[ 36.443969] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 36.443989] lirc_rpi: driver registered!
[ 43.238607] input: lircd as /devices/virtual/input/input0
[ 75.989055] sched: RT throttling activated
[ 92.095984] init: wait-for-state (xbmcxbmc-loaded) main process (1464) killed by TERM signal
[ 94.385678] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 153.212168] init: wait-for-state (zram-swapxbmc-done) main process (1277) terminated with status 100
[ 169.124414] Adding 251388k swap on /dev/mmcblk0p3. Priority:0 extents:1 across:251388k SSFS
[ 169.655615] Adding 250876k swap on /dev/sda2. Priority:0 extents:1 across:250876k FS
[ 180.535317] init: failsafe-boot-started pre-start process (2048) terminated with status 1
[ 291.214429] init: failsafe-boot-started pre-start process (2849) terminated with status 1
[ 395.980001] init: failsafe-boot-started pre-start process (3486) terminated with status 1
[ 480.989025] systemd-logind[4074]: New seat seat0.
[ 481.074316] systemd-logind[4074]: Failed to start user service: Unknown unit: user@1000.service
[ 481.137156] systemd-logind[4074]: New session c1 of user xbian.
[ 500.792384] init: failsafe-boot-started pre-start process (4208) terminated with status 1
[ 605.766832] init: failsafe-boot-started pre-start process (4822) terminated with status 1
[ 710.744159] init: failsafe-boot-started pre-start process (5436) terminated with status 1
[ 815.350588] init: failsafe-boot-started pre-start process (6055) terminated with status 1


Is there any chance to get it back to work without setting it up from scratch? Undecided

I hope anyone answers, as for the last issue no one replied ... :-(

best wishes,
karanda


RE: Kodi won't start after sudo apt-get upgrade update - Foxy93 - 4th Nov, 2015 11:07 PM

Hi, up please ! I have exactly same problem as him..


RE: Kodi won't start after sudo apt-get upgrade update - narotic - 9th Nov, 2015 03:24 AM

(4th Nov, 2015 11:07 PM)Foxy93 Wrote:  Hi, up please ! I have exactly same problem as him..

First off, you may have more luck getting response if you raise this issue on github instead of the forum.

In any case, I also have this problem and I believe it's due to the changes to the init system in the latest xbian-update version 20151011-0. Could you see if it helps if you downgrade xbian-update to the previous version?

Code:
apt-get install xbian-update=20150919-1



RE: Kodi won't start after sudo apt-get upgrade update - karanda - 21st Nov, 2015 10:16 PM

(9th Nov, 2015 03:24 AM)narotic Wrote:  
(4th Nov, 2015 11:07 PM)Foxy93 Wrote:  Hi, up please ! I have exactly same problem as him..

First off, you may have more luck getting response if you raise this issue on github instead of the forum.

In any case, I also have this problem and I believe it's due to the changes to the init system in the latest xbian-update version 20151011-0. Could you see if it helps if you downgrade xbian-update to the previous version?

Code:
apt-get install xbian-update=20150919-1


I did a fresh set up and did not have the problem for some time ...

only now it occured again after the update, I suppose ... Undecided

best wishes,
thanks,
karanda