Hi,
I use kernel 2.6.37 (from argo) on EVM board/ DM3730. When I boot the board and turn on autoidle for usb ->
just writing auto to /sys/devices/platform/ehci-omap.0/usb1/power/level and and in next step I write "on" to the same sysfs entry
the "oops" as below is shown (there is no external usb devices connected to the port).
If sleep_when_idle is enabled, there is no such fault (when global idle works and core was in retention at least one time).
Does it mean that usbhost_48m_fck can't be managed independently and it causes the crash (without PRCM)?
[ 50.025878] WARNING! power/level is deprecated; use power/control instead
[root@arago /]# sh usbidle.sh a
activating
[ 54.266296] cm: Module associated with clock usbhost_48m_fck didn't enable in 100000 tries
[ 54.275238] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa064010
[ 54.283325] Internal error: : 1028 [#1]
[ 54.287353] last sysfs file: /sys/devices/platform/ehci-omap.0/usb1/power/level
[ 54.295043] Modules linked in: sierra_net sierra
[ 54.299896] CPU: 0 Not tainted (2.6.37-14332-gadda2e5-dirty #4)
[ 54.306488] PC is at ehci_omap_enable+0x48/0x140
[ 54.311340] LR is at mark_held_locks+0x60/0x84
[ 54.316009] pc : [<c0322550>] lr : [<c00a1994>] psr: 20000013
[ 54.316009] sp : ce8dbd48 ip : ce8dbcf8 fp : ce8dbeb0
[ 54.328033] r10: ce8da000 r9 : cf34f9ec r8 : ce8dbea4
[ 54.333526] r7 : cf34f90c r6 : cf34f90c r5 : cf34f868 r4 : c02fe548
[ 54.340362] r3 : fa064010 r2 : fa064000 r1 : ce8a65a8 r0 : 00000000
[ 54.347229] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 54.354705] Control: 10c5387d Table: 8e8fc019 DAC: 00000015
[ 54.360748] Process sh (pid: 717, stack limit = 0xce8da2f0)
[ 54.366577] Stack: (0xce8dbd48 to 0xce8dc000)
[ 54.371154] bd40: 00000001 cf3392c0 cf34f868 cf34f90c 00000010 fa064000
[ 54.379730] bd60: cf34f9ec ce8da000 ce8dbeb0 c049e6bc c05d600b ce8dbd84 c04d1a9c c0287290
[ 54.388336] bd80: c05d600b c0324174 c04d1a9c c0670728 ce8dbda4 cf3392c0 c02fe548 c03241fc
[ 54.396911] bda0: c04cf5cc cf349400 ce8dbdac cf349400 c02fe548 cf349400 c04cf850 c02f4984
[ 54.405487] bdc0: c04cf85c 0000f608 00000410 cf34f800 cf349400 00000000 00000004 cf349400
[ 54.414093] bde0: cf34950c 00000004 00000010 60000013 60000013 60000013 ce8e4e60 c030a9d0
[ 54.422668] be00: 00000410 cf34f800 00000000 00000000 00000000 c02fd070 00000410 cf34f800
[ 54.431274] be20: c0671798 c07fd9dc 00000000 c07fd9f0 00000002 c02fd668 00000410 cf34f800
[ 54.439849] be40: 00000007 00000000 ce8da000 c00a1994 ce8a60c0 c02fe5a8 cf34f90c cf34f868
[ 54.448425] be60: ce8dbea4 00000410 cf34f800 cf34f868 cf34f868 cf34f868 c02fe548 c02907f0
[ 54.457031] be80: cf34f868 c0670728 00000000 c02915f4 00000000 00000000 00000000 00000000
[ 54.465606] bea0: ce8a60c0 00000003 cf34f91c c00a2b14 cf34f91c 60000093 ce8a60c0 cf34f90c
[ 54.474182] bec0: cf34f868 ce8dbf80 c04c7ff0 ce8fbf58 cf34f870 00000003 00000000 c0291790
[ 54.482788] bee0: ce8fbf40 cf353d98 ce8dbf80 c02fd9bc cf34f870 cf34f800 ce8fbf40 c03025f8
[ 54.491363] bf00: 00000003 ce8e4000 c07fd370 cf34f868 cf34f870 cf34f800 00000002 ce8e4002
[ 54.499938] bf20: 00000003 cf34f868 cf34f868 ce8e4000 00000003 c028716c ce8fbf40 c0151694
[ 54.508544] bf40: 00000003 ce8c4e80 402e4000 ce8dbf80 00000003 ce8da000 00000000 c01014e4
[ 54.517120] bf60: ce8c4e80 402e4000 ce8c4e80 402e4000 00000000 00000000 00000003 c0101618
[ 54.525695] bf80: 00000000 00000000 00000003 00000000 00000003 402e4000 402e05e8 00000004
[ 54.534301] bfa0: c0046908 c0046740 00000003 402e4000 00000001 402e4000 00000003 00000000
[ 54.542877] bfc0: 00000003 402e4000 402e05e8 00000004 00000003 000d7f4c 00000000 00000000
[ 54.551452] bfe0: 402e4000 be99bd18 4022067c 40270f6c 60000010 00000001 ffffffff ffffffff
[ 54.560058] [<c0322550>] (ehci_omap_enable+0x48/0x140) from [<c0324174>] (ehci_omap_dev_resume+0x3c/0x4c)
[ 54.570129] [<c0324174>] (ehci_omap_dev_resume+0x3c/0x4c) from [<c03241fc>] (ehci_omap_bus_resume+0x2c/0x4c)
[ 54.580444] [<c03241fc>] (ehci_omap_bus_resume+0x2c/0x4c) from [<c02f4984>] (hcd_bus_resume+0x150/0x204)
[ 54.590393] [<c02f4984>] (hcd_bus_resume+0x150/0x204) from [<c030a9d0>] (generic_resume+0x2c/0x5c)
[ 54.599822] [<c030a9d0>] (generic_resume+0x2c/0x5c) from [<c02fd070>] (usb_resume_device+0xf0/0x110)
[ 54.609405] [<c02fd070>] (usb_resume_device+0xf0/0x110) from [<c02fd668>] (usb_resume_both+0x74/0x130)
[ 54.619201] [<c02fd668>] (usb_resume_both+0x74/0x130) from [<c02fe5a8>] (usb_runtime_resume+0x60/0x94)
[ 54.628967] [<c02fe5a8>] (usb_runtime_resume+0x60/0x94) from [<c02907f0>] (rpm_callback+0x28/0x40)
[ 54.638397] [<c02907f0>] (rpm_callback+0x28/0x40) from [<c02915f4>] (rpm_resume+0x34c/0x49c)
[ 54.647247] [<c02915f4>] (rpm_resume+0x34c/0x49c) from [<c0291790>] (pm_runtime_forbid+0x4c/0x58)
[ 54.656585] [<c0291790>] (pm_runtime_forbid+0x4c/0x58) from [<c02fd9bc>] (usb_disable_autosuspend+0x1c/0x24)
[ 54.666900] [<c02fd9bc>] (usb_disable_autosuspend+0x1c/0x24) from [<c03025f8>] (set_level+0xcc/0x140)
[ 54.676574] [<c03025f8>] (set_level+0xcc/0x140) from [<c028716c>] (dev_attr_store+0x1c/0x20)
[ 54.685455] [<c028716c>] (dev_attr_store+0x1c/0x20) from [<c0151694>] (sysfs_write_file+0x10c/0x140)
[ 54.695037] [<c0151694>] (sysfs_write_file+0x10c/0x140) from [<c01014e4>] (vfs_write+0xac/0x134)
[ 54.704284] [<c01014e4>] (vfs_write+0xac/0x134) from [<c0101618>] (sys_write+0x3c/0x68)
[ 54.712707] [<c0101618>] (sys_write+0x3c/0x68) from [<c0046740>] (ret_fast_syscall+0x0/0x3c)
[ 54.721557] Code: e58d3010 e59d2014 e59d3010 e0823003 (e5933000)
[ 54.728027] ---[ end trace 9914a9d9620964f8 ]---
Karol