ardangelo / beepy-gen

Raspberry Pi OS gen scripts - Beepy fork
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

v1.0.0: Beepy Raspbian with pizerow segmentation fault #5

Open chnjyxz opened 1 month ago

chnjyxz commented 1 month ago

Raspberry Pi Zero Wwith Beepy Raspbian image
I can see the sym icon overlays in the corner . but can't see key map overlay (hold [Berry] key or [sym]key). when running /sbin/symbol-overlay /dev/dri/card0 see segmentation fault . need help ,thanks!

ardangelo commented 1 month ago

Thanks for the report, Can you share the output of dmesg? There should be a stack trace somewhere in there.

chnjyxz commented 1 month ago

Thanks for the report, Can you share the output of dmesg? There should be a stack trace somewhere in there.

Thanks for the report, Can you share the output of dmesg? There should be a stack trace somewhere in there.

~ $ dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 6.6.28+rpt-rpi-v6 (debian-kernel@lists.debian.org) (gcc-12 (Raspbian 12.2.0-14+rpi1) 12.2.0, GNU ld (GNU Binutils for Raspbian) 2.40) #1 Raspbian 1:6.6.28-1+rpt1 (2024-04-22) [ 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] random: crng init done [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Reserved memory: created CMA memory pool at 0x0e400000, size 256 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x0e400000..0x1e3fffff (262144 KiB) map reusable linux,cma [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x000000001effffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000001effffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001effffff] [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=B8:27:EB:74:2F:5C vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000 console=ttyS0,115200 console=tty1 root=PARTUUID=e9750e01-02 rootfstype=ext4 fsck.mode=skip logo.nologo quiet rootwait beepy-kbd.sysfs_gid=1001 loglevel=0 rd.systemd.show_status=false udev.log_level=0 udev.log_priority=0 rd.plymouth=0 plymouth.enable=0 plymouth.ignore-serial-consoles fbcon=font:VGA8x8 fbcon=map:10 [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 125860 [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.000000] Memory: 214104K/507904K available (10009K kernel code, 1478K rwdata, 3116K rodata, 460K init, 582K bss, 31656K reserved, 262144K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] ftrace: allocating 34970 entries in 103 pages [ 0.000000] ftrace: allocated 103 pages with 5 groups [ 0.000000] trace event string verifier disabled [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000005] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns [ 0.000050] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns [ 0.000125] bcm2835: system timer (irq = 27) [ 0.000790] Console: colour dummy device 80x30 [ 0.000821] printk: console [tty1] enabled [ 0.000923] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736) [ 0.040219] CPU: Testing write buffer coherency: ok [ 0.040289] pid_max: default: 32768 minimum: 301 [ 0.040404] LSM: initializing lsm=capability,integrity [ 0.040630] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.040661] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.041681] cgroup: Disabling memory control group subsystem [ 0.043456] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.043657] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.043870] Setting up static identity map for 0x8220 - 0x8258 [ 0.044967] devtmpfs: initialized [ 0.055065] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5 [ 0.055374] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.055414] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.085173] pinctrl core: initialized pinctrl subsystem [ 0.086550] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.088632] DMA: preallocated 1024 KiB pool for atomic coherent allocations [ 0.094112] audit: initializing netlink subsys (disabled) [ 0.094538] audit: type=2000 audit(0.090:1): state=initialized audit_enabled=0 res=1 [ 0.095360] thermal_sys: Registered thermal governor 'step_wise' [ 0.095774] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers. [ 0.095801] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.096177] Serial: AMBA PL011 UART driver [ 0.103488] bcm2835-mbox 2000b880.mailbox: mailbox enabled [ 0.120539] raspberrypi-firmware soc:firmware: Attached to firmware from 2024-04-17T17:29:16, variant start_cd [ 0.130559] raspberrypi-firmware soc:firmware: Firmware hash is 86ccc427f35fdc604edc511881cdf579df945fb4 [ 0.144910] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible. [ 0.153390] bcm2835-dma 20007000.dma-controller: DMA legacy API manager, dmachans=0x1 [ 0.155470] SCSI subsystem initialized [ 0.155810] usbcore: registered new interface driver usbfs [ 0.155882] usbcore: registered new interface driver hub [ 0.155961] usbcore: registered new device driver usb [ 0.156577] pps_core: LinuxPPS API ver. 1 registered [ 0.156602] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.156640] PTP clock support registered [ 0.171525] clocksource: Switched to clocksource timer [ 0.172169] VFS: Disk quotas dquot_6.6.0 [ 0.172251] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.172421] FS-Cache: Loaded [ 0.173013] CacheFiles: Loaded [ 0.203040] NET: Registered PF_INET protocol family [ 0.203272] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.204988] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.205039] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.205066] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.205127] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.205221] TCP: Hash tables configured (established 4096 bind 4096) [ 0.205340] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.205381] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.205629] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.212677] RPC: Registered named UNIX socket transport module. [ 0.212709] RPC: Registered udp transport module. [ 0.212719] RPC: Registered tcp transport module. [ 0.212726] RPC: Registered tcp-with-tls transport module. [ 0.212734] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.213353] armv6-pmu arm-pmu: hw perfevents: no irqs for PMU, sampling events not supported [ 0.213407] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available [ 0.216784] Trying to unpack rootfs image as initramfs... [ 3.034426] Initialise system trusted keyrings [ 3.034814] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 3.034929] zbud: loaded [ 3.036103] NFS: Registering the id_resolver key type [ 3.036164] Key type id_resolver registered [ 3.036176] Key type id_legacy registered [ 3.036222] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 3.036237] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 3.037272] Key type asymmetric registered [ 3.037303] Asymmetric key parser 'x509' registered [ 3.037444] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 3.037468] io scheduler mq-deadline registered [ 3.037480] io scheduler kyber registered [ 3.037580] io scheduler bfq registered [ 3.040659] simple-framebuffer 1f953000.framebuffer: framebuffer at 0x1f953000, 0xa8c00 bytes [ 3.040703] simple-framebuffer 1f953000.framebuffer: format=r5g6b5, mode=720x480x16, linelength=1440 [ 3.052804] Console: switching to colour frame buffer device 90x60 [ 3.055202] simple-framebuffer 1f953000.framebuffer: fb0: simplefb registered! [ 3.072494] bcm2835-rng 20104000.rng: hwrng registered [ 3.072954] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000000(512 MiB) [ 3.112482] brd: module loaded [ 3.127920] loop: module loaded [ 3.136561] Loading iSCSI transport class v2.0-870. [ 3.138300] usbcore: registered new interface driver smsc95xx [ 3.138343] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 3.899813] Freeing initrd memory: 10192K [ 3.900376] Core Release: 2.80a [ 3.900425] Setting default values for core params [ 3.900454] Finished setting default values for core params [ 4.100264] Using Buffer DMA mode [ 4.100287] Periodic Transfer Interrupt Enhancement - disabled [ 4.100298] Multiprocessor Interrupt Enhancement - disabled [ 4.100306] OTG VER PARAM: 0, OTG VER FLAG: 0 [ 4.100385] Dedicated Tx FIFOs mode

[ 4.101275] WARN::dwc_otg_hcd_init:1072: FIQ DMA bounce buffers: virt = ce504000 dma = 0x8e504000 len=9024 [ 4.101318] FIQ FSM acceleration enabled for : Non-periodic Split Transactions Periodic Split Transactions High-Speed Isochronous Endpoints Interrupt/Control Split Transaction hack enabled [ 4.101335] dwc_otg: Microframe scheduler enabled

[ 4.101440] WARN::hcd_init_fiq:457: FIQ on core 0

[ 4.101462] WARN::hcd_init_fiq:458: FIQ ASM at c07338e8 length 36

[ 4.101492] WARN::hcd_init_fiq:496: MPHI regs_base at df810000 [ 4.101606] dwc_otg 20980000.usb: DWC OTG Controller [ 4.101733] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1 [ 4.101798] dwc_otg 20980000.usb: irq 56, io mem 0x00000000 [ 4.101853] Init: Port Power? op_state=1 [ 4.101864] Init: Power Port (0) [ 4.102156] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06 [ 4.102185] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.102202] usb usb1: Product: DWC OTG Controller [ 4.102215] usb usb1: Manufacturer: Linux 6.6.28+rpt-rpi-v6 dwc_otg_hcd [ 4.102229] usb usb1: SerialNumber: 20980000.usb [ 4.103191] hub 1-0:1.0: USB hub found [ 4.103275] hub 1-0:1.0: 1 port detected [ 4.104090] dwc_otg: FIQ enabled [ 4.104116] dwc_otg: NAK holdoff enabled [ 4.104124] dwc_otg: FIQ split-transaction FSM enabled [ 4.104145] Module dwc_common_port init [ 4.104628] usbcore: registered new interface driver usb-storage [ 4.105062] mousedev: PS/2 mouse device common for all mice [ 4.107390] sdhci: Secure Digital Host Controller Interface driver [ 4.107419] sdhci: Copyright(c) Pierre Ossman [ 4.107699] sdhci-pltfm: SDHCI platform and OF driver helper [ 4.108919] ledtrig-cpu: registered to indicate activity on CPUs [ 4.109322] hid: raw HID events driver (C) Jiri Kosina [ 4.109503] usbcore: registered new interface driver usbhid [ 4.109520] usbhid: USB HID core driver [ 4.109712] bcm2835_vchiq 2000b840.mailbox: there is not valid maps for state default [ 4.115402] Initializing XFRM netlink socket [ 4.115492] NET: Registered PF_PACKET protocol family [ 4.115617] Key type dns_resolver registered [ 4.146895] registered taskstats version 1 [ 4.147056] Loading compiled-in X.509 certificates [ 4.167908] uart-pl011 20201000.serial: cts_event_workaround enabled [ 4.168630] 20201000.serial: ttyAMA1 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2 [ 4.169057] serial serial0: tty port ttyAMA1 registered [ 4.171311] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer [ 4.171818] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver [ 4.173489] mmc-bcm2835 20300000.mmcnr: mmc_debug:0 mmc_debug2:0 [ 4.173528] mmc-bcm2835 20300000.mmcnr: DMA channel allocated [ 4.203469] sdhost: log_buf @ 9c823095 (8e503000) [ 4.251575] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1) [ 4.255257] of_cfs_init [ 4.255428] of_cfs_init: OK [ 4.256529] clk: Disabling unused clocks [ 4.265764] Freeing unused kernel image (initmem) memory: 460K [ 4.265811] Kernel memory protection not selected by kernel config. [ 4.265926] Run /init as init process [ 4.265940] with arguments: [ 4.265946] /init [ 4.265952] with environment: [ 4.265957] HOME=/ [ 4.265963] TERM=linux [ 4.317880] mmc0: host does not support reading read-only switch, assuming write-enable [ 4.322530] mmc0: Host Software Queue enabled [ 4.322589] mmc0: new high speed SDHC card at address aaaa [ 4.324864] mmcblk0: mmc0:aaaa SS08G 7.40 GiB [ 4.336762] mmcblk0: p1 p2 [ 4.337905] mmcblk0: mmc0:aaaa SS08G 7.40 GiB (quirks 0x00004000) [ 4.357723] mmc1: new high speed SDIO card at address 0001 [ 5.810611] sharp_drm@0 GPIO handle specifies active low - ignored [ 7.110473] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [ 7.110509] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [ 7.286375] EXT4-fs (mmcblk0p2): recovery complete [ 7.292353] EXT4-fs (mmcblk0p2): mounted filesystem 38f6eb0f-fff3-40d2-ab2e-2767bc3c3c33 ro with ordered data mode. Quota mode: none. [ 8.145139] systemd[1]: System time before build time, advancing clock. [ 8.408433] NET: Registered PF_INET6 protocol family [ 8.410318] Segment Routing with IPv6 [ 8.410388] In-situ OAM (IOAM) with IPv6 [ 8.532523] systemd[1]: systemd 252.17-1~deb12u1+rpi1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) [ 8.532614] systemd[1]: Detected architecture arm. [ 8.542933] systemd[1]: Hostname set to . [ 9.497125] systemd-rc-local-generator[138]: /etc/rc.local is not marked executable, skipping. [ 10.895514] systemd[1]: Queued start job for default target multi-user.target. [ 10.909349] systemd[1]: Created slice system-getty.slice - Slice /system/getty. [ 10.913691] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe. [ 10.916081] systemd[1]: Created slice user.slice - User and Session Slice. [ 10.917083] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch. [ 10.917995] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch. [ 10.920359] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point. [ 10.920986] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes. [ 10.921487] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes. [ 10.922144] systemd[1]: Reached target paths.target - Path Units. [ 10.922683] systemd[1]: Reached target slices.target - Slice Units. [ 10.923222] systemd[1]: Reached target swap.target - Swaps. [ 10.923718] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes. [ 10.925416] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket. [ 10.926551] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe. [ 10.929543] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket. [ 10.931467] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log). [ 10.933563] systemd[1]: Listening on systemd-journald.socket - Journal Socket. [ 10.940102] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket. [ 10.941919] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket. [ 10.944122] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages). [ 10.957791] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System... [ 10.970661] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System... [ 10.998894] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System... [ 11.029475] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock... [ 11.059468] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout... [ 11.092905] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes... [ 11.127300] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs... [ 11.172953] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod... [ 11.233802] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm... [ 11.298931] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore... [ 11.380103] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse... [ 11.442639] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop... [ 11.482861] systemd[1]: Starting systemd-fsck-root.service - File System Check on Root Device... [ 11.612986] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules... [ 11.672889] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices... [ 11.695833] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com [ 11.759596] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System. [ 11.760928] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System. [ 11.812462] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System. [ 11.835387] fuse: init (API version 7.39) [ 11.841805] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock. [ 11.850730] systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout. [ 11.881811] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes. [ 11.885060] systemd[1]: modprobe@configfs.service: Deactivated successfully. [ 11.892118] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs. [ 11.895544] systemd[1]: modprobe@dm_mod.service: Deactivated successfully. [ 11.911906] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod. [ 11.916038] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully. [ 11.941919] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore. [ 11.945396] systemd[1]: modprobe@fuse.service: Deactivated successfully. [ 11.951883] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse. [ 11.963536] systemd[1]: modprobe@loop.service: Deactivated successfully. [ 11.972431] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop. [ 11.983784] systemd[1]: Finished systemd-fsck-root.service - File System Check on Root Device. [ 12.072122] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System... [ 12.092938] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System... [ 12.215314] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems... [ 12.216102] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met. [ 12.345440] systemd[1]: modprobe@drm.service: Deactivated successfully. [ 12.351875] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm. [ 12.353904] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System. [ 12.355259] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System. [ 12.611751] EXT4-fs (mmcblk0p2): re-mounted 38f6eb0f-fff3-40d2-ab2e-2767bc3c3c33 r/w. Quota mode: none. [ 12.658411] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems. [ 12.659925] systemd[1]: systemd-firstboot.service - First Boot Wizard was skipped because of an unmet condition check (ConditionFirstBoot=yes). [ 12.672562] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore). [ 12.678672] sharp_drm: loading out-of-tree module taints kernel. [ 12.680225] sharp_memory: entering sharp_memory_probe [ 12.680253] sharp_memory: entering drm_probe [ 12.680800] sharp_memory: registering DRM device [ 12.688970] [drm] Initialized sharp_drm 1.1.0 20230713 for spi0.0 on minor 0 [ 12.713183] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed... [ 12.744764] systemd[1]: Starting systemd-sysusers.service - Create System Users... [ 12.756903] sharp_memory: entering sharp_memory_pipe_enable [ 12.767100] sharp_memory: completed sharp_memory_pipe_enable [ 13.048876] systemd[1]: Finished systemd-random-seed.service - Load/Save Random Seed. [ 13.050228] systemd[1]: first-boot-complete.target - First Boot Complete was skipped because of an unmet condition check (ConditionFirstBoot=yes). [ 13.121794] systemd[1]: Finished systemd-sysusers.service - Create System Users. [ 13.144858] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev... [ 13.577054] systemd[1]: Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev. [ 13.578265] systemd[1]: Reached target local-fs-pre.target - Preparation for Local File Systems. [ 13.578687] systemd[1]: Reached target local-fs.target - Local File Systems. [ 13.579376] systemd[1]: apparmor.service - Load AppArmor profiles was skipped because of an unmet condition check (ConditionSecurity=apparmor). [ 13.612907] systemd[1]: Starting console-setup.service - Set console font and keymap... [ 13.640009] systemd[1]: Starting log2ram.service - Log2Ram... [ 13.704395] systemd[1]: Starting systemd-binfmt.service - Set Up Additional Binary Formats... [ 13.705102] systemd[1]: systemd-machine-id-commit.service - Commit a transient machine-id on disk was skipped because of an unmet condition check (ConditionPathIsMountPoint=/etc/machine-id). [ 13.755214] systemd[1]: Starting systemd-udevd.service - Rule-based Manager for Device Events and Files... [ 13.797193] systemd[1]: Finished systemd-udev-trigger.service - Coldplug All udev Devices. [ 13.819572] systemd[1]: Finished console-setup.service - Set console font and keymap. [ 14.006014] systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 186 (systemd-binfmt) [ 14.064320] systemd[1]: Mounting proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System... [ 14.206757] systemd[1]: Mounted proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System. [ 14.234321] systemd[1]: Finished systemd-binfmt.service - Set Up Additional Binary Formats. [ 14.536220] systemd[1]: Finished log2ram.service - Log2Ram. [ 14.592908] systemd[1]: Starting systemd-journald.service - Journal Service... [ 15.125042] sharp-drm spi0.0: [drm] fb1: sharp_drmdrmfb frame buffer device [ 15.125080] sharp_memory: successful probe [ 15.125090] sharp_memory: successful probe [ 15.145871] i2c_dev: i2c /dev entries driver [ 15.234795] beepy-kbd 1-001f: input_fw_probe BBQX0KBD Software version: 0x38 [ 15.241038] beepy-kbd 1-001f: registered as rtc0 [ 15.244079] beepy-kbd 1-001f: hctosys: unable to read the hardware clock [ 15.284093] beepy-kbd 1-001f: input_probe registering input device [ 15.284490] input: beepy-kbd as /devices/platform/soc/20804000.i2c/i2c-1/1-001f/input/input0 [ 15.290779] beepy_kbd_init Initalised beepy-kbd. [ 15.362857] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules. [ 15.407374] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables... [ 15.603534] systemd[1]: Started systemd-udevd.service - Rule-based Manager for Device Events and Files. [ 15.731807] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables. [ 15.738560] systemd[1]: Started systemd-journald.service - Journal Service. [ 16.010057] systemd-journald[209]: Received client request to flush runtime journal. [ 16.010670] systemd-journald[209]: File /var/log/journal/2d196421e3e546bdb50c5346108963f5/system.journal corrupted or uncleanly shut down, renaming and replacing. [ 21.386722] systemd[262]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [ 23.564491] systemd-journald[209]: File /var/log/journal/2d196421e3e546bdb50c5346108963f5/user-1000.journal corrupted or uncleanly shut down, renaming and replacing. [ 25.997027] rpi-gpiomem 20200000.gpiomem: window base 0x20200000 size 0x00001000 [ 26.134785] rpi-gpiomem 20200000.gpiomem: initialised 1 regions as /dev/gpiomem [ 26.909545] mc: Linux media interface: v0.10 [ 26.966844] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned. [ 26.968256] bcm2835_vc_sm_cma_probe: Videocore shared memory driver

[ 27.291818] vc_sm_cma_vchi_init: failed to open VCHI service (-22) [ 27.291856] [vc_sm_connected_init]: failed to initialize shared memory service [ 27.391785] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 29.354377] videodev: Linux video capture interface: v2.00 [ 29.419336] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned. [ 29.519194] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned. [ 29.567542] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned. [ 29.631412] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-22) [ 29.631704] : Unregister from media controller [ 29.631728] (efault): Unregistering node (null)[0] device node /dev/video0 [ 29.631745] (efault): Unregistering node (null)[0] device node /dev/video0 [ 29.631757] (efault): Unregistering node (null)[0] device node /dev/video0 [ 29.631769] (efault): Unregistering node (null)[0] device node /dev/video0 [ 29.702002] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. [ 29.715036] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-22) [ 29.836859] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned. [ 29.878569] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-22) [ 30.406069] Adding 524284k swap on /var/swap. Priority:-2 extents:11 across:7094268k SS [ 31.232028] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 31.395825] Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf' [ 31.399640] Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328' [ 31.423454] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 31.454738] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ 32.312402] brcmfmac: F1 signature read @0x18000000=0x1541a9a6 [ 32.340407] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 [ 32.346277] usbcore: registered new interface driver brcmfmac [ 32.822296] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2) [ 32.823418] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Jul 19 2021 03:24:18 version 7.45.98 (TOB) (56df937 CY) FWID 01-8e14b897 [ 35.903979] Bluetooth: Core ver 2.22 [ 35.904202] NET: Registered PF_BLUETOOTH protocol family [ 35.904225] Bluetooth: HCI device and connection manager initialized [ 35.904267] Bluetooth: HCI socket layer initialized [ 35.904294] Bluetooth: L2CAP socket layer initialized [ 35.904347] Bluetooth: SCO socket layer initialized [ 36.294276] Bluetooth: HCI UART driver ver 2.3 [ 36.294332] Bluetooth: HCI UART protocol H4 registered [ 36.294536] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 36.295407] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator [ 36.295837] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator [ 36.319119] Bluetooth: HCI UART protocol Broadcom registered [ 36.412008] uart-pl011 20201000.serial: no DMA platform data [ 36.652781] Bluetooth: hci0: BCM: chip id 94 [ 36.653427] Bluetooth: hci0: BCM: features 0x2e [ 36.661870] Bluetooth: hci0: BCM43430A1 [ 36.661930] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000 [ 36.665005] Bluetooth: hci0: BCM43430A1 'brcm/BCM43430A1.raspberrypi,model-zero-w.hcd' Patch [ 37.292782] Bluetooth: hci0: BCM: features 0x2e [ 37.294212] Bluetooth: hci0: BCM43438A1 37.4MHz Raspberry Pi 3-0141 [ 37.294258] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0508 [ 38.445383] systemd-journald[209]: Oldest entry in /var/log/journal/2d196421e3e546bdb50c5346108963f5/system.journal is older than the configured file retention duration (1month), suggesting rotation. [ 38.445502] systemd-journald[209]: /var/log/journal/2d196421e3e546bdb50c5346108963f5/system.journal: Journal header limits reached or header out-of-date, rotating. [ 49.778892] vc4-drm soc:gpu: bound 20400000.hvs (ops vc4_hvs_ops [vc4]) [ 49.802861] Registered IR keymap rc-cec [ 49.803278] rc rc0: vc4-hdmi as /devices/platform/soc/20902000.hdmi/rc/rc0 [ 49.803711] input: vc4-hdmi as /devices/platform/soc/20902000.hdmi/rc/rc0/input1 [ 49.922821] input: vc4-hdmi HDMI Jack as /devices/platform/soc/20902000.hdmi/sound/card0/input2 [ 49.951722] vc4-drm soc:gpu: bound 20902000.hdmi (ops vc4_hdmi_ops [vc4]) [ 49.952841] vc4-drm soc:gpu: bound 20004000.txp (ops vc4_txp_ops [vc4]) [ 49.953773] vc4-drm soc:gpu: bound 20206000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 49.954680] vc4-drm soc:gpu: bound 20207000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 49.955566] vc4-drm soc:gpu: bound 20807000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 49.956271] vc4-drm soc:gpu: bound 20c00000.v3d (ops vc4_v3d_ops [vc4]) [ 50.063570] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 1 [ 50.092159] vc4-drm soc:gpu: [drm] Cannot find any crtc or sizes [ 50.093215] vc4-drm soc:gpu: [drm] Cannot find any crtc or sizes [ 68.903714] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled [ 73.032383] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 73.032435] Bluetooth: BNEP filters: protocol multicast [ 73.032475] Bluetooth: BNEP socket layer initialized [ 73.160429] Bluetooth: MGMT ver 1.22 [ 73.295051] NET: Registered PF_ALG protocol family [ 101.102738] beepy-kbd: updated RTC

ardangelo commented 1 month ago

Looks like it is a segfault in the symbol-overlay utility itself, not in the kernel modules. I tried again with a fresh flash of the release image without issues, but I am on a Pi Zero 2 W. I've attached a debug build of the symbol overlay utility. Could you run

sudo gdb --args ./symbol-overlay /dev/dri/card0

Then at the GDB prompt,

(gdb) run
Starting program: /home/excel/beepy-symbol-overlay/symbol-overlay /dev/dri/card0

If it crashes, then there should be a backtrace produced by GDB.

symbol-overlay.zip

chnjyxz commented 1 month ago

It's working! I see the key map overlay ! But when I configured to run fbterm and tumx, it didn't work again

Reading symbols from ./symbol-overlay... (gdb) run Starting program: /home/xz/symbol-overlay /dev/dri/card0 terminate called after throwing an instance of 'std::runtime_error' what(): overlay_add failed: Unknown error -1

Program received signal SIGABRT, Aborted. 0x000f7530 in __pthread_kill_implementation.constprop.0 () (gdb)

  run

The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/xz/symbol-overlay /dev/dri/card0 terminate called after throwing an instance of 'std::runtime_error' what(): overlay_add failed: Unknown error -1

Program received signal SIGABRT, Aborted. 0x000f7530 in __pthread_kill_implementation.constprop.0 () (gdb)

thank you!

chnjyxz commented 1 month ago

When I ran symbol-overlay you provided , the key map overlay was successfully displayed.

Since I need a Chinese display and input method, I installed fcitx xfce tigervnc and fbterm . and run before tmux.

Now can no longer see the key map overlay , Is its performance insufficient for pizeroW?

Few people use pizeroW in this project anymore. Thank you verymuch for your support

笔记