Thanks Mark for your suggestions. In this environment, the PVR (Personal Video Recorder?) and live TV seem to be intimately linked, but I don't see why they should be - they're entirely different things. Perhaps I have a misunderstanding here that, if removed, might clear my way to solving this. Why should cleaning the PVR database affect the live TV channels which Kodi knows about? Why does PVR manager start when I click TV in Lodi. Why do I need to wait for PVR manager to start before anything works? And why does it take so long to start? (just in case anyone knows and wants to tell me).
The long "PVR manager is starting up: 0%" is annoying and unexplained. Sometimes it never stops saying that and I must reboot. Why?
Anyway, I cleared the PVR database & rebooted. No change. No channels in Kodi.
Rebooted the RPi - twice. Still can't get past this PVR start-up message.
dmesg shows below. Anything helpful in tghere? I can't find it.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.29 (chewitt@buildbox) (gcc version 6.2.0 (GCC) ) #1 Thu May 25 02:51:38 BST 2017
[ 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] OF: fdt:Machine model: Raspberry Pi Zero W Rev 1.1
[ 0.000000] cma: Reserved 8 MiB at 0x15400000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 90112
[ 0.000000] free_area_init_node: node 0, pgdat 80935838, node_mem_map 95cd3e00
[ 0.000000] Normal zone: 792 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 90112 pages, LIFO batch:15
[ 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: 89320
[ 0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:93:D6:5E vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 quiet root=/dev/ram0 rdinit=/init BOOT_IMAGE=/kernel.img usbcore.autosuspend=-1
[ 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: 338760K/360448K available (5651K kernel code, 226K rwdata, 1252K rodata, 2264K init, 374K bss, 13496K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0x96800000 - 0xff800000 (1680 MB)
[ 0.000000] lowmem : 0x80000000 - 0x96000000 ( 352 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x8058d020 (5653 kB)
[ 0.000000] .init : 0x806c8000 - 0x808fe000 (2264 kB)
[ 0.000000] .data : 0x808fe000 - 0x80936a48 ( 227 kB)
[ 0.000000] .bss : 0x80936a48 - 0x80994568 ( 375 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000028] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000068] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000149] bcm2835: system timer (irq = 27)
[ 0.000518] Console: colour dummy device 80x30
[ 0.000537] console [tty0] enabled
[ 0.000566] Calibrating delay loop... 697.76 BogoMIPS (lpj=1161216)
[ 0.026922] pid_max: default: 32768 minimum: 301
[ 0.027135] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.027147] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.028029] Disabling cpuset control group subsystem
[ 0.028156] CPU: Testing write buffer coherency: ok
[ 0.028539] Setting up static identity map for 0x8200 - 0x8238
[ 0.030234] devtmpfs: initialized
[ 0.038163] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.038506] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 0.038531] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.039768] pinctrl core: initialized pinctrl subsystem
[ 0.041218] NET: Registered protocol family 16
[ 0.043597] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.052147] cpuidle: using governor ladder
[ 0.052161] cpuidle: using governor menu
[ 0.052727] Serial: AMBA PL011 UART driver
[ 0.055292] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[ 0.055937] uart-pl011 20201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[ 0.099867] bcm2835-dma 20007000.dma: DMA legacy API manager at 9680d000, dmachans=0x1
[ 0.102310] SCSI subsystem initialized
[ 0.102771] usbcore: registered new interface driver usbfs
[ 0.102881] usbcore: registered new interface driver hub
[ 0.103031] usbcore: registered new device driver usb
[ 0.104522] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-05-15 17:01
[ 0.106133] clocksource: Switched to clocksource timer
[ 0.124301] NET: Registered protocol family 2
[ 0.125340] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.125425] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.125519] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.125603] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.125627] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.125892] NET: Registered protocol family 1
[ 0.126571] RPC: Registered named UNIX socket transport module.
[ 0.126580] RPC: Registered udp transport module.
[ 0.126584] RPC: Registered tcp transport module.
[ 0.126588] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.347654] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.364226] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.367073] NFS: Registering the id_resolver key type
[ 0.367117] Key type id_resolver registered
[ 0.367123] Key type id_legacy registered
[ 0.367146] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.373431] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.373447] io scheduler noop registered (default)
[ 0.373453] io scheduler deadline registered
[ 0.373795] io scheduler cfq registered
[ 0.379910] BCM2708FB: allocated DMA memory 55500000
[ 0.379965] BCM2708FB: allocated DMA channel 0
9680d000
[ 0.422189] Console: switching to colour frame buffer device 228x61
[ 0.457003] bcm2835-rng 20104000.rng: hwrng registered
[ 0.457135] vc-cma: Videocore CMA driver
[ 0.457144] vc-cma: vc_cma_base = 0x00000000
[ 0.457151] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 0.457156] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 0.457468] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 0.482397] brd: module loaded
[ 0.482737] loop: module loaded
[ 0.488235] nbd: registered device at major 43
[ 0.503978] usbcore: registered new interface driver rtsx_usb
[ 0.503997] Loading iSCSI transport class v2.0-870.
[ 0.504752] iscsi: registered transport (tcp)
[ 0.505544] libphy: Fixed MDIO Bus: probed
[ 0.505555] tun: Universal TUN/TAP device driver, 1.6
[ 0.505559] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 0.506255] usbcore: registered new interface driver smsc95xx
[ 0.506323] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.732686] Core Release: 2.80a
[ 0.732715] Setting default values for core params
[ 0.732750] Finished setting default values for core params
[ 0.832800] random: fast init done
[ 0.933288] Using Buffer DMA mode
[ 0.933301] Periodic Transfer Interrupt Enhancement - disabled
[ 0.933305] Multiprocessor Interrupt Enhancement - disabled
[ 0.933314] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.933397] Dedicated Tx FIFOs mode
[ 0.933991] WARN::dwc_otg_hcd_init:1034: FIQ DMA bounce buffers: virt = 0x95514000 dma = 0x55514000 len=9024
[ 0.934021] FIQ FSM acceleration enabled for :
[ 0.934021] Non-periodic Split Transactions
[ 0.934021] Periodic Split Transactions
[ 0.934021] High-Speed Isochronous Endpoints
[ 0.934021] Interrupt/Control Split Transaction hack enabled
[ 0.934031] dwc_otg: Microframe scheduler enabled
[ 0.934116] WARN::hcd_init_fiq:459: FIQ on core 0 at 0x803efccc
[ 0.934132] WARN::hcd_init_fiq:460: FIQ ASM at 0x803effa8 length 36
[ 0.934160] WARN::hcd_init_fiq:486: MPHI regs_base at 0x968c1000
[ 0.934230] dwc_otg 20980000.usb: DWC OTG Controller
[ 0.934296] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[ 0.934369] dwc_otg 20980000.usb: irq 56, io mem 0x00000000
[ 0.934428] Init: Port Power? op_state=1
[ 0.934432] Init: Power Port (0)
[ 0.934775] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.934795] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.934806] usb usb1: Product: DWC OTG Controller
[ 0.934819] usb usb1: Manufacturer: Linux 4.9.29 dwc_otg_hcd
[ 0.934827] usb usb1: SerialNumber: 20980000.usb
[ 0.935970] hub 1-0:1.0: USB hub found
[ 0.936045] hub 1-0:1.0: 1 port detected
[ 0.937045] dwc_otg: FIQ enabled
[ 0.937053] dwc_otg: NAK holdoff enabled
[ 0.937057] dwc_otg: FIQ split-transaction FSM enabled
[ 0.937080] Module dwc_common_port init
[ 0.937568] usbcore: registered new interface driver usb-storage
[ 0.938038] mousedev: PS/2 mouse device common for all mice
[ 0.938321] i2c /dev entries driver
[ 0.940582] bcm2835-wdt 20100000.watchdog: Broadcom BCM2835 watchdog timer
[ 0.941006] bcm2835-cpufreq: min=700000 max=1000000
[ 0.941637] sdhci: Secure Digital Host Controller Interface driver
[ 0.941644] sdhci: Copyright(c) Pierre Ossman
[ 0.942097] sdhost-bcm2835 20202000.sdhost: could not get clk, deferring probe
[ 0.944619] mmc-bcm2835 20300000.mmc: could not get clk, deferring probe
[ 0.944806] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.945334] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.945490] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.948371] usbcore: registered new interface driver usbhid
[ 0.948382] usbhid: USB HID core driver
[ 0.949413] vchiq: vchiq_init_state: slot_zero = 0x95580000, is_master = 0
[ 0.952544] NET: Registered protocol family 10
[ 0.954876] NET: Registered protocol family 17
[ 0.955026] Key type dns_resolver registered
[ 0.956938] vc-sm: Videocore shared memory driver
[ 0.956955] [vc_sm_connected_init]: start
[ 0.960295] [vc_sm_connected_init]: end - returning 0
[ 0.967465] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 0.969293] sdhost: log_buf
95513000 (55513000)
[ 1.022844] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 1.025189] mmc-bcm2835 20300000.mmc: mmc_debug:0 mmc_debug2:0
[ 1.025199] mmc-bcm2835 20300000.mmc: DMA channel allocated
[ 1.076281] console [netcon0] enabled
[ 1.076287] netconsole: network logging started
[ 1.076295] of_cfs_init
[ 1.076387] of_cfs_init: OK
[ 1.083600] Freeing unused kernel memory: 2264K (806c8000 - 808fe000)
[ 1.083611] This architecture does not have kernel memory protection.
[ 1.096872] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.098972] mmc0: new high speed SDHC card at address 0007
[ 1.104015] mmcblk0: mmc0:0007 SD32G 29.0 GiB
[ 1.105987] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.106502] mmcblk0: p1 p2
[ 1.108389] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.110114] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.113226] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.146367] Indeed it is in host mode hprt0 = 00021501
[ 1.284658] mmc1: new high speed SDIO card at address 0001
[ 1.399546] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.399719] Indeed it is in host mode hprt0 = 00001101
[ 1.590063] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
[ 1.590081] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.590088] usb 1-1: Product: USB 2.0 Hub
[ 1.590958] hub 1-1:1.0: USB hub found
[ 1.591078] hub 1-1:1.0: 4 ports detected
[ 1.869528] usb 1-1.2: new high-speed USB device number 3 using dwc_otg
[ 1.976567] usb 1-1.2: config 1 interface 0 altsetting 0 bulk endpoint 0x86 has invalid maxpacket 188
[ 1.977168] usb 1-1.2: language id specifier not provided by device, defaulting to English
[ 1.979185] usb 1-1.2: New USB device found, idVendor=0572, idProduct=c688
[ 1.979199] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.069526] usb 1-1.4: new low-speed USB device number 4 using dwc_otg
[ 2.180674] usb 1-1.4: New USB device found, idVendor=192f, idProduct=0916
[ 2.180690] usb 1-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 2.180697] usb 1-1.4: Product: USB Optical Mouse
[ 2.189560] input: USB Optical Mouse as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:192F:0916.0001/input/input0
[ 2.190306] hid-generic 0003:192F:0916.0001: input,hidraw0: USB HID v1.11 Mouse [USB Optical Mouse] on usb-20980000.usb-1.4/input0
[ 2.988048] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[ 2.989178] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[ 3.101389] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 3.776227] systemd[1]: System time before build time, advancing clock.
[ 3.813108] systemd[1]: systemd 232 running in system mode. (-PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK -SYSVINIT -UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL -XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[ 3.813948] systemd[1]: Detected architecture arm.
[ 3.814442] systemd[1]: Set hostname to <LibreELEC>.
[ 4.072588] systemd[1]: Listening on Journal Socket.
[ 4.073769] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 4.076320] systemd[1]: Created slice User and Session Slice.
[ 4.077538] systemd[1]: Created slice System Slice.
[ 4.078004] systemd[1]: dev-hugepages.mount: Couldn't determine result for ConditionVirtualization=!private-users, assuming failed: No such file or directory
[ 4.078256] systemd[1]: Reached target Slices.
[ 4.083761] systemd[1]: Starting Mounting swapfile...
[ 5.670287] systemd-journald[189]: Received request to flush runtime journal from PID 1
[ 7.359953] random: crng init done
[ 10.202554] Console: switching to colour dummy device 80x30
[ 11.170712] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[ 11.705659] rc_core: loading out-of-tree module taints kernel.
[ 11.711477] WARNING: You are using an experimental version of the media stack.
[ 11.711477] As the driver is backported to an older kernel, it doesn't offer
[ 11.711477] enough quality for its usage in production.
[ 11.711477] Use it with care.
[ 11.711477] Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):
[ 11.711477] a02ff2e02bee64e9955dbfd8811874c3f3880f58 cx231xx: Fix TBS MAC reading.
[ 11.863299] WARNING: You are using an experimental version of the media stack.
[ 11.863299] As the driver is backported to an older kernel, it doesn't offer
[ 11.863299] enough quality for its usage in production.
[ 11.863299] Use it with care.
[ 11.863299] Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):
[ 11.863299] a02ff2e02bee64e9955dbfd8811874c3f3880f58 cx231xx: Fix TBS MAC reading.
[ 11.939851] usbcore: registered new interface driver brcmfmac
[ 12.095850] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state.
[ 12.336682] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 12.336900] dvbdev: DVB: registering new adapter (Mygica T230 DVB-T/T2/C)
[ 12.357221] brcmfmac: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
[ 12.630995] i2c i2c-3: Added multiplexed i2c bus 4
[ 12.631020] si2168 3-0064: Silicon Labs Si2168-B40 successfully identified
[ 12.631029] si2168 3-0064: firmware version: B 4.0.2
[ 12.780235] si2157 4-0060: Silicon Labs Si2147/2148/2157/2158 successfully attached
[ 12.780307] usb 1-1.2: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)...
[ 12.781212] input: IR-receiver inside an USB DVB receiver as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/input/input1
[ 12.781526] dvb-usb: schedule remote query interval to 100 msecs.
[ 12.781657] dvb-usb: Mygica T230 DVB-T/T2/C successfully initialized and connected.
[ 12.781847] usbcore: registered new interface driver dvb_usb_cxusb
[ 15.281819] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 15.281837] brcmfmac: power management disabled
[ 16.078289] uart-pl011 20201000.serial: no DMA platform data
[ 16.600571] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 21.332865] Bluetooth: Core ver 2.22
[ 21.333064] NET: Registered protocol family 31
[ 21.333070] Bluetooth: HCI device and connection manager initialized
[ 21.333097] Bluetooth: HCI socket layer initialized
[ 21.333112] Bluetooth: L2CAP socket layer initialized
[ 21.335260] Bluetooth: SCO socket layer initialized
[ 21.395292] Bluetooth: HCI UART driver ver 2.3
[ 21.395310] Bluetooth: HCI UART protocol H4 registered
[ 21.395314] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 21.395550] Bluetooth: HCI UART protocol Broadcom registered
PVR:~ #