Linux Kernel on Reddit

  • Kernel Axis (2026/09/19 17:56)
    submitted by /u/Techscout-Global [link] [comments]
  • x86_64 kernel: #GP repeatedly triggered at iretq after preemptive context switch (2026/09/19 05:24)
    submitted by /u/Safer20 [link] [comments]
  • Power monitoring support? (2026/09/18 15:04)
    Does anyone know if there is any support, alpha, experimental or per manufacturer that would support some api to determine current system power usage? I'm assuming it would require some data channel between the PSU and the motherboard. Does any power supply on the market support this and does linux offer any support if something like that did exist? Is anything close, or is it something that is workable or is this just some completely unsupported pipe dream? Also, what about for usb powered devices like a pi? I assume whatever support would exist for that would have to be entirely on chip, not related to the psu. submitted by /u/DickCamera [link] [comments]
  • What I learned this week (13) (2026/09/18 01:43)
    A lot has happened since the last time I posted. I bought the book "Operating Systems: 3 Easy Pieces". I wish I had read this before starting my PMM. I highly recommend it to anyone else starting from the beginning. The PMM has had yet another rewrite. Hopefully the last major one. My kernel crossed the 3M boundary and I had to revisit my boot.S I suspect my PMM and VMM data structures are too big, but we will see. I decided I should let the people that might benefit from my posts here should see my struggles, and there have been many. In that light I have decided to make my repository public, you can find it here: https://github.com/tedavids/JakelynnOS I am currently working on my VMM and the module documentation is already up to 8 pages, and growing. you can find it in the "Module doco.doc" There is nothing really interesting on the screen yet, but here it is: Screen so far, nothing very interesting It does also run on VirtualBox, but I haven't tried bare metal, as I don't want to spring for a CD writer at this point. I have a couple of old Lenovo's that might support USB Boot, but I haven't investigated those yet. I want to get to user space before I start checking that out. For all your AI haters, in my README I do have the AI policy I'm following. Guess that's all for now. I hope this helps some newbie (like me) that is struggling. Thanks for reading submitted by /u/compgeek38400 [link] [comments]
  • kernel:[Hardware Error]: CPU:0 (19:8:2) MC18_STATUS[Over|CE|MiscV|AddrV|-|-|SyndV|CECC|-|-|-]: 0xdc2040000000011b (2026/09/17 18:28)
    These errors appeared on the console of one of my lab's servers. We've already changed the CPU. I'm not familiar with server management, so if you could explain it to me in the most didactic way, I would be very grateful. kernel:[Hardware Error]: Corrected error, no action required. kernel:[Hardware Error]: CPU:0 (19:8:2) MC18_STATUS[Over|CE|MiscV|AddrV|-|-|SyndV|CECC|-|-|-]: 0xdc2040000000011b kernel:[Hardware Error]: Error Addr: 0x0000000017eb09c0 kernel:[Hardware Error]: PPIN: 0x02b0ba6d78974068 kernel:[Hardware Error]: IPID: 0x0000009600150f00, Syndrome: 0x083fb50b0a800410 kernel:[Hardware Error]: Unified Memory Controller Ext. Error Code: 0 submitted by /u/Additional-Dig-6229 [link] [comments]
  • libark: A modern, secure, Swift-native foundational layer over Linux POSIX primitives. {Early Development} (2026/09/17 13:22)
    libark libark is a modern, secure, Swift-native foundational layer over Linux POSIX primitives. While originally developed as the core runtime layer for ArkOS, libark is completely decoupled and designed to be used on any Linux distribution. It provides highly secure, object-oriented abstractions over low-level system calls, memory management, and file system interactions, without the burden of manual C interoperability. Features Object-Oriented POSIX: Wraps file descriptors, paths, and directory operations in safe, RAII-compliant Swift types. Secure Syscall Boundary: Routes kernel interactions through strict, audited Syscall primitives. Terminal Capabilities: Built-in abstractions for TTY detection and window sizing. Advanced Formatting: Standardized formatters for human-readable byte sizes (SI and IEC), ISO 8601 timestamps, permissions, and classifications. Declarative Sorting: Powerful generic SortEngine for metadata sorting across multiple criteria. Also ARK-OS has switched to github: https://github.com/orgs/ARK-OS-Swift-and-Linux/repositories submitted by /u/Ok_Sky3062 [link] [comments]
  • Why can't make access clang? (2026/09/16 09:48)
    I'm trying to do some bpf programming. Helpful folks elsewhere have pointed me at clang rather than gcc. Ok, sweet. So: hyperlynx@Osiris ~/Projects/MfdFix/repo (_clang) $ which clang /usr/bin/clang hyperlynx@Osiris ~/Projects/MfdFix/repo (_clang) $ clang --version clang version 22.1.8 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin but for some reason, make just cannot access it. Huh? [make all] /usr/bin/clang -nostdinc -emit-llvm -Wall -isystem /usr/lib/clang/22/include -O2 -D__KERNEL__ -I/usr/lib/modules/7.2.3-1-cachyos/build/arch/x86/include/uapi -I/usr/lib/modules/7.2.3-1-cachyos/build/arch/x86/include/generated/uapi -I/usr/lib/modules/7.2.3-1-cachyos/build/include/generated/uapi -I/usr/lib/modules/7.2.3-1-cachyos/build/include/uapi -I/usr/lib/modules/7.2.3-1-cachyos/build/include -I/usr/lib/modules/7.2.3-1-cachyos/build/arch/x86/include -c ./fixup.c -o ~/Projects/MfdFix/build/fixup.o /bin/sh: line 1: /usr/bin/clang: No such file or directory [Finished in 0 seconds with code 2] whaaaat's going on? I can run that command from the shell myself and it works (well, I mean, I have problems in my code so no it doesn't, but clang at least gets invoked). All I've been able to find when searching for "clang: No such file or directory" is people who do not have clang installed, and I definitely do! Huh? Edit: Doh. I realised the next morning what's gone wrong. The change from gcc to clang wasn't the only change I made in this time period, I also switched from system vim to a flatpak, and flatpaks by default can't access most of the filesystem! I just happen to be running make from vim. That's why I couldn't find any help for this elsewhere - it's my own particular weird setup that's to blame. Presumably I can use flatseal to fix the problem. Sorry for wasting people's time, and thanks for taking a look nonetheless. Doh. Edit edit: Huh. I've just got home from work, used flatseal to grant Vim all the permissions, and it still can't see /usr/bin/clang. In fact, I can open a vim window to /usr/bin, and it's simply not listed in there. Well, okay, either way this seems obviously a flatpak'd vim problem, not a make problem. Oh well. submitted by /u/Ampersandle [link] [comments]
  • Fixed an offline kernel-module mismatch & /boot/efi mount failure using pacman cache (2026/09/15 17:02)
    submitted by /u/S_Tharani_Tharan319 [link] [comments]
  • was tired of opening htop every time something felt slow so I made this linux debug overlay (2026/09/15 12:11)
    Got tired of opening htop, checking logs, docker, etc. every time something felt slow, so I made this little linux debug overlay. It sits on screen and shows the current apps CPU and RAM + warnings when something looks off slowly adding docker + kubernetes stuff to it too. still building it, but honestly pretty fun seeing it come together lol. [https://github.com/codeafridi/Debug-Overlay-App]() submitted by /u/RK9_2006 [link] [comments]
  • How does changing the hardware clock with the BIOS affect kernel ticks? (2026/09/13 17:57)
    submitted by /u/viddhiryande [link] [comments]
  • El kernel de Linux planea eliminar alrededor de ~55k líneas de código viejo de la plataforma ARM (2026/09/12 13:30)
    Ya era hora de que eliminarán más de 20k líneas de código. Cómo también el soporte para el Intel i386. Así el kernel es mucho más rápido,eficiente. Igual aún el kernel de Linux sigue teniendo muchas vulnerabilidades, y en Linux 7.2 Linus Torvalds sigue sin admitir un poco que tiene muchos Bugs. submitted by /u/DevcontribuitorLinux [link] [comments]
  • збірка ядра на адроїд. допоможіть (2026/09/12 06:54)
    короче я купив пс4, але вона мені приїхала з неробочим геймпадом. я вирішив емулювати геймпад своїм піксель 4а (лте). простими методами не вийшло. f_hid не опрацьовує коректно запити від пс4 стосовно стану речей геймпаду. f_hid вміє короче працювати лише монологом, він тільки віддає, але не приймає та обробляє. до того ж пс4 має унікальні запити. короче стандартною бібліотекою нічого б не вийшло. я вирішив дописати маленьку частину коду в драйвері. тепер вона віддаватиме відповідь з нулів конкретної довжини байтів на запит пс4 чого вистачить щоб пройти налаштування пс4 та встановити pppoe з'єднання. так от. я скомпілював образ, але в цей момент в мене закінчились токени в джеміні)))))) ну і потім джеміні флешлайт щоб його за ноги, порекомендував перепакувати ядро з наявного вже пропатченого на рут. при чому він сказав мов по барабану, можна зробити кашу в одній папці а magiskboot все зробить сама, вона розумна. короче нічого не вийшло. в адб шел з новим ядром пише мов жоден з модулів, драйверів не завантажено і воно постійно в циклі намагається завантажити драйвери. а потім я ще якось перепакував ядро, що тепер взагалі типу телефон не завантажує ядро бодай якось. я погрішив на те що була каша і перепакувальник переплутав файли і зараз зроблю все чисто. мені треба допомога з тим як зібрати ядро з готових файлів після компіляції. я збираюсь запаковувати це mkbootimg програмою від самого гугла. поможіть, я хочу вже добити цей плейстейшн 4, пройти бар'єр з задачі "натисність кнопку ПС на геймпаді" котрий пройти звичайною клавіатурою не можна. submitted by /u/Worldly_Clerk_6980 [link] [comments]
  • Doogee is openly violating the GNU GPLv2 license with their T20 tablet (Unisoc) (2026/09/11 06:02)
    Hello everyone, I wanted to bring to light a blatant violation of the GNU GPLv2 license by the Chinese device manufacturer Doogee. A tech creator in our community recently reached out to Doogee support requesting the Linux kernel source code for the Doogee T20 tablet (which runs on a Unisoc chipset). Under the terms of the GPLv2 license, which covers the Linux kernel, any company distributing the compiled kernel is legally obligated to provide the source code upon request. I have attached the screenshots of the conversation (translated from Russian below): Screenshot 1: The user states they own a Doogee T20 (Unisoc) and noticed that the Linux kernel source code is nowhere to be found in the public domain. They emailed the company asking for it. Screenshot 2: Doogee's official response: "The source code is confidential information and intellectual property." Screenshot 3: The user calls them out, explaining that the Linux kernel is GPL, meaning there is no such thing as "confidential" when you distribute it. Doogee then tried to dodge the request by offering to send the compiled firmware instead. As we all know, Firmware ≠ Source Code. Screenshot 4: The user sent a follow-up email explaining point-by-point why their response is unacceptable, giving them a 14-day deadline to comply. Doogee completely ignored it. This is a direct breach of open-source licensing. Small vendors like Doogee often rely on the open-source community to build their software but refuse to give back, effectively locking users out of custom development, kernel audits, and long-term device support. Since local support teams are either completely oblivious to FOSS licenses or are intentionally blocking requests, we need to bring international visibility to this case. What are the best next steps to force Doogee into compliance? Should we report this directly to the Software Freedom Conservancy (SFC), contact Unisoc, or is there a specific compliance contact for Doogee that actually responds to legal notices? Any advice or upvotes for visibility would be highly appreciated! submitted by /u/Anxious_Employ5729 [link] [comments]
  • "Anyone got Asustor's ADM 6.6.x kernel .config? Stuck getting a custom driver to load on FS6706T" (2026/09/10 22:01)
    submitted by /u/Visual-Cat574 [link] [comments]
  • How to find which patchset the commit from mainline/upstream belongs to? (2026/09/10 18:42)
    Hello, in order to properly backport some fixes from upstream to stable branches, I want to know what the other patches (and their cover letter) of the initial fix I've cherry-picked are. I could manually look up them on lore.kernel.org, but I want to do it in an automated way, as the difference between the mainline and the stable branch, for example, in cgroup subsystem is huge. submitted by /u/Rinku_Kurora [link] [comments]
  • where is opensslv.h? (2026/09/09 20:22)
    submitted by /u/Brave-Pomelo-1290 [link] [comments]
  • A 40-year-old iOS kernel bug discovered on the DEFCON 34 main stage. (2026/09/09 05:58)
    submitted by /u/fulg3ns [link] [comments]
  • A new project on RK3576 (2026/09/09 03:53)
    submitted by /u/Puzzleheaded-Bag7136 [link] [comments]
  • 11 Gaps in the Linux Ecosystem Cloudflare Fixed with eBPF (2026/09/08 07:25)
    submitted by /u/xmull1gan [link] [comments]
  • What I learned this week (12) (2026/09/07 17:17)
    submitted by /u/compgeek38400 [link] [comments]
  • Isolcores running in min_frequency and not supporting the cpupower config. (2026/09/07 15:08)
    Im not sure if this the subreddit for this query since the issue hasn't really been pinned down but I feel this might be the perfect first place to progress. Please feel free to redirect if the discussion evolves to not be concerned with the kernel. So I have 2 Rocky 10.1 machines. One with Xeon CPU E5-2643 v3 @ 3.4GHz and one with Xeon CPU E5-2678 v3 @ 2.5GHz. Hyperthreading is disabled. Both kernels are given 2-8 isolcores. Both are requested to run at 500MHz less than their max supported speed via cpupower (This is verified via /proc/cpuinfo) Both are running on the intel_cpufreq driver with "performance" governer. The machine with E5-2678 runs only the isolcores at the minimum supported frequency. And this isn't a workload or power draw issue since I tried changing the isolcores and every time only those core's frequency gets clamped to the minimum. The machine with E5-2643 runs as intended. I tried checking the P-state ratio via rdmsr -p <isolcore> 0x199 and the outputs for the anomalous machine are as follows - c00 (isolcore) 2100 (non-isolcore) Is this a driver/kernel bug which is only reproducible on a certain CPU? Any help or workarounds would be appreciated. submitted by /u/Patzer26 [link] [comments]
  • Guys For Chatting Now! (2026/09/07 10:44)
    I'm thinking about building my own operating system. What features or ideas do you suggest I include? I'd love to hear your thoughts! submitted by /u/MemesArabNice [link] [comments]
  • FreeBSD(linuxkpi): AMDGPU power1_cap setting (2026/09/07 06:14)
    Since FreeBSD's drm-kmod port lacks the native Linux sysfs/hwmon infrastructure for setting AMDGPU power limits, I put together a simple patch to bridge it via a custom hw.amdgpu.power1_cap sysctl. My PSU keeps shutting down during GPU power spikes, and I finally got tired of dealing with it. The patch is a quick and dirty workaround for single-GPU setups (multiple cards will trigger UB due to the global amdgpu_device pointer hack), but it gets the job done for now. Patch (really simple hack) in original post. submitted by /u/ilnarildarovuch [link] [comments]
  • What hardware do I need to get hands-on experience with Linux kernel DMA development? (2026/09/06 13:08)
    Hi everyone, I’m interested in learning Linux kernel DMA and PCIe device-driver development through hands-on projects. So far, I’ve studied the Linux DMAEngine framework and AMD/Xilinx XDMA driver code. I’ve also used QEMU’s EDU PCI device to write a simple PCI driver and experiment with MMIO, interrupts, and DMA transfers. Now I’d like to move beyond emulation and work with real hardware. My current idea is to buy: A Linux desktop that I can access remotely from my laptop An FPGA development board with PCIe support Any required PCIe cables, adapters, or debugging equipment My goal is to practice implementing and debugging the complete path between an FPGA and a Linux host, including PCIe enumeration, BAR/MMIO access, DMA descriptors, scatter-gather transfers, interrupts, and performance measurement. I’m not sure which FPGA board would be suitable for a beginner without being too limited. I’m also unsure whether I need a powerful desktop or if an inexpensive used PC with an available PCIe slot would be sufficient. Could you recommend: A reasonably priced FPGA board for Linux PCIe/DMA development Minimum desktop specifications Any essential debugging tools or accessories Good starter projects for this setup Common compatibility issues I should check before purchasing anything I’d appreciate advice from anyone who has worked on Linux DMA, PCIe drivers, FPGA host interfaces, or similar low-level systems. submitted by /u/Mundane_Educator8466 [link] [comments]
Enter your comment. Wiki syntax is allowed:
Please fill all the letters into the box to prove you're human. J B M​ X᠎ J
 
  • news/reddit/kernel.txt
  • Last modified: 2021/10/30 11:41
  • by 127.0.0.1