Skip to content

Instantly share code, notes, and snippets.

View ValentinLiu15's full-sized avatar
:electron:
DONE

Levi Marvin ValentinLiu15

:electron:
DONE
View GitHub Profile
panic(cpu 4 caller 0xffffff80077d0d53): Kernel trap at 0xffffff800776d572, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0xffffff9c0fbfffe8, CR3: 0x000000000e082000, CR4: 0x00000000003626e0
RAX: 0xffffff800fc00000, RBX: 0xffffff9c0fbfffc8, RCX: 0xffffff7f80000000, RDX: 0x00000000568bc300
RSP: 0xffffffb0898fb910, RBP: 0xffffffb0898fb940, RSI: 0xffffff9ba42a3aa0, RDI: 0x0000000000000000
R8: 0xffffff80077c5390, R9: 0xffffffa070816aa8, R10: 0x0000000000000028, R11: 0x0000000000003000
R12: 0xffffff800ea00000, R13: 0x0000000056f7e808, R14: 0x0000000035b4c000, R15: 0xffffff953dfa0200
RFL: 0x0000000000010282, RIP: 0xffffff800776d572, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0xffffff9c0fbfffe8, Error code: 0x0000000000000000, Fault CPU: 0x4, PL: 1, VF: 5
Panicked task 0xffffff9ba3f53670: 116 threads: pid 0: kernel_task
@ValentinLiu15
ValentinLiu15 / table.txt
Created July 12, 2022 05:08
Xiaomi Mi 8 (dipper) full partition table included SoC partitions.
dipper:/ # ls -l /dev/block/platform/soc/1d84000.ufshc/by-name/
total 0
lrwxrwxrwx 1 root root 15 1970-01-21 06:45 ImageFv -> /dev/block/sdf4
lrwxrwxrwx 1 root root 16 1970-01-21 06:45 abl_a -> /dev/block/sde32
lrwxrwxrwx 1 root root 16 1970-01-21 06:45 abl_b -> /dev/block/sde33
lrwxrwxrwx 1 root root 16 1970-01-21 06:45 aop_a -> /dev/block/sde14
lrwxrwxrwx 1 root root 16 1970-01-21 06:45 aop_b -> /dev/block/sde15
lrwxrwxrwx 1 root root 15 1970-01-21 06:45 apdp -> /dev/block/sde6
lrwxrwxrwx 1 root root 15 1970-01-21 06:45 bk01 -> /dev/block/sda3
lrwxrwxrwx 1 root root 15 1970-01-21 06:45 bk02 -> /dev/block/sda4
@ValentinLiu15
ValentinLiu15 / report.txt
Created June 20, 2022 11:03
cloudcone 2c2g server report
-------------------- A Bench.sh Script By Teddysun -------------------
Version : v2022-06-01
Usage : wget -qO- bench.sh | bash
----------------------------------------------------------------------
CPU Model : Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz
CPU Cores : 2 @ 2999.998 MHz
CPU Cache : 25600 KB
AES-NI : Enabled
VM-x/AMD-V : Disabled
Total Disk : 77.7 GB (1.8 GB Used)
@ValentinLiu15
ValentinLiu15 / sdX.txt
Created May 28, 2022 16:13
partition information about files in /dev/block/
Found valid GPT with protective MBR; using GPT.
Disk /dev/block/sda: 30038016 sectors, 114.6 GiB
Sector size (logical/physical): 4096/4096 bytes
Disk identifier (GUID): A0A2AE7C-ABD6-4D16-2495-5C8A6EA5528D
Partition table holds up to 32 entries
Main partition table begins at sector 2 and ends at sector 2
First usable sector is 6, last usable sector is 30038010
Partitions will be aligned on 2-sector boundaries
Total free space is 0 sectors (0 bytes)
@ValentinLiu15
ValentinLiu15 / gist:baff26e6462b96d8bde9bfc1ba7f5db3
Last active May 27, 2022 18:59
Partition size of device dipper
Name Size Path No. (NOT SURE)
---- ---- ---- ---
dtbo 8 MiB /dev/block/sde 37
boot 64 MiB /dev/block/sde 45
vendor 3 GiB /dev/block/sde 47
system 1024 MiB /dev/block/sde 48
---- ---- ---- ---
Notes: