Re: Oops in ssi (through nokia-modem)

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

 



Hi,

Any idea what could be causing this regression? I've also enabled
HSI_CHAR=m just in case that was the problem -- it wasn't, the same
problem occurs unfortunately.

Thanks in advance.

Regards,
Merlijn

On 27/11/2021 02:09, Merlijn Wajer wrote:
> Hi,
> 
> As soon as nokia-modem on my Nokia N900 gets used, I get the following
> warning, followed by an oops [1]. I believe the nokia-modem module is
> probed with the "pm=1" argument, but that doesn't seem particularly
> important given the trace, I think.
> 
> Don't know exactly when this would have been introduced, but it worked
> in 5.1 at least. Please let me know if I should provide more debug info,
> or how I can help fix the problem.
> 
> Thanks,
> Cheers,
> Merlijn
> 
> [1]
>> [  165.461120] ssi-protocol ssi-protocol: WAKELINES TEST OK
>> [  165.467529] IPv6: ADDRCONF(NETDEV_CHANGE): phonet0: link becomes ready
>> [  165.498687] ------------[ cut here ]------------
>> [  165.503417] WARNING: CPU: 0 PID: 662 at kernel/dma/mapping.c:188 __dma_map_sg_attrs+0xd8/0x100
>> [  165.512237] Modules linked in: usb_f_ecm u_ether usb_f_mass_storage libcomposite bluetooth ecdh_generic ecc libaes zram zsmalloc cmt_speech nokia_modem ssi_protocol phonet joydev mousedev evdev wl1251_spi wl1251 mac80211 libarc4 omap3_rom_rng ir_rx51 rng_core rc_core snd_soc_rx51 leds_gpio sha256_generic libsha256 pvrsrvkm_omap3_sgx530_121 sha256_arm gpio_keys isp1704_charger pwm_omap_dmtimer display_connector cpufreq_dt omap3_isp videobuf2_dma_contig videobuf2_memops snd_soc_omap_mcbsp videobuf2_v4l2 snd_soc_ti_sdma videobuf2_common v4l2_fwnode v4l2_async cfg80211 videodev snd_soc_tpa6130a2 omap_sham crypto_engine mc snd_soc_core snd_pcm_dmaengine tsc2005 tsc200x_core panel_sony_acx565akm snd_pcm omap2430 snd_timer phy_twl4030_usb leds_lp5523 leds_lp55xx_common snd omap_mailbox bq2415x_charger led_class soundcore bq27xxx_battery_i2c bq27xxx_battery musb_hdrc udc_core rtc_twl ohci_platform ohci_hcd ehci_hcd twl4030_pwrbutton pwm_twl_led st_accel_i2c st_sensors_i2c st_accel
>> [  165.513031]  twl4030_keypad pwm_twl twl4030_charger st_sensors twl4030_madc matrix_keymap industrialio_triggered_buffer kfifo_buf usbcore industrialio usb_common omapdrm omap_ssi hsi drm_kms_helper cfbfillrect syscopyarea cfbimgblt sysfillrect sysimgblt fb_sys_fops cfbcopyarea drm drm_panel_orientation_quirks cec
>> [  165.627838] CPU: 0 PID: 662 Comm: irq/83-SSI PORT Not tainted 5.15.2-218696-g31e48a7f0946-dirty #1
>> [  165.636871] Hardware name: Nokia RX-51 board
>> [  165.641204] [<c0111254>] (unwind_backtrace) from [<c010b8ac>] (show_stack+0x10/0x14)
>> [  165.649017] [<c010b8ac>] (show_stack) from [<c0a11d84>] (dump_stack_lvl+0x40/0x4c)
>> [  165.656677] [<c0a11d84>] (dump_stack_lvl) from [<c01362c8>] (__warn+0xd8/0x100)
>> [  165.664062] [<c01362c8>] (__warn) from [<c0a0d370>] (warn_slowpath_fmt+0x58/0xb8)
>> [  165.671600] [<c0a0d370>] (warn_slowpath_fmt) from [<c01b9bc0>] (__dma_map_sg_attrs+0xd8/0x100)
>> [  165.680297] [<c01b9bc0>] (__dma_map_sg_attrs) from [<c01b9bfc>] (dma_map_sg_attrs+0x14/0x20)
>> [  165.688781] [<c01b9bfc>] (dma_map_sg_attrs) from [<bf0a7738>] (ssi_start_transfer+0x208/0x358 [omap_ssi])
>> [  165.698486] [<bf0a7738>] (ssi_start_transfer [omap_ssi]) from [<bf0a7918>] (ssi_async+0x90/0x1f4 [omap_ssi])
>> [  165.708404] [<bf0a7918>] (ssi_async [omap_ssi]) from [<bf0a7d20>] (ssi_pio_complete+0x108/0x244 [omap_ssi])
>> [  165.718261] [<bf0a7d20>] (ssi_pio_complete [omap_ssi]) from [<bf0a7ef8>] (ssi_pio_thread+0x9c/0x3ec [omap_ssi])
>> [  165.728454] [<bf0a7ef8>] (ssi_pio_thread [omap_ssi]) from [<c019d094>] (irq_thread_fn+0x1c/0x78)
>> [  165.737335] [<c019d094>] (irq_thread_fn) from [<c019d380>] (irq_thread+0x108/0x210)
>> [  165.745056] [<c019d380>] (irq_thread) from [<c0159ba0>] (kthread+0x168/0x1a4)
>> [  165.752288] [<c0159ba0>] (kthread) from [<c0100150>] (ret_from_fork+0x14/0x24)
>> [  165.759552] Exception stack(0xc39adfb0 to 0xc39adff8)
>> [  165.764648] dfa0:                                     00000000 00000000 00000000 00000000
>> [  165.772888] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> [  165.781127] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
>> [  165.787841] ---[ end trace a3f2b689bab17aa5 ]---
>> [  166.436523] irq 26: nobody cared (try booting with the "irqpoll" option)
>> [  166.443298] CPU: 0 PID: 662 Comm: irq/83-SSI PORT Tainted: G        W         5.15.2-218696-g31e48a7f0946-dirty #1
>> [  166.453704] Hardware name: Nokia RX-51 board
>> [  166.458007] [<c0111254>] (unwind_backtrace) from [<c010b8ac>] (show_stack+0x10/0x14)
>> [  166.465820] [<c010b8ac>] (show_stack) from [<c0a11d84>] (dump_stack_lvl+0x40/0x4c)
>> [  166.473449] [<c0a11d84>] (dump_stack_lvl) from [<c0a0ddf8>] (__report_bad_irq+0x30/0xc0)
>> [  166.481628] [<c0a0ddf8>] (__report_bad_irq) from [<c019fe5c>] (note_interrupt+0x150/0x2d8)
>> [  166.489959] [<c019fe5c>] (note_interrupt) from [<c019c518>] (handle_irq_event_percpu+0x6c/0x78)
>> [  166.498718] [<c019c518>] (handle_irq_event_percpu) from [<c019c55c>] (handle_irq_event+0x38/0x5c)
>> [  166.507659] [<c019c55c>] (handle_irq_event) from [<c01a0d60>] (handle_level_irq+0xc0/0x14c)
>> [  166.516082] [<c01a0d60>] (handle_level_irq) from [<c019bba8>] (handle_domain_irq+0x70/0xac)
>> [  166.524505] [<c019bba8>] (handle_domain_irq) from [<c0100b3c>] (__irq_svc+0x5c/0x90)
>> [  166.532318] Exception stack(0xc39ade70 to 0xc39adeb8)
>> [  166.537414] de60:                                     c3f2b45c 00000202 00000201 00000002
>> [  166.545623] de80: ccfb9480 00000000 c3f2b440 c3f2b45c 00000001 c305a140 c3d01c00 01000100
>> [  166.553863] dea0: 00000021 c39adec0 bf0a794c c0a21008 60010013 ffffffff
>> [  166.560516] [<c0100b3c>] (__irq_svc) from [<c0a21008>] (_raw_spin_unlock_bh+0x0/0x34)
>> [  166.568420] [<c0a21008>] (_raw_spin_unlock_bh) from [<bf0a7888>] (ssi_async+0x0/0x1f4 [omap_ssi])
>> [  166.577392] [<bf0a7888>] (ssi_async [omap_ssi]) from [<00000004>] (0x4)
>> [  166.584075] handlers:
>> [  166.586364] [<9a339024>] omap3_l3_app_irq
>> [  166.590454] Disabling IRQ #26
>> [  166.593475] sched: RT throttling activated
>> [  166.593566] 8<--- cut here ---
>> [  166.600799] Unable to handle kernel NULL pointer dereference at virtual address 00000000
>> [  166.608978] pgd = 34df813c
>> [  166.611724] [00000000] *pgd=00000000
>> [  166.615356] Internal error: Oops: 805 [#1] PREEMPT SMP ARM
>> [  166.620880] Modules linked in: usb_f_ecm u_ether usb_f_mass_storage libcomposite bluetooth ecdh_generic ecc libaes zram zsmalloc cmt_speech nokia_modem ssi_protocol phonet joydev mousedev evdev wl1251_spi wl1251 mac80211 libarc4 omap3_rom_rng ir_rx51 rng_core rc_core snd_soc_rx51 leds_gpio sha256_generic libsha256 pvrsrvkm_omap3_sgx530_121 sha256_arm gpio_keys isp1704_charger pwm_omap_dmtimer display_connector cpufreq_dt omap3_isp videobuf2_dma_contig videobuf2_memops snd_soc_omap_mcbsp videobuf2_v4l2 snd_soc_ti_sdma videobuf2_common v4l2_fwnode v4l2_async cfg80211 videodev snd_soc_tpa6130a2 omap_sham crypto_engine mc snd_soc_core snd_pcm_dmaengine tsc2005 tsc200x_core panel_sony_acx565akm snd_pcm omap2430 snd_timer phy_twl4030_usb leds_lp5523 leds_lp55xx_common snd omap_mailbox bq2415x_charger led_class soundcore bq27xxx_battery_i2c bq27xxx_battery musb_hdrc udc_core rtc_twl ohci_platform ohci_hcd ehci_hcd twl4030_pwrbutton pwm_twl_led st_accel_i2c st_sensors_i2c st_accel
>> [  166.621673]  twl4030_keypad pwm_twl twl4030_charger st_sensors twl4030_madc matrix_keymap industrialio_triggered_buffer kfifo_buf usbcore industrialio usb_common omapdrm omap_ssi hsi drm_kms_helper cfbfillrect syscopyarea cfbimgblt sysfillrect sysimgblt fb_sys_fops cfbcopyarea drm drm_panel_orientation_quirks cec
>> [  166.736297] CPU: 0 PID: 662 Comm: irq/83-SSI PORT Tainted: G        W         5.15.2-218696-g31e48a7f0946-dirty #1
>> [  166.746704] Hardware name: Nokia RX-51 board
>> [  166.751007] PC is at ssi_gdd_tasklet+0x258/0x2e8 [omap_ssi]
>> [  166.756652] LR is at _raw_spin_unlock+0x28/0x54
>> [  166.761230] pc : [<bf0a6520>]    lr : [<c0a20cd4>]    psr: 20010013
>> [  166.767517] sp : c39ade00  ip : ffb80000  fp : c3f2b45c
>> [  166.772796] r10: 00000001  r9 : c3d01c00  r8 : 00000001
>> [  166.778045] r7 : 00000000  r6 : 00000000  r5 : c305a140  r4 : ccfb9480
>> [  166.784606] r3 : 00000000  r2 : c3f2b4f4  r1 : 00000000  r0 : c3f2b4ec
>> [  166.791168] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
>> [  166.798370] Control: 10c5387d  Table: 85bb4019  DAC: 00000051
>> [  166.804138] Register r0 information: slab kmalloc-512 start c3f2b400 pointer offset 236 size 512
>> [  166.813049] Register r1 information: NULL pointer
>> [  166.817779] Register r2 information: slab kmalloc-512 start c3f2b400 pointer offset 244 size 512
>> [  166.826660] Register r3 information: NULL pointer
>> [  166.831420] Register r4 information: slab kmalloc-64 start ccfb9480 pointer offset 0 size 64
>> [  166.839935] Register r5 information: slab kmalloc-256 start c305a100 pointer offset 64 size 256
>> [  166.848724] Register r6 information: NULL pointer
>> [  166.853485] Register r7 information: NULL pointer
>> [  166.858215] Register r8 information: non-paged memory
>> [  166.863311] Register r9 information: slab kmalloc-1k start c3d01c00 pointer offset 0 size 1024
>> [  166.872009] Register r10 information: non-paged memory
>> [  166.877197] Register r11 information: slab kmalloc-512 start c3f2b400 pointer offset 92 size 512
>> [  166.886077] Register r12 information: non-paged memory
>> [  166.891265] Process irq/83-SSI PORT (pid: 662, stack limit = 0xd6f455cc)
>> [  166.898010] Stack: (0xc39ade00 to 0xc39ae000)
>> [  166.902404] de00: 00000000 c1805e00 c1805e50 00000001 c3e49a00 c3f2b440 00000001 00000008
>> [  166.910644] de20: fa058000 c305a140 00000000 c305a154 00000000 cfb5d330 00000000 00000000
>> [  166.918853] de40: c0ff8760 00000101 c0f03080 c013d9e0 c0f03080 00000001 00000000 00000203
>> [  166.927093] de60: ffffe000 c01012dc c3d01c00 c0100b3c 0000000a ffffcbe2 00208040 00000002
>> [  166.935333] de80: ccfb9480 60010013 ffffe000 c3f2b440 c3f2b45c 00000001 c305a140 c3d01c00
>> [  166.943572] dea0: 01000100 c013d468 00000200 c013d554 ccfb9480 00000000 c3f2b440 bf0a794c
>> [  166.951782] dec0: bf0a7888 c56d9100 c3f2b440 c3f2b45c c3f2b464 00000001 c305a140 c3d01c00
>> [  166.960021] dee0: 01000100 bf0a7d20 00000004 c3d00410 c019d078 00000000 c3d01c00 c3f2b440
>> [  166.968261] df00: c3f2b4a4 00000001 00000001 fa058000 c019d078 bf0a7ef8 00000004 b3675ddc
>> [  166.976501] df20: c019d078 c3f200c0 c1837b00 00000000 ffffe000 00000001 00000000 c3f200c0
>> [  166.984710] df40: c019d078 c019d094 c1837b00 c3f200e4 00000000 c019d380 c371d840 00000000
>> [  166.992950] df60: c019d19c b3675ddc 00000000 c39ac000 c3f7c580 c3f7c300 c019d278 c3f200c0
>> [  167.001190] df80: c395bc04 c3f7c5a0 00000000 c0159ba0 c3f7c300 c0159a38 00000000 00000000
>> [  167.009399] dfa0: 00000000 00000000 00000000 c0100150 00000000 00000000 00000000 00000000
>> [  167.017639] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> [  167.025878] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
>> [  167.034118] [<bf0a6520>] (ssi_gdd_tasklet [omap_ssi]) from [<c013d9e0>] (tasklet_action_common.constprop.4+0xa8/0xbc)
>> [  167.044830] [<c013d9e0>] (tasklet_action_common.constprop.4) from [<c01012dc>] (__do_softirq+0xf4/0x418)
>> [  167.054382] [<c01012dc>] (__do_softirq) from [<c013d468>] (do_softirq+0x70/0x7c)
>> [  167.061828] [<c013d468>] (do_softirq) from [<c013d554>] (__local_bh_enable_ip+0xe0/0xfc)
>> [  167.070007] [<c013d554>] (__local_bh_enable_ip) from [<bf0a794c>] (ssi_async+0xc4/0x1f4 [omap_ssi])
>> [  167.079132] [<bf0a794c>] (ssi_async [omap_ssi]) from [<bf0a7d20>] (ssi_pio_complete+0x108/0x244 [omap_ssi])
>> [  167.088989] [<bf0a7d20>] (ssi_pio_complete [omap_ssi]) from [<bf0a7ef8>] (ssi_pio_thread+0x9c/0x3ec [omap_ssi])
>> [  167.099182] [<bf0a7ef8>] (ssi_pio_thread [omap_ssi]) from [<c019d094>] (irq_thread_fn+0x1c/0x78)
>> [  167.108062] [<c019d094>] (irq_thread_fn) from [<c019d380>] (irq_thread+0x108/0x210)
>> [  167.115783] [<c019d380>] (irq_thread) from [<c0159ba0>] (kthread+0x168/0x1a4)
>> [  167.122985] [<c0159ba0>] (kthread) from [<c0100150>] (ret_from_fork+0x14/0x24)
>> [  167.130279] Exception stack(0xc39adfb0 to 0xc39adff8)
>> [  167.135375] dfa0:                                     00000000 00000000 00000000 00000000
>> [  167.143585] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> [  167.151824] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
>> [  167.158477] Code: e59210b0 e58240b0 e28220b4 e1c400f0 (e5814000)
>> [  167.164703] ---[ end trace a3f2b689bab17aa6 ]---
>> [  167.169433] Kernel panic - not syncing: Fatal exception in interrupt
>> [  167.175842] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---





[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux