Pinephone: Frequent kernel NULL pointer dereference with linux-postmarketos-allwinner-6.6_rc5_git20231014-r0
Describe your issue
What's the expected behaviour?
Running phone with networking (not very helpful, I know).
What's the current behaviour?
More often than not, the kernel encounters a NULL pointer dereference during boot (log below), which seems to completely break networking (USB, wifi, wwan). I did 4 or 5 boots before downgrading the kernel again, and got a working system once, which then had a similar issue later. The only user interaction during boot was unlocking FDE (and possibly incidental touches on the touchscreen around that).
Broken USB networking means that my desktop recognized the device, but couldn't get an IP address over DHCP as it normally would.
How to reproduce your issue?
Install linux-postmarketos-allwinner-6.6_rc5_git20231014-r0
on Pinephone and reboot.
What device are you using?
pine64-pinephone (v1.2b)
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v23.06
-
v22.12
(Supported until 2023-07-06) -
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
GNOME Shell on Mobile -
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
Other: Please fill out
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
Additional information
dmesg right after boot
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.6.0-rc5 (pmos@build) (aarch64-alpine-linux-musl-gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, GNU ld (GNU Binutils) 2.41) #1-postmarketos-allwinner SMP PREEMPT Thu Nov 2 00:13:31 UTC 20
[ 0.000000] Machine model: Pine64 PinePhone (1.2)
[ 0.000000] earlycon: uart0 at MMIO32 0x0000000001c28000 (options '')
[ 0.000000] printk: bootconsole [uart0] enabled
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] cma: Reserved 256 MiB at 0x00000000ec800000 on node -1
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 20 pages/cpu s42728 r8192 d31000 u81920
[ 0.000000] pcpu-alloc: s42728 r8192 d31000 u81920 alloc=20*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: detected: ARM erratum 843419
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: init=/init.sh rw console=tty0 console=ttyS0,115200 earlycon=uart,mmio32,0x01c28000 panic=10 consoleblank=0 loglevel=1 PMOS_NO_OUTPUT_REDIRECT PMOS_FORCE_PARTITION_RESIZE pmos_boot=/dev/mmcblk2p1 pmos_root=/dev/mmcblk2p2
[ 0.000000] Unknown kernel command line parameters "PMOS_NO_OUTPUT_REDIRECT PMOS_FORCE_PARTITION_RESIZE pmos_boot=/dev/mmcblk2p1 pmos_root=/dev/mmcblk2p2", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 774144
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x00000000e8200000-0x00000000ec200000] (64MB)
[ 0.000000] Memory: 2733344K/3145728K available (11648K kernel code, 1358K rwdata, 3296K rodata, 2368K init, 440K bss, 150240K reserved, 262144K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 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] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: Enabling global workaround for Allwinner erratum UNKNOWN1
[ 0.000000] arch_timer: CPU0: Trapping CNTVCT access
[ 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.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000258] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000819] Console: colour dummy device 80x25
[ 0.000834] printk: console [tty0] enabled
[ 0.000935] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.000952] pid_max: default: 32768 minimum: 301
[ 0.001066] LSM: initializing lsm=capability,integrity
[ 0.001210] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.001248] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.003724] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.003843] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.004179] rcu: Hierarchical SRCU implementation.
[ 0.004187] rcu: Max phase no-delay instances is 1000.
[ 0.005146] smp: Bringing up secondary CPUs ...
[ 0.007222] Detected VIPT I-cache on CPU1
[ 0.007350] arch_timer: CPU1: Trapping CNTVCT access
[ 0.007368] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.008839] Detected VIPT I-cache on CPU2
[ 0.008915] arch_timer: CPU2: Trapping CNTVCT access
[ 0.008927] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.010168] Detected VIPT I-cache on CPU3
[ 0.010239] arch_timer: CPU3: Trapping CNTVCT access
[ 0.010250] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.010348] smp: Brought up 1 node, 4 CPUs
[ 0.010373] SMP: Total of 4 processors activated.
[ 0.010382] CPU features: detected: 32-bit EL0 Support
[ 0.010389] CPU features: detected: CRC32 instructions
[ 0.010488] CPU: All CPU(s) started at EL2
[ 0.010495] alternatives: applying system-wide alternatives
[ 0.012725] devtmpfs: initialized
[ 0.023136] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.023177] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.033860] pinctrl core: initialized pinctrl subsystem
[ 0.035162] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.036438] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.036621] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.036870] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.037420] thermal_sys: Registered thermal governor 'fair_share'
[ 0.037429] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.037436] thermal_sys: Registered thermal governor 'step_wise'
[ 0.037442] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.037495] cpuidle: using governor menu
[ 0.037676] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.037807] ASID allocator initialised with 65536 entries
[ 0.038037] Serial: AMBA PL011 UART driver
[ 0.054142] platform 1ca0000.dsi: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000/ports/port@1/endpoint@1
[ 0.055045] platform 1ee0000.hdmi: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000/ports/port@1/endpoint@1
[ 0.058918] platform hdmi-connector: Fixed dependency cycle(s) with /soc/hdmi@1ee0000/ports/port@1/endpoint
[ 0.062022] Modules: 27936 pages in range for non-PLT usage
[ 0.062031] Modules: 519456 pages in range for PLT usage
[ 0.062834] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.062848] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.062857] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.062864] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.062872] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.062878] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.062886] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.062893] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.063590] cryptd: max_cpu_qlen set to 1000
[ 0.065581] iommu: Default domain type: Translated
[ 0.065600] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.065952] SCSI subsystem initialized
[ 0.066227] usbcore: registered new interface driver usbfs
[ 0.066269] usbcore: registered new interface driver hub
[ 0.066316] usbcore: registered new device driver usb
[ 0.066898] mc: Linux media interface: v0.10
[ 0.066952] videodev: Linux video capture interface: v2.00
[ 0.067206] EDAC MC: Ver: 3.0.0
[ 0.069507] clocksource: Switched to clocksource arch_sys_counter
[ 0.069811] VFS: Disk quotas dquot_6.6.0
[ 0.069853] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.079614] NET: Registered PF_INET protocol family
[ 0.079984] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.084175] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.084247] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.084270] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.084643] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 0.086022] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.086249] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.086373] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.086710] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.088681] Unpacking initramfs...
[ 0.095491] Initialise system trusted keyrings
[ 0.095781] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 0.096804] fuse: init (API version 7.39)
[ 0.143882] Key type asymmetric registered
[ 0.143914] Asymmetric key parser 'x509' registered
[ 0.144068] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.166323] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.179543] lima 1c40000.gpu: gp - mali400 version major 1 minor 1
[ 0.179659] lima 1c40000.gpu: pp0 - mali400 version major 1 minor 1
[ 0.179756] lima 1c40000.gpu: pp1 - mali400 version major 1 minor 1
[ 0.179804] lima 1c40000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus
[ 0.180167] lima 1c40000.gpu: bus rate = 200000000
[ 0.180183] lima 1c40000.gpu: mod rate = 297000000
[ 0.181354] [drm] Initialized lima 1.1.0 20191231 for 1c40000.gpu on minor 0
[ 0.185466] Freeing initrd memory: 2472K
[ 0.199311] loop: module loaded
[ 0.201352] tun: Universal TUN/TAP device driver, 1.6
[ 0.203122] VFIO - User Level meta-driver version: 0.3
[ 0.205236] usbcore: registered new interface driver usb-storage
[ 0.209347] sun6i-rtc 1f00000.rtc: registered as rtc0
[ 0.209411] sun6i-rtc 1f00000.rtc: setting system clock to 2023-11-02T17:40:08 UTC (1698946808)
[ 0.209920] i2c_dev: i2c /dev entries driver
[ 0.213916] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[ 0.216157] sdhci: Secure Digital Host Controller Interface driver
[ 0.216186] sdhci: Copyright(c) Pierre Ossman
[ 0.216403] Synopsys Designware Multimedia Card Interface Driver
[ 0.217727] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.219519] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.220026] SMCCC: SOC_ID: ID = jep106:091e:1689 Revision = 0x00000001
[ 0.220137] hid: raw HID events driver (C) Jiri Kosina
[ 0.221211] usbcore: registered new interface driver usbhid
[ 0.221236] usbhid: USB HID core driver
[ 0.223556] cedrus 1c0e000.video-codec: Device registered as /dev/video0
[ 0.227427] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.232351] xt_time: kernel timezone is -0000
[ 0.232606] Initializing XFRM netlink socket
[ 0.232703] NET: Registered PF_INET6 protocol family
[ 0.235373] Segment Routing with IPv6
[ 0.235435] In-situ OAM (IOAM) with IPv6
[ 0.235546] mip6: Mobile IPv6
[ 0.235640] NET: Registered PF_PACKET protocol family
[ 0.235657] NET: Registered PF_KEY protocol family
[ 0.235703] Key type dns_resolver registered
[ 0.253727] registered taskstats version 1
[ 0.253996] Loading compiled-in X.509 certificates
[ 0.279517] sun8i-rotate 1020000.rotate: Device registered as /dev/video1
[ 0.279957] platform 1100000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000/ports/port@0/endpoint@0
[ 0.280020] platform 1100000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000/ports/port@0/endpoint@0
[ 0.281033] platform 1200000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000/ports/port@0/endpoint@1
[ 0.281094] platform 1200000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000/ports/port@0/endpoint@1
[ 0.284151] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.287772] sun50i-a64-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[ 0.288489] sun50i-a64-r-pinctrl 1f02c00.pinctrl: supply vcc-pl not found, using dummy regulator
[ 0.307564] scpi_protocol scpi: SCP Protocol 1.2 Firmware 0.5.10000 version
[ 0.309290] sunxi-rsb 1f03400.rsb: RSB running at 4000000 Hz
[ 0.309788] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP803 found
[ 0.313710] input: axp20x-pek as /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0
[ 0.315806] axp20x-adc axp813-adc: DMA mask not set
[ 0.316928] axp20x-battery-power-supply axp20x-battery-power-supply: DMA mask not set
[ 0.324395] axp20x-battery-power-supply axp20x-battery-power-supply: Configuring battery thermal regulation for Pinephone
[ 0.325658] axp20x-usb-power-supply axp20x-usb-power-supply: DMA mask not set
[ 0.325828] axp20x-usb-power-supply axp20x-usb-power-supply: Increasing Vbus hold voltage to 4.5V
[ 0.328249] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded
[ 0.328984] vcc-3v3: Bringing 3000000uV into 3300000-3300000uV
[ 0.331265] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.331536] vcc-dram: Bringing 1240000uV into 1200000-1200000uV
[ 0.332935] dovdd-csi: Bringing 3300000uV into 1800000-1800000uV
[ 0.335741] vcc-mipi-io: Bringing 2900000uV into 1800000-1800000uV
[ 0.336351] sun50i-a64-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.336420] avdd-csi: Bringing 2900000uV into 2800000-2800000uV
[ 0.337159] vcc-wifi-io: Bringing 3300000uV into 1800000-1800000uV
[ 0.339694] dvdd-1v8-csi: Bringing 700000uV into 1800000-1800000uV
[ 0.340448] printk: console [ttyS0] disabled
[ 0.341067] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 201, base_baud = 1500000) is a 16550A
[ 0.341163] printk: console [ttyS0] enabled
[ 0.341173] printk: bootconsole [uart0] disabled
[ 0.343339] vcc-1v8-typec: Bringing 3300000uV into 1800000-1800000uV
[ 0.344711] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 202, base_baud = 1500000) is a 16550A
[ 0.345152] serial serial0: tty port ttyS1 registered
[ 0.347658] 1c28c00.serial: ttyS2 at MMIO 0x1c28c00 (irq = 203, base_baud = 1500000) is a 16550A
[ 0.471656] Goodix-TS 0-005d: ID 917S, version: 0200
[ 0.471824] Goodix-TS 0-005d: Direct firmware load for goodix_917S_cfg.bin failed with error -2
[ 0.472343] i2c 0-0028: Fixed dependency cycle(s) with /soc/phy@1c19400/port/endpoint
[ 0.480796] input: Goodix Capacitive TouchScreen as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-005d/input/input1
[ 0.491638] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[ 0.492062] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[ 0.494586] sunxi-mmc 1c11000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[ 0.495009] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[ 0.495282] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[ 0.498578] musb-sunxi 1c19000.usb: Disabling musb host side code due to re-routed phy
[ 0.498662] phy phy-1c19400.phy.1: Changing dr_mode to 1
[ 0.498674] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.498697] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.498718] ehci-platform 1c1b000.usb: EHCI Host Controller
[ 0.498773] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 2
[ 0.498829] ehci-platform 1c1a000.usb: irq 210, io mem 0x01c1a000
[ 0.498871] ehci-platform 1c1b000.usb: irq 211, io mem 0x01c1b000
[ 0.498893] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests
[ 0.513540] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.513839] mmc1: new high speed SDIO card at address 0001
[ 0.514584] hub 1-0:1.0: USB hub found
[ 0.514642] hub 1-0:1.0: 1 port detected
[ 0.533526] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[ 0.534432] hub 2-0:1.0: USB hub found
[ 0.534507] hub 2-0:1.0: 1 port detected
[ 0.634628] mmc2: new DDR MMC card at address 0001
[ 0.639734] mmcblk2: mmc2:0001 DA4032 29.1 GiB
[ 0.646446] mmcblk2: p1 p2
[ 0.647663] mmcblk2boot0: mmc2:0001 DA4032 4.00 MiB
[ 0.651288] mmcblk2boot1: mmc2:0001 DA4032 4.00 MiB
[ 0.710511] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 0.710568] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 3
[ 0.710757] ohci-platform 1c1a400.usb: irq 213, io mem 0x01c1a400
[ 0.710974] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[ 0.711006] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 4
[ 0.711147] ohci-platform 1c1b400.usb: irq 214, io mem 0x01c1b400
[ 0.715450] input: gpio-keys as /devices/platform/gpio-keys/input/input3
[ 0.716590] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 0.721399] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 0.721575] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 0.721595] cfg80211: failed to load regulatory.db
[ 0.721720] clk: Disabling unused clocks
[ 0.722117] dw-apb-uart 1c28000.serial: forbid DMA for kernel console
[ 0.779669] hub 4-0:1.0: USB hub found
[ 0.779750] hub 4-0:1.0: 1 port detected
[ 0.781419] hub 3-0:1.0: USB hub found
[ 0.781568] hub 3-0:1.0: 1 port detected
[ 0.783823] Freeing unused kernel memory: 2368K
[ 0.809675] Run /init as init process
[ 0.809706] with arguments:
[ 0.809712] /init
[ 0.809719] PMOS_NO_OUTPUT_REDIRECT
[ 0.809726] PMOS_FORCE_PARTITION_RESIZE
[ 0.809733] with environment:
[ 0.809739] HOME=/
[ 0.809745] TERM=linux
[ 0.809751] pmos_boot=/dev/mmcblk2p1
[ 0.809758] pmos_root=/dev/mmcblk2p2
[ 0.937528] anx7688 0-0028: power enabled
[ 0.937829] anx7688 0-0028: Vendor id 0x1f29
[ 0.953564] anx7688 0-0028: power disabled
[ 0.953839] anx7688 0-0028: enabling USB BC 1.2 detection
[ 0.954017] anx7688 0-0028: plug irq (cd=1)
[ 0.960400] input: gpio-vibrator as /devices/platform/vibrator/input/input4
[ 0.969549] anx7688 0-0028: cable inserted
[ 1.000249] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080c03710)
[ 1.004069] sun4i-drm display-engine: bound 1200000.mixer (ops 0xffff800080c03710)
[ 1.004731] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[ 1.004748] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xffff800080c00700)
[ 1.004996] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops 0xffff800080c00700)
[ 1.005031] sun4i-drm display-engine: bound 1ca0000.dsi (ops 0xffff800080c02420)
[ 1.006177] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[ 1.006933] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[ 1.007486] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xffff800080c02a18)
[ 1.008427] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 1
[ 1.008549] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes
[ 1.009566] anx7688 0-0028: power enabled
[ 1.065525] pinephone-keyboard 2-0015: Keyboard was not found on the I2C bus, maybe it's disconnected.
[ 1.073656] anx7688 0-0028: eeprom0 = 0x03
[ 1.073672] anx7688 0-0028: fw loaded after 40 ms
[ 1.073831] anx7688 0-0028: OCM firmware loaded (version 0x2312)
[ 1.074750] anx7688 0-0028: send pd packet cmd=0x00 05 00 32 90 01 26 12
[ 1.122596] anx7688 0-0028: send pd packet cmd=0x01 05 01 2c 91 01 26 16
[ 1.123104] anx7688 0-0028: send pd packet cmd=0x02 11 02 00 00 00 ec 00 00 00 00 00 00 00 00 39 00 00 51 77
[ 1.123892] anx7688 0-0028: send pd packet cmd=0x03 05 03 00 00 01 ff f8
[ 1.124385] anx7688 0-0028: OCM configuration completed
[ 1.125026] sun8i-dw-hdmi 1ee0000.hdmi: EVENT=plugout
[ 1.292849] Console: switching to colour frame buffer device 90x90
[ 1.310562] anx7688 0-0028: status changed to 0x00
[ 1.310577] anx7688 0-0028: cc_status changed to CC1 = SRC.Open CC2 = SRC.Open
[ 1.310587] anx7688 0-0028: DP state changed to 0x0000
[ 1.310596] anx7688 0-0028: VCONN role change to SINK
[ 1.310614] anx7688 0-0028: DATA role change requested to UFP
[ 1.326342] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb frame buffer device
[ 1.326550] sun6i-mipi-dsi 1ca0000.dsi: Attached device xbd599
[ 1.326563] panel-sitronix-st7703 1ca0000.dsi.0: 720x1440@60 24bpp dsi 4dl - ready
[ 1.566343] anx7688 0-0028: cc_status changed to CC1 = SNK.Power3.0 CC2 = SRC.Open
[ 2.019334] anx7688 0-0028: recv ocm message cmd=0xf2 01 f2 0d
[ 2.019362] anx7688 0-0028: received HARD_RST, idiot firmware is bored
[ 2.110839] configfs-gadget.g1 gadget.0: HOST MAC 36:4f:94:0a:4b:d2
[ 2.110864] configfs-gadget.g1 gadget.0: MAC d2:9b:60:73:56:a2
[ 2.110991] phy phy-1c19400.phy.1: Changing dr_mode to 2
[ 2.204229] EXT4-fs (mmcblk2p1): mounting ext2 file system using the ext4 subsystem
[ 2.209611] EXT4-fs (mmcblk2p1): mounted filesystem 45da9b09-29fe-4bea-bf42-19fd76a6e4b1 ro without journal. Quota mode: none.
[ 3.018326] udevd[1351]: starting version 3.2.14
[ 3.789524] random: crng init done
[ 3.791792] udevd[1351]: specified group 'tty' unknown
[ 3.791894] udevd[1351]: specified group 'dialout' unknown
[ 3.791930] udevd[1351]: specified group 'kmem' unknown
[ 3.791963] udevd[1351]: specified group 'input' unknown
[ 3.792002] udevd[1351]: specified group 'video' unknown
[ 3.792079] udevd[1351]: specified group 'audio' unknown
[ 3.792283] udevd[1351]: specified group 'lp' unknown
[ 3.792349] udevd[1351]: specified group 'disk' unknown
[ 3.792384] udevd[1351]: specified group 'cdrom' unknown
[ 3.817180] udevd[1352]: starting eudev-3.2.14
[ 5.056015] anx7688 0-0028: updating power mode to 3.0A, current limit 3000mA (0 => BC1.2)
[ 5.056052] anx7688 0-0028: disabling USB BC 1.2 detection
[ 5.056171] anx7688 0-0028: setting vbus_in current limit to 3000 mA
[ 5.056314] anx7688 0-0028: enabling vbus_in power path
[ 7.038639] anx7688 0-0028: recv ocm message cmd=0xf2 01 f2 0d
[ 7.038671] anx7688 0-0028: received HARD_RST, idiot firmware is bored
[ 12.062234] anx7688 0-0028: recv ocm message cmd=0xf2 01 f2 0d
[ 12.062268] anx7688 0-0028: received HARD_RST, idiot firmware is bored
[ 12.255890] sun8i-di 1e00000.deinterlace: Device registered as /dev/video2
[ 12.260759] platform 1cb0000.csi: deferred probe pending
[ 12.262420] udevd[2457]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video2': No such file or directory
[ 12.266116] udevd[2458]: failed to execute '/usr/libexec/elogind/elogind-uaccess-command' '/usr/libexec/elogind/elogind-uaccess-command /dev/video2 ': No such file or directory
[ 37.529670] EXT4-fs (dm-0): INFO: recovery required on readonly filesystem
[ 37.529689] EXT4-fs (dm-0): write access will be enabled during recovery
[ 37.961835] EXT4-fs (dm-0): recovery complete
[ 37.964240] EXT4-fs (dm-0): mounted filesystem 7f7da7fa-1ba0-4942-b2fe-a57ac116261f ro with ordered data mode. Quota mode: none.
[ 37.973223] EXT4-fs (mmcblk2p1): unmounting filesystem 45da9b09-29fe-4bea-bf42-19fd76a6e4b1.
[ 38.019403] EXT4-fs (mmcblk2p1): mounting ext2 file system using the ext4 subsystem
[ 38.020771] EXT4-fs (mmcblk2p1): warning: mounting unchecked fs, running e2fsck is recommended
[ 38.029112] EXT4-fs (mmcblk2p1): mounted filesystem 45da9b09-29fe-4bea-bf42-19fd76a6e4b1 r/w without journal. Quota mode: none.
[ 38.070965] printk: udevd: 39 output lines suppressed due to ratelimiting
[ 40.973240] udevd[2972]: starting version 3.2.14
[ 41.197676] udevd[2972]: starting eudev-3.2.14
[ 41.527041] i2c 4-003c: Fixed dependency cycle(s) with /soc/csi@1cb0000/port/endpoint@1
[ 41.527829] i2c 4-004c: Fixed dependency cycle(s) with /soc/csi@1cb0000/port/endpoint@0
[ 41.528243] i2c-gpio i2c-csi: using lines 141 (SDA) and 140 (SCL)
[ 41.564214] input: 1c21800.lradc as /devices/platform/soc/1c21800.lradc/input/input5
[ 41.760113] stk3310 1-0048: supply i2c not found, using dummy regulator
[ 41.859447] 8723cs: module is from the staging directory, the quality is unknown, you have been warned.
[ 41.895894] simple-amplifier audio-amplifier: supply VCC not found, using dummy regulator
[ 41.915628] debugfs: File 'Bluetooth Playback' in directory 'dapm' already present!
[ 41.915654] debugfs: File 'Bluetooth Capture' in directory 'dapm' already present!
[ 41.925975] Bluetooth: Core ver 2.22
[ 41.926091] NET: Registered PF_BLUETOOTH protocol family
[ 41.926097] Bluetooth: HCI device and connection manager initialized
[ 41.926122] Bluetooth: HCI socket layer initialized
[ 41.926132] Bluetooth: L2CAP socket layer initialized
[ 41.926150] Bluetooth: SCO socket layer initialized
[ 41.926275] input: PinePhone Headset Jack as /devices/platform/sound/sound/card0/input6
[ 41.942552] iio iio:device3: lis3mdl is not present on the bus
[ 41.974648] Bluetooth: HCI UART driver ver 2.3
[ 41.974670] Bluetooth: HCI UART protocol H4 registered
[ 41.974759] Bluetooth: HCI UART protocol LL registered
[ 41.974823] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 41.975118] Bluetooth: HCI UART protocol Broadcom registered
[ 41.975739] dw-apb-uart 1c28400.serial: failed to request DMA
[ 42.309055] i2c i2c-1: Added multiplexed i2c bus 5
[ 42.829705] Bluetooth: hci0: RTL: chip_type status=0 type=5
[ 42.829737] Bluetooth: hci0: RTL: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8703
[ 42.833364] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 42.833377] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723cs_xx_fw.bin
[ 42.841831] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723cs_xx_config.bin
[ 42.868060] Bluetooth: hci0: RTL: cfg_sz 63, total sz 19427
[ 43.204207] Bluetooth: hci0: RTL: fw version 0xaa5ca4dc
[ 43.240960] Bluetooth: hci0: broken local ext features page 2
[ 43.378299] EXT4-fs (dm-0): re-mounted 7f7da7fa-1ba0-4942-b2fe-a57ac116261f r/w. Quota mode: none.
[ 44.933902] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 44.933926] Bluetooth: BNEP filters: protocol multicast
[ 44.933951] Bluetooth: BNEP socket layer initialized
[ 44.948554] Bluetooth: MGMT ver 1.22
[ 44.974501] NET: Registered PF_ALG protocol family
[ 46.982639] dw-apb-uart 1c28c00.serial: failed to request DMA
[ 48.473666] usb 2-1: new high-speed USB device number 2 using ehci-platform
[ 49.291685] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000060
[ 49.291715] Mem abort info:
[ 49.291720] ESR = 0x0000000096000004
[ 49.291725] EC = 0x25: DABT (current EL), IL = 32 bits
[ 49.291731] SET = 0, FnV = 0
[ 49.291736] EA = 0, S1PTW = 0
[ 49.291741] FSC = 0x04: level 0 translation fault
[ 49.291746] Data abort info:
[ 49.291750] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
[ 49.291757] CM = 0, WnR = 0, TnD = 0, TagAccess = 0
[ 49.291763] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[ 49.291769] user pgtable: 4k pages, 48-bit VAs, pgdp=000000004fd7b000
[ 49.291777] [0000000000000060] pgd=0000000000000000, p4d=0000000000000000
[ 49.291794] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
[ 49.298182] Modules linked in: nft_reject_inet nft_reject nft_ct nf_tables algif_hash algif_skcipher af_alg bnep snd_soc_hdmi_codec ov5640 gc2145 hci_uart btbcm btrtl st_magn_i2c bluetooth st_magn dw_hdmi_i2s_audio st_sensors inv_mpu6050_i2c inv_mpu6050 sun9i_hdmi_audio snd_soc_simple_card industrialio_triggered_buffer kfifo_buf inv_sensors_timestamp snd_soc_simple_card_utils sun50i_codec_analog st_sensors_i2c 8723cs(C) sun8i_adda_pr_regmap snd_soc_ec25 sun8i_codec snd_soc_simple_amplifier sun4i_i2s snd_soc_bt_sco sun8i_a33_mbus stk3310 snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer sun4i_lradc_keys snd i2c_gpio soundcore i2c_algo_bit ppkb_manager dm_crypt ecdh_generic ecc pinephone_keyboard gpio_vibra anx7688
[ 49.364133] CPU: 3 PID: 3601 Comm: NetworkManager Tainted: G C 6.6.0-rc5 #1-postmarketos-allwinner
[ 49.375768] Hardware name: Pine64 PinePhone (1.2) (DT)
[ 49.380985] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 49.388084] pc : eth_get_drvinfo+0x4c/0x80
[ 49.392283] lr : eth_get_drvinfo+0x40/0x80
[ 49.397062] sp : ffff800081c13b30
[ 49.400439] x29: ffff800081c13b30 x28: ffff0000057f63c0 x27: 0000000000000000
[ 49.407971] x26: 0000000000000000 x25: 0000fffff3dd3e80 x24: 0000000000004000
[ 49.415231] x23: ffff800080931390 x22: ffff000005b35200 x21: 0000000000000000
[ 49.423001] x20: ffff000002ee8000 x19: ffff000005b35208 x18: 0000000000000000
[ 49.430329] x17: 0000000000000000 x16: 0000000000000000 x15: 0000fffff3dd3e80
[ 49.437597] x14: ffffffffffffffff x13: 0000000000000020 x12: 0101010101010101
[ 49.444852] x11: 7f7f7f7f7f7f7f7f x10: 000080007ed2bd00 x9 : 0000000000000020
[ 49.452104] x8 : 0101010101010101 x7 : ffff000005b3522c x6 : 0000000000000020
[ 49.459356] x5 : 0000000000383030 x4 : 0000000000000008 x3 : 0000000000000028
[ 49.468078] x2 : 0000000000000020 x1 : 0000000000000000 x0 : ffff000005b3524c
[ 49.475318] Call trace:
[ 49.477814] eth_get_drvinfo+0x4c/0x80
[ 49.481640] __dev_ethtool+0x780/0x1d3c
[ 49.485570] dev_ethtool+0x160/0x23c
[ 49.489230] dev_ioctl+0x320/0x514
[ 49.494978] sock_do_ioctl+0xc4/0x100
[ 49.499057] sock_ioctl+0x2e0/0x360
[ 49.504606] __arm64_sys_ioctl+0xac/0xf0
[ 49.508620] invoke_syscall+0x48/0x110
[ 49.513761] el0_svc_common.constprop.0+0x40/0xe0
[ 49.519766] do_el0_svc+0x1c/0x28
[ 49.523685] el0_svc+0x40/0xe4
[ 49.527495] el0t_64_sync_handler+0x120/0x12c
[ 49.531934] el0t_64_sync+0x190/0x194
[ 49.535677] Code: 94107953 f944ce81 d2800402 91011260 (f9403021)
[ 49.541868] ---[ end trace 0000000000000000 ]---
[ 53.243169] usb 2-1: USB disconnect, device number 2
[ 61.774665] phosh[4418]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
[ 63.944897] Bluetooth: RFCOMM TTY layer initialized
[ 63.949909] Bluetooth: RFCOMM socket layer initialized
[ 63.955137] Bluetooth: RFCOMM ver 1.11
[ 67.626262] rfkill: input handler disabled
[ 70.861667] usb 2-1: new high-speed USB device number 3 using ehci-platform
[ 71.182511] usbcore: registered new interface driver option
[ 71.198387] usbserial: USB Serial support registered for GSM modem (1-port)
[ 71.207124] option 2-1:1.0: GSM modem (1-port) converter detected
[ 71.220501] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 71.229145] option 2-1:1.1: GSM modem (1-port) converter detected
[ 71.237225] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 71.244890] option 2-1:1.2: GSM modem (1-port) converter detected
[ 71.251978] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 71.260215] option 2-1:1.3: GSM modem (1-port) converter detected
[ 71.268047] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB3
[ 71.466180] usbcore: registered new interface driver cdc_wdm
[ 71.550013] qmi_wwan 2-1:1.4: cdc-wdm0: USB WDM device
[ 133.234532] udevd[2972]: worker [4725] /devices/platform/soc/1c1b000.usb/usb2/2-1/2-1:1.4 is taking a long time
[ 133.244934] udevd[2972]: worker [4683] /devices/platform/soc/1c1b000.usb/usb2/2-1/2-1:1.0 is taking a long time
Please let me know if I can provide any other helpful information or test a patch!