http://forum.xda-developers.com/showthread.php?p=45149758#post45149758 partly fixed...fix of reboot broke timeserviceFalse alarm, btw watchdog is causing reboot on the dual recovery, from what i see, is dual recovery fixed?
http://forum.xda-developers.com/showthread.php?p=45149758#post45149758 partly fixed...fix of reboot broke timeserviceFalse alarm, btw watchdog is causing reboot on the dual recovery, from what i see, is dual recovery fixed?
Would this help.I don't anderstand
I have exactly the same vermagic
This module load correctly : /system/lib/module/mii.ko
This module don't : /system/lib/kexec_load.ko
strings mii.ko | grep vermagic
vermagic=3.4.0-perf-g66807d4-02450-g9a218f1 SMP preempt mod_unload modversions ARMv7
strings kexec_load.ko | grep vermagic
vermagic=3.4.0-perf-g66807d4-02450-g9a218f1 SMP preempt mod_unload modversions ARMv7
__mod_vermagic5
__mod_vermagic5
Any help please... Thx
No, this don't help... it's kernel related thread, not module kexec issu thread.Would this help.
http://forum.xda-developers.com/showthread.php?t=2399714&highlight=kexec&page=4
he made it fully working so you could use the files
https://github.com/munjeni/android_kernel_xperiago
# lsmod
procfs_rw 12455 0 - Live 0x00000000 (O)
kexec_load: Unknown symbol init_mm (err 0)
void setup_mm_for_reboot(char mode)
{
unsigned long base_pmdval;
pgd_t *pgd;
int i;
if (current->mm && current->mm->pgd)
pgd = current->mm->pgd;
else
pgd = init_mm.pgd;
base_pmdval = PMD_SECT_AP_WRITE | PMD_SECT_AP_READ | PMD_TYPE_SECT;
for (i = 0; i < FIRST_USER_PGD_NR + USER_PTRS_PER_PGD; i++, pgd++) {
unsigned long pmdval = (i << PGDIR_SHIFT) | base_pmdval;
pmd_t *pmd;
pmd = pmd_off(pgd, i << PGDIR_SHIFT);
pmd[0] = __pmd(pmdval);
pmd[1] = __pmd(pmdval + (1 << (PGDIR_SHIFT - 1)));
flush_pmd_entry(pmd);
}
}
make
(...)
WARNING: "init_mm" [/home/kernel/kexec-module/kexec_load.ko] undefined!
(...)
Because this change anything for modules.No I didn't meant to compile and replace the kernel, that wouldn't work,obviously.. I meant, why isn't it possible to use the environment provided by those kernels headers and config to compile the required modules and tools? Or would any other problems arise from doing so?
Modifying source and header files sounds like compiling modules and tools against the wrong kernel version and ssources.
It's a dead thread.Attempts on Xperia P (sorry IF i noob-ed with this post)
http://forum.xda-developers.com/showthread.php?t=2053466
Sent from my LT22i using xda app-developers app
insmod kexec_load.ko
mknod /dev/kexec_driver c 254 0
(...)
crw-rw-rw- root root 254, 0 2013-11-11 15:26 kexec_driver
It would be great, IF this kexec method would be successful![]()
Sent from my LT22i using xda app-developers app
<1>[ 264.484778] Unable to handle kernel NULL pointer dereference at virtual address 00000000
<1>[ 264.484796] pgd = da184000
<1>[ 264.484803] [00000000] *pgd=29353831, *pte=00000000, *ppte=00000000
<0>[ 264.484820] Internal error: Oops: 817 [#1] PREEMPT SMP ARM
<4>[ 264.484829] Modules linked in: kexec_load(O) wlan(O) adsprpc adsp_loader cfg80211 texfat(PO) hid_sony(O)
<4>[ 264.484857] CPU: 0 Tainted: P O (3.4.0-perf-g66807d4-02450-g9a218f1 #1)
<4>[ 264.484873] PC is at __copy_from_user+0x70/0x3b8
<4>[ 264.484881] LR is at 0x0
<4>[ 264.484888] pc : [<c0355fd8>] lr : [<00000000>] psr: 20000013
<4>[ 264.484890] sp : df0fff2c ip : 00000000 fp : 00000000
<4>[ 264.484901] r10: 00000000 r9 : df0fe000 r8 : 00000000
<4>[ 264.484909] r7 : 00208000 r6 : 00000002 r5 : 000a8630 r4 : 00000003
<4>[ 264.484917] r3 : 00b29858 r2 : 00000660 r1 : b6139020 r0 : 00000000
<4>[ 264.484927] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
<4>[ 264.484937] Control: 10c5787d Table: 2258406a DAC: 00000015
(...)
<0>[ 264.485704] Kernel panic - not syncing: Fatal exception
<2>[ 264.485715] CPU1: stopping
<4>[ 264.485733] [<c010c12c>] (unwind_backtrace+0x0/0x11c) from [<c010abcc>] (handle_IPI+0x110/0x224)
<4>[ 264.485749] [<c010abcc>] (handle_IPI+0x110/0x224) from [<c0100574>] (gic_handle_irq+0x104/0x110)
<4>[ 264.485768] [<c0100574>] (gic_handle_irq+0x104/0x110) from [<c0857bc0>] (__irq_svc+0x40/0x70)
<4>[ 264.485780] Exception stack(0xe1e35e68 to 0xe1e35eb0)
<4>[ 264.485789] 5e60: e1e35ed4 bf2a047c c0ea6568 00000000 bf2a047c e1e35ed4
<4>[ 264.485802] 5e80: e248d780 e50cdbac 00000001 000001ff bf264bac e2b98360 e248da40 e1e35eb0
<4>[ 264.485813] 5ea0: bf083ba8 bf1cba08 60000013 ffffffff
<4>[ 264.485951] [<c0857bc0>] (__irq_svc+0x40/0x70) from [<bf1cba08>] (wpalIteratorInit+0x98/0xc4 [wlan])
<4>[ 264.486066] [<bf1cba08>] (wpalIteratorInit+0x98/0xc4 [wlan]) from [<bf083ba8>] (dxeTXEventHandler+0x4e4/0x6fc [wlan])
<4>[ 264.486175] [<bf083ba8>] (dxeTXEventHandler+0x4e4/0x6fc [wlan]) from [<bf083c40>] (dxeTXEventHandler+0x57c/0x6fc [wlan])
<4>[ 264.486282] [<bf083c40>] (dxeTXEventHandler+0x57c/0x6fc [wlan]) from [<bf083d3c>] (dxeTXEventHandler+0x678/0x6fc [wlan])
<4>[ 264.486390] [<bf083d3c>] (dxeTXEventHandler+0x678/0x6fc [wlan]) from [<bf08458c>] (dxeChannelAllDescDump+0x138/0x3a8 [wlan])
<4>[ 264.486499] [<bf08458c>] (dxeChannelAllDescDump+0x138/0x3a8 [wlan]) from [<bf084abc>] (dxeRXEventHandler+0x2c0/0x44c [wlan])
<4>[ 264.486617] [<bf084abc>] (dxeRXEventHandler+0x2c0/0x44c [wlan]) from [<bf1977bc>] (VosRXThread+0x344/0x408 [wlan])
<4>[ 264.486693] [<bf1977bc>] (VosRXThread+0x344/0x408 [wlan]) from [<c01a9c70>] (kthread+0x84/0x90)
<4>[ 264.486712] [<c01a9c70>] (kthread+0x84/0x90) from [<c0106908>] (kernel_thread_exit+0x0/0x8)
<3>[ 264.486725] &@[email protected]:*RX_Thread*
<3>[ 265.490223] wcnss crash shutdown 0
Sorry to interupt your thread but how would i get this going on the xperia U.Yes, Great work! Will wait for Z1 MoDaCo Switch...