[RAZR i Android Development] highjagger:
core1 is still down.

if i try to set it manualy online it gaves an kernel ops

<4>[ 688.701230,0] ------------[ cut here ]------------

<4>[ 688.701258,0] WARNING: at /home/omar/Desktop/XT890-Kernel-Gamma/kernel/linux-3.0/fs/sysfs/dir.c:455 sysfs_add_one+0x9b/0xd0()

<4>[ 688.701266,0] Hardware name: Medfield

<4>[ 688.701270,0] sysfs: cannot create duplicate filename '/devices/virtual/msr/msr1'

<4>[ 688.701276,0] Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211 compat btwilink atomisp lm3556 ov7736 lc898211 mt9e013 videobuf2_memops videobuf2_core gps_drv fm_drv(C) st_drv

<4>[ 688.701322,0] Pid: 3511, comm: sh Tainted: G C 3.0.101 #2

<4>[ 688.701327,0] Call Trace:

<4>[ 688.701341,0] [<c203e3e7>] warn_slowpath_common+0x67/0x90

<4>[ 688.701350,0] [<c2111edb>] ? sysfs_add_one+0x9b/0xd0

<4>[ 688.701367,0] [<c203e43e>] warn_slowpath_fmt+0x2e/0x30

<4>[ 688.701375,0] [<c2111edb>] sysfs_add_one+0x9b/0xd0

<4>[ 688.701384,0] [<c2111f5c>] create_dir+0x4c/0x90

<4>[ 688.701392,0] [<c2112183>] sysfs_create_dir+0x73/0xd0

<4>[ 688.701400,0] [<c2038a93>] ? sub_preempt_count+0x43/0xb0

<4>[ 688.701411,0] [<c223665c>] kobject_add_internal+0x8c/0x1d0

<4>[ 688.701418,0] [<c203897b>] ? get_parent_ip+0xb/0x40

<4>[ 688.701426,0] [<c2038a93>] ? sub_preempt_count+0x43/0xb0

<4>[ 688.701434,0] [<c2236b25>] kobject_add+0x35/0x80

<4>[ 688.701443,0] [<c22c5074>] device_add+0xa4/0x5e0

<4>[ 688.701452,0] [<c202cd53>] ? complete_all+0x43/0x50

<4>[ 688.701461,0] [<c22cc7ce>] ? device_pm_init+0x3e/0x50

<4>[ 688.701469,0] [<c22c574e>] device_create_vargs+0x9e/0xc0

<4>[ 688.701477,0] [<c22c5798>] device_create+0x28/0x30

<4>[ 688.701486,0] [<c25c2806>] msr_device_create+0x38/0x46

<4>[ 688.701495,0] [<c25c2838>] msr_class_cpu_callback+0x24/0x4f

<4>[ 688.701505,0] [<c205b101>] notifier_call_chain+0x41/0x60

<4>[ 688.701514,0] [<c205b1b9>] __raw_notifier_call_chain+0x19/0x20

<4>[ 688.701522,0] [<c25c4292>] _cpu_up+0x5a/0xf7

<4>[ 688.701531,0] [<c25c437e>] cpu_up+0x4f/0x63

<4>[ 688.701540,0] [<c25b4105>] store_online+0x25/0x90

<4>[ 688.701548,0] [<c25b40e0>] ? sfi_check_table+0xf0/0xf0

<4>[ 688.701556,0] [<c22c5aba>] sysdev_store+0x1a/0x30

<4>[ 688.701563,0] [<c22c5aa0>] ? sysdev_show+0x30/0x30

<4>[ 688.701572,0] [<c2110d0e>] sysfs_write_file+0x9e/0x110

<4>[ 688.701579,0] [<c22c5aa0>] ? sysdev_show+0x30/0x30

<4>[ 688.701587,0] [<c2110c70>] ? sysfs_release+0x90/0x90

<4>[ 688.701595,0] [<c20c2039>] vfs_write+0x79/0x120

<4>[ 688.701603,0] [<c20c2358>] sys_write+0x38/0x70

<4>[ 688.701613,0] [<c25cf081>] syscall_call+0x7/0xb

<4>[ 688.701620,0] ---[ end trace 399d822cfcb3b778 ]---

<3>[ 688.701631,0] kobject_add_internal failed for msr1 with -EEXIST, don't try to register things with the same name in the same directory.

<4>[ 688.701640,0] Pid: 3511, comm: sh Tainted: G WC 3.0.101 #2

<4>[ 688.701645,0] Call Trace:

<4>[ 688.701652,0] [<c25c6c72>] ? printk+0x18/0x1a

<4>[ 688.701662,0] [<c22366b3>] kobject_add_internal+0xe3/0x1d0

<4>[ 688.701670,0] [<c2038a93>] ? sub_preempt_count+0x43/0xb0

<4>[ 688.701678,0] [<c2236b25>] kobject_add+0x35/0x80

<4>[ 688.701686,0] [<c22c5074>] device_add+0xa4/0x5e0

<4>[ 688.701694,0] [<c202cd53>] ? complete_all+0x43/0x50

<4>[ 688.701702,0] [<c22cc7ce>] ? device_pm_init+0x3e/0x50

<4>[ 688.701710,0] [<c22c574e>] device_create_vargs+0x9e/0xc0

<4>[ 688.701718,0] [<c22c5798>] device_create+0x28/0x30

<4>[ 688.701726,0] [<c25c2806>] msr_device_create+0x38/0x46

<4>[ 688.701734,0] [<c25c2838>] msr_class_cpu_callback+0x24/0x4f

<4>[ 688.701743,0] [<c205b101>] notifier_call_chain+0x41/0x60

<4>[ 688.701752,0] [<c205b1b9>] __raw_notifier_call_chain+0x19/0x20

<4>[ 688.701760,0] [<c25c4292>] _cpu_up+0x5a/0xf7

<4>[ 688.701768,0] [<c25c437e>] cpu_up+0x4f/0x63

<4>[ 688.701776,0] [<c25b4105>] store_online+0x25/0x90

<4>[ 688.701784,0] [<c25b40e0>] ? sfi_check_table+0xf0/0xf0

<4>[ 688.701791,0] [<c22c5aba>] sysdev_store+0x1a/0x30

<4>[ 688.701799,0] [<c22c5aa0>] ? sysdev_show+0x30/0x30

<4>[ 688.701807,0] [<c2110d0e>] sysfs_write_file+0x9e/0x110

<4>[ 688.701815,0] [<c22c5aa0>] ? sysdev_show+0x30/0x30

<4>[ 688.701822,0] [<c2110c70>] ? sysfs_release+0x90/0x90

<4>[ 688.701830,0] [<c20c2039>] vfs_write+0x79/0x120

<4>[ 688.701838,0] [<c20c2358>] sys_write+0x38/0x70

<4>[ 688.701846,0] [<c25cf081>] syscall_call+0x7/0xb

<4>[ 688.701856,0] _cpu_up: attempt to bring up CPU 1 failed

---------- Post added at 12:18 PM ---------- Previous post was at 12:11 PM ----------

hi,

i'm not sure, but a few weeks ago, /sys/devices/system/cpu/sched_smt_power_savings was set to 0, currently it is set to 2 after boot.

could this affect the cpufreq governors?

---------- Post added at 12:33 PM ---------- Previous post was at 12:18 PM ----------

hi,

sorry for that annoying posts, but i rebooted my phone with set sched_smt_power_savings = 1, and after sleep my cpu1 is back online:

---

<7>[ 328.186576,1] CPU1: Thermal LVT vector (0xfa) already installed

<6>[ 328.208264,0] atmxt_message_handler6: Touch IC calibration complete.

<6>[ 328.208699,0] Num p-states 7

<6>[ 328.208725,0] State [0]: core_frequency[2000] transition_latency[100] control[0x1461]

<6>[ 328.208749,0] State [1]: core_frequency[1800] transition_latency[100] control[0x125a]

<6>[ 328.208770,0] State [2]: core_frequency[1600] transition_latency[100] control[0x1055]

<6>[ 328.208793,0] State [3]: core_frequency[1400] transition_latency[100] control[0xe50]

<6>[ 328.208817,0] State [4]: core_frequency[1200] transition_latency[100] control[0xc4b]

<6>[ 328.208882,0] State [5]: core_frequency[900] transition_latency[100] control[0x945]

<6>[ 328.208906,0] State [6]: core_frequency[600] transition_latency[100] control[0x642]

<6>[ 328.209952,0] CPU1 is up

<6>[ 328.214737,1] Switched to NOHz mode on CPU #1

<6>[ 328.221155,0] akm8963 5-000c: akm8963_resume: Resume

---

but, unfortunaly when i remove usb cabel the effect is gone. means on battery core1 still won't come up.

hope that helps