Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

native: DEBUG_FS + dynamic debug for pinctrl/gpio/max98357a

G7 still silent — InTC8:00 shows drv=jasperlake-pinctrl bound, but
/sys/bus/gpio/devices lists only an empty-label gpiochip0 and kmsg
has zero pinctrl messages at all. Two possibilities:

1. Probe returned early with an error that went to a dev_dbg that
our loglevel=3 suppresses.
2. MMIO mapping failed silently because ACPI _CRS didn't provide
the memory-resource region the driver expects.

Both are invisible without more kernel noise. Enable:
- CONFIG_DEBUG_FS=y + CONFIG_DEBUG_FS_ALLOW_ALL=y so /sys/kernel/
debug/gpio works
- CONFIG_DYNAMIC_DEBUG=y so we can flip per-module dev_dbg on
- kernel cmdline: loglevel=7 (drop `quiet`) + dyndbg="file drivers/
pinctrl/intel/* +p; file drivers/gpio/* +p; file sound/soc/codecs/
max98357a.c +p" so the next boot's kmsg.log has a complete trace
of pinctrl-jasperlake probe, gpiochip registration attempts, and
MAX98357A SD_MODE gpiod_get() call — including return value.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+5 -2
+5 -2
fedac/native/kernel/config-minimal
··· 425 425 CONFIG_LEGACY_VSYSCALL_XONLY=y 426 426 # CONFIG_LEGACY_VSYSCALL_NONE is not set 427 427 CONFIG_CMDLINE_BOOL=y 428 - CONFIG_CMDLINE="initrd=\\initramfs.cpio.gz console=tty0 quiet loglevel=3 vt.global_cursor_default=0 init=/init mitigations=off snd_hda_intel.power_save=0 nmi_watchdog=0 tsc=reliable no_timer_check acpi_backlight=native thinkpad_acpi.brightness_enable=1 i8042.reset i8042.nomux reboot=efi,cold" 428 + CONFIG_CMDLINE="initrd=\\initramfs.cpio.gz console=tty0 loglevel=7 vt.global_cursor_default=0 init=/init mitigations=off snd_hda_intel.power_save=0 nmi_watchdog=0 tsc=reliable no_timer_check acpi_backlight=native thinkpad_acpi.brightness_enable=1 i8042.reset i8042.nomux reboot=efi,cold dyndbg=\"file drivers/pinctrl/intel/* +p; file drivers/gpio/* +p; file sound/soc/codecs/max98357a.c +p\"" 429 429 # CONFIG_CMDLINE_OVERRIDE is not set 430 430 CONFIG_MODIFY_LDT_SYSCALL=y 431 431 # CONFIG_STRICT_SIGALTSTACK_SIZE is not set ··· 4407 4407 CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1ff 4408 4408 CONFIG_MAGIC_SYSRQ_SERIAL=y 4409 4409 CONFIG_MAGIC_SYSRQ_SERIAL_SEQUENCE="" 4410 - # CONFIG_DEBUG_FS is not set 4410 + CONFIG_DEBUG_FS=y 4411 + CONFIG_DEBUG_FS_ALLOW_ALL=y 4412 + CONFIG_DYNAMIC_DEBUG=y 4413 + CONFIG_DYNAMIC_DEBUG_CORE=y 4411 4414 CONFIG_HAVE_ARCH_KGDB=y 4412 4415 # CONFIG_KGDB is not set 4413 4416 CONFIG_ARCH_HAS_UBSAN=y