4 4
TonyMac32

Le Potato general topics

Recommended Posts

@Neil Armstrong I found the audio crash/hang issue, Jerome put in the fix due to the divider being base 1, which got audio working again.  The CPU frequency errors are still present however: 

 

cpufreq: __target_index: Failed to change cpu frequency: -5

Share this post


Link to post
Share on other sites
(edited)

... and I have another gem I hadn't noticed before:

Spoiler

 


[47496.988527] WARNING: CPU: 3 PID: 3343 at drivers/gpu/drm/meson/meson_crtc.c:140 meson_crtc_atomic_begin+0x64/0x70 [meson_drm]
[47496.988539] Modules linked in: overlay fuse lz4 lz4_compress zram zsmalloc snd_soc_simple_card snd_soc_simple_card_utils snd_soc_meson_i2s_dai snd_soc_mes                                                                                                                                                                on_aiu_i2s_dma snd_soc_hdmi_codec snd_soc_core snd_pcm_dmaengine snd_pcm meson_ir meson_rng snd_timer rc_core rng_core scpi_hwmon snd soundcore snd_soc_meson                                                                                                                                                                _audio_core meson_gxbb_wdt dw_hdmi_cec dw_hdmi_i2s_audio meson_dw_hdmi meson_drm dw_hdmi cec drm_kms_helper drm drm_panel_orientation_quirks
[47496.988676] CPU: 3 PID: 3343 Comm: Xorg Tainted: G        W         4.17.4-meson64 #11
[47496.988682] Hardware name: Libre Technology CC (DT)
[47496.988692] pstate: 40000005 (nZcv daif -PAN -UAO)
[47496.988713] pc : meson_crtc_atomic_begin+0x64/0x70 [meson_drm]
[47496.988733] lr : meson_crtc_atomic_begin+0x20/0x70 [meson_drm]
[47496.988738] sp : ffff0000101fba30
[47496.988743] x29: ffff0000101fba30 x28: ffff80006f3c5e00
[47496.988756] x27: ffff80006708b600 x26: ffff80006ec2b878
[47496.988768] x25: ffff80006ec2b818 x24: ffff8000591cba00
[47496.988781] x23: 0000000000000030 x22: 0000000000000000
[47496.988792] x21: 0000000000000000 x20: 0000000000000001
[47496.988804] x19: ffff80006ec2b818 x18: 0000000000000000
[47496.988816] x17: 0000ffffb8d35290 x16: ffff000008255c40
[47496.988828] x15: 0000000000000002 x14: 0000046500000441
[47496.988840] x13: 0000043c00000465 x12: 0000043800000438
[47496.988852] x11: 0000000000000898 x10: 00000804000007d8
[47496.988864] x9 : ffff000008e39d08 x8 : ffff000000ade000
[47496.988876] x7 : 0000000000000000 x6 : ffff80006ec12558
[47496.988888] x5 : 00000000000039de x4 : 0000000000000000
[47496.988899] x3 : 0000000000000000 x2 : 0000000000000031
[47496.988911] x1 : ffff80006708b600 x0 : 00000000ffffffea
[47496.988923] Call trace:
[47496.988945]  meson_crtc_atomic_begin+0x64/0x70 [meson_drm]
[47496.989045]  drm_atomic_helper_commit_planes+0x70/0x208 [drm_kms_helper]
[47496.989128]  drm_atomic_helper_commit_tail+0x30/0x70 [drm_kms_helper]
[47496.989211]  commit_tail+0x74/0x78 [drm_kms_helper]
[47496.989294]  drm_atomic_helper_commit+0xe8/0x168 [drm_kms_helper]
[47496.989495]  drm_atomic_commit+0x48/0x58 [drm]
[47496.989575]  drm_atomic_helper_set_config+0x84/0xc0 [drm_kms_helper]
[47496.989741]  __drm_mode_set_config_internal+0x64/0xf8 [drm]
[47496.989902]  drm_mode_setcrtc+0x2c0/0x538 [drm]
[47496.990060]  drm_ioctl_kernel+0x6c/0xe8 [drm]
[47496.990220]  drm_ioctl+0x1a4/0x3e8 [drm]
[47496.990237]  do_vfs_ioctl+0xb8/0x8d8
[47496.990246]  ksys_ioctl+0x80/0xb8
[47496.990253]  sys_ioctl+0xc/0x18
[47496.990264]  el0_svc_naked+0x30/0x34
[47496.990272] ---[ end trace 1f4e0d90a15644ef ]---
[47496.990768] WARNING: CPU: 0 PID: 1854 at drivers/gpu/drm/drm_vblank.c:1026 drm_vblank_put+0xa0/0xb8 [drm]
[47496.990781] Modules linked in: overlay fuse lz4 lz4_compress zram zsmalloc snd_soc_simple_card snd_soc_simple_card_utils snd_soc_meson_i2s_dai snd_soc_mes                                                                                                                                                                on_aiu_i2s_dma snd_soc_hdmi_codec snd_soc_core snd_pcm_dmaengine snd_pcm meson_ir meson_rng snd_timer rc_core rng_core scpi_hwmon snd soundcore snd_soc_meson                                                                                                                                                                _audio_core meson_gxbb_wdt dw_hdmi_cec dw_hdmi_i2s_audio meson_dw_hdmi meson_drm dw_hdmi cec drm_kms_helper drm drm_panel_orientation_quirks
[47496.990937] CPU: 0 PID: 1854 Comm: in:imklog Tainted: G        W         4.17.4-meson64 #11
[47496.990949] Hardware name: Libre Technology CC (DT)
[47496.990958] pstate: 20000085 (nzCv daIf -PAN -UAO)
[47496.991133] pc : drm_vblank_put+0xa0/0xb8 [drm]
[47496.991299] lr : drm_crtc_vblank_put+0x18/0x20 [drm]
[47496.991309] sp : ffff000008003df0
[47496.991314] x29: ffff000008003df0 x28: ffff8000713cc380
[47496.991327] x27: 0000000000000001 x26: ffff000008caf9e8
[47496.991339] x25: ffff000008ebe38a x24: ffff8000712f4800
[47496.991351] x23: 000000000000001f x22: 0000000000000080
[47496.991363] x21: ffff80006ec2b818 x20: ffff000008e39000
[47496.991375] x19: ffff80006ec67118 x18: ffffffffffffffff
[47496.991388] x17: 0000ffffab91ef68 x16: ffff000008258da8
[47496.991400] x15: ffff000008e39d08 x14: ffff8000d7216002
[47496.991417] x13: ffff800057216010 x12: 302b6e696765625f
[47496.991429] x11: 0000000005f5e0ff x10: 0000000000000040
[47496.991440] x9 : ffff000008e53728 x8 : 0000000040000000
[47496.991452] x7 : 0000000000210d00 x6 : 0000000000000004
[47496.991464] x5 : ffff000000a9be48 x4 : 0000000000000001
[47496.991475] x3 : 0000000000000160 x2 : 0000000000000000
[47496.991487] x1 : ffff80006ec12400 x0 : ffff80006ec2a000
[47496.991499] Call trace:
[47496.991665]  drm_vblank_put+0xa0/0xb8 [drm]
[47496.991835]  drm_crtc_vblank_put+0x18/0x20 [drm]
[47496.991859]  meson_crtc_irq+0x70/0x188 [meson_drm]
[47496.991882]  meson_irq+0x20/0x30 [meson_drm]
[47496.991903]  __handle_irq_event_percpu+0x5c/0x148
[47496.991913]  handle_irq_event_percpu+0x34/0x88
[47496.991923]  handle_irq_event+0x48/0x78
[47496.991933]  handle_fasteoi_irq+0xa8/0x180
[47496.991942]  generic_handle_irq+0x24/0x38
[47496.991952]  __handle_domain_irq+0x5c/0xb0
[47496.991961]  gic_handle_irq+0x58/0xa8
[47496.991969]  el1_irq+0xb0/0x128
[47496.991979]  do_syslog+0x2b8/0x550
[47496.991990]  kmsg_read+0x48/0x60
[47496.992000]  proc_reg_read+0x5c/0x90
[47496.992012]  __vfs_read+0x18/0x38
[47496.992026]  vfs_read+0x90/0x168
[47496.992035]  ksys_read+0x60/0xd8
[47496.992043]  sys_read+0xc/0x18
[47496.992052]  el0_svc_naked+0x30/0x34
[47496.992058] ---[ end trace 1f4e0d90a15644f0 ]---

It hasn't crashed X or anything, probably why I didn't note it before, I decided to spit out the dmesg after a night of running to see if I got more cpufreq errors.  It would seem that the errors are occurring at boot time, but not thereafter, frequency scaling is working fine.

Edited by Tido
added spoiler

Share this post


Link to post
Share on other sites

Working on the C2 and K2 to add software spi to the typical SPI0 position on the RPI-compatible header, should this also be done with Le Potato?  I personally don't see why not, as long as no one happens to have dedicated a lot of time and resources to using specifically those pins for non-spi activities...

Share this post


Link to post
Share on other sites
1 hour ago, constantius said:

After reboot i see only black screen.


System is running, desktop too but nothing is on the screen ... but after a while 

[  453.624128] random: crng init done
[  453.624143] random: 7 urandom warning(s) missed due to ratelimiting
[  454.842413] fuse init (API version 7.27)

screen is back. 
 

Spoiler

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.18.14-meson64 (root@armbian.com) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #30 SMP PREEMPT Mon Oct 15 19:34:37 CEST 2018
[    0.000000] Machine model: Libre Technology CC
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000071800000, size 188 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] On node 0 totalpages: 518912
[    0.000000]   DMA32 zone: 8128 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 518912 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] random: get_random_bytes called from start_kernel+0xa8/0x400 with crng_init=0
[    0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s55640 r8192 d30376 u94208
[    0.000000] pcpu-alloc: s55640 r8192 d30376 u94208 alloc=23*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 510784
[    0.000000] Kernel command line: root=UUID=3658d763-7af3-48e8-b825-ff64999b7f83 rootwait rootflags=data=writeback rw rootfstype=ext4 console=ttyAML0,115200n8 console=tty1 no_console_suspend consoleblank=0 fsck.repair=yes loglevel=1 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u  
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 1823164K/2075648K available (10430K kernel code, 680K rwdata, 3080K rodata, 576K init, 394K bss, 59972K reserved, 192512K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] irq_meson_gpio: 110 to 8 gpio interrupt mux initialized
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000325] Console: colour dummy device 80x25
[    0.000333] console [tty1] enabled
[    0.000348] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.000355] pid_max: default: 32768 minimum: 301
[    0.000422] Security Framework initialized
[    0.000429] AppArmor: AppArmor disabled by boot time parameter
[    0.000464] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000474] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.007036] ASID allocator initialised with 32768 entries
[    0.009023] Hierarchical SRCU implementation.
[    0.013053] smp: Bringing up secondary CPUs ...
[    0.021254] Detected VIPT I-cache on CPU1
[    0.021300] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.029291] Detected VIPT I-cache on CPU2
[    0.029328] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.037337] Detected VIPT I-cache on CPU3
[    0.037372] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.037434] smp: Brought up 1 node, 4 CPUs
[    0.037438] SMP: Total of 4 processors activated.
[    0.037442] CPU features: detected: 32-bit EL0 Support
[    0.040544] CPU: All CPU(s) started at EL2
[    0.040556] alternatives: patching kernel code
[    0.041249] devtmpfs: initialized
[    0.045136] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.045148] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.049645] xor: measuring software checksum speed
[    0.059078]    8regs     :  2304.000 MB/sec
[    0.069099]    8regs_prefetch:  2052.000 MB/sec
[    0.079126]    32regs    :  2832.000 MB/sec
[    0.089152]    32regs_prefetch:  2380.000 MB/sec
[    0.089155] xor: using function: 32regs (2832.000 MB/sec)
[    0.089218] pinctrl core: initialized pinctrl subsystem
[    0.090134] NET: Registered protocol family 16
[    0.090514] audit: initializing netlink subsys (disabled)
[    0.090619] audit: type=2000 audit(0.088:1): state=initialized audit_enabled=0 res=1
[    0.091295] cpuidle: using governor menu
[    0.091511] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.091527] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.094167] DMA: preallocated 2048 KiB pool for atomic allocations
[    0.094291] Serial: AMBA PL011 UART driver
[    0.107531] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.107829] cryptd: max_cpu_qlen set to 1000
[    0.125131] raid6: int64x1  gen()   480 MB/s
[    0.141543] raid6: int64x1  xor()   443 MB/s
[    0.158679] raid6: int64x2  gen()   730 MB/s
[    0.175735] raid6: int64x2  xor()   615 MB/s
[    0.192780] raid6: int64x4  gen()  1089 MB/s
[    0.209865] raid6: int64x4  xor()   777 MB/s
[    0.226907] raid6: int64x8  gen()  1003 MB/s
[    0.243988] raid6: int64x8  xor()   757 MB/s
[    0.261072] raid6: neonx1   gen()   765 MB/s
[    0.278129] raid6: neonx1   xor()   869 MB/s
[    0.295189] raid6: neonx2   gen()  1230 MB/s
[    0.312270] raid6: neonx2   xor()  1236 MB/s
[    0.329349] raid6: neonx4   gen()  1589 MB/s
[    0.346414] raid6: neonx4   xor()  1482 MB/s
[    0.363500] raid6: neonx8   gen()  1726 MB/s
[    0.380544] raid6: neonx8   xor()  1570 MB/s
[    0.380547] raid6: using algorithm neonx8 gen() 1726 MB/s
[    0.380549] raid6: .... xor() 1570 MB/s, rmw enabled
[    0.380552] raid6: using neon recovery algorithm
[    0.382173] SCSI subsystem initialized
[    0.382409] usbcore: registered new interface driver usbfs
[    0.382449] usbcore: registered new interface driver hub
[    0.382520] usbcore: registered new device driver usb
[    0.383016] pps_core: LinuxPPS API ver. 1 registered
[    0.383020] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.383045] PTP clock support registered
[    0.384092] clocksource: Switched to clocksource arch_sys_counter
[    0.384229] VFS: Disk quotas dquot_6.6.0
[    0.384275] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.389980] NET: Registered protocol family 2
[    0.390401] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)
[    0.390430] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.390533] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.390726] TCP: Hash tables configured (established 16384 bind 16384)
[    0.390823] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.390863] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.391015] NET: Registered protocol family 1
[    0.391353] RPC: Registered named UNIX socket transport module.
[    0.391357] RPC: Registered udp transport module.
[    0.391359] RPC: Registered tcp transport module.
[    0.391361] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.391508] Trying to unpack rootfs image as initramfs...
[    0.728898] Freeing initrd memory: 8284K
[    0.729542] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.729783] kvm [1]: 8-bit VMID
[    0.730400] kvm [1]: vgic interrupt IRQ1
[    0.730489] kvm [1]: Hyp mode initialized successfully
[    0.734052] Initialise system trusted keyrings
[    0.734191] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.738476] zbud: loaded
[    0.740537] NFS: Registering the id_resolver key type
[    0.740558] Key type id_resolver registered
[    0.740560] Key type id_legacy registered
[    0.740569] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.740572] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.741560] JFS: nTxBlock = 8192, nTxLock = 65536
[    0.745332] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    0.750709] Key type asymmetric registered
[    0.750716] Asymmetric key parser 'x509' registered
[    0.750804] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.750906] io scheduler noop registered
[    0.750909] io scheduler deadline registered
[    0.751045] io scheduler cfq registered (default)
[    0.751050] io scheduler mq-deadline registered
[    0.751052] io scheduler kyber registered
[    0.751181] io scheduler bfq registered
[    0.760505] soc soc0: Amlogic Meson GXL (S905X) Revision 21:b (82:2) Detected
[    0.763891] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.765240] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 12, base_baud = 1500000) is a meson_uart
[    0.765284] console [ttyAML0] enabled
[    0.768613] brd: module loaded
[    0.773149] loop: module loaded
[    0.774259] libphy: Fixed MDIO Bus: probed
[    0.774294] tun: Universal TUN/TAP device driver, 1.6
[    0.774831] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[    0.774840] meson8b-dwmac c9410000.ethernet: no reset control found
[    0.775211] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[    0.775219] meson8b-dwmac c9410000.ethernet:         DWMAC1000
[    0.775224] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[    0.775228] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[    0.775232] meson8b-dwmac c9410000.ethernet: COE Type 2
[    0.775235] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[    0.775239] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[    0.775273] meson8b-dwmac c9410000.ethernet: Normal descriptors
[    0.775277] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[    0.775282] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    0.775395] libphy: stmmac: probed
[    0.776491] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.776497] ehci-platform: EHCI generic platform driver
[    0.776605] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.776626] ohci-platform: OHCI generic platform driver
[    0.776956] usbcore: registered new interface driver usb-storage
[    0.777995] mousedev: PS/2 mouse device common for all mice
[    0.778375] i2c /dev entries driver
[    0.779315] sdhci: Secure Digital Host Controller Interface driver
[    0.779319] sdhci: Copyright(c) Pierre Ossman
[    0.779339] Synopsys Designware Multimedia Card Interface Driver
[    0.780526] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[    0.808105] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.809207] ledtrig-cpu: registered to indicate activity on CPUs
[    0.809708] meson-sm: secure-monitor enabled
[    0.810047] usbcore: registered new interface driver usbhid
[    0.810052] usbhid: USB HID core driver
[    0.810293] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
[    0.812925] meson-gx-mmc d0074000.mmc: no support for card's volts
[    0.812933] mmc0: error -22 whilst initialising SDIO card
[    0.813100] NET: Registered protocol family 10
[    0.814156] Segment Routing with IPv6
[    0.814262] NET: Registered protocol family 17
[    0.814317] Key type dns_resolver registered
[    0.815009] meson-gx-mmc d0074000.mmc: no support for card's volts
[    0.815017] mmc0: error -22 whilst initialising MMC card
[    0.815123] registered taskstats version 1
[    0.815127] Loading compiled-in X.509 certificates
[    0.815212] zswap: loaded using pool lzo/zbud
[    0.816297] Btrfs loaded, crc32c=crc32c-generic
[    0.822226] Key type encrypted registered
[    0.829630] libphy: mdio_mux: probed
[    0.832616] libphy: mdio_mux: probed
[    0.833230] meson-gx-mmc d0072000.mmc: Got CD GPIO
[    0.860304] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware
[    0.864040] hctosys: unable to open rtc device (rtc0)
[    0.865474] VDDIO_BOOT: disabling
[    0.865781] Freeing unused kernel memory: 576K
[    0.900446] mmc1: new high speed SDHC card at address 0001
[    0.901489] mmcblk1: mmc1:0001 EB1QT 29.8 GiB 
[    0.904213]  mmcblk1: p1
[    1.104148] meson-drm d0100000.vpu: Queued 3 outputs on vpu
[    1.106303] meson-drm d0100000.vpu: Failed to create d0100000.vpu debugfs directory
[    1.106331] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.106333] [drm] No driver support for vblank timestamp query.
[    1.130194] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[    1.131583] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[    1.131930] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops [meson_dw_hdmi])
[    1.143419] dwc3 c9000000.dwc3: Failed to get clk 'ref': -2
[    1.146248] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    1.146277] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
[    1.147422] xhci-hcd xhci-hcd.2.auto: hcc params 0x0228f664 hci version 0x100 quirks 0x0000000002010010
[    1.147474] xhci-hcd xhci-hcd.2.auto: irq 34, io mem 0xc9000000
[    1.147673] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
[    1.147677] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.147681] usb usb1: Product: xHCI Host Controller
[    1.147684] usb usb1: Manufacturer: Linux 4.18.14-meson64 xhci-hcd
[    1.147688] usb usb1: SerialNumber: xhci-hcd.2.auto
[    1.148101] hub 1-0:1.0: USB hub found
[    1.148129] hub 1-0:1.0: 2 ports detected
[    1.148659] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    1.148674] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
[    1.148685] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0  SuperSpeed
[    1.148739] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.148807] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.18
[    1.148811] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.148815] usb usb2: Product: xHCI Host Controller
[    1.148818] usb usb2: Manufacturer: Linux 4.18.14-meson64 xhci-hcd
[    1.148822] usb usb2: SerialNumber: xhci-hcd.2.auto
[    1.149239] hub 2-0:1.0: USB hub found
[    1.149267] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    1.181515] random: fast init done
[    1.246972] [drm] kms: can't enable cloning when we probably wanted to.
[    1.416856] Console: switching to colour frame buffer device 240x67
[    1.466879] meson-drm d0100000.vpu: fb0:  frame buffer device
[    1.472603] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 0
[    1.480160] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    1.607699] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=32.98
[    1.607729] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.607748] usb 1-1: Product: USB2.0 Hub
[    1.661430] hub 1-1:1.0: USB hub found
[    1.661760] hub 1-1:1.0: 4 ports detected
[    1.870977] EXT4-fs (mmcblk1p1): mounted filesystem with writeback data mode. Opts: data=writeback
[    2.649606] [drm] kms: can't enable cloning when we probably wanted to.
[    2.659148] systemd[1]: System time before build time, advancing clock.
[    2.721568] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    2.722249] systemd[1]: Detected architecture arm64.
[    2.733561] systemd[1]: Set hostname to <lepotato>.
[    3.415867] random: systemd: uninitialized urandom read (16 bytes read)
[    3.415928] systemd[1]: Reached target User and Group Name Lookups.
[    3.417068] random: systemd: uninitialized urandom read (16 bytes read)
[    3.417913] systemd[1]: Created slice System Slice.
[    3.418644] random: systemd: uninitialized urandom read (16 bytes read)
[    3.418707] systemd[1]: Reached target System Time Synchronized.
[    3.419524] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.420278] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.421204] systemd[1]: Listening on Journal Audit Socket.
[    3.421751] systemd[1]: Started ntp-systemd-netif.path.
[    3.516761] EXT4-fs (mmcblk1p1): re-mounted. Opts: commit=600,errors=remount-ro
[    3.604132] systemd-journald[1132]: Received request to flush runtime journal from PID 1
[    4.157667] meson-audio-core c1105400.audio: Failed to create c1105400.audio debugfs directory
[    4.184966] Registered IR keymap rc-empty
[    4.185064] rc rc0: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0
[    4.186252] input: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0/input0
[    4.186758] meson-ir c8100580.ir: receiver initialized
[    4.288379] zram: Added device: zram0
[    4.288781] zram: Added device: zram1
[    4.289278] zram: Added device: zram2
[    4.289675] zram: Added device: zram3
[    4.290121] zram: Added device: zram4
[    4.290533] zram: Added device: zram5
[    4.403422] zram1: detected capacity change from 0 to 259141632
[   37.434467] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   37.492237] Meson GXL Internal PHY 0.e40908ff:08: attached PHY driver [Meson GXL Internal PHY] (mii_bus:phy_addr=0.e40908ff:08, irq=33)
[   37.503746] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   37.503759] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   37.504196] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   38.905352] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[   38.905400] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  430.283547] random: crng init done
[  430.283561] random: 7 urandom warning(s) missed due to ratelimiting
[  431.517077] fuse init (API version 7.27)

 


while Debian based desktop works just fine. It looks like upstream troubles.

Share this post


Link to post
Share on other sites

yes i can confirm that Armbian 5.59 based on Debian Stretch kernel 4.14 is running well.

on my la potato screen is black after reboot. System is booting but not to the desktop environment or even to the console. I installed lightdm but nothing help.

Share this post


Link to post
Share on other sites

@Neil Armstrong I feel like I've seen this before, in the post from igor I see

 

Spoiler

[   28.244501] WARNING: CPU: 0 PID: 1069 at drivers/gpu/drm/meson/meson_crtc.c:140 meson_crtc_atomic_begin+0x64/0x70 [meson_drm]
[   28.244519] Modules linked in: snd_soc_simple_card snd_soc_hdmi_codec snd_soc_simple_card_utils snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer snd soundcore meson_rng rng_core meson_ir rc_core ao_cec snd_soc_meson_audio_core meson_gxbb_wdt scpi_hwmon nvmem_meson_efuse zram zsmalloc sch_fq_codel ip_tables x_tables dw_hdmi_i2s_audio dw_hdmi_cec dwc3 meson_dw_hdmi dw_hdmi meson_drm cec drm_kms_helper drm dwc3_of_simple drm_panel_orientation_quirks
[   28.244823] CPU: 0 PID: 1069 Comm: irq/32-dw_hdmi_ Not tainted 4.18.14-meson64 #30
[   28.244833] Hardware name: Libre Technology CC (DT)
[   28.244852] pstate: 40000005 (nZcv daif -PAN -UAO)
[   28.244895] pc : meson_crtc_atomic_begin+0x64/0x70 [meson_drm]
[   28.244934] lr : meson_crtc_atomic_begin+0x20/0x70 [meson_drm]
[   28.244944] sp : ffff00000ae83a70
[   28.244955] x29: ffff00000ae83a70 x28: 0000000000000000 
[   28.244982] x27: 0000000000000001 x26: ffff80006eab8a80 
[   28.245007] x25: 0000000000000048 x24: ffff80006ec1d000 
[   28.245033] x23: 0000000000000030 x22: 0000000000000000 
[   28.245058] x21: 0000000000000000 x20: 0000000000000001 
[   28.245083] x19: ffff80006ec1f018 x18: 00000000000070d8 
[   28.245108] x17: 00000000000070d0 x16: 00000000000070c8 
[   28.245133] x15: 00000000000070c4 x14: 000002710000024a 
[   28.245158] x13: 0000024500000271 x12: 0000024000000240 
[   28.245184] x11: 0000000000000360 x10: 0000031c000002dc 
[   28.245209] x9 : 00000360000002d0 x8 : 0000000000000000 
[   28.245234] x7 : 0000000100000000 x6 : ffff800070829808 
[   28.245258] x5 : 0000000000000000 x4 : 0000000000000000 
[   28.245282] x3 : 0000000000000000 x2 : 0000000000000013 
[   28.245307] x1 : ffff8000708372c0 x0 : 00000000ffffffea 
[   28.245332] Call trace:
[   28.245373]  meson_crtc_atomic_begin+0x64/0x70 [meson_drm]
[   28.245520]  drm_atomic_helper_commit_planes+0x70/0x208 [drm_kms_helper]
[   28.245563]  drm_atomic_helper_commit_tail+0x30/0x70 [drm_kms_helper]
[   28.245604]  commit_tail+0x74/0x78 [drm_kms_helper]
[   28.245645]  drm_atomic_helper_commit+0xe8/0x168 [drm_kms_helper]
[   28.245758]  drm_atomic_commit+0x48/0x58 [drm]
[   28.245799]  restore_fbdev_mode_atomic+0x1b4/0x248 [drm_kms_helper]
[   28.245840]  restore_fbdev_mode+0x24/0x178 [drm_kms_helper]
[   28.245881]  drm_fb_helper_restore_fbdev_mode_unlocked+0x70/0xe8 [drm_kms_helper]
[   28.245923]  drm_fb_helper_set_par+0x2c/0x58 [drm_kms_helper]
[   28.245965]  drm_fb_helper_hotplug_event.part.27+0xb0/0xc0 [drm_kms_helper]
[   28.246006]  drm_fb_helper_hotplug_event+0x34/0x40 [drm_kms_helper]
[   28.246046]  drm_fbdev_cma_hotplug_event+0x10/0x20 [drm_kms_helper]
[   28.246058]  meson_fb_output_poll_changed+0x14/0x20 [meson_drm]
[   28.246098]  drm_kms_helper_hotplug_event+0x28/0x38 [drm_kms_helper]
[   28.246138]  drm_helper_hpd_irq_event+0x12c/0x160 [drm_kms_helper]
[   28.246146]  dw_hdmi_top_thread_irq+0x34/0x50 [meson_dw_hdmi]
[   28.246158]  irq_thread_fn+0x28/0x68
[   28.246163]  irq_thread+0x138/0x1c8
[   28.246170]  kthread+0x128/0x130
[   28.246176]  ret_from_fork+0x10/0x18
[   28.246180] ---[ end trace 49e225ce37d2c979 ]---
[   28.264558] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/drm_vblank.c:1026 drm_vblank_put+0xa0/0xb8 [drm]
[   28.264568] Modules linked in: snd_soc_simple_card snd_soc_hdmi_codec snd_soc_simple_card_utils snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer snd soundcore meson_rng rng_core meson_ir rc_core ao_cec snd_soc_meson_audio_core meson_gxbb_wdt scpi_hwmon nvmem_meson_efuse zram zsmalloc sch_fq_codel ip_tables x_tables dw_hdmi_i2s_audio dw_hdmi_cec dwc3 meson_dw_hdmi dw_hdmi meson_drm cec drm_kms_helper drm dwc3_of_simple drm_panel_orientation_quirks
[   28.264718] CPU: 0 PID: 1 Comm: systemd Tainted: G        W         4.18.14-meson64 #30
[   28.264724] Hardware name: Libre Technology CC (DT)
[   28.264733] pstate: 20000085 (nzCv daIf -PAN -UAO)
[   28.264903] pc : drm_vblank_put+0xa0/0xb8 [drm]
[   28.265069] lr : drm_crtc_vblank_put+0x18/0x20 [drm]
[   28.265075] sp : ffff000008003df0
[   28.265080] x29: ffff000008003df0 x28: ffff800005368000 
[   28.265093] x27: 0000000000000001 x26: ffff000008ccf448 
[   28.265106] x25: ffff000008edf28a x24: ffff800070ed4c00 
[   28.265119] x23: 000000000000001f x22: 0000000000000080 
[   28.265131] x21: ffff80006ec1f018 x20: ffff000008e59000 
[   28.265144] x19: ffff80006f12db18 x18: ffffffffffffffff 
[   28.265157] x17: 0000ffff9baa75e8 x16: ffff0000082482d8 
[   28.265170] x15: ffff000008e59888 x14: ffff8000eeb26d6f 
[   28.265183] x13: ffff80006eb26d77 x12: 0000000000000000 
[   28.265195] x11: ffff00000802ba40 x10: 0000000000000040 
[   28.265208] x9 : ffff000008e73188 x8 : 000000000000684c 
[   28.265220] x7 : 0000000000000000 x6 : 0000000000000005 
[   28.265232] x5 : 0000000000000000 x4 : 0000000000000001 
[   28.265244] x3 : 0000000000000170 x2 : 0000000000000000 
[   28.265256] x1 : ffff80006e9c5200 x0 : ffff80006ec1d000 
[   28.265270] Call trace:
[   28.265439]  drm_vblank_put+0xa0/0xb8 [drm]
[   28.265605]  drm_crtc_vblank_put+0x18/0x20 [drm]
[   28.265629]  meson_crtc_irq+0x70/0x188 [meson_drm]
[   28.265647]  meson_irq+0x20/0x30 [meson_drm]
[   28.265669]  __handle_irq_event_percpu+0x5c/0x148
[   28.265679]  handle_irq_event_percpu+0x34/0x88
[   28.265690]  handle_irq_event+0x48/0x78
[   28.265700]  handle_fasteoi_irq+0xa8/0x180
[   28.265710]  generic_handle_irq+0x24/0x38
[   28.265720]  __handle_domain_irq+0x5c/0xb0
[   28.265730]  gic_handle_irq+0x58/0xa8
[   28.265738]  el1_irq+0xb0/0x128
[   28.265751]  alloc_vmap_area.isra.8+0x1c0/0x358
[   28.265761]  __get_vm_area_node.isra.9+0x94/0x188
[   28.265771]  __vmalloc_node_range+0x6c/0x2a0
[   28.265780]  vzalloc+0x70/0x88
[   28.265794]  n_tty_open+0x18/0xb8
[   28.265805]  tty_ldisc_open.isra.3+0x40/0x78
[   28.265816]  tty_ldisc_setup+0x20/0x78
[   28.265825]  tty_init_dev+0xac/0x1e8
[   28.265833]  tty_open+0x278/0x3f0
[   28.265846]  chrdev_open+0xa4/0x1b8
[   28.265857]  do_dentry_open+0x1b8/0x320
[   28.265865]  vfs_open+0x50/0x88
[   28.265875]  path_openat+0x54c/0x1288
[   28.265885]  do_filp_open+0x78/0xf8
[   28.265893]  do_sys_open+0x198/0x248
[   28.265900]  sys_openat+0x10/0x18
[   28.265909]  el0_svc_naked+0x30/0x34
[   28.265915] ---[ end trace 49e225ce37d2c97a ]---

 

 

I'm not in the lab at the moment, maybe later this week.  Trying to get some outdoor projects finished before the snow starts to fall...

 

[edit]  OK, now that I've updated the patchset that error does not exist. 

Share this post


Link to post
Share on other sites

I've noticed on the C2 and K2 as well, will debug.

 

[edit]  It would appear the "Linux hates HDMI--->DVI" situation is back.  My typical testing monitor with DVI does not work at all and my proper hdmi one works perfectly.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
4 4