Linux kernel module for RedPill

Overview

💊 RedPill LKM


THIS IS WORK IN PROGRESS

There's nothing to run/see here (yet ;)).


What is this?

This is a major part of a tool which will be able to run a DSM instance for research purposes without engaging your real DS machine and risking your data in the process (ask me how I know...).

Target audience

This repository is target towards developers willing to learn and help with implementation of peculiarities of Synology's DSM Linux distribution.

Read about the quirk in a separate repo: https://github.com/RedPill-TTG/dsm-research/tree/master/quirks

How to build?

  1. You need Synology's GPL sources for the kernel. Check the Makefile for details
  2. cd to kernel sources
  3. Depending on the version:
    • Linux v3
      • cp synoconfigs/bromolow .config
    • Linux v4
      • cp synoconfigs/apollolake .config
      • echo '+' > .scmversion (otherwise it will error-out loading modules)
  4. make oldconfig ; make modules_prepare
  5. cd back to the module directory
  6. make LINUX_SRC=.... (path to linux sources, default: ./linux-3.10.x-bromolow-25426)
  7. You will get a redpill.ko module as the result, you can insmod it

While calling make you can also add these additional modifiers (e.g. make FOO BAR):

  • DBG_EXECVE: enabled debugging of every execve() call with arguments
  • STEALTH_MODE=#: controls the level of "stealthiness", see STEALTH_MODE_* in internal/stealth.h; it's STEALTH_MODE_BASIC by default
  • LINUX_SRC=...: path to the linux kernel sources (./linux-3.10.x-bromolow-25426 by default)

On Debian-based systems you will need build-essential and libssl-dev packages at minimum.

Documentation split

The documentation regarding actual quirks/mechanisms/discoveries regarding DSM is present in a dedicated research repo at https://github.com/RedPill-TTG/dsm-research/. Documentation in this repository is solely aimed to explain implementation details of the kernel module. It will mostly be available in forms of long(ish) doc blocks.

Comments
  • Virtual SATA Disk (ESXi) Health Status Not Supported (Preventing Storage Pool Creation)

    Virtual SATA Disk (ESXi) Health Status Not Supported (Preventing Storage Pool Creation)

    Can install DSM 7 (3615xs) just fine on ESXi with latest lkm release, however when I try to create a storage pool/volume in DSM, despite the virtual SATA disk showing up okay in Storage Manager, it blocks use of it because the "Health" status is "Not Supported" according to DSM. I know actual "health status" and even SMART will not work/be useful with virtual disks but DSM 7 will at least need to think the virtual disk has a status of "Healthy" in order to let the disk be used. In Jun's loader, the health status shows "Healthy" for virtual disks, even though when you click "Health Info" it shows "Access Error" and no actual health stats.

    I am assuming there is a flag somewhere that gets written in DSM on whether a disk supports health status or not and then the actual status of the disk. I did some initial digging and found "/run/synostorage/disks/sdb" contains files that appear to show disk information and certain compatibility flags. While nothing in there says "health" I compared these files with a real DSM 7 system and changed some of them to reflect "normal", "supported", etc. in the appropriate places. This doesn't produce any immediate changes in DSM or Storage Manager for the disk so I tried rebooting DSM but the values in that folder change back. I am assuming there will need to be a way to shim synostorage into thinking the disks are all healthy before DSM is loaded fully. Not sure where to go from here. Some pictures are below.

    397392647_ScreenShot2021-08-14at4_08_10PM png f8798545b49f0bec3686f8e8826ce37e

    1266430058_ScreenShot2021-08-14at4_08_18PM png 9c5308b62553cac963ab27d49350d9f6

    Screen Shot 2021-08-16 at 11 11 37 AM

    bug awaiting-feedback 
    opened by ilovepancakes95 31
  • execve() shim unreliable on some platforms

    execve() shim unreliable on some platforms

    Users are reporting unable to boot scenarios on some platforms which can be linked to execve() shim. It's a possibly a memory leak or an issue with comparing kernel memory with user memory:

    Stack traces:

    [    7.001987] BUG: unable to handle kernel paging request at 0000000000fcdaa8
    [    7.002545] IP: [<ffffffff812c3bd2>] strcmp+0x12/0x30
    [    7.002925] PGD 26d58e067 PUD 270fec067 PMD 274f25067 PTE 800000027fbfa067
    [    7.002925] Oops: 0001 [#166] PREEMPT SMP
    [    7.002925] Modules linked in: redpill(OE)
    [    7.002925] CPU: 3 PID: 3565 Comm: ash Tainted: G      D    OE   4.4.59+ #25556
    [    7.002925] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
    [    7.002925] task: ffff88026ccd6040 ti: ffff880273490000 task.ti: ffff880273490000
    [    7.002925] RIP: 0010:[<ffffffff812c3bd2>]  [<ffffffff812c3bd2>] strcmp+0x12/0x30
    [    7.002925] RSP: 0018:ffff880273493f18  EFLAGS: 00010282
    [    7.002925] RAX: ffffffffa00008e0 RBX: ffffffffa0009aa0 RCX: 000000000000058b
    [    7.002925] RDX: 0000000000fcda48 RSI: ffff880274e94641 RDI: 0000000000fcdaa9
    [    7.002925] RBP: ffff880273493f18 R08: 0000000000000000 R09: 688c3cb33593c6ff
    [    7.002925] R10: 000000000000058b R11: 0000000000000206 R12: 0000000000fcdaa8
    [    7.002925] R13: 0000000000fcda28 R14: 0000000000fcda48 R15: 0000000000000000
    [    7.002925] FS:  00007feb66f65700(0000) GS:ffff88027fd80000(0000) knlGS:0000000000000000
    [    7.002925] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [    7.002925] CR2: 0000000000fcdaa8 CR3: 0000000271d8c000 CR4: 00000000003606f0
    [    7.002925] Stack:
    [    7.002925]  ffff880273493f48 ffffffffa000090c 0000000000fcdaa8 0000000000fcda28
    [    7.002925]  0000000000000000 0000000000fcda48 0000000000fcda48 ffffffff81578b8a
    [    7.002925]  00000000fc2c9fc5 00007feb6676e070 0000000000000001 00007feb66f679e0
    [    7.002925] Call Trace:
    [    7.002925]  [<ffffffffa000090c>] shim_sys_execve+0x2c/0x90 [redpill]
    [    7.002925]  [<ffffffff81578b8a>] entry_SYSCALL_64_fastpath+0x1e/0x92
    [    7.002925] Code: f7 48 8d 76 01 48 8d 52 01 0f b6 4e ff 84 c9 88 4a ff 75 ed 5d c3 0f 1f 00 55 48 89 e5 eb 04 84 c0 74 18 48 8d 7f 01 48 8d 76 01 <0f> b6 47 ff 3a 46 ff 74 eb 19 c0 83 c8 01 5d c3 31 c0 5d c3 66
    [    7.002925] RIP  [<ffffffff812c3bd2>] strcmp+0x12/0x30
    [    7.002925]  RSP <ffff880273493f18>
    [    7.002925] CR2: 0000000000fcdaa8
    [    7.002925] ---[ end trace 354c1394de4cdfde ]---
    
    [    3.517024] BUG: unable to handle kernel paging request at 0000000001f4b498
    [    3.517026] IP: [<ffffffff8127b794>] strcmp+0x4/0x30
    [    3.517028] PGD 3a879067 PUD 3aed6067 PMD 39e17067 PTE 8000000001bf7067
    [    3.517029] Oops: 0001 [#31] SMP 
    [    3.517031] Modules linked in: redpill(OF)
    [    3.517032] CPU: 2 PID: 4913 Comm: ash Tainted: GF     D    O 3.10.105 #25556
    [    3.517033] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 12/12/2018
    [    3.517034] task: ffff88003dd79040 ti: ffff88003ad94000 task.ti: ffff88003ad94000
    [    3.517036] RIP: 0010:[<ffffffff8127b794>]  [<ffffffff8127b794>] strcmp+0x4/0x30
    [    3.517037] RSP: 0018:ffff88003ad97f28  EFLAGS: 00010206
    [    3.517037] RAX: ffffffffa0000c10 RBX: ffffffffa0009500 RCX: 000000000000058b
    [    3.517038] RDX: 0000000001f554e8 RSI: ffff880038246b60 RDI: 0000000001f4b499
    [    3.517039] RBP: 0000000001f4b498 R08: 0000000000000000 R09: 0000000000000066
    [    3.517039] R10: 000000000000058b R11: 0000000000000202 R12: 0000000001f4b510
    [    3.517040] R13: 0000000001f554e8 R14: 0000000000000000 R15: 0000000000000000
    [    3.517041] FS:  00007fce85811700(0000) GS:ffff88003fc80000(0000) knlGS:0000000000000000
    [    3.517042] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [    3.517042] CR2: 0000000001f4b498 CR3: 0000000039e6e000 CR4: 00000000003607e0
    [    3.517043] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    [    3.517044] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
    [    3.517045] Stack:
    [    3.517046]  ffffffffa0000c36 0000000000000000 0000000000000000 0000000000000000
    [    3.517048]  0000000000000000 ffffffff814cfdc4 0000000000000000 0000000001f554e8
    [    3.517049]  0000000000000000 0000000001f4b510 0000000001f554e8 0000000001f4b498
    [    3.517050] Call Trace:
    [    3.517052]  [<ffffffffa0000c36>] ? shim_sys_execve+0x26/0x90 [redpill]
    [    3.517054]  [<ffffffff814cfdc4>] ? system_call_fastpath+0x22/0x27
    [    3.517062] Code: 0f 1f 80 00 00 00 00 48 83 c6 01 0f b6 4e ff 48 83 c2 01 84 c9 88 4a ff 75 ed f3 c3 66 66 2e 0f 1f 84 00 00 00 00 00 48 83 c7 01 <0f> b6 47 ff 48 83 c6 01 3a 46 ff 75 0f 84 c0 75 eb 31 c0 c3 0f 
    [    3.517064] RIP  [<ffffffff8127b794>] strcmp+0x4/0x30
    [    3.517065]  RSP <ffff88003ad97f28>
    [    3.517065] CR2: 0000000001f4b498
    [    3.517066] ---[ end trace 1310bcd7b39d15af ]---
    

    Reports:

    • https://xpenology.com/forum/topic/45795-redpill-the-new-loader-for-624-discussion/?do=findComment&comment=209454 (loomes, i5, Proxmox on i5-7260U, 1st trace)
    • https://xpenology.com/forum/topic/45795-redpill-the-new-loader-for-624-discussion/?do=findComment&comment=209537 (scoobdriver, ESXi 6.7, DS3615xs, 2nd trace)
    • https://xpenology.com/forum/topic/45795-redpill-the-new-loader-for-624-discussion/?do=findComment&comment=210197 (cwiggs)
    • https://xpenology.com/forum/topic/45795-redpill-the-new-loader-for-624-discussion/?do=findComment&comment=211170 (gadreel)
    bug 
    opened by ttg-public 8
  •  Mocking auto-power SET on RTC

    Mocking auto-power SET on RTC

    The kernel keeps reporting this information. What action should I take?

    [80085.526427] <redpill/rtc_proxy.c:226> Mocking auto-power SET on RTC
    [80085.532878] BUG: unable to handle kernel NULL pointer dereference at           (null)
    [80085.540936] IP: [<ffffffff812fd1e6>] memcpy_erms+0x6/0x10
    [80085.546473] PGD 363fb9067 PUD 3d1d07067 PMD 0
    [80085.551076] Oops: 0000 [#713] SMP
    [80085.554569] Modules linked in: fuse nfnetlink pci_stub vfio_pci vfio_virqfd vfio_iommu_type1 vfio vhost_net(O) kvm_intel kvm irqbypass xt_ipvs ip_vs_rr ip_vs xt_mark br_netfilter bridge stp aufs macvlan veth xt_addrtype tun cmac ctr ccm ipt_MASQUERADE xt_REDIRECT nf_nat_masquerade_ipv4 xt_nat nf_nat_redirect xt_policy xfrm6_mode_transport xfrm4_mode_transport xfrm6_mode_tunnel xfrm4_mode_tunnel xfrm6_mode_beet xfrm4_mode_beet deflate authencesn ipcomp6 ipcomp xfrm6_tunnel xfrm4_tunnel tunnel6 esp6 esp4 ah6 ah4 xfrm_ipcomp af_key xfrm_user xfrm_algo l2tp_ppp l2tp_core ppp_deflate bsd_comp ppp_mppe echainiv xt_TCPMSS iptable_mangle pppox ppp_async ppp_generic slhc 8021q vhost_scsi(O) vhost(O) tcm_loop(O) iscsi_target_mod(O) target_core_user(O) target_core_ep(O) target_core_multi_file(O) target_core_file(O)
    [80085.628492]  target_core_iblock(O) target_core_mod(O) syno_extent_pool(PO) rodsp_ep(O) udf isofs loop nfsv3 nfs quota_v2 quota_tree synoacl_vfs(PO) iptable_nat nf_nat_ipv4 nf_nat raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xt_conntrack xt_mac xt_geoip(O) compat_xtables(O) nf_conntrack_ipv6 ip6table_filter ip6_tables xt_recent xt_iprange xt_limit xt_state xt_tcpudp xt_multiport xt_LOG nf_conntrack_ipv4 nf_defrag_ipv4 iptable_filter ip_tables x_tables nfsd btrfs ecryptfs zstd_decompress zstd_compress xxhash xor raid6_pq lockd grace rpcsec_gss_krb5 auth_rpcgss sunrpc aesni_intel glue_helper lrw gf128mul ablk_helper apollolake_synobios(PO) hid_generic usbhid hid usblp i915 drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cfbfillrect cfbcopyarea cfbimgblt drm drm_panel_orientation_quirks
    [80085.702288]  iosf_mbi fb fbdev video backlight button uhci_hcd ehci_pci ehci_hcd r8168(O) i2c_algo_bit openvswitch gre nf_defrag_ipv6 nf_conntrack igb(O) e1000e(O) sg dm_snapshot dm_bufio crc_itu_t crc_ccitt psnap p8022 llc hfsplus md4 hmac sit tunnel4 ipv6 flashcache_syno(O) flashcache(O) syno_flashcache_control(O) dm_mod arc4 crc32c_intel cryptd sha256_generic ecb aes_x86_64 authenc des_generic ansi_cprng cts md5 cbc cpufreq_powersave cpufreq_performance acpi_cpufreq processor cpufreq_stats vxlan ip6_udp_tunnel udp_tunnel zram ip_tunnel etxhci_hcd usb_storage xhci_pci xhci_hcd usbcore usb_common redpill(OE) [last unloaded: apollolake_synobios]
    [80085.760520] CPU: 3 PID: 4856 Comm: scemd Tainted: P      D    OE   4.4.180+ #42214
    [80085.768258] Hardware name: System manufacturer System Product Name/B150M-PLUS, BIOS 3806 05/18/2018
    [80085.777496] task: ffff88004055d280 ti: ffff88012a65c000 task.ti: ffff88012a65c000
    [80085.785166] RIP: 0010:[<ffffffff812fd1e6>]  [<ffffffff812fd1e6>] memcpy_erms+0x6/0x10
    [80085.793225] RSP: 0018:ffff88012a65fbb0  EFLAGS: 00010246
    [80085.798660] RAX: ffff88012a65fbf0 RBX: ffffffffffffffff RCX: 0000000000000134
    [80085.805956] RDX: 0000000000000134 RSI: 0000000000000000 RDI: ffff88012a65fbf0
    [80085.813252] RBP: ffff88012a65fbc0 R08: 000000000000000a R09: 00000000000085d6
    [80085.820550] R10: 0000000000000005 R11: ffffffff819fe16d R12: ffff88012a65fbf0
    [80085.827831] R13: ffff8800abd51a40 R14: ffff88042027c048 R15: ffff8800abd51a40
    [80085.835135] FS:  00007f5fe7413700(0000) GS:ffff880433d80000(0000) knlGS:0000000000000000
    [80085.843377] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [80085.849279] CR2: 0000000000000000 CR3: 0000000104946000 CR4: 00000000003606f0
    [80085.856569] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    [80085.863891] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
    [80085.871196] Stack:
    [80085.873241]  ffffffffa000875c 00007f5fe7412320 ffff88012a65fe88 ffffffffa06a452c
    [80085.880894]  ffff88012a65fc68 ffff88012a65fc60 ffff88012a65fcf0 0000000000000001
    [80085.888512]  0000000100000001 00000000007f1700 0000000000000000 0000000000000000
    [80085.896131] Call Trace:
    [80085.898639]  [<ffffffffa000875c>] ? rtc_proxy_set_auto_power_on+0x70/0x76 [redpill]
    [80085.906437]  [<ffffffffa06a452c>] synobios_ioctl+0x54c/0x1e50 [apollolake_synobios]
    [80085.914252]  [<ffffffff81131bd9>] ? unlock_page+0x59/0x60
    [80085.919748]  [<ffffffff8115e837>] ? do_wp_page+0x287/0x650
    [80085.925356]  [<ffffffff8121ecf9>] ? ext4_getattr+0x19/0x90
    [80085.930980]  [<ffffffff81194a20>] ? cp_new_stat+0x110/0x120
    [80085.936674]  [<ffffffff811a70d2>] do_vfs_ioctl+0x4d2/0x960
    [80085.942248]  [<ffffffff811a7601>] SyS_ioctl+0xa1/0xb0
    [80085.947395]  [<ffffffff81579c4a>] entry_SYSCALL_64_fastpath+0x1e/0x8e
    [80085.953945] Code: 90 90 90 90 90 eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 <f3> a4 c3 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38
    [80085.974293] RIP  [<ffffffff812fd1e6>] memcpy_erms+0x6/0x10
    [80085.979909]  RSP <ffff88012a65fbb0>
    [80085.983480] CR2: 0000000000000000
    [80085.986852] ---[ end trace 487f34b257519703 ]---
    
    bug awaiting-feedback 
    opened by tossp 3
  • error: code model kernel does not support PIC mode

    error: code model kernel does not support PIC mode

    Hello redpill devs,

    I am a newbie linux dev, and couldn't resist jumping in and testing a bit here. when running "make modules_prepare" I am getting the following error below stating code model kernel does not support PIC mode - the first command "make oldconfig" worked fine without error.

    make[1]: Nothing to be done for 'all'. make[1]: Nothing to be done for 'relocs'. CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h CC kernel/bounds.s cc1: error: code model kernel does not support PIC mode make[1]: *** [/home/user1/syno-custom/redpill-lkm/linux-3.10/./Kbuild:36: kernel/bounds.s] Error 1 make: *** [Makefile:840: prepare0] Error 2

    My environment is an ubuntu 20.04 server. I cloned this repo and downloaded/unpacked GPL kernel source per the instructions. Am I missing something else here?

    Really appreciate the effort by all devs for this project!

    Ren

    documentation 
    opened by goldengit 3
  • Optimize cmdline lookup

    Optimize cmdline lookup

    See https://github.com/RedPill-TTG/redpill-lkm/commit/8eea128f229ad7df1e17aa140bcc04e67673056c

    @jumkey made a great suggestion here - we think it may work wonderfully and doesn't compromise the functionality.

    enhancement good first issue development 
    opened by ttg-public 3
  • Emulate PMU responses

    Emulate PMU responses

    Some userland components can connect to the /dev/synobios chardev (created by https://github.com/RedPill-TTG/dsm-research/blob/master/quirks/mfgbios.md) and use it as a proxy to the PMU (https://github.com/RedPill-TTG/dsm-research/blob/master/quirks/pmu.md). This channel however doesn't exist when running on a different/research hardware platform.

    We need to emulate requests and responses to these command. There are many ways to do that. The easiest is probably hijacking the whole serial port or chardev (not investigated yet). The commands can be found in various articles as they're public in the SDK. For example see https://web.archive.org/web/20201001025734/https://smallhacks.wordpress.com/2012/04/17/working-with-synology-hardware-devsynobios-and-devttys1/

    enhancement development Linux_v4 Linux_v3 
    opened by ttg-public 3
  • Can you add boot parameter for debug?

    Can you add boot parameter for debug?

    Please add it for machine without serial port.

    Just print out message on screen (not tty)

    If someone use Low-end board (like GA-H110M-DS2V) or mini PC or Laptop they can't add serial port on board

    Also recently released system board hasn't serial port (has serial head but optional part needs) (or hasn't any port or head)

    opened by dateno1 2
  • Add SATA DOM emulation

    Add SATA DOM emulation

    VMWare products (ESXi, Fusion, Workstation) cannot boot from USB easily and do not support creation of virtual USB drives like proxmox does. The kernel has a way to boot from what's called "SATA DOM" (in short a dedicated small SATA device). It should be supported by the loader.

    enhancement 
    opened by ttg-public 2
  • uart_fixer.c -> ../../config/runtime_config.h not found

    uart_fixer.c -> ../../config/runtime_config.h not found

    Hi, when i build the redpill.ko it comes a fatal error:

    CC [M] /home/dodo/redpill-lkm/shim/uart_fixer.o /home/dodo/redpill-lkm/shim/uart_fixer.c:3:53: fatal error: ../../config/runtime_config.h: Datei oder Verzeichnis nicht gefunden

    If i edit the redpill-lkm/shim/uart_fixer.c and change from ../../ to ../ it works. Is this a bug or what i do wrong?

    Thank you very much, Good Work!

    bug 
    opened by dodo-dk 2
  • Unable to start on some devices

    Unable to start on some devices

    [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.180+ ([email protected]) (gcc version 7.5.0 (GCC) ) #41890 SMP Thu Jul 15 03:43:42 CST 2021 [ 0.000000] Command line: BOOT_IMAGE=/zImage HddHotplug=0 withefi console=ttyS2,115200n8 netif_num=1 syno_hdd_detect=0 syno_port_thaw=1 vender_format_version=2 earlyprintk mac1=2673D66F642A syno_hdd_powerup_seq=1 pid=0x0001 syno_hw_version=DS918+ vid=0x46f4 earlycon=uart8250,io,0x3f8,115200n8 sn=1780PDN123456 elevator=elevator root=/dev/md0 loglevel=15 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] x86/fpu: Legacy x87 FPU detected. [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007ffdbfff] usable [ 0.000000] BIOS-e820: [mem 0x000000007ffdc000-0x000000007fffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] earlycon: Early serial console at I/O port 0x3f8 (options '115200n8') [ 0.000000] bootconsole [uart0] enabled [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.8 present. [ 0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 0.000000] Kernel/User page tables isolation: disabled [ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable [ 0.000000] e820: last_pfn = 0x7ffdc max_arch_pfn = 0x400000000 [ 0.000000] MTRR default type: write-back [ 0.000000] MTRR fixed ranges enabled: [ 0.000000] 00000-9FFFF write-back [ 0.000000] A0000-BFFFF uncachable [ 0.000000] C0000-FFFFF write-protect [ 0.000000] MTRR variable ranges enabled: [ 0.000000] 0 base 0080000000 mask FF80000000 uncachable [ 0.000000] 1 disabled [ 0.000000] 2 disabled [ 0.000000] 3 disabled [ 0.000000] 4 disabled [ 0.000000] 5 disabled [ 0.000000] 6 disabled [ 0.000000] 7 disabled [ 0.000000] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC
    [ 0.000000] Base memory trampoline at [ffff880000098000] 98000 size 28672 [ 0.000000] Using GB pages for direct mapping [ 0.000000] BRK [0x01a6c000, 0x01a6cfff] PGTABLE [ 0.000000] BRK [0x01a6d000, 0x01a6dfff] PGTABLE [ 0.000000] BRK [0x01a6e000, 0x01a6efff] PGTABLE [ 0.000000] BRK [0x01a6f000, 0x01a6ffff] PGTABLE [ 0.000000] BRK [0x01a70000, 0x01a70fff] PGTABLE [ 0.000000] RAMDISK: [mem 0x35f11000-0x36f7ffff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000F5890 000014 (v00 BOCHS ) [ 0.000000] ACPI: RSDT 0x000000007FFE1E8A 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: FACP 0x000000007FFE1C6C 000074 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: DSDT 0x000000007FFDF040 002C2C (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: FACS 0x000000007FFDF000 000040 [ 0.000000] ACPI: APIC 0x000000007FFE1CE0 000080 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: SSDT 0x000000007FFE1D60 0000CA (v01 BOCHS VMGENID 00000001 BXPC 00000001) [ 0.000000] ACPI: HPET 0x000000007FFE1E2A 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: WAET 0x000000007FFE1E62 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.000000] DMA32 [mem 0x0000000001000000-0x000000007ffdbfff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff] [ 0.000000] node 0: [mem 0x0000000000100000-0x000000007ffdbfff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000007ffdbfff] [ 0.000000] On node 0 totalpages: 524154 [ 0.000000] DMA zone: 64 pages used for memmap [ 0.000000] DMA zone: 22 pages reserved [ 0.000000] DMA zone: 3998 pages, LIFO batch:0 [ 0.000000] DMA32 zone: 8128 pages used for memmap [ 0.000000] DMA32 zone: 520156 pages, LIFO batch:31 [ 0.000000] ACPI: PM-Timer IO Port: 0x608 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) [ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) [ 0.000000] ACPI: IRQ0 used by override. [ 0.000000] ACPI: IRQ5 used by override. [ 0.000000] ACPI: IRQ9 used by override. [ 0.000000] ACPI: IRQ10 used by override. [ 0.000000] ACPI: IRQ11 used by override. [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000 [ 0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.000000] e820: [mem 0x80000000-0xfeffbfff] available for PCI devices [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns [ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 33 pages/cpu @ffff88007fc00000 s95128 r8192 d31848 u1048576 [ 0.000000] pcpu-alloc: s95128 r8192 d31848 u1048576 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 0 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 515940 [ 0.000000] Kernel command line: BOOT_IMAGE=/zImage HddHotplug=0 withefi console=ttyS2,115200n8 netif_num=1 syno_hdd_detect=0 syno_port_thaw=1 vender_format_version=2 earlyprintk mac1=2673D66F642A syno_hdd_powerup_seq=1 pid=0x0001 syno_hw_version=DS918+ vid=0x46f4 earlycon=uart8250,io,0x3f8,115200n8 sn=1780PDN123456 elevator=elevator root=/dev/md0 loglevel=15 [ 0.000000] Internal netif num: 1 [ 0.000000] SYNO GPIO hdd detect pin: 0 [ 0.000000] Vender format version: 2 [ 0.000000] Mac1: 2673D66F642A [ 0.000000] Power on seq num: 1 [ 0.000000] Synology Hardware Version: DS918+ [ 0.000000] Serial Number: 1780PDN123456 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Memory: 2032796K/2096616K available (5623K kernel code, 863K rwdata, 1748K rodata, 916K init, 664K bss, 63820K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=2 [ 0.000000] NR_IRQS:4352 nr_irqs:440 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns [ 0.000000] hpet clockevent registered [ 0.000000] tsc: Fast TSC calibration using PIT [ 0.000000] tsc: Detected 2926.152 MHz processor [ 0.003006] Calibrating delay loop (skipped), value calculated using timer frequency.. 5852.30 BogoMIPS (lpj=2926152) [ 0.004525] pid_max: default: 32768 minimum: 301 [ 0.005011] ACPI: Core revision 20150930 [ 0.008019] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 0.009066] Security Framework initialized [ 0.009824] AppArmor: AppArmor initialized [ 0.010015] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.011006] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.012260] Initializing cgroup subsys io [ 0.013012] Initializing cgroup subsys memory [ 0.014022] Initializing cgroup subsys devices [ 0.015021] Initializing cgroup subsys freezer [ 0.016153] CPU: Physical Processor ID: 0 [ 0.017010] CPU: Processor Core ID: 0 [ 0.018085] mce: CPU supports 10 MCE banks [ 0.019171] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 0.020012] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [ 0.021032] Speculative Store Bypass: Vulnerable [ 0.028283] Freeing SMP alternatives memory: 24K [ 0.033670] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.043580] TSC deadline timer enabled [ 0.044000] smpboot: CPU0: Intel(R) Xeon(R) CPU X5670 @ 2.93GHz (family: 0x6, model: 0x2c, stepping: 0x2) [ 0.046764] Performance Events: 16-deep LBR, Westmere events, full-width counters, Intel PMU driver. [ 0.048627] perf_event_intel: CPUID marked event: 'bus cycles' unavailable [ 0.049036] ... version: 2 [ 0.050007] ... bit width: 48 [ 0.051005] ... generic registers: 4 [ 0.052007] ... value mask: 0000ffffffffffff [ 0.053007] ... max period: 00007fffffffffff [ 0.054007] ... fixed-purpose events: 3 [ 0.055006] ... event mask: 000000070000000f [ 0.056442] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter. [ 0.058185] x86: Booting SMP configuration: [ 0.059007] .... node #0, CPUs: #1 [ 0.061053] x86: Booted up 1 node, 2 CPUs [ 0.062009] smpboot: Total of 2 processors activated (11704.60 BogoMIPS) [ 0.064013] devtmpfs: initialized [ 0.065470] invalid opcode: 0000 [#1] SMP [ 0.066000] Modules linked in: [ 0.066000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.180+ #41890 [ 0.066000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 0.066000] task: ffff88007d0f0000 ti: ffff88007d0d4000 task.ti: ffff88007d0d4000 [ 0.066000] RIP: 0010:[] [] sha_transform+0x37/0x1290 [ 0.066000] RSP: 0000:ffff88007d0d7ce8 EFLAGS: 00010803 [ 0.066000] RAX: 0000000045321f1a RBX: 00000000c3d2e1f0 RCX: 0000000000000020 [ 0.066000] RDX: ffff88007d0d7d40 RSI: ffffffff81a5f7e0 RDI: ffff88007d0d7d28 [ 0.066000] RBP: ffff88007d0d7d10 R08: 0000000067452301 R09: 0000000010325476 [ 0.066000] R10: 0000000098badcfe R11: 00000000efcdab89 R12: 00000000e8a4602c [ 0.066000] R13: ffff88007d0d7dde R14: ffffffff818974c8 R15: ffffffff81897480 [ 0.066000] FS: 0000000000000000(0000) GS:ffff88007fc00000(0000) knlGS:0000000000000000 [ 0.066000] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 0.066000] CR2: ffff880001a6c000 CR3: 000000000180a000 CR4: 00000000000206f0 [ 0.066000] Stack: [ 0.066000] 0000000000000010 ffff88007d0d7d40 ffff88007d0d7dde ffffffff818974c8 [ 0.066000] ffffffff81897480 ffff88007d0d7da8 ffffffff813b1bcf 0000000000000246 [ 0.066000] efcdab8967452301 1032547698badcfe 00000000c3d2e1f0 0000000000000006 [ 0.066000] Call Trace: [ 0.066000] [] extract_buf+0x8f/0x110 [ 0.066000] [] ? account.part.28+0x125/0x190 [ 0.066000] [] extract_entropy+0x81/0x210 [ 0.066000] [] ? setup_net+0x3e/0x140 [ 0.066000] [] ? initcall_blacklist+0xaa/0xaa [ 0.066000] [] get_random_bytes+0x36/0x90 [ 0.066000] [] setup_net+0x3e/0x140 [ 0.066000] [] ? net_defaults_init+0x24/0x24 [ 0.066000] [] net_ns_init+0x9f/0x134 [ 0.066000] [] do_one_initcall+0x88/0x1a0 [ 0.066000] [] kernel_init_freeable+0x15e/0x1f1 [ 0.066000] [] ? rest_init+0x80/0x80 [ 0.066000] [] kernel_init+0x9/0xd0 [ 0.066000] [] ret_from_fork+0x3f/0x80 [ 0.066000] [] ? rest_init+0x80/0x80 [ 0.066000] Code: 44 89 d0 41 57 44 8b 07 44 8b 5f 04 41 56 44 31 c8 41 55 44 21 d8 41 54 45 8d 20 44 31 c8 41 c1 c4 05 53 44 01 e0 8b 5f 10 01 d8 <0f> 38 f0 0e 05 99 79 82 5a 89 0a 41 c1 cb 02 01 c1 41 8d 02 0f [ 0.066000] RIP [] sha_transform+0x37/0x1290 [ 0.066000] RSP

    This is the boot result of the PVE virtual machine with the image of DS918+ on my X58 server Can't seem to start Why can't it start? Is it because the CPU instruction set does not support it? I found that [x86/fpu: Supporting XSAVE feature 0x04:'AVX registers'] appears when booting on a normal machine, but it does not appear on my X58 server If it is a CPU problem, what instruction set does the host's CPU need?

    The following result is the startup result on the virtual machine of i5 9500

    [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.180+ ([email protected]) (gcc version 7.5.0 (GCC) ) #41890 SMP Thu Jul 15 03:43:42 CST 2021 [ 0.000000] Command line: BOOT_IMAGE=/zImage HddHotplug=0 withefi console=ttyS2,115200n8 netif_num=1 syno_hdd_detect=0 syno_port_thaw=1 vender_format_version=2 earlyprintk mac1=2673D66F642A syno_hdd_powerup_seq=1 pid=0x0001 syno_hw_version=DS918+ vid=0x46f4 earlycon=uart8250,io,0x3f8,115200n8 sn=1780PDN123456 elevator=elevator root=/dev/md0 loglevel=15 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x04: 'AVX registers' [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007ffeffff] usable [ 0.000000] BIOS-e820: [mem 0x000000007fff0000-0x000000007fffffff] ACPI data [ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] earlycon: Early serial console at I/O port 0x3f8 (options '115200n8') [ 0.000000] bootconsole [uart0] enabled [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.5 present. [ 0.000000] DMI: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006 [ 0.000000] Kernel/User page tables isolation: disabled [ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable [ 0.000000] e820: last_pfn = 0x7fff0 max_arch_pfn = 0x400000000 [ 0.000000] MTRR default type: uncachable [ 0.000000] MTRR variable ranges disabled: [ 0.000000] MTRR: Disabled [ 0.000000] CPU MTRRs all blank - virtualized system. [ 0.000000] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC [ 0.000000] Base memory trampoline at [ffff880000098000] 98000 size 28672 [ 0.000000] BRK [0x01a6c000, 0x01a6cfff] PGTABLE [ 0.000000] BRK [0x01a6d000, 0x01a6dfff] PGTABLE [ 0.000000] BRK [0x01a6e000, 0x01a6efff] PGTABLE [ 0.000000] BRK [0x01a6f000, 0x01a6ffff] PGTABLE [ 0.000000] BRK [0x01a70000, 0x01a70fff] PGTABLE [ 0.000000] RAMDISK: [mem 0x35f11000-0x36f7ffff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000E0000 000024 (v02 VBOX ) [ 0.000000] ACPI: XSDT 0x000000007FFF0030 00003C (v01 VBOX VBOXXSDT 00000001 ASL 00000061) [ 0.000000] ACPI: FACP 0x000000007FFF00F0 0000F4 (v04 VBOX VBOXFACP 00000001 ASL 00000061) [ 0.000000] ACPI: DSDT 0x000000007FFF0470 002325 (v02 VBOX VBOXBIOS 00000002 INTL 20100528) [ 0.000000] ACPI: FACS 0x000000007FFF0200 000040 [ 0.000000] ACPI: FACS 0x000000007FFF0200 000040 [ 0.000000] ACPI: APIC 0x000000007FFF0240 000054 (v02 VBOX VBOXAPIC 00000001 ASL 00000061) [ 0.000000] ACPI: SSDT 0x000000007FFF02A0 0001CC (v01 VBOX VBOXCPUT 00000002 INTL 20100528) [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.000000] DMA32 [mem 0x0000000001000000-0x000000007ffeffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff] [ 0.000000] node 0: [mem 0x0000000000100000-0x000000007ffeffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000007ffeffff] [ 0.000000] On node 0 totalpages: 524174 [ 0.000000] DMA zone: 64 pages used for memmap [ 0.000000] DMA zone: 22 pages reserved [ 0.000000] DMA zone: 3998 pages, LIFO batch:0 [ 0.000000] DMA32 zone: 8128 pages used for memmap [ 0.000000] DMA32 zone: 520176 pages, LIFO batch:31 [ 0.000000] ACPI: PM-Timer IO Port: 0x4008 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level) [ 0.000000] ACPI: IRQ0 used by override. [ 0.000000] ACPI: IRQ9 used by override. [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.000000] e820: [mem 0x80000000-0xfebfffff] available for PCI devices [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns [ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 33 pages/cpu @ffff88007fc00000 s95128 r8192 d31848 u2097152 [ 0.000000] pcpu-alloc: s95128 r8192 d31848 u2097152 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 515960 [ 0.000000] Kernel command line: BOOT_IMAGE=/zImage HddHotplug=0 withefi console=ttyS2,115200n8 netif_num=1 syno_hdd_detect=0 syno_port_thaw=1 vender_format_version=2 earlyprintk mac1=2673D66F642A syno_hdd_powerup_seq=1 pid=0x0001 syno_hw_version=DS918+ vid=0x46f4 earlycon=uart8250,io,0x3f8,115200n8 sn=1780PDN123456 elevator=elevator root=/dev/md0 loglevel=15 [ 0.000000] Internal netif num: 1 [ 0.000000] SYNO GPIO hdd detect pin: 0 [ 0.000000] Vender format version: 2 [ 0.000000] Mac1: 2673D66F642A [ 0.000000] Power on seq num: 1 [ 0.000000] Synology Hardware Version: DS918+ [ 0.000000] Serial Number: 1780PDN123456 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Memory: 2033004K/2096696K available (5623K kernel code, 863K rwdata, 1748K rodata, 916K init, 664K bss, 63692K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1 [ 0.000000] NR_IRQS:4352 nr_irqs:256 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] tsc: Fast TSC calibration using PIT [ 0.000000] tsc: Detected 2999.850 MHz processor [ 0.000001] Calibrating delay loop (skipped), value calculated using timer frequency.. 5999.70 BogoMIPS (lpj=2999850) [ 0.003856] pid_max: default: 32768 minimum: 301 [ 0.005398] ACPI: Core revision 20150930 [ 0.015793] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 0.017323] Security Framework initialized [ 0.019144] AppArmor: AppArmor initialized [ 0.020835] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.025450] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.028817] Initializing cgroup subsys io [ 0.030214] Initializing cgroup subsys memory [ 0.031917] Initializing cgroup subsys devices [ 0.033658] Initializing cgroup subsys freezer [ 0.044504] CPU: Physical Processor ID: 0 [ 0.057713] mce: CPU supports 0 MCE banks [ 0.059075] process: using mwait in idle threads [ 0.060498] Last level iTLB entries: 4KB 128, 2MB 8, 4MB 8 [ 0.063886] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4 [ 0.065885] Speculative Store Bypass: Vulnerable [ 0.077457] Freeing SMP alternatives memory: 24K [ 0.081135] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.194061] smpboot: CPU0: Intel(R) Core(TM) i5-9500 CPU @ 3.00GHz (family: 0x6, model: 0x9e, stepping: 0xa) [ 0.201345] Performance Events: unsupported p6 CPU model 158 no PMU driver, software events only. [ 0.205529] x86: Booted up 1 node, 1 CPUs [ 0.206679] smpboot: Total of 1 processors activated (5999.70 BogoMIPS) [ 0.210972] NMI watchdog: disabled (cpu0): hardware events not enabled [ 0.214432] NMI watchdog: Shutting down hard lockup detector on all cpus [ 0.217510] devtmpfs: initialized [ 0.218923] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.222363] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.225476] pinctrl core: initialized pinctrl subsystem [ 0.236216] NET: Registered protocol family 16 [ 0.238627] cpuidle: using governor ladder [ 0.240909] cpuidle: using governor menu [ 0.242580] ACPI: bus type PCI registered [ 0.244503] PCI: Using configuration type 1 for base access [ 0.264790] ACPI: Added _OSI(Module Device) [ 0.266606] ACPI: Added _OSI(Processor Device) [ 0.268274] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.270081] ACPI: Added _OSI(Processor Aggregator Device) [ 0.273627] ACPI: Executed 1 blocks of module-level executable AML code [ 0.276979] ACPI: Interpreter enabled [ 0.277822] ACPI: (supports S0 S5) [ 0.278572] ACPI: Using IOAPIC for interrupt routing [ 0.280439] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.286547] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.294417] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI] [ 0.298089] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI] [ 0.302621] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge. [ 0.307065] PCI host bridge to bus 0000:00 [ 0.308467] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.311074] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.314561] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.317621] pci_bus 0000:00: root bus resource [mem 0x80000000-0xfdffffff window] [ 0.328329] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.331409] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000 [ 0.334299] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100 [ 0.339815] pci 0000:00:02.0: [80ee:beef] type 00 class 0x030000 [ 0.343028] pci 0000:00:02.0: reg 0x10: [mem 0xe0000000-0xe1ffffff pref] [ 0.345302] pci 0000:00:02.0: reg 0x14: [io 0xd000-0xd00f] [ 0.347291] pci 0000:00:02.0: reg 0x18: [mem 0xf0000000-0xf01fffff] [ 0.351543] pci 0000:00:03.0: [1af4:1000] type 00 class 0x020000 [ 0.360781] pci 0000:00:03.0: reg 0x10: [io 0xd020-0xd03f] [ 0.364154] pci 0000:00:04.0: [80ee:cafe] type 00 class 0x088000 [ 0.367743] pci 0000:00:04.0: reg 0x10: [io 0xd040-0xd05f] [ 0.369657] pci 0000:00:04.0: reg 0x14: [mem 0xf0400000-0xf07fffff] [ 0.372098] pci 0000:00:04.0: reg 0x18: [mem 0xf0800000-0xf0803fff pref] [ 0.376939] pci 0000:00:05.0: [8086:2668] type 00 class 0x040300 [ 0.379096] pci 0000:00:05.0: reg 0x10: [mem 0xf0804000-0xf0807fff] [ 0.384401] pci 0000:00:06.0: [106b:003f] type 00 class 0x0c0310 [ 0.391436] pci 0000:00:06.0: reg 0x10: [mem 0xf0808000-0xf0808fff] [ 0.396346] pci 0000:00:07.0: [8086:7113] type 00 class 0x068000 [ 0.400142] pci 0000:00:07.0: quirk: [io 0x4000-0x403f] claimed by PIIX4 ACPI [ 0.402271] pci 0000:00:07.0: quirk: [io 0x4100-0x410f] claimed by PIIX4 SMB [ 0.406229] pci 0000:00:0d.0: [8086:2829] type 00 class 0x010601 [ 0.408910] pci 0000:00:0d.0: reg 0x10: [io 0xd060-0xd067] [ 0.410755] pci 0000:00:0d.0: reg 0x14: [io 0xd068-0xd06b] [ 0.419818] pci 0000:00:0d.0: reg 0x18: [io 0xd070-0xd077] [ 0.422086] pci 0000:00:0d.0: reg 0x1c: [io 0xd078-0xd07b] [ 0.424046] pci 0000:00:0d.0: reg 0x20: [io 0xd080-0xd08f] [ 0.426629] pci 0000:00:0d.0: reg 0x24: [mem 0xf080a000-0xf080bfff] [ 0.431101] pci_bus 0000:00: on NUMA node 0 [ 0.432792] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 9 10 *11) [ 0.434330] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 9 *10 11) [ 0.435693] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 *9 10 11) [ 0.438444] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 9 10 *11) [ 0.441142] ACPI: Enabled 2 GPEs in block 00 to 07 [ 0.457862] vgaarb: setting as boot device: PCI:0000:00:02.0 [ 0.459595] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none [ 0.463065] vgaarb: loaded [ 0.463914] vgaarb: bridge control possible 0000:00:02.0 [ 0.465946] SCSI subsystem initialized [ 0.467453] libata version 3.00 loaded. [ 0.469529] pps_core: LinuxPPS API ver. 1 registered [ 0.472127] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected] [ 0.483604] PTP clock support registered [ 0.485787] PCI: Using ACPI for IRQ routing [ 0.487077] PCI: pci_cache_line_size set to 64 bytes [ 0.491158] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff] [ 0.493137] e820: reserve RAM buffer [mem 0x7fff0000-0x7fffffff] [ 0.496075] clocksource: Switched to clocksource refined-jiffies [ 0.517996] AppArmor: AppArmor Filesystem Enabled [ 0.520157] pnp: PnP ACPI init [ 0.522808] pnp 00:00: Plug and Play ACPI device, IDs PNP0303 (active) [ 0.524869] pnp 00:01: Plug and Play ACPI device, IDs PNP0f03 (active) [ 0.527161] pnp 00:02: Plug and Play ACPI device, IDs PNP0501 (active) [ 0.529245] pnp 00:03: Plug and Play ACPI device, IDs PNP0501 (active) [ 0.532593] pnp 00:04: Plug and Play ACPI device, IDs PNP0501 (active) [ 0.535197] pnp: PnP ACPI: found 5 devices [ 0.551128] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.556245] clocksource: Switched to clocksource acpi_pm [ 0.557785] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 0.560124] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 0.563357] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 0.566634] pci_bus 0000:00: resource 7 [mem 0x80000000-0xfdffffff window] [ 0.569683] NET: Registered protocol family 2 [ 0.578176] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.582270] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 0.585047] TCP: Hash tables configured (established 16384 bind 16384) [ 0.589082] UDP hash table entries: 1024 (order: 3, 32768 bytes) [ 0.591363] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes) [ 0.594839] NET: Registered protocol family 1 [ 0.596863] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.598954] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.601592] pci 0000:00:02.0: Video device with shadowed ROM [ 0.610572] PCI: CLS 0 bytes, default 64 [ 0.917852] Trying to unpack rootfs image as initramfs... [ 0.939492] hrtimer: interrupt took 4772673 ns [ 0.992388] Freeing initrd memory: 16828K [ 0.994379] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 1.006744] audit: initializing netlink subsys (disabled) [ 1.008607] audit: type=2000 audit(1628030571.692:1): initialized [ 1.010685] Initialise system trusted keyring [ 1.108805] VFS: Disk quotas dquot_6.6.0 [ 1.110890] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.481167] Key type asymmetric registered [ 1.483145] Asymmetric key parser 'x509' registered [ 1.484968] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 1.487849] io scheduler noop registered [ 1.489337] io scheduler deadline registered [ 1.493148] io scheduler cfq registered [ 1.999036] tsc: Refined TSC clocksource calibration: 2999.999 MHz [ 8.429366] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2b3e44b2357, max_idle_ns: 440795324996 ns [ 8.807868] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 9.100786] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 9.112939] console [ttyS2] enabled [ 9.114823] bootconsole [uart0] disabled

    opened by unknown-o 2
  • Parallels: Harddisks become continuously re-identified

    Parallels: Harddisks become continuously re-identified

    Some minutes ago I was able to create a volume via the DSM storage manager within a Parallels VM. The Issue that I have is that nearly every minute the following message appears:

    Parallels error

    I use the latest DS3615x Loader for DSM 7.0.0 with SATA boot option.

    dmesg.txt

    opened by MartinKuhl 1
  • Can I use EMMC as my bootloader drive?

    Can I use EMMC as my bootloader drive?

    I flash the boot image to my machine internal emmc drive. But when I try to install DSM 7, A error occur. I login DSM by telnet and found emmc is not mounted by system.

    opened by ourfor 0
  • smart_shim error

    smart_shim error

    DSM kernel: [10752.080439] <redpill/smart_shim.c:684> Expected to copy HDIO_DRIVE_CMD header of 4 bytes from (null) - it failed

    https://github.com/RedPill-TTG/redpill-lkm/blob/cdc0e2de9273b13b1f7dcadee2d22796be5a0e02/shim/storage/smart_shim.c#L684

    opened by zhudan 1
  • Install success, but then can't find the IP

    Install success, but then can't find the IP

    Hi,

    Thanks for your all work for the great tools. my HW config

    MB: MSI H510i pro wifi with rtl8125b
    CPU: i3-10105
    

    I compiled apollolake-7.0.0-41890 img with lastest redpill-lkm and redpill-load then with the pocopico's rp-ext r8125 , acpid and early-telent

    I can success install the 41890 on by PC by 8125B 2.5G , but after successful install, the machine can't auto reboot. Then I force power down and then power up, I found that I can't get the IP. I can do nothing for the NAS.

    But once when I formatting the SATA on other PC, I can find the IP again can install the NAS again. But once I install completd then I can't find the IP again.

    So it seems once I install the NAS success, then I can;t get the IP. But I can get the IP during the install stage.

    opened by yyaocsyy 2
  • Auto Poweroff - not working

    Auto Poweroff - not working

    Using ASRock N3700-ITX-DS918+, 7.0.1.42218

    Autopower off enables but after 10 minutes or several hours, does not autopower off. Log files not showing that count down to shutdown is happening, but it just doesn't power off.

    Anyway to fix this?

    opened by JoeOIVOV 0
  • my DSM Version: 918+_7.0.1_42218 problem: Preventing Storage Pool Creation,Health Status Not Supported

    my DSM Version: 918+_7.0.1_42218 problem: Preventing Storage Pool Creation,Health Status Not Supported

    my DSM Version: 918+_7.0.1_42218 HBA card: LSI 9400 16i problem: Preventing Storage Pool Creation,Health Status Not Supported 微信截图_20211015121355 微信截图_20211015121535

    but in terminal use smartctl , I got normal information.

    [email protected]:/etc# smartctl -a /dev/sdj
    smartctl 6.5 (build date Feb 20 2021) [x86_64-linux-4.4.180+] (local build)
    Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF INFORMATION SECTION ===
    Model Family:     Ultrastar
    Device Model:     WDC  WUH721818ALE6L4
    Serial Number:    3WKVUKLK
    LU WWN Device Id: 5 000cca 284f67823
    Firmware Version: PCGNW232
    User Capacity:    18,000,207,937,536 bytes [18.0 TB]
    Sector Sizes:     512 bytes logical, 4096 bytes physical
    Rotation Rate:    7200 rpm
    Form Factor:      3.5 inches
    Device is:        In smartctl database [for details use: -P show]
    ATA Version is:   Unknown(0x0ffc) (unknown minor revision code: 0x009c)
    SATA Version is:  SATA >3.2 (0x1ff), 6.0 Gb/s (current: 6.0 Gb/s)
    Local Time is:    Fri Oct 15 12:16:49 2021 CST
    SMART support is: Available - device has SMART capability.
    SMART support is: Enabled
    
    === START OF READ SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED
    
    General SMART Values:
    Offline data collection status:  (0x80) Offline data collection activity
                                            was never started.
                                            Auto Offline Data Collection: Enabled.
    Self-test execution status:      (   0) The previous self-test routine completed
                                            without error or no self-test has ever
                                            been run.
    Total time to complete Offline
    data collection:                (  101) seconds.
    Offline data collection
    capabilities:                    (0x5b) SMART execute Offline immediate.
                                            Auto Offline data collection on/off support.
                                            Suspend Offline collection upon new
                                            command.
                                            Offline surface scan supported.
                                            Self-test supported.
                                            No Conveyance Self-test supported.
                                            Selective Self-test supported.
    SMART capabilities:            (0x0003) Saves SMART data before entering
                                            power-saving mode.
                                            Supports SMART auto save timer.
    Error logging capability:        (0x01) Error logging supported.
                                            General Purpose Logging supported.
    Short self-test routine
    recommended polling time:        (   2) minutes.
    Extended self-test routine
    recommended polling time:        (1894) minutes.
    SCT capabilities:              (0x003d) SCT Status supported.
                                            SCT Error Recovery Control supported.
                                            SCT Feature Control supported.
                                            SCT Data Table supported.
    
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME                                                   FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
      1 Raw_Read_Error_Rate                                              0x000b   100   100   001    Pre-fail  Always       -       0
      2 Throughput_Performance                                           0x0005   100   100   054    Pre-fail  Offline      -       0
      3 Spin_Up_Time                                                     0x0007   099   099   001    Pre-fail  Always       -       25769803845
      4 Start/Stop_Count                                                 0x0012   100   100   000    Old_age   Always       -       1
      5 Reallocated_Sector_Count                                         0x0033   100   100   001    Pre-fail  Always       -       0
      7 Seek_Error_Rate                                                  0x000b   100   100   001    Pre-fail  Always       -       0
      8 Seek_Time_Performance                                            0x0005   100   100   020    Pre-fail  Offline      -       0
      9 Power-On_Hours_Count                                             0x0012   100   100   000    Old_age   Always       -       17
     10 Spin_Retry_Count                                                 0x0013   100   100   001    Pre-fail  Always       -       0
     12 Device_Power_Cycle_Count                                         0x0032   100   100   000    Old_age   Always       -       1
     22 Internal_Environment_Status                                      0x0023   100   100   025    Pre-fail  Always       -       100
    192 Power_off_Retract_Count                                          0x0032   100   100   000    Old_age   Always       -       5
    193 Load_Cycle_Count                                                 0x0012   100   100   000    Old_age   Always       -       5
    194 Temperature                                                      0x0002   046   046   000    Old_age   Always       -       46 (Min/Max 25/47)
    196 Reallocation_Event_Count                                         0x0032   100   100   000    Old_age   Always       -       0
    197 Current_Pending_Sector_Count                                     0x0022   100   100   000    Old_age   Always       -       0
    198 Off-Line_Scan_Uncorrectable_Sector_Count                         0x0008   100   100   000    Old_age   Offline      -       0
    199 Ultra_DMA_CRC_Error_Count                                        0x000a   100   100   000    Old_age   Always       -       0
    
    SMART Error Log Version: 1
    No Errors Logged
    
    SMART Self-test log structure revision number 1
    No self-tests have been logged.  [To run self-tests, use: smartctl -t]
    
    SMART Selective self-test log data structure revision number 1
     SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
        1        0        0  Not_testing
        2        0        0  Not_testing
        3        0        0  Not_testing
        4        0        0  Not_testing
        5        0        0  Not_testing
    Selective self-test flags (0x0):
      After scanning selected spans, do NOT read-scan remainder of disk.
    If Selective self-test is pending on power-up, resume after 0 minute `delay.`
    

    so any idea?

    Originally posted by @ranydb in https://github.com/RedPill-TTG/redpill-lkm/issues/14#issuecomment-943972532

    opened by ranydb 4
Owner
null
A kernel module to provide /system/xbin/su to Android Kernel (especially to WSA)

WSA-Kernel-SU Intro This is a kernel module to provide /system/xbin/su to Android Kernel (especially to WSA). Only works on 4.17+ kernel. For older ke

LSPosed 166 Jan 3, 2023
Linux kernel module to fight against police terror

protecc is a Linux kernel module that will shut down your computer when a predefined USB device is removed from the system.

null 25 Nov 20, 2022
Linux kernel module for Onion Omega2 to control WS2811/WS2812 LEDs

omega2-ws2811-lkm Linux kernel module for Onion Omega2 to control WS2811/WS2812 LEDs. It's using a bit-banging, so you can use any GPIO pin. Also, it

Alexey 'Cluster' Avdyukhin 17 Nov 3, 2022
A simple Linux kernel module that kills ptrace tracer and its tracees

dont_trace dont_trace is a simple Linux kernel module that kills ptrace tracer and its tracees. This kernel module relies upon the Linux kernel task_s

null 5 Mar 31, 2022
Custom linux kernel module that re-enables fn-keys on the Gigabyte Aero 15 SB

aerofnkeys Custom HID Quirks Driver that fixes function keys not working in the Gigabyte Aero 15 SB on Linux. Works by intercepting non-HID compliant

null 7 Aug 30, 2022
Estudos sobre LKM - Linux Kernel Module.

Linux Kernel Module - Part 1 Explicação geral de toda estrutura do nosso LKM. Bom, temos aqui então todo nosso cabeçalho de includes de bibliotecas. V

0xi386 7 May 5, 2022
The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)

Introduction The WSL2-Linux-Kernel repo contains the kernel source code and configuration files for the WSL2 kernel. Reporting Bugs If you discover an

Microsoft 6.3k Jan 8, 2023
Integration of Rust code with a C Kernel Module

Rust-Kernel-Mod Description Integration of Rust code with a C Kernel Module This project sets up a minimalistic Linux kernel module in C which it uses

Dylan Turner 1 Nov 1, 2021
The overlap type coredump kernel module.

faps-coredump The overlap type coredump kernel module. What the this? Overlaps with SceCoredump and outputs coredump at the same time as original core

null 3 Dec 6, 2021
The world's worst kernel module

antipatterns.ko: the world's worst kernel module caution: DO NOT LOAD THIS MODULE This kernel module contains numerous security vulnerabilities. It is

David Malcolm 288 Dec 9, 2022
Loads a signed kernel driver which allows you to map any driver to kernel mode without any traces of the signed / mapped driver.

CosMapper Loads a signed kernel driver (signed with leaked cert) which allows you to map any driver to kernel mode without any traces of the signed /

null 157 Jan 2, 2023
NetHunter Kernel for the OnePlus 7 Series based on DragonHeart Kernel

Linux kernel ============ This file was moved to Documentation/admin-guide/README.rst Please notice that there are several guides for kernel develop

cyberknight777 9 Mar 13, 2022
a unix inspired, non posix compliant micro kernel (more of a monolithic kernel for now though) that i am working on in my spare time

toy-kernel a unix inspired, non posix compliant micro kernel (more of a monolithic kernel for now though) that i am working on in my spare time prereq

czapek 13 Nov 27, 2022
Quick fix to iphone usb tethering with ios14 or higher for Linux kernel lower than 5.10.4

Quick fix to Linux Iphone USB tethering with IOS 14 or higher (Tested with ubuntu 18.04, kernel 5.4.0-65, if you fail in the build, please download yo

null 24 Sep 18, 2022
Notes and codes for Linux Kernel (SJTU-CS353)

Linux-Kernel-notes Notes and codes for Linux Kernel (SJTU-CS353) Lab 01: Module Programming 02: Process Management 03: Memory Management Notes Lec 1.

Zi-Han Liu 23 Dec 10, 2022
Linux kernel labs

Linux Kernel Labs This repo illustrates how to write Linux kernel module labs safely and gracefully in a simple and concise way. Contrary to most work

Alex Chi 52 Dec 22, 2022
This device repo aims to support booting AOSP on SDM845 devices supported by the mainline Linux kernel

device/generic/sdm845 (AOSP device config for SDM845 devices) This device repo aims to support booting AOSP on SDM845 devices supported by the mainlin

Caleb Connolly 22 Jan 2, 2023
LLpatch: Userspace tool to generate Linux kernel livepatch

LLpatch: LLVM-based Kernel Livepatch Generation LLpatch generates, from a source patch, a kernel loadable module or binary package, that can update Li

Google 28 Nov 30, 2022