give me kernel-trouble back

This commit is contained in:
MeexReay 2025-05-17 05:34:21 +03:00
parent a67cef507d
commit 8380347767
3 changed files with 103 additions and 4 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
/kernel-trouble

View File

@ -10,7 +10,7 @@ fi
pmbootstrap chroot adb pull /proc/last_kmsg /home/pmos
if ! sudo mv $PMWORK/chroot_native/home/pmos/last_kmsg /tmp/full-kernel-trouble
if ! sudo mv $PMWORK/chroot_native/home/pmos/last_kmsg /tmp/full-kernel-trouble.txt
then
echo "1. Enter to the recovery mode"
echo "2. Run this script"
@ -18,13 +18,13 @@ then
exit 1
fi
tail -n $NUM_LINES /tmp/full-kernel-trouble > kernel-trouble
tail -n $NUM_LINES /tmp/full-kernel-trouble > kernel-trouble.txt
echo
echo "Last $NUM_LINES log lines"
echo
cat kernel-trouble
cat kernel-trouble.txt
echo
echo "Saved to \"$PWD/kernel-trouble\""

100
kernel-trouble.txt Normal file
View File

@ -0,0 +1,100 @@
[ 5.397578] (1)[1:init]battery_psy_get_property psp:18 ret:0 val:-6900
[ 5.399363] (1)[1:init]battery_psy_get_property psp:12 ret:0 val:3802000
[ 5.399370] (1)[1:init]battery_psy_get_property psp:24 ret:0 val:5078000
[ 5.399376] (1)[1:init]battery_psy_get_property psp:117 ret:0 val:2
[ 5.399382] (1)[1:init]battery_psy_get_property psp:28 ret:0 val:0
[ 5.400054] (1)[1:init][reg_to_current] 0xfff5 0xfff5 0xfff5 0x1f 0x1f 0
[ 5.400439] (1)[1:init][BattThermistorConverTemp] 79232 63187 65772 30 35 34
[ 5.400451] (1)[1:init][BattVoltToTemp] 711 100000 1792 0
[ 5.400464] (1)[1:init][force_get_tbat_internal] 711,711,0,3,100,34 r:100 100 0
[ 5.400474] (1)[1:init]battery_psy_get_property psp:46 ret:0 val:340
[ 5.400483] (1)[1:init]battery_psy_get_property psp:92 ret:0 val:75
[ 5.400496] (1)[1:init]battery_psy_get_property psp:45 ret:0 val:0
[ 5.400510] (1)[1:init]battery_psy_get_property psp:56 ret:0 val:0
[ 5.400523] (1)[1:init]battery_psy_get_property psp:22 ret:0 val:5000000
[ 5.400534] (1)[1:init]battery_psy_get_property psp:73 ret:0 val:0
[ 5.400547] (1)[1:init]battery_psy_get_property psp:219 ret:0 val:2
[ 5.400556] (1)[1:init]battery_psy_get_property psp:94 ret:0 val:328634
[ 5.400562] (1)[1:init]battery_psy_get_property psp:91 ret:0 val:0
[ 5.400568] (1)[1:init]battery_psy_get_property psp:33 ret:0 val:0
[ 5.400573] (1)[1:init]battery_psy_get_property psp:34 ret:0 val:0
[ 5.402220] (1)[1:init]psy_chr_type_get_property: prop:4
[ 5.402231] (1)[1:init]psy_chr_type_get_property: prop:59
[ 5.402239] (1)[1:init]psy_chr_type_get_property: prop:12
[ 5.431171] (1)[1:init]init: [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/platform/bootdevice/by-name/md_udc
[ 5.431314] (1)[1:init]init: [libfs_mgr]Filesystem on /dev/block/platform/bootdevice/by-name/md_udc was not cleanly shutdown; state flags: 0x1, incompat feature flags: 0x46
[ 5.431700] (1)[1:init]init: [libfs_mgr]check_fs(): mount(/dev/block/platform/bootdevice/by-name/md_udc,/metadata,ext4)=-1: No such file or directory
[ 5.431846] (1)[1:init]init: [libfs_mgr]Not running /system/bin/e2fsck on /dev/block/mmcblk0p13 (executable not in system image)
[ 5.438651] (3)[1:init]EXT4-fs (mmcblk0p13): recovery complete
[ 5.438674] (3)[1:init]EXT4-fs (mmcblk0p13): mounted filesystem with ordered data mode. Opts: discard
[ 5.465363] (3)[1:init]device-mapper: verity: sha256 using implementation "sha256-ce"
[ 5.471933] (0)[1:init]EXT4-fs (dm-3): mounted filesystem without journal. Opts:
[ 5.476131] (1)[1:init]device-mapper: verity: sha256 using implementation "sha256-ce"
[ 5.487447] (3)[1:init]EXT4-fs (dm-4): mounted filesystem without journal. Opts:
[ 5.488032] (3)[248:kworker/3:2]CDP, block
[ 5.490505] (0)[1:init]device-mapper: verity: sha256 using implementation "sha256-ce"
[ 5.497261] (2)[1:init]EXT4-fs (dm-5): mounted filesystem without journal. Opts:
[ 5.511105] (1)[1:init]init: 20 output lines suppressed due to ratelimiting
[ 5.648330] (1)[1:init]init 3: Loading SELinux policy
[ 5.701847] (1)[1:init]SELinux: Permission nlmsg_readpriv in class netlink_route_socket not defined in policy.
[ 5.702119] (1)[1:init]SELinux: Class perf_event not defined in policy.
[ 5.702123] (1)[1:init]SELinux: the above unknown classes and permissions will be denied
[ 5.702180] (1)[1:init]SELinux: policy capability network_peer_controls=1
[ 5.702185] (1)[1:init]SELinux: policy capability open_perms=1
[ 5.702189] (1)[1:init]SELinux: policy capability extended_socket_class=1
[ 5.702193] (1)[1:init]SELinux: policy capability always_check_network=0
[ 5.702197] (1)[1:init]SELinux: policy capability cgroup_seclabel=0
[ 5.702201] (1)[1:init]SELinux: policy capability nnp_nosuid_transition=1
[ 5.778904] (2)[53:kauditd]audit: type=1403 audit(1262496961.144:2): auid=4294967295 ses=4294967295 lsm=selinux res=1
[ 5.779157] (1)[1:init]selinux 3: SELinux: Loaded policy from /vendor/etc/selinux/precompiled_sepolicy
[ 5.779157]
[ 5.779619] (2)[53:kauditd]audit: type=1404 audit(1262496961.144:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295 enabled=1 old-enabled=1 lsm=selinux res=1
[ 5.782062] -(3)[0:swapper/3]nano_ipi_start notify
[ 5.783464] (2)[189:scp_power_reset][sensorHub] [sensorHub] sensor_send_dram_info_to_hub success
[ 5.785917] (3)[29:kworker/3:0][sensorHub] scp_sensorHub_req_send fail!
[ 5.785928] (3)[29:kworker/3:0]<SEN_LIST> sensor(1) not register
[ 5.789321] (3)[29:kworker/3:0][sensorHub] scp_sensorHub_req_send fail!
[ 5.789332] (3)[29:kworker/3:0]<SEN_LIST> sensor(5) not register
[ 5.800487] (2)[1:init]selinux 3: SELinux: Loaded file_contexts
[ 5.800487]
[ 5.835164] (1)[1:init]init 3: init second stage started!
[ 5.881848] (1)[1:init]init 3: Using Android DT directory /proc/device-tree/firmware/android/
[ 5.882972] (1)[1:init]init 3: Init cannot set 'ro.boot.hardware' to 'mt6765': Read-only property was already set
[ 5.883033] (1)[1:init]init 3: Init cannot set 'ro.boot.mode' to 'charger': Read-only property was already set
[ 5.883389] (1)[1:init]init 3: Init cannot set 'ro.boot.serialno' to 'LBAM59WKEMSGTK4H': Read-only property was already set
[ 5.890358] (2)[312:init]init (312) used greatest stack depth: 12160 bytes left
[ 5.890683] -(1)[1:init]Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 5.890683]
[ 5.890701] -(1)[1:init]SMP: stopping secondary CPUs
[ 6.953954] -(1)[1:init]Kernel Offset: 0x27f4800000 from 0xffffff8008000000
[ 6.953965] -(1)[1:init]PHYS_OFFSET: 0xfffffff5c0000000
[ 6.953970] -(1)[1:init]Modules linked in:
[ 6.953987] -(1)[1:init]CPU: 1 PID: 1 Comm: init Tainted: G W 4.19.127-perf-g7288046673d5 #1
[ 6.953994] -(1)[1:init]Hardware name: MT6765G (DT)
[ 6.954001] -(1)[1:init]Call trace:
[ 6.954015] -(1)[1:init] dump_backtrace+0x0/0x198
[ 6.954023] -(1)[1:init] show_stack+0x20/0x2c
[ 6.954032] -(1)[1:init] dump_stack+0xb8/0xf0
[ 6.954041] -(1)[1:init] mrdump_common_die+0x174/0x22c
[ 6.954047] -(1)[1:init] ipanic+0xac/0xd8
[ 6.954056] -(1)[1:init] atomic_notifier_call_chain+0x50/0x88
[ 6.954064] -(1)[1:init] panic+0x13c/0x288
[ 6.954073] -(1)[1:init] complete_and_exit+0x0/0x2c
[ 6.954080] -(1)[1:init] do_group_exit+0x8c/0x9c
[ 6.954089] -(1)[1:init] get_signal+0x1b4/0x67c
[ 6.954097] -(1)[1:init] do_notify_resume+0x150/0x23e4
[ 6.954105] -(1)[1:init] work_pending+0x8/0x10
[ 6.954262] -(1)[1:init]mrdump: cpu[1] tsk:0xffffffcab4678e80 ti:0xffffffcab4680000
[ 6.996393] -(1)[1:init]mrdump: add UFS:0xffffffa7ff1a0c80 sz:0x0 failed
[ 6.996456] -(1)[1:init]mrdump: add CCCI:0xffffffcafa858000 sz:0x0 failed
[ 6.996465] -(1)[1:init]mrdump: add MD:0xffffffcafa900000 sz:0x0 failed
[ 6.996641] -(1)[1:init]Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: mrdump_common_die+0x22c/0x22c
[ 6.996848] -(1)[1:init]SMP: stopping secondary CPUs
[ 11.579341] -(1)[1:init]SMP: failed to stop secondary CPUs 0-3
[ 11.579624] -(1)[1:init]Kernel Offset: 0x27f4800000 from 0xffffff8008000000
[ 11.579781] -(1)[1:init]PHYS_OFFSET: 0xfffffff5c0000000
[ 11.579938] -(1)[1:init]CPU features: 0x00000000,2080200c
[ 11.580082] -(1)[1:init]Memory Limit: none
[ 12.820547] -(1)[1:init]Rebooting in 1 seconds..
[ 13.844680] -(1)[1:init]SMP: stopping secondary CPUs
[ 18.331757] -(1)[1:init]SMP: failed to stop secondary CPUs 0-3