Skip to content

esp-hosted-release-ng-v1.0.4.0.0 sdio mode has communication, but an error is reported.,The WLAN also failed to be created successfully. #690

@jianhui-cell

Description

@jianhui-cell

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

configure the network correctly,The WLAN can be accessed via the interface.

Actual behavior (suspected bug)

The Ethernet port is malfunctioning—not only has the WLAN failed to be established successfully, but it is also affecting the normal operation of the wired network.

Error logs or terminal output

host log:
  LD [M]  /home/z/esp-hosted-release-ng-v1.0.4.0.0/esp_hosted_ng/host/esp32_sdio.o
  MODPOST /home/z/esp-hosted-release-ng-v1.0.4.0.0/esp_hosted_ng/host/Module.symvers
  CC [M]  /home/z/esp-hosted-release-ng-v1.0.4.0.0/esp_hosted_ng/host/esp32_sdio.mod.o
  CC [M]  /home/z/esp-hosted-release-ng-v1.0.4.0.0/esp_hosted_ng/host/.module-common.o
  LD [M]  /home/z/esp-hosted-release-ng-v1.0.4.0.0/esp_hosted_ng/host/esp32_sdio.ko
make[1]: Leaving directory '/usr/src/linux-headers-6.12.47+rpt-rpi-v7'
esp32 module inserted 
ESP32 host init successfully completed
z@z:~/esp-hosted-release-ng-v1.0.4.0.0/esp_hosted_ng/host $ dmesg 
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.12.47+rpt-rpi-v7 ([email protected]) (arm-linux-gnueabihf-gcc-14 (Raspbian 14.2.0-19+rpi1) 14.2.0, GNU ld (GNU Binutils for Raspbian) 2.44) #1 SMP Raspbian 1:6.12.47-1+rpt1 (2025-09-16)
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] random: crng init done
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x1dc00000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x1dc00000..0x2dbfffff (262144 KiB) map reusable linux,cma
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000] percpu: Embedded 19 pages/cpu s45708 r8192 d23924 u77824
[    0.000000] pcpu-alloc: s45708 r8192 d23924 u77824 alloc=19*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 cgroup_disable=memory snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=ec4e0bb4-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=AE
[    0.000000] cgroup: Disabling memory control group subsystem
[    0.000000] Unknown kernel command line parameters "splash", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 242688
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 37297 entries in 110 pages
[    0.000000] ftrace: allocated 110 pages with 5 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000000] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000010] Switching to timer-based delay loop, resolution 52ns
[    0.000253] Console: colour dummy device 80x30
[    0.000266] printk: legacy console [tty1] enabled
[    0.000344] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000358] CPU: Testing write buffer coherency: ok
[    0.000390] pid_max: default: 32768 minimum: 301
[    0.000455] LSM: initializing lsm=capability
[    0.000598] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000612] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001389] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002270] Setting up static identity map for 0x100000 - 0x10003c
[    0.002374] rcu: Hierarchical SRCU implementation.
[    0.002380] rcu:     Max phase no-delay instances is 1000.
[    0.002547] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.002934] smp: Bringing up secondary CPUs ...
[    0.003544] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.004192] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.004752] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.004825] smp: Brought up 1 node, 4 CPUs
[    0.004839] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.004847] CPU: All CPU(s) started in HYP mode.
[    0.004851] CPU: Virtualization extensions available.
[    0.005246] Memory: 657376K/970752K available (11264K kernel code, 1593K rwdata, 3564K rodata, 1024K init, 376K bss, 48100K reserved, 262144K cma-reserved)
[    0.005635] devtmpfs: initialized
[    0.012505] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.012630] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.012661] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.018176] pinctrl core: initialized pinctrl subsystem
[    0.018997] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.020388] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.023090] audit: initializing netlink subsys (disabled)
[    0.023277] audit: type=2000 audit(0.020:1): state=initialized audit_enabled=0 res=1
[    0.023612] thermal_sys: Registered thermal governor 'step_wise'
[    0.023827] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.023838] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.024035] Serial: AMBA PL011 UART driver
[    0.028220] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.050046] raspberrypi-firmware soc:firmware: Attached to firmware from 2025-08-20T17:04:09, variant start
[    0.060044] raspberrypi-firmware soc:firmware: Firmware hash is cd866525580337c0aee4b25880e1f5f9f674fb24
[    0.072159] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.074504] bcm2835-dma 3f007000.dma-controller: DMA legacy API manager, dmachans=0x1
[    0.075904] SCSI subsystem initialized
[    0.076043] usbcore: registered new interface driver usbfs
[    0.076074] usbcore: registered new interface driver hub
[    0.076103] usbcore: registered new device driver usb
[    0.076351] pps_core: LinuxPPS API ver. 1 registered
[    0.076358] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.076372] PTP clock support registered
[    0.077673] clocksource: Switched to clocksource arch_sys_counter
[    0.077961] VFS: Disk quotas dquot_6.6.0
[    0.077980] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.088347] NET: Registered PF_INET protocol family
[    0.088629] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.089931] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.089950] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.089962] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.090022] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.090207] TCP: Hash tables configured (established 8192 bind 8192)
[    0.090289] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.090318] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.090434] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.090741] RPC: Registered named UNIX socket transport module.
[    0.090748] RPC: Registered udp transport module.
[    0.090753] RPC: Registered tcp transport module.
[    0.090757] RPC: Registered tcp-with-tls transport module.
[    0.090762] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.097937] Trying to unpack rootfs image as initramfs...
[    1.087598] Initialise system trusted keyrings
[    1.088204] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    1.088930] NFS: Registering the id_resolver key type
[    1.088965] Key type id_resolver registered
[    1.088971] Key type id_legacy registered
[    1.088993] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.089002] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.089557] Key type asymmetric registered
[    1.089566] Asymmetric key parser 'x509' registered
[    1.089624] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.089633] io scheduler mq-deadline registered
[    1.089641] io scheduler kyber registered
[    1.089673] io scheduler bfq registered
[    1.092526] pinctrl-bcm2835 3f200000.gpio: GPIO_OUT persistence: yes
[    1.173893] Freeing initrd memory: 19448K
[    1.177510] ledtrig-cpu: registered to indicate activity on CPUs
[    1.185605] simple-framebuffer 3e402000.framebuffer: framebuffer at 0x3e402000, 0x7f8000 bytes
[    1.185630] simple-framebuffer 3e402000.framebuffer: format=a8r8g8b8, mode=1920x1080x32, linelength=7680
[    1.186051] Console: switching to colour frame buffer device 240x67
[    1.198978] simple-framebuffer 3e402000.framebuffer: fb0: simplefb registered!
[    1.201007] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    1.202110] bcm2835-rng 3f104000.rng: hwrng registered
[    1.202297] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.208399] brd: module loaded
[    1.212455] loop: module loaded
[    1.212862] Loading iSCSI transport class v2.0-870.
[    1.213821] usbcore: registered new interface driver lan78xx
[    1.213857] usbcore: registered new interface driver smsc95xx
[    1.213873] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.941766] Core Release: 2.80a
[    1.941777] Setting default values for core params
[    1.941794] Finished setting default values for core params
[    2.141961] Using Buffer DMA mode
[    2.141967] Periodic Transfer Interrupt Enhancement - disabled
[    2.141972] Multiprocessor Interrupt Enhancement - disabled
[    2.141979] OTG VER PARAM: 0, OTG VER FLAG: 0
[    2.142008] Dedicated Tx FIFOs mode
[    2.144151] INFO:: FIQ DMA bounce buffers: virt = 9dd04000 dma = 0xddd04000 len=9024
[    2.144178] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    2.144187] dwc_otg: Microframe scheduler enabled
[    2.144295] INFO:: FIQ on core 1
[    2.144303] INFO:: FIQ ASM at 808e0488 length 36
[    2.144312] INFO:: MPHI regs_base at bb810000
[    2.144330] dwc_otg 3f980000.usb: DWC OTG Controller
[    2.144355] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    2.144381] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
[    2.144424] Init: Port Power? op_state=1
[    2.144429] Init: Power Port (0)
[    2.144571] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[    2.144584] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.144593] usb usb1: Product: DWC OTG Controller
[    2.144600] usb usb1: Manufacturer: Linux 6.12.47+rpt-rpi-v7 dwc_otg_hcd
[    2.144607] usb usb1: SerialNumber: 3f980000.usb
[    2.145058] hub 1-0:1.0: USB hub found
[    2.145088] hub 1-0:1.0: 1 port detected
[    2.145469] dwc_otg: FIQ enabled
[    2.145475] dwc_otg: NAK holdoff enabled
[    2.145480] dwc_otg: FIQ split-transaction FSM enabled
[    2.145490] Module dwc_common_port init
[    2.145740] usbcore: registered new interface driver usb-storage
[    2.145872] mousedev: PS/2 mouse device common for all mice
[    2.147331] sdhci: Secure Digital Host Controller Interface driver
[    2.147339] sdhci: Copyright(c) Pierre Ossman
[    2.147488] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.147526] hid: raw HID events driver (C) Jiri Kosina
[    2.147618] usbcore: registered new interface driver usbhid
[    2.147625] usbhid: USB HID core driver
[    2.150928] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 (8000003f) counters available
[    2.151532] Initializing XFRM netlink socket
[    2.151563] NET: Registered PF_PACKET protocol family
[    2.151636] Key type dns_resolver registered
[    2.151831] Registering SWP/SWPB emulation handler
[    2.168380] registered taskstats version 1
[    2.168550] Loading compiled-in X.509 certificates
[    2.175106] Key type .fscrypt registered
[    2.175120] Key type fscrypt-provisioning registered
[    2.181314] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    2.181814] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    2.182532] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    2.182542] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[    2.207859] uart-pl011 3f201000.serial: there is not valid maps for state default
[    2.207965] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    2.209507] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[    2.209542] printk: legacy console [ttyAMA0] enabled
[    2.210089] of_cfs_init
[    2.210182] of_cfs_init: OK
[    2.210433] clk: Disabling unused clocks
[    2.210673] PM: genpd: Disabling unused power domains
[    2.231998] mmc1: queuing unknown CIS tuple 0x01 [d9 01 ff] (3 bytes)
[    2.240959] mmc1: queuing unknown CIS tuple 0x1a [01 01 00 02 07] (5 bytes)
[    2.244072] mmc1: queuing unknown CIS tuple 0x1b [c1 41 30 30 ff ff ff ff] (8 bytes)
[    2.246895] mmc1: new SDIO card at address 0001
[    2.267791] Indeed it is in host mode hprt0 = 00021501
[    2.355118] sdhost-bcm2835 3f202000.mmc: loaded - DMA enabled (>1)
[    2.358782] Freeing unused kernel image (initmem) memory: 1024K
[    2.359103] Run /init as init process
[    2.359111]   with arguments:
[    2.359116]     /init
[    2.359121]     splash
[    2.359126]   with environment:
[    2.359131]     HOME=/
[    2.359137]     TERM=linux
[    2.454750] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.457589] mmc0: new high speed SDHC card at address 5048
[    2.457734] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.457850] Indeed it is in host mode hprt0 = 00001101
[    2.458249] mmcblk0: mmc0:5048 SD32G 28.9 GiB
[    2.469787]  mmcblk0: p1 p2
[    2.470198] mmcblk0: mmc0:5048 SD32G 28.9 GiB
[    2.687919] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[    2.687954] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.688525] hub 1-1:1.0: USB hub found
[    2.688612] hub 1-1:1.0: 5 ports detected
[    2.987759] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.087974] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[    3.088001] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.093221] smsc95xx v2.0.0
[    3.101357] Console: switching to colour dummy device 80x30
[    3.118799] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[    3.120385] Registered IR keymap rc-cec
[    3.120560] rc rc0: vc4-hdmi as /devices/platform/soc/3f902000.hdmi/rc/rc0
[    3.120783] input: vc4-hdmi as /devices/platform/soc/3f902000.hdmi/rc/rc0/input0
[    3.124834] input: vc4-hdmi HDMI Jack as /devices/platform/soc/3f902000.hdmi/sound/card0/input1
[    3.126358] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[    3.126707] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
[    3.126965] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[    3.127165] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[    3.127367] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[    3.127517] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[    3.131307] [drm] Initialized vc4 0.0.0 for soc:gpu on minor 0
[    3.190712] SMSC LAN8700 usb-001:003:01: attached PHY driver (mii_bus:phy_addr=usb-001:003:01, irq=199)
[    3.191246] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:24:4f:ce
[    3.207250] Console: switching to colour frame buffer device 240x67
[    3.233059] vc4-drm soc:gpu: [drm] fb0: vc4drmfb frame buffer device
[    3.287792] usb 1-1.4: new low-speed USB device number 4 using dwc_otg
[    3.421095] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c31c, bcdDevice=64.02
[    3.421126] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.421136] usb 1-1.4: Product: USB Keyboard
[    3.421144] usb 1-1.4: Manufacturer: Logitech
[    3.441769] input: Logitech USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C31C.0001/input/input2
[    3.668113] hid-generic 0003:046D:C31C.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-3f980000.usb-1.4/input0
[    3.698096] input: Logitech USB Keyboard Consumer Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:046D:C31C.0002/input/input3
[    3.758190] input: Logitech USB Keyboard System Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:046D:C31C.0002/input/input4
[    3.758573] hid-generic 0003:046D:C31C.0002: input,hiddev96,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-3f980000.usb-1.4/input1
[    3.837771] usb 1-1.5: new low-speed USB device number 5 using dwc_otg
[    3.962722] usb 1-1.5: New USB device found, idVendor=046d, idProduct=c077, bcdDevice=72.00
[    3.962753] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.962763] usb 1-1.5: Product: USB Optical Mouse
[    3.962772] usb 1-1.5: Manufacturer: Logitech
[    3.967109] input: Logitech USB Optical Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:046D:C077.0003/input/input5
[    3.968321] hid-generic 0003:046D:C077.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-3f980000.usb-1.5/input0
[    4.912961] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
[    4.914941] EXT4-fs (mmcblk0p2): mounted filesystem a4f14fbf-0f31-4a07-96f0-f56a50498ec8 ro with ordered data mode. Quota mode: none.
[    4.937974] usb 1-1.2: new high-speed USB device number 6 using dwc_otg
[    5.058231] usb 1-1.2: New USB device found, idVendor=0951, idProduct=1666, bcdDevice= 0.01
[    5.058255] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.058266] usb 1-1.2: Product: DataTraveler 3.0
[    5.058275] usb 1-1.2: Manufacturer: Kingston
[    5.058283] usb 1-1.2: SerialNumber: 002618527056F181F73F39E7
[    5.064431] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    5.064808] scsi host0: usb-storage 1-1.2:1.0
[    5.650070] systemd[1]: System time advanced to timestamp on /var/lib/systemd/timesync/clock: Mon 2025-12-01 10:56:38 CST
[    5.826714] NET: Registered PF_INET6 protocol family
[    5.827809] Segment Routing with IPv6
[    5.827849] In-situ OAM (IOAM) with IPv6
[    5.914845] systemd[1]: systemd 257.8-1~deb13u2+rpi1-g094e686 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -BTF -XKBCOMMON -UTMP +SYSVINIT +LIBARCHIVE)
[    5.914887] systemd[1]: Detected architecture arm.
[    5.929534] systemd[1]: Hostname set to <z>.
[    6.045849] systemd[1]: Using hardware watchdog 'Broadcom BCM2835 Watchdog timer', version 0, device /dev/watchdog0
[    6.045901] systemd[1]: Watchdog running with a hardware timeout of 1min.
[    6.088698] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 3.0      PQ: 0 ANSI: 6
[    6.090083] sd 0:0:0:0: [sda] 15109516 512-byte logical blocks: (7.74 GB/7.20 GiB)
[    6.090318] sd 0:0:0:0: [sda] Write Protect is off
[    6.090331] sd 0:0:0:0: [sda] Mode Sense: 4f 00 00 00
[    6.090526] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    6.139225]  sda: sda1 sda2
[    6.143344] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    6.316315] zram_generator::config[214]: zram0: system has too much memory (921MB), limit is 0MB, ignoring.
[    8.362635] systemd[1]: Queued start job for default target graphical.target.
[    8.464452] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[    8.466857] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[    8.469248] systemd[1]: Created slice system-rpi\x2dsetup\x2dloop.slice - Slice /system/rpi-setup-loop.
[    8.471312] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[    8.473593] systemd[1]: Created slice system-systemd\x2dfsck.slice - Slice /system/systemd-fsck.
[    8.475889] systemd[1]: Created slice system-systemd\x2dzram\x2dsetup.slice - Slice /system/systemd-zram-setup.
[    8.476683] systemd[1]: Created slice user.slice - User and Session Slice.
[    8.477022] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[    8.477928] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[    8.478151] systemd[1]: Expecting device dev-disk-by\x2dpartuuid-ec4e0bb4\x2d01.device - /dev/disk/by-partuuid/ec4e0bb4-01...
[    8.478227] systemd[1]: Expecting device dev-dri-card0.device - /dev/dri/card0...
[    8.478299] systemd[1]: Expecting device dev-dri-renderD128.device - /dev/dri/renderD128...
[    8.478379] systemd[1]: Expecting device dev-ttyAMA0.device - /dev/ttyAMA0...
[    8.478451] systemd[1]: Expecting device dev-zram0.device - /dev/zram0...
[    8.478854] systemd[1]: Reached target nss-user-lookup.target - User and Group Name Lookups.
[    8.479237] systemd[1]: Reached target slices.target - Slice Units.
[    8.498834] systemd[1]: Listening on rpcbind.socket - RPCbind Server Activation Socket.
[    8.511130] systemd[1]: Listening on systemd-creds.socket - Credential Encryption/Decryption.
[    8.511731] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[    8.512179] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[    8.512655] systemd[1]: Listening on systemd-journald.socket - Journal Sockets.
[    8.513530] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    8.514010] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    8.514816] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    8.526356] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[    8.530654] systemd[1]: Mounting run-lock.mount - Legacy Locks Directory /run/lock...
[    8.534118] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[    8.548283] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[    8.549223] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[    8.555757] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[    8.669064] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[    8.676108] systemd[1]: Starting [email protected] - Load Kernel Module configfs...
[    8.692113] systemd[1]: Starting [email protected] - Load Kernel Module drm...
[    8.699189] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    8.728709] systemd[1]: Starting [email protected] - Load Kernel Module fuse...
[    8.730638] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[    8.731123] systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
[    8.759121] systemd[1]: Starting systemd-journald.service - Journal Service...
[    8.784795] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[    8.808556] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[    8.825951] systemd[1]: Starting systemd-udev-load-credentials.service - Load udev Rules from Credentials...
[    8.838863] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[    8.844297] fuse: init (API version 7.41)
[    8.866153] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[    8.866991] systemd[1]: Mounted run-lock.mount - Legacy Locks Directory /run/lock.
[    8.867849] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[    8.869646] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[    8.875901] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[    8.878813] systemd[1]: [email protected]: Deactivated successfully.
[    8.883007] systemd[1]: Finished [email protected] - Load Kernel Module configfs.
[    8.890683] systemd[1]: [email protected]: Deactivated successfully.
[    8.892990] systemd[1]: Finished [email protected] - Load Kernel Module drm.
[    8.894767] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    8.895678] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[    8.897596] systemd[1]: [email protected]: Deactivated successfully.
[    8.898893] systemd[1]: Finished [email protected] - Load Kernel Module fuse.
[    8.915892] zram: Added device: zram0
[    8.923228] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
[    8.930380] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
[    8.950654] systemd[1]: Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully...
[    8.971321] i2c_dev: i2c /dev entries driver
[    8.986929] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
[    9.044090] systemd-journald[303]: Collecting audit messages is disabled.
[    9.075765] EXT4-fs (mmcblk0p2): re-mounted a4f14fbf-0f31-4a07-96f0-f56a50498ec8 r/w.
[    9.098627] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
[    9.128087] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[    9.130042] systemd[1]: Finished systemd-udev-load-credentials.service - Load udev Rules from Credentials.
[    9.133529] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
[    9.134266] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
[    9.160042] systemd[1]: Starting cloud-init-main.service - Cloud-init: Single Process...
[    9.160238] systemd[1]: regenerate_ssh_host_keys.service - Regenerate SSH host keys was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[    9.178519] systemd[1]: Starting rpi-resize-swap-file.service - rpi-resize-var-swap-service - resize swapfile...
[    9.182348] systemd[1]: systemd-hwdb-update.service - Rebuild Hardware Database was skipped because of an unmet condition check (ConditionNeedsUpdate=/etc).
[    9.182697] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[    9.222995] systemd[1]: Starting systemd-random-seed.service - Load/Save OS Random Seed...
[    9.224233] systemd[1]: Started systemd-journald.service - Journal Service.
[    9.443884] systemd-journald[303]: Received client request to flush runtime journal.
[   10.072580] loop0: detected capacity change from 0 to 1886208
[   10.679003] zram: setup backing device /dev/disk/by-backingfile/var-swap
[   10.693492] zram0: detected capacity change from 0 to 1886208
[   11.219187] Adding 943100k swap on /dev/zram0.  Priority:100 extents:1 across:943100k SS
[   11.570804] usbcore: registered new interface driver uas
[   11.727116] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   12.120335] rpi-gpiomem 3f200000.gpiomem: window base 0x3f200000 size 0x00001000
[   12.121096] rpi-gpiomem 3f200000.gpiomem: initialised 1 regions as /dev/gpiomem
[   12.200602] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[   12.234883] bcm2835-audio bcm2835-audio: card created with 8 channels
[   12.280557] mc: Linux media interface: v0.10
[   12.568651] videodev: Linux video capture interface: v2.00
[   12.627108] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[   12.648638] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[   12.648683] [vc_sm_connected_init]: start
[   12.655463] [vc_sm_connected_init]: installed successfully
[   12.661957] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   12.711060] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[   12.723631] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[   12.767351] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[   12.783996] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[   12.784666] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[   12.785166] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[   12.785538] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[   12.785578] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[   12.785604] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[   12.785616] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[   12.785628] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[   12.824652] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[   12.875085] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[   12.875826] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[   12.875974] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[   12.876015] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[   12.877541] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[   12.877589] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[   12.877613] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[   12.877631] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[   12.877646] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[   12.884100] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[   12.884868] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[   12.884941] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[   12.934531] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[   12.934582] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[   12.944148] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[   12.944202] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[   12.980816] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[   12.980883] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[   30.729227] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   30.731435] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off
[   42.340152] FAT-fs (sda2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   42.537327] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   45.621454] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   45.650757] Loaded X.509 cert '[email protected]: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[   45.652276] Loaded X.509 cert '[email protected]: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[   45.653747] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   45.655178] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[  154.942072] Bluetooth: Core ver 2.22
[  154.942557] NET: Registered PF_BLUETOOTH protocol family
[  154.942567] Bluetooth: HCI device and connection manager initialized
[  154.942590] Bluetooth: HCI socket layer initialized
[  154.942603] Bluetooth: L2CAP socket layer initialized
[  154.942626] Bluetooth: SCO socket layer initialized
[  178.051764] esp32_sdio: loading out-of-tree module taints kernel.
[  178.257868] esp32_sdio mmc1:0001:1: probe with driver esp32_sdio failed with error -110
[  178.257955] esp32_sdio mmc1:0001:2: probe with driver esp32_sdio failed with error -110
[  179.048794] mmc1: card 0001 removed
[  179.220607] mmc1: queuing unknown CIS tuple 0x01 [d9 01 ff] (3 bytes)
[  179.234841] mmc1: queuing unknown CIS tuple 0x1a [01 01 00 02 07] (5 bytes)
[  179.241020] mmc1: queuing unknown CIS tuple 0x1b [c1 41 30 30 ff ff ff ff] (8 bytes)
[  179.245310] mmc1: new SDIO card at address 0001
[  179.246552] esp32_sdio: esp_probe: ESP network device detected
[  179.246813] esp32_sdio: get_firmware_data: Rx Pre ====== 0
[  179.246832] esp32_sdio: get_firmware_data: Rx Pos ======  0
[  179.246897] esp32_sdio: get_firmware_data: Tx Pre ======  0
[  179.246912] esp32_sdio: get_firmware_data: Tx Pos ======  10
[  179.248183] esp32_sdio mmc1:0001:2: probe with driver esp32_sdio failed with error -22
[  180.166087] esp32_sdio: process_esp_bootup_event: Received ESP bootup event
[  180.166133] esp32_sdio: process_event_esp_bootup: Bootup Event tag: 3
[  180.166157] esp32_sdio: esp_validate_chipset: Chipset=ESP32 ID=00 detected over SDIO
[  180.166175] esp32_sdio: process_event_esp_bootup: Bootup Event tag: 0
[  180.166191] esp32_sdio: process_event_esp_bootup: Bootup Event tag: 1
[  180.166206] esp32_sdio: process_fw_data: ESP chipset's last reset cause:
[  180.166220] esp32_sdio: print_reset_reason: POWERON_RESET
[  180.166239] esp32_sdio: check_esp_version: ESP-Hosted Version: NG-1.0.4.0.0
[  180.166935] esp32_sdio: esp_reg_notifier: Driver init is ongoing
[  180.228149] esp32_sdio: read_packet: Failed to read data - -84 [0 - 32]
[  185.207915] esp32_sdio: wait_and_decode_cmd_resp: Command[0x1] timed out
[  185.207990] esp32_sdio: cmd_init_interface: wait_and_decode_cmd_resp(priv, cmd_node) failure, ret: -22
[  185.208069] esp32_sdio: esp_add_card: esp_add_network_ifaces(adapter) failure, ret: -1
[  185.208101] 8<--- cut here ---
[  185.211197] Unable to handle kernel NULL pointer dereference at virtual address 00000000 when read
[  185.220323] [00000000] *pgd=00000000
[  185.223948] Internal error: Oops: 17 [#1] SMP ARM
[  185.228664] Modules linked in: esp32_sdio(O) bluetooth ecdh_generic ecc cfg80211 snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfkill binfmt_misc bcm2835_codec(C) bcm2835_v4l2(C) v4l2_mem2mem bcm2835_isp(C) bcm2835_mmal_vchiq(C) vc_sm_cma(C) videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 raspberrypi_hwmon videodev videobuf2_common mc snd_bcm2835(C) raspberrypi_gpiomem sg uas joydev uio_pdrv_genirq uio sch_fq_codel i2c_dev zram lz4_compress fuse nfnetlink ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper drm_kms_helper drm drm_panel_orientation_quirks snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer snd backlight i2c_bcm2835 fixed
[  185.291401] CPU: 3 UID: 0 PID: 82 Comm: kworker/3:1H Tainted: G         C O       6.12.47+rpt-rpi-v7 #1  Raspbian 1:6.12.47-1+rpt1
[  185.303153] Tainted: [C]=CRAP, [O]=OOT_MODULE
[  185.307508] Hardware name: BCM2835
[  185.310913] Workqueue: ESP_EVENTS_WORKQUEUE esp_events_work [esp32_sdio]
[  185.317692] PC is at sdio_claim_host+0x1c/0x38
[  185.322152] LR is at esp_write_byte+0x88/0xcc [esp32_sdio]
[  185.327694] pc : [<8093748c>]    lr : [<7f5c2250>]    psr: 20000013
[  185.333965] sp : bc6ddeb0  ip : 85ca8000  fp : 7f5348c4
[  185.339192] r10: 7f534bbc  r9 : 7f5cd120  r8 : 7f533358
[  185.344419] r7 : 874f2d80  r6 : 7f5cc000  r5 : 0000008c  r4 : 00000002
[  185.350951] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : 7f5cc000
[  185.357482] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  185.364624] Control: 10c5383d  Table: 047a406a  DAC: 00000051
[  185.370370] Register r0 information: 7-page vmalloc region starting at 0x7f5cc000 allocated at load_module+0x744/0x1ccc
[  185.381185] Register r1 information: NULL pointer
[  185.385897] Register r2 information: NULL pointer
[  185.390606] Register r3 information: NULL pointer
[  185.395314] Register r4 information: non-paged memory
[  185.400371] Register r5 information: non-paged memory
[  185.405427] Register r6 information: 7-page vmalloc region starting at 0x7f5cc000 allocated at load_module+0x744/0x1ccc
[  185.416231] Register r7 information: slab skbuff_head_cache start 874f2d80 pointer offset 0 size 184
[  185.425393] Register r8 information: 4-page vmalloc region starting at 0x7f533000 allocated at load_module+0x744/0x1ccc
[  185.436197] Register r9 information: 7-page vmalloc region starting at 0x7f5cc000 allocated at load_module+0x744/0x1ccc
[  185.447000] Register r10 information: 4-page vmalloc region starting at 0x7f533000 allocated at load_module+0x744/0x1ccc
[  185.457889] Register r11 information: 4-page vmalloc region starting at 0x7f533000 allocated at load_module+0x744/0x1ccc
[  185.468779] Register r12 information: slab task_struct start 85ca8000 pointer offset 0 size 4608
[  185.477591] Process kworker/3:1H (pid: 82, stack limit = 0x49dbc00b)
[  185.483951] Stack: (0xbc6ddeb0 to 0xbc6de000)
[  185.488313] dea0:                                     00000000 f8ab40aa 85929b00 7f5cd134
[  185.496498] dec0: 00000002 7f5c19ec 00000001 f8ab40aa 85fce0e8 00000000 0000000e 7f5c35dc
[  185.504683] dee0: 00000001 00000000 00000004 00000000 00000000 8082fce0 874f2d80 7f534bbc
[  185.512868] df00: 811058ac 85d6f080 7f5cd1c4 ae523300 bab010e0 01e00000 ae523305 85d6f0ac
[  185.521053] df20: 00000000 8013bbd4 00000200 85ca8000 bab010e0 bab01100 81103d40 61c88647
[  185.529239] df40: 85d6f080 bab010e0 bab01100 81103d40 61c88647 85ca8000 85d6f0ac 8013c66c
[  185.537424] df60: 85d6f080 85c52680 bb8c9ec0 85d6e2c0 85ca8000 8013c3fc 85d6f080 85c52680
[  185.545609] df80: bb8c9ec0 00000000 00000000 8014643c 85d6e2c0 80146358 00000000 00000000
[  185.553793] dfa0: 00000000 00000000 00000000 8010012c 00000000 00000000 00000000 00000000
[  185.561977] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  185.570161] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[  185.578340] Call trace: 
[  185.578354]  sdio_claim_host from esp_write_byte+0x88/0xcc [esp32_sdio]
[  185.587589]  esp_write_byte [esp32_sdio] from generate_slave_intr+0x5c/0x88 [esp32_sdio]
[  185.595793]  generate_slave_intr [esp32_sdio] from esp_events_work+0x5cc/0x620 [esp32_sdio]
[  185.604258]  esp_events_work [esp32_sdio] from process_one_work+0x174/0x3c8
[  185.611290]  process_one_work from worker_thread+0x270/0x440
[  185.616965]  worker_thread from kthread+0xe4/0x100
[  185.621772]  kthread from ret_from_fork+0x14/0x28
[  185.626488] Exception stack(0xbc6ddfb0 to 0xbc6ddff8)
[  185.631544] dfa0:                                     00000000 00000000 00000000 00000000
[  185.639729] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  185.647912] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  185.654535] Code: 0a000004 e5933000 e3a02000 e1a01002 (e5930000) 
[  185.660708] ---[ end trace 0000000000000000 ]---
z@z:~/esp-hosted-release-ng-v1.0.4.0.0/esp_hosted_ng/host $ 
esp32 log:
ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x3f (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6276
load:0x40078000,len:15716
load:0x40080400,len:4
ho 8 tail 4 room 4
load:0x40080404,len:3860
entry 0x4008063c
I (31) boot: ESP-IDF v5.4-dirty 2nd stage bootloader
I (31) boot: compile time May 20 2025 14:11:35
I (31) boot: Multicore bootloader
I (33) boot: chip revision: v3.1
I (36) boot.esp32: SPI Speed      : 40MHz
I (39) boot.esp32: SPI Mode       : DIO
I (43) boot.esp32: SPI Flash Size : 4MB
I (47) boot: Enabling RNG early entropy source...
I (51) boot: Partition Table:
I (54) boot: ## Label            Usage          Type ST Offset   Length
I (60) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (66) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (73) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (79) boot:  3 factory          factory app      00 00 00010000 00100000
I (86) boot:  4 ota_0            OTA app          00 10 00110000 00100000
I (92) boot:  5 ota_1            OTA app          00 11 00210000 00100000
I (99) boot: End of partition table
I (102) boot: Defaulting to factory image
I (106) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=19fc8h (106440) map
I (150) esp_image: segment 1: paddr=00029ff0 vaddr=3ff80000 size=0001ch (    28) load
I (150) esp_image: segment 2: paddr=0002a014 vaddr=3ffbdb60 size=05d60h ( 23904) load
I (163) esp_image: segment 3: paddr=0002fd7c vaddr=40080000 size=0029ch (   668) load
I (163) esp_image: segment 4: paddr=00030020 vaddr=400d0020 size=92d74h (601460) map
I (374) esp_image: segment 5: paddr=000c2d9c vaddr=4008029c size=1e99ch (125340) load
I (438) boot: Loaded app from partition at offset 0x10000
I (438) boot: Disabling RNG early entropy source...
I (449) cpu_start: Multicore app
I (457) cpu_start: Pro cpu start user code
I (457) cpu_start: cpu freq: 240000000 Hz
I (457) app_init: Application information:
I (457) app_init: Project name:     network_adapter
I (462) app_init: App version:      NG-1.0.4.0.0
I (466) app_init: Compile time:     May 20 2025 14:11:32
I (471) app_init: ELF file SHA256:  488cf11fe...
I (476) app_init: ESP-IDF:          v5.4-dirty
I (480) efuse_init: Min chip rev:     v0.0
I (484) efuse_init: Max chip rev:     v3.99 
I (488) efuse_init: Chip rev:         v3.1
I (492) heap_init: Initializing. RAM available for dynamic allocation:
I (498) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (503) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (508) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (513) heap_init: At 3FFD2490 len 0000DB70 (54 KiB): DRAM
I (518) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (524) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (529) heap_init: At 4009EC38 len 000013C8 (4 KiB): IRAM
I (536) spi_flash: detected chip: generic
I (538) spi_flash: flash io: dio
I (542) coexist: coex firmware version: 49a8cdc
I (546) main_task: Started on CPU0
I (549) main_task: Calling app_main()
I (551) stats: *********************************************************************
I (559) stats:                 ESP-Hosted Firmware version :: NG-1.0.4.0.0                        
I (567) stats:                 Transport used :: SDIO only                     
I (574) stats: *********************************************************************
I (582) FW_MAIN: Supported features are:
I (585) FW_MAIN: - WLAN over SDIO
I (588) FW_BT: - BT/BLE
I (591) FW_BT:    - HCI Over SDIO
I (594) FW_BT:    - BT/BLE dual mode
I (597) FW_MAIN: Capabilities: 0x1d
I (609) wifi:wifi driver task: 3ffbd880, prio:23, stack:6656, core=1
I (612) wifi:wifi firmware version: 87d6f3c
I (612) wifi:wifi certification version: v7.0
I (614) wifi:config NVS flash: disabled
I (618) wifi:config nano formatting: disabled
I (622) wifi:Init data frame dynamic rx buffer num: 40
I (627) wifi:Init static rx mgmt buffer num: 5
I (631) wifi:Init management short buffer num: 32
I (635) wifi:Init dynamic tx buffer num: 64
I (639) wifi:Init static rx buffer size: 1600
I (644) wifi:Init static rx buffer num: 16
I (647) wifi:Init dynamic rx buffer num: 40
I (652) wifi_init: rx ba win: 32
I (654) wifi_init: accept mbox: 6
I (657) wifi_init: tcpip mbox: 32
I (660) wifi_init: udp mbox: 6
I (663) wifi_init: tcp mbox: 6
I (666) wifi_init: tcp tx win: 5760
I (669) wifi_init: tcp rx win: 5760
I (672) wifi_init: tcp mss: 1440
I (675) wifi_init: WiFi IRAM OP enabled
I (679) wifi_init: WiFi RX IRAM OP enabled
I (683) BTDM_INIT: BT controller compile version [20b459d]
I (689) BTDM_INIT: Bluetooth MAC: 44:1d:64:ce:21:7e
I (695) phy_init: phy_version 4840,02e0d70,Sep  2 2024,19:39:07
I (1098) FW_MAIN: ESP Bluetooth MAC addr: 44-1d-64-ce-21-7e

I (1099) FW_SDIO_SLAVE: Using SDIO interface
I (1100) gpio: GPIO[22]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (1188) FW_MAIN: Start Data Path
I (2106) FW_SDIO_SLAVE: last reset cause: 1x
I (2107) FW_MAIN: Initial set up done
I (2107) main_task: Returned from app_main()
I (2159) FW_MAIN: INIT Interface command
I (2160) FW_CMD: Setting STA mode
I (2162) FW_CMD: Unregistered event: 43

I (2164) wifi:mode : sta (44:1d:64:ce:21:7c)
I (2165) wifi:enable tsf
I (2166) FW_CMD: station started

Steps to reproduce the behavior

1.Kernel headers are required for driver compilation. Please install them as
sudo apt update
sudo apt install raspberrypi-kernel-headers
2.sudo apt install git raspi-gpio bluetooth bluez bluez-tools rfkill bluez-firmware pi-bluetooth
3.nano /boot/firmware/config.txt
dtoverlay=sdio,poll_once=off
dtoverlay=sdio,poll_once=off
4. cd esp-hosted-release-ng-v1.0.4.0.0/esp_hosted_ng/host/
bash rpi_init.sh sdio

Project release version

esp-hosted-release-ng-v1.0.4.0.0

System architecture

ARM 32-bit (Raspberry Pi 32-bit)

Operating system

Linux

Operating system version

6.12.47+rpt-rpi-v7

Shell

Bash

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions