[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1021391: marked as done (Kernel Exception at BananaPi M2 Ultra)



Your message dated Fri, 30 Dec 2022 16:25:50 +0000
with message-id <224e7a8db88151a8cb34e4e08249d1859f6fdf4f.camel@posteo.de>
and subject line Misbehaviour was never shown after kernel update
has caused the Debian Bug report #1021391,
regarding Kernel Exception at BananaPi M2 Ultra
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1021391: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021391
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:linux
Severity: normal
Version: 5.19.11-1

Hello,

I installed with the daily images "testing, bookworm" to Banana Pi M2 Ultra.
After poweroff, there is a kernel exception regarding i2c:

> Last login: Fri Oct  7 13:02:50 CEST 2022 on ttyS0
> [?2004hroot@Banana-Test:~# poweroff
> [?2004l
> Failed to connect to bus: No such file or directory
> [   92.114464] reboot: Power down
> [   94.163385] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
> [  102.615362] ------------[ cut here ]------------
> [  102.619982] WARNING: CPU: 0 PID: 13 at kernel/irq_work.c:134 irq_work_queue_on+0x104/0x108
> [  102.628259] Modules linked in: hci_uart btqca btrtl btbcm btintel bluetooth jitterentropy_rng sha512_generic sha512_arm snd_soc_hdmi_codec dw_hdmi_cec dw_hdmi_i2s_audio evdev sun8i_drm_hdmi
> aes_arm_bs crypto_simd dw_hdmi cryptd drbg axp20x_adc drm_display_helper industrialio cec ansi_cprng brcmfmac brcmutil axp20x_pek sun4i_i2s lima ecdh_generic gpu_sched ecc drm_shmem_helper sunxi_cir
> snd_soc_core snd_pcm_dmaengine sunxi_cedrus(C) snd_pcm rc_core v4l2_mem2mem snd_timer sun8i_thermal sunxi_wdt cfg80211 snd videobuf2_dma_contig soundcore videobuf2_memops videobuf2_v4l2
> videobuf2_common rfkill videodev mc leds_gpio sun6i_dma display_connector fuse configfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic realtek ahci_sunxi libahci_platform
> dwmac_sun8i libahci stmmac_platform axp20x_regulator stmmac pcs_xpcs phylink mdio_mux of_mdio fixed_phy fwnode_mdio libphy ptp libata pps_core i2c_mv64xxx ehci_platform ohci_platform ohci_hcd
> phy_sun4i_usb ehci_hcd sun4i_drm scsi_mod
> [  102.628661]  sun4i_frontend usbcore sunxi_mmc sun8i_mixer scsi_common sun4i_tcon sun8i_tcon_top drm_cma_helper drm_kms_helper drm
> [  102.727286] CPU: 0 PID: 13 Comm: rcu_sched Tainted: G         C        5.19.0-2-armmp-lpae #1  Debian 5.19.11-1
> [  102.737367] Hardware name: Allwinner sun8i Family
> [  102.742078]  unwind_backtrace from show_stack+0x18/0x1c
> [  102.747314]  show_stack from dump_stack_lvl+0x40/0x4c
> [  102.752374]  dump_stack_lvl from __warn+0xd0/0x134
> [  102.757176]  __warn from warn_slowpath_fmt+0x80/0xbc
> [  102.762145]  warn_slowpath_fmt from irq_work_queue_on+0x104/0x108
> [  102.768242]  irq_work_queue_on from rcu_implicit_dynticks_qs+0x200/0x330
> [  102.774951]  rcu_implicit_dynticks_qs from force_qs_rnp+0x154/0x250
> [  102.781223]  force_qs_rnp from rcu_gp_fqs_loop+0x224/0x320
> [  102.786714]  rcu_gp_fqs_loop from rcu_gp_kthread+0x110/0x174
> [  102.792377]  rcu_gp_kthread from kthread+0xd8/0xf4
> [  102.797174]  kthread from ret_from_fork+0x14/0x34
> [  102.801881] Exception stack(0xf0851fb0 to 0xf0851ff8)
> [  102.806932] 1fa0:                                     00000000 00000000 00000000 00000000
> [  102.815102] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [  102.823272] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [  102.829880] ---[ end trace 0000000000000000 ]---
> [  113.127339] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
> [  113.133263] rcu: 	3-O..0: (1 GPs behind) idle=7ad/0/0x1 softirq=4245/4248 fqs=1219 
> [  113.140921] 	(detected by 0, t=5255 jiffies, g=2641, q=52 ncpus=4)
> [  113.147098] rcu: Offline CPU 3 blocking current GP.
> 

The complete log from RS232 is attached.
Hopefully it helps.

If i can do some other tests, please let me know.

Best regards and thank you for your support.
Bernhard


U-Boot SPL 2022.10+dfsg-1 (Oct 04 2022 - 00:06:38 +0000)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2022.10+dfsg-1 (Oct 04 2022 - 00:06:38 +0000) Allwinner Technology

CPU:   Allwinner R40 (SUN8I 1701)
Model: Banana Pi BPI-M2-Ultra
DRAM:  2 GiB
Core:  65 devices, 22 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20c90
MMC:   mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 0:1...
In:    serial@1c28000
Out:   serial@1c28000
Err:   serial@1c28000
Net:   eth0: ethernet@1c50000
starting USB...
Bus usb@1c19000: ehci_generic usb@1c19000: failed to get usb phy
Port not available.
Bus usb@1c19400: ohci_generic usb@1c19400: failed to get usb phy
Port not available.
Bus usb@1c1c000: ehci_generic usb@1c1c000: failed to get usb phy
Port not available.
Bus usb@1c1c400: ohci_generic usb@1c1c400: failed to get usb phy
Port not available.
Hit any key to stop autoboot:  2  1  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
2627 bytes read in 3 ms (854.5 KiB/s)
## Executing script at 43100000
Mainline u-boot / new-style environment detected.
5210624 bytes read in 272 ms (18.3 MiB/s)
24053 bytes read in 6 ms (3.8 MiB/s)
25060423 bytes read in 1287 ms (18.6 MiB/s)
Booting Debian 5.19.0-2-armmp-lpae from mmc 0:1...
Kernel image @ 0x42000000 [ 0x000000 - 0x4f8200 ]
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Loading Ramdisk to 48819000, end 49fff447 ... OK
   Loading Device Tree to 48810000, end 48818df4 ... OK

Starting kernel ...

[    0.003958] /cpus/cpu@0 missing clock-frequency property
[    0.003995] /cpus/cpu@1 missing clock-frequency property
[    0.004012] /cpus/cpu@2 missing clock-frequency property
[    0.004029] /cpus/cpu@3 missing clock-frequency property
[    6.136629] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 198
[    6.143295] sun4i-pinctrl 1c20800.pinctrl: pin-198 (1c28c00.serial) status -517
[    6.150618] sun4i-pinctrl 1c20800.pinctrl: could not request pin 198 (PG6) from group PG6  on device 1c20800.pinctrl
[    6.161142] dw-apb-uart 1c28c00.serial: Error applying setting, reverse things back
[    6.169489] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 202
[    6.176125] sun4i-pinctrl 1c20800.pinctrl: pin-202 (1c20800.pinctrl:202) status -517
[    6.185183] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 198
[    6.191826] sun4i-pinctrl 1c20800.pinctrl: pin-198 (1c28c00.serial) status -517
[    6.199168] sun4i-pinctrl 1c20800.pinctrl: could not request pin 198 (PG6) from group PG6  on device 1c20800.pinctrl
[    6.209693] dw-apb-uart 1c28c00.serial: Error applying setting, reverse things back
[    6.217962] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 202
[    6.224596] sun4i-pinctrl 1c20800.pinctrl: pin-202 (1c20800.pinctrl:202) status -517
[    6.232974] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 198
[    6.239618] sun4i-pinctrl 1c20800.pinctrl: pin-198 (1c28c00.serial) status -517
[    6.246941] sun4i-pinctrl 1c20800.pinctrl: could not request pin 198 (PG6) from group PG6  on device 1c20800.pinctrl
[    6.257467] dw-apb-uart 1c28c00.serial: Error applying setting, reverse things back
[    6.265658] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 202
[    6.272304] sun4i-pinctrl 1c20800.pinctrl: pin-202 (1c20800.pinctrl:202) status -517
[    7.012736] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 198
[    7.019478] sun4i-pinctrl 1c20800.pinctrl: pin-198 (1c28c00.serial) status -517
[    7.026892] sun4i-pinctrl 1c20800.pinctrl: could not request pin 198 (PG6) from group PG6  on device 1c20800.pinctrl
[    7.037542] dw-apb-uart 1c28c00.serial: Error applying setting, reverse things back
[    7.085179] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 202
[    7.091904] sun4i-pinctrl 1c20800.pinctrl: pin-202 (1c20800.pinctrl:202) status -517
[    7.137639] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 198
[    7.144425] sun4i-pinctrl 1c20800.pinctrl: pin-198 (1c28c00.serial) status -517
[    7.151809] sun4i-pinctrl 1c20800.pinctrl: could not request pin 198 (PG6) from group PG6  on device 1c20800.pinctrl
[    7.162375] dw-apb-uart 1c28c00.serial: Error applying setting, reverse things back
[    7.235411] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 202
[    7.242106] sun4i-pinctrl 1c20800.pinctrl: pin-202 (1c20800.pinctrl:202) status -517
[    7.260013] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 160
[    7.262359] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 198
[    7.266723] sun4i-pinctrl 1c20800.pinctrl: pin-160 (1c0f000.mmc) status -517
[    7.268274] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 192
[    7.268286] sun4i-pinctrl 1c20800.pinctrl: pin-192 (1c10000.mmc) status -517
[    7.268297] sun4i-pinctrl 1c20800.pinctrl: could not request pin 192 (PG0) from group PG0  on device 1c20800.pinctrl
[    7.268308] sunxi-mmc 1c10000.mmc: Error applying setting, reverse things back
[    7.269384] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 69
[    7.269395] sun4i-pinctrl 1c20800.pinctrl: pin-69 (1c11000.mmc) status -517
[    7.269405] sun4i-pinctrl 1c20800.pinctrl: could not request pin 69 (PC5) from group PC5  on device 1c20800.pinctrl
[    7.269415] sunxi-mmc 1c11000.mmc: Error applying setting, reverse things back
[    7.273384] sun4i-pinctrl 1c20800.pinctrl: pin-198 (1c28c00.serial) status -517
[    7.280484] sun4i-pinctrl 1c20800.pinctrl: could not request pin 160 (PF0) from group PF0  on device 1c20800.pinctrl
[    7.287093] sun4i-pinctrl 1c20800.pinctrl: could not request pin 198 (PG6) from group PG6  on device 1c20800.pinctrl
[    7.294207] sunxi-mmc 1c0f000.mmc: Error applying setting, reverse things back
[    7.304711] dw-apb-uart 1c28c00.serial: Error applying setting, reverse things back
[    7.310964] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 202
[    7.325582] sun4i-pinctrl 1c20800.pinctrl: pin-202 (1c20800.pinctrl:202) status -517
[    7.346040] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 192
[    7.347316] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 198
[    7.347330] sun4i-pinctrl 1c20800.pinctrl: pin-198 (1c28c00.serial) status -517
[    7.347402] sun4i-pinctrl 1c20800.pinctrl: could not request pin 198 (PG6) from group PG6  on device 1c20800.pinctrl
[    7.347415] dw-apb-uart 1c28c00.serial: Error applying setting, reverse things back
[    7.348699] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 202
[    7.348709] sun4i-pinctrl 1c20800.pinctrl: pin-202 (1c20800.pinctrl:202) status -517
[    7.352667] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 198
[    7.352679] sun4i-pinctrl 1c20800.pinctrl: pin-198 (1c28c00.serial) status -517
[    7.352689] sun4i-pinctrl 1c20800.pinctrl: could not request pin 198 (PG6) from group PG6  on device 1c20800.pinctrl
[    7.352700] dw-apb-uart 1c28c00.serial: Error applying setting, reverse things back
[    7.361206] sun4i-pinctrl 1c20800.pinctrl: pin-192 (1c10000.mmc) status -517
[    7.361224] sun4i-pinctrl 1c20800.pinctrl: could not request pin 192 (PG0) from group PG0  on device 1c20800.pinctrl
[    7.379028] sunxi-mmc 1c10000.mmc: Error applying setting, reverse things back
/dev/mmcblk0p1: clean, 22515/477664 files, 273735/1908224 blocks
[   11.779944] brcmfmac mmc2:0001:1: firmware: failed to load brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-ultra.bin (-2)
[   11.790294] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[   11.800991] brcmfmac mmc2:0001:1: firmware: failed to load brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-ultra.bin (-2)
[   11.811520] brcmfmac mmc2:0001:1: firmware: failed to load brcm/brcmfmac43430-sdio.bin (-2)
[   11.822447] brcmfmac mmc2:0001:1: firmware: failed to load brcm/brcmfmac43430-sdio.bin (-2)
[   12.881753] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[   13.335552] bluetooth hci0: firmware: failed to load brcm/BCM43430A1.sinovoip,bpi-m2-ultra.hcd (-2)
[   13.344798] bluetooth hci0: firmware: failed to load brcm/BCM43430A1.sinovoip,bpi-m2-ultra.hcd (-2)
[   13.354054] bluetooth hci0: firmware: failed to load brcm/BCM43430A1.hcd (-2)
[   13.361346] bluetooth hci0: firmware: failed to load brcm/BCM43430A1.hcd (-2)
[   13.368614] bluetooth hci0: firmware: failed to load brcm/BCM.sinovoip,bpi-m2-ultra.hcd (-2)
[   13.377236] bluetooth hci0: firmware: failed to load brcm/BCM.sinovoip,bpi-m2-ultra.hcd (-2)
[   13.385890] bluetooth hci0: firmware: failed to load brcm/BCM.hcd (-2)
[   13.392556] bluetooth hci0: firmware: failed to load brcm/BCM.hcd (-2)
[   13.399223] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[   13.405939] Bluetooth: hci0: BCM: 'brcm/BCM43430A1.sinovoip,bpi-m2-ultra.hcd'
[   13.413237] Bluetooth: hci0: BCM: 'brcm/BCM43430A1.hcd'
[   13.418568] Bluetooth: hci0: BCM: 'brcm/BCM.sinovoip,bpi-m2-ultra.hcd'
[   13.425195] Bluetooth: hci0: BCM: 'brcm/BCM.hcd'


Debian GNU/Linux bookworm/sid Banana-Test ttyS0

Banana-Test login: root

Password: 
Linux Banana-Test 5.19.0-2-armmp-lpae #1 SMP Debian 5.19.11-1 (2022-09-24) armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Oct  7 13:02:50 CEST 2022 on ttyS0
[?2004hroot@Banana-Test:~# poweroff
[?2004l
Failed to connect to bus: No such file or directory
[   92.114464] reboot: Power down
[   94.163385] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[  102.615362] ------------[ cut here ]------------
[  102.619982] WARNING: CPU: 0 PID: 13 at kernel/irq_work.c:134 irq_work_queue_on+0x104/0x108
[  102.628259] Modules linked in: hci_uart btqca btrtl btbcm btintel bluetooth jitterentropy_rng sha512_generic sha512_arm snd_soc_hdmi_codec dw_hdmi_cec dw_hdmi_i2s_audio evdev sun8i_drm_hdmi aes_arm_bs crypto_simd dw_hdmi cryptd drbg axp20x_adc drm_display_helper industrialio cec ansi_cprng brcmfmac brcmutil axp20x_pek sun4i_i2s lima ecdh_generic gpu_sched ecc drm_shmem_helper sunxi_cir snd_soc_core snd_pcm_dmaengine sunxi_cedrus(C) snd_pcm rc_core v4l2_mem2mem snd_timer sun8i_thermal sunxi_wdt cfg80211 snd videobuf2_dma_contig soundcore videobuf2_memops videobuf2_v4l2 videobuf2_common rfkill videodev mc leds_gpio sun6i_dma display_connector fuse configfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic realtek ahci_sunxi libahci_platform dwmac_sun8i libahci stmmac_platform axp20x_regulator stmmac pcs_xpcs phylink mdio_mux of_mdio fixed_phy fwnode_mdio libphy ptp libata pps_core i2c_mv64xxx ehci_platform ohci_platform ohci_hcd phy_sun4i_usb ehci_hcd sun4i_drm scsi_mod
[  102.628661]  sun4i_frontend usbcore sunxi_mmc sun8i_mixer scsi_common sun4i_tcon sun8i_tcon_top drm_cma_helper drm_kms_helper drm
[  102.727286] CPU: 0 PID: 13 Comm: rcu_sched Tainted: G         C        5.19.0-2-armmp-lpae #1  Debian 5.19.11-1
[  102.737367] Hardware name: Allwinner sun8i Family
[  102.742078]  unwind_backtrace from show_stack+0x18/0x1c
[  102.747314]  show_stack from dump_stack_lvl+0x40/0x4c
[  102.752374]  dump_stack_lvl from __warn+0xd0/0x134
[  102.757176]  __warn from warn_slowpath_fmt+0x80/0xbc
[  102.762145]  warn_slowpath_fmt from irq_work_queue_on+0x104/0x108
[  102.768242]  irq_work_queue_on from rcu_implicit_dynticks_qs+0x200/0x330
[  102.774951]  rcu_implicit_dynticks_qs from force_qs_rnp+0x154/0x250
[  102.781223]  force_qs_rnp from rcu_gp_fqs_loop+0x224/0x320
[  102.786714]  rcu_gp_fqs_loop from rcu_gp_kthread+0x110/0x174
[  102.792377]  rcu_gp_kthread from kthread+0xd8/0xf4
[  102.797174]  kthread from ret_from_fork+0x14/0x34
[  102.801881] Exception stack(0xf0851fb0 to 0xf0851ff8)
[  102.806932] 1fa0:                                     00000000 00000000 00000000 00000000
[  102.815102] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  102.823272] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  102.829880] ---[ end trace 0000000000000000 ]---
[  113.127339] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[  113.133263] rcu: 	3-O..0: (1 GPs behind) idle=7ad/0/0x1 softirq=4245/4248 fqs=1219 
[  113.140921] 	(detected by 0, t=5255 jiffies, g=2641, q=52 ncpus=4)
[  113.147098] rcu: Offline CPU 3 blocking current GP.

--- End Message ---
--- Begin Message ---
Version: 6.0.12-1
Thanks

Hello all

This problem was never shown with kernel 6.0.12.
Possible, that the bugfixes for I2C/RSB introduced in kernel 6.0.11
solves the problems.

Best regards and a happy new year.
Bernhard

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: