N900/RX-51: Panic when reading musb vbus status (on 4.15-rc6)

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

 



Hi,

When trying to read musb status on r.15-rc6:

cat
/sys/devices/platform/68000000.ocp/480ab000.usb_otg_hs/musb-hdrc.0.auto/vbus

This happens [1].

I don't know when it was introduced.

This is the config that was used:
https://raw.githubusercontent.com/maemo-leste/n9xx-linux/pvr-wip/arch/arm/configs/rx51_defconfig

Cheers,
Merlijn


[1]

[ 1145.870910] Unhandled fault: external abort on non-linefetch (0x1028)
at 0xfa0ab060
[ 1145.870971] pgd = b333e822
[ 1145.870971] [fa0ab060] *pgd=48011452(bad)
[ 1145.871002] Internal error: : 1028 [#1] PREEMPT ARM
[ 1145.871032] Modules linked in: ipv6 omaplfb ctr aes_arm_bs
crypto_simd cryptd ccm pvrsrvkm radio_platform_si4713 mousedev joydev
hsi_char arc4 wl
1251_spi crc7 wl1251 mac80211 sha256_generic ir_lirc_codec lirc_dev
ir_rx51 rc_core rx51_battery gpio_keys isp1704_charger pwm_omap_dmtimer
smc91x m
ii omap3_isp videobuf2_dma_contig videobuf2_memops cfg80211
videobuf2_v4l2 si4713 videobuf2_core v4l2_fwnode adp1653 v4l2_common
tsc2005 tsc200x_cor
e videodev bq27xxx_battery_i2c leds_lp5523 bq2415x_charger media
bq27xxx_battery leds_lp55xx_common tsl2563 rtc_twl twl4030_vibra
ff_memless lis3lv0
2d_i2c lis3lv02d omap_ssi input_polldev hsi ti_soc_thermal vfat fat
[ 1145.871276] CPU: 0 PID: 3432 Comm: cat Not tainted 4.15.0-rc6+ #4
[ 1145.871276] Hardware name: Nokia RX-51 board
[ 1145.871307] PC is at musb_default_readb+0x0/0xc
[ 1145.871337] LR is at musb_vbus_show+0x58/0xe4
[ 1145.871337] pc : [<c05261b0>]    lr : [<c0525bd0>]    psr: 600f0093
[ 1145.871368] sp : c4b63e78  ip : 00000000  fp : c4b63ed0
[ 1145.871368] r10: 00000000  r9 : c4b70300  r8 : a00f0013
[ 1145.871368] r7 : 0000044c  r6 : c6af3000  r5 : ce536010  r4 : c0a327c0
[ 1145.871398] r3 : c05261b0  r2 : 00000001  r1 : 00000060  r0 : fa0ab000
[ 1145.871398] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM
Segment none
[ 1145.871429] Control: 10c5387d  Table: 84b50019  DAC: 00000051
[ 1145.871429] Process cat (pid: 3432, stack limit = 0x313bf1f3)
[ 1145.871459] Stack: (0xc4b63e78 to 0xc4b64000)
[ 1145.871459] 3e60:
  c0a327c0 c0525b78
[ 1145.871490] 3e80: c074f760 c6af3000 ce39a018 c04c0148 00001000
c4b70380 c074f760 c0259f74
[ 1145.871520] 3ea0: c4b70380 00020000 00000000 00000001 00510000
c4b63f88 00000000 c0210bac
[ 1145.871551] 3ec0: 0000000e cb2af000 c4b703b0 00004143 00000000
00000000 00000000 00000000
[ 1145.871551] 3ee0: cb2af000 cb2af000 c0259654 00000000 00510000
c4b63f88 c4b62000 00000000
[ 1145.871582] 3f00: 00000000 c01edb40 5a8441e7 0bc6d12b 5a8441e7
00000000 00000000 00000000
[ 1145.871612] 3f20: 00004143 00020000 cd5e37b0 cb2af008 c0893cb4
c4b63f88 c4b62000 00000000
[ 1145.871612] 3f40: 00000000 c03bb490 00000000 00000000 cb2af000
00020000 00000000 00510000
[ 1145.871643] 3f60: c4b63f88 c01edccc cb2af000 00510000 cb2af000
cb2af000 00510000 00020000
[ 1145.871673] 3f80: c01071c4 c01ee1d0 00000000 00000000 00020000
00020000 7fffe000 0050c1f0
[ 1145.871704] 3fa0: 00000003 c0106fe0 00020000 7fffe000 00000003
00510000 00020000 00510000
[ 1145.871704] 3fc0: 00020000 7fffe000 0050c1f0 00000003 00000003
00000000 00020000 00000000
[ 1145.871734] 3fe0: 00000000 beab10ec 004f96d5 b6ef7ac6 200f0030
00000003 00000000 00000000
[ 1145.871765] [<c05261b0>] (musb_default_readb) from [<c0525bd0>]
(musb_vbus_show+0x58/0xe4)
[ 1145.871795] [<c0525bd0>] (musb_vbus_show) from [<c04c0148>]
(dev_attr_show+0x20/0x44)
[ 1145.871826] [<c04c0148>] (dev_attr_show) from [<c0259f74>]
(sysfs_kf_seq_show+0x80/0xdc)
[ 1145.871856] [<c0259f74>] (sysfs_kf_seq_show) from [<c0210bac>]
(seq_read+0x250/0x448)
[ 1145.871887] [<c0210bac>] (seq_read) from [<c01edb40>]
(__vfs_read+0x1c/0x118)
[ 1145.871917] [<c01edb40>] (__vfs_read) from [<c01edccc>]
(vfs_read+0x90/0x144)
[ 1145.871917] [<c01edccc>] (vfs_read) from [<c01ee1d0>]
(SyS_read+0x3c/0x74)
[ 1145.871948] [<c01ee1d0>] (SyS_read) from [<c0106fe0>]
(ret_fast_syscall+0x0/0x54)
[ 1145.871978] Code: e6ff0070 e12fff1e e7c02001 e12fff1e (e7d00001)
[ 1145.872009] ---[ end trace 097f2d15339079ce ]---
[ 1145.875488] In-band Error seen by MPU  at address 0
[ 1145.875518] ------------[ cut here ]------------
[ 1145.875549] WARNING: CPU: 0 PID: 3432 at
drivers/bus/omap_l3_smx.c:166 omap3_l3_app_irq+0xcc/0x114
[ 1145.875549] Modules linked in: ipv6 omaplfb ctr aes_arm_bs
crypto_simd cryptd ccm pvrsrvkm radio_platform_si4713 mousedev joydev
hsi_char arc4 wl1251_spi crc7 wl1251 mac80211 sha256_generic
ir_lirc_codec lirc_dev ir_rx51 rc_core rx51_battery gpio_keys
isp1704_charger pwm_omap_dmtimer smc91x mii omap3_isp
videobuf2_dma_contig videobuf2_memops cfg80211 videobuf2_v4l2 si4713
videobuf2_core v4l2_fwnode adp1653 v4l2_common tsc2005 tsc200x_core
videodev bq27xxx_battery_i2c leds_lp5523 bq2415x_charger media
bq27xxx_battery leds_lp55xx_common tsl2563 rtc_twl twl4030_vibra
ff_memless lis3lv02d_i2c lis3lv02d omap_ssi input_polldev hsi
ti_soc_thermal vfat fat
[ 1145.875793] CPU: 0 PID: 3432 Comm: cat Tainted: G      D
4.15.0-rc6+ #4
[ 1145.875793] Hardware name: Nokia RX-51 board
[ 1145.875823] [<c010c638>] (unwind_backtrace) from [<c010aa14>]
(show_stack+0x10/0x14)
[ 1145.875885] [<c010aa14>] (show_stack) from [<c0124ca4>]
(__warn+0xd4/0xec)
[ 1145.875885] [<c0124ca4>] (__warn) from [<c0124d7c>]
(warn_slowpath_null+0x38/0x44)
[ 1145.875915] [<c0124d7c>] (warn_slowpath_null) from [<c04457f0>]
(omap3_l3_app_irq+0xcc/0x114)
[ 1145.875946] [<c04457f0>] (omap3_l3_app_irq) from [<c01569a0>]
(__handle_irq_event_percpu+0x44/0x110)
[ 1145.875976] [<c01569a0>] (__handle_irq_event_percpu) from
[<c0156a84>] (handle_irq_event_percpu+0x18/0x54)
[ 1145.876007] [<c0156a84>] (handle_irq_event_percpu) from [<c0156b1c>]
(handle_irq_event+0x5c/0x88)
[ 1145.876037] [<c0156b1c>] (handle_irq_event) from [<c0159d9c>]
(handle_level_irq+0x104/0x138)
[ 1145.876068] [<c0159d9c>] (handle_level_irq) from [<c0155e24>]
(generic_handle_irq+0x18/0x28)
[ 1145.876098] [<c0155e24>] (generic_handle_irq) from [<c0156410>]
(__handle_domain_irq+0x8c/0xa0)
[ 1145.876129] [<c0156410>] (__handle_domain_irq) from [<c0691f4c>]
(__irq_svc+0x6c/0xa8)
[ 1145.876159] [<c0691f4c>] (__irq_svc) from [<c0125e9c>]
(do_exit+0x124/0x994)
[ 1145.876190] [<c0125e9c>] (do_exit) from [<c010ac4c>] (die+0x234/0x26c)
[ 1145.876220] [<c010ac4c>] (die) from [<c0101320>] (do_DataAbort+0xa4/0xb8)
[ 1145.876220] [<c0101320>] (do_DataAbort) from [<c0691eb8>]
(__dabt_svc+0x58/0x80)
[ 1145.876251] Exception stack(0xc4b63e28 to 0xc4b63e70)
[ 1145.876251] 3e20:                   fa0ab000 00000060 00000001
c05261b0 c0a327c0 ce536010
[ 1145.876281] 3e40: c6af3000 0000044c a00f0013 c4b70300 00000000
c4b63ed0 00000000 c4b63e78
[ 1145.876312] 3e60: c0525bd0 c05261b0 600f0093 ffffffff
[ 1145.876342] [<c0691eb8>] (__dabt_svc) from [<c05261b0>]
(musb_default_readb+0x0/0xc)
[ 1145.876373] [<c05261b0>] (musb_default_readb) from [<c0525bd0>]
(musb_vbus_show+0x58/0xe4)
[ 1145.876373] [<c0525bd0>] (musb_vbus_show) from [<c04c0148>]
(dev_attr_show+0x20/0x44)
[ 1145.876403] [<c04c0148>] (dev_attr_show) from [<c0259f74>]
(sysfs_kf_seq_show+0x80/0xdc)
[ 1145.876434] [<c0259f74>] (sysfs_kf_seq_show) from [<c0210bac>]
(seq_read+0x250/0x448)
[ 1145.876464] [<c0210bac>] (seq_read) from [<c01edb40>]
(__vfs_read+0x1c/0x118)
[ 1145.876464] [<c01edb40>] (__vfs_read) from [<c01edccc>]
(vfs_read+0x90/0x144)
[ 1145.876495] [<c01edccc>] (vfs_read) from [<c01ee1d0>]
(SyS_read+0x3c/0x74)
[ 1145.876525] [<c01ee1d0>] (SyS_read) from [<c0106fe0>]
(ret_fast_syscall+0x0/0x54)
[ 1145.876525] ---[ end trace 097f2d15339079cf ]---
[ 1145.876556] note: cat[3432] exited with preempt_count 1
[ 1145.887329] mtdoops: ready 40, 41 (no erase)

Attachment: signature.asc
Description: OpenPGP digital signature


[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