Kernel Oops on Linux-5.5.9-2

I've been having trouble booting up linux-arch and linux-ck 5.5.9-2, but not linux-lts 5.4.25-2. Linux 5.5.8 had been working well.

Looking at the journal shows this log which seemed interesting, but I don't really understand it. Any pointers?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/WindfallProphet
πŸ“…︎ Mar 16 2020
🚨︎ report
OPW Intern Develops QR Code for Linux Kernel Oops Messages linux.com/news/featured-b…
πŸ‘︎ 119
πŸ’¬︎
πŸ‘€︎ u/ixdaniel
πŸ“…︎ May 21 2014
🚨︎ report
Indian Developers Redesigning Linux Kernel With OOP, C++ Support phoronix.com/scan.php?pag…
πŸ‘︎ 21
πŸ’¬︎
πŸ‘€︎ u/palasso
πŸ“…︎ Oct 03 2014
🚨︎ report
Fast Kernel Headers: Tree -v1: Eliminate the Linux kernel's "Dependency Hell" lwn.net/ml/linux-kernel/Y…
πŸ‘︎ 1k
πŸ’¬︎
πŸ‘€︎ u/donutloop
πŸ“…︎ Jan 03 2022
🚨︎ report
So I guess the displays in Chatelet metro are running Linux (kernel oops!) imgur.com/60PgMlF
πŸ‘︎ 54
πŸ’¬︎
πŸ‘€︎ u/radarsat1
πŸ“…︎ Jan 20 2014
🚨︎ report
Becoming a Linux Kernel Developer?

So I love anything and everything Linux. I’ve using several distro. I love Gentoo and Void the most. I want to contribute in every way I can, love hardware, and particularly like the idea of aiming to joint/work for the Linux Foundation. Other and/or general OS development and embedded programming are interesting to me too. Red Hat seems cool too I guess (absolutely not canonical).

I have Bachelors in Economics and CS, and am currently working for an IT+Software company (just started in December and am in my mid 20s).

I’m comfortable with C, it’s my favorite language, and have been looking at KernelNewbies.org. I have also briefly looked at LFS and wiki.OSDEV.org. I also have done the whole setting up the kernel git repo and etc. I’ve screwed around with CUDA and could see liking developing better nVidia drivers (which I don’t say casual and understand that’s a huge ordeal).

But, what I guess what else should be I doing? They talk about patches, drivers, and etc but I’m wondering if anyone here could kind of give me a framework or plan on how to go about this goal.

πŸ‘︎ 107
πŸ’¬︎
πŸ‘€︎ u/ibrown39
πŸ“…︎ Jan 13 2022
🚨︎ report
OPW Intern Develops QR Code for Linux Kernel Oops Messages linux.com/news/featured-b…
πŸ‘︎ 48
πŸ’¬︎
πŸ“…︎ May 21 2014
🚨︎ report
"Fast Kernel Headers" Tree -v1: Eliminate the Linux kernel's "Dependency Hell" lore.kernel.org/lkml/YdIf…
πŸ‘︎ 383
πŸ’¬︎
πŸ‘€︎ u/Jack_12221
πŸ“…︎ Jan 03 2022
🚨︎ report
Linux: Kernel-Entwickler will "AbhΓ€ngigkeitenhΓΆlle" aufrΓ€umen golem.de/news/linux-kerne…
πŸ‘︎ 143
πŸ’¬︎
πŸ“…︎ Jan 03 2022
🚨︎ report
When AWS says that the Amazon Linux kernel is optimized for EC2, they're not kidding

Just thought I'd share an interesting result from something I'm working on right now.

Task: Run ImageMagick in parallel (restrict each instance of ImageMagick to one thread and run many of them at once) to do a set of transformations (resizing, watermarking, compression quality adjustment, etc) for online publishing on large (20k - 60k per task) quantities of jpeg files.

This is a very CPU-bound process.

After porting the Windows orchestration program that does this to run on Linux, I did some speed testing on c5ad.16xlarge EC2 instances with 64 processing threads and a representative input set (with I/O to a local NVME SSD).

Speed on Windows Server 2019: ~70,000 images per hour

Speed on Ubuntu 20.04: ~30,000 images per hour

Speed on Amazon Linux 2: ~180,000 images per hour

I'm not a Linux kernel guy and I have no idea exactly what AWS has done here (it must have something to do with thread context switching) but, holy crap.

Of course, this all comes with a bunch of pains in the ass due to Amazon Linux not having the same package availability, having to build things from source by hand, etc. Ubuntu's generally a lot easier to get workloads up and running on. But for this project, clearly, that extra setup work is worth it.

πŸ‘︎ 299
πŸ’¬︎
πŸ‘€︎ u/jrandom_42
πŸ“…︎ Dec 26 2021
🚨︎ report
Fast Kernel Headers v2 Posted - Speeds Up Clang-Built Linux Kernel Build By ~88% phoronix.com/scan.php?pag…
πŸ‘︎ 250
πŸ’¬︎
πŸ‘€︎ u/IsDaouda_Games
πŸ“…︎ Jan 09 2022
🚨︎ report
Oops! I Fixed the Linux Kernel internetnews.com/dev-news…
πŸ‘︎ 34
πŸ’¬︎
πŸ‘€︎ u/elettroreddit
πŸ“…︎ Aug 23 2008
🚨︎ report
Daily reminder that Linux is just the kernel - useless without the GNU corelibs, shell utilities, and vital system components comprising a full OS as defined by POSIX.
πŸ‘︎ 434
πŸ’¬︎
πŸ‘€︎ u/KasaneTeto_
πŸ“…︎ Dec 05 2021
🚨︎ report
There is no system but GNU, and Linux is one of its kernels.
πŸ‘︎ 243
πŸ’¬︎
πŸ‘€︎ u/KasaneTeto_
πŸ“…︎ Dec 19 2021
🚨︎ report
Linux kernel 5.16 400% RTM mining gain?

Is it just me or did updating to 5.16 improve my RTM yield by ~400%

Running Ubuntu 21.10 with Wyvern CPU Miner on an AMD 5700G

Can any AMD Linux users confirm?

https://imgur.com/a/SEp7Wzo

EDIT: Thanks to u/No-Tour9928 is does appear as though it's some other reason and not the AMD driver updates (https://www.reddit.com/r/raptoreum/comments/s34l1l/linux_kernel_516_does_not_produce_a_400_increase)

πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/headkaze
πŸ“…︎ Jan 12 2022
🚨︎ report
Ubuntu 22.04 LTS plans to stick to the Linux 5.15 kernel realmicentral.com/2022/01…
πŸ‘︎ 51
πŸ’¬︎
πŸ‘€︎ u/amancoreseg
πŸ“…︎ Jan 14 2022
🚨︎ report
Linux kernel 5.16 does NOT produce a 400% increase in RTM earning

This is in reply to u/headkaze claiming that upgrading to Linux kernel 5.16 produces a 400% increase in RTM earnings. First image kernel 5.11 with 3.5 KH/s. Second image updated kernel to 5.16 with 3.5 KH/s. Results: did NOT increase 400%

https://preview.redd.it/u45wepgbohb81.png?width=868&format=png&auto=webp&s=a75e14fb3b98662f16a4bcd9aa9069129661087e

https://preview.redd.it/b2tl4g4hohb81.png?width=841&format=png&auto=webp&s=73ed23010edecc95d168312a6c0c6486fd73d96c

πŸ‘︎ 16
πŸ’¬︎
πŸ‘€︎ u/No-Tour9928
πŸ“…︎ Jan 13 2022
🚨︎ report
Is it possible to stop my linux-lts kernel from updating?

basically 5.15 botched my wifi strength, the wifi just doesn't connect when the signal is less (it used to work perfectly fine before 5.15) so i have been using 5.10 lts whenever i am far from the router but now that the new lts is gonna be 5.15, i don't wanna upgrade my lts kernel, is there way i can just stop it from updating?

πŸ‘︎ 26
πŸ’¬︎
πŸ‘€︎ u/thirdtimeacharm
πŸ“…︎ Jan 12 2022
🚨︎ report
Google Pixel 6 and Pixel 6 Pro are seeing work for mainline Linux kernel support xda-developers.com/google…
πŸ‘︎ 727
πŸ’¬︎
πŸ‘€︎ u/PickledBackseat
πŸ“…︎ Nov 25 2021
🚨︎ report
Kerla: A new operating system kernel with Linux binary compatibility written in Rust. github.com/nuta/kerla
πŸ‘︎ 1k
πŸ’¬︎
πŸ‘€︎ u/mastabadtomm
πŸ“…︎ Oct 26 2021
🚨︎ report
Strange issue booting off second HDD, Linux kernel just sits there (no lockup, oops or panic) after detecting drives and USB devices

I got a new system harddrive today (240GB SSD instead of the old 128GB one). Apart from those there are also some hardware RAID devices in the system connected to an Adaptec RAID controller (not on-board).

So far I booted off the single (only) SSD drive connected to the on-board SATA controller. The disk is recognized by the BIOS and grub before the RAID devices but by Linux afterwards which never presented a problem so my boot drive is (hd0) in GRUB 1 and /dev/sdc in Linux. My /boot is /dev/sdc1 and my root /dev/sdc5 with some more partitions after that for non-essential mounts that turned out to use too much space to keep on / like /opt, /usr/share,... This worked and still works fine if the BIOS boot HHD is set to the correct drive.

I decided to clone the old partition layout with some minor size changes (30GB instead of 20GB for / and some similar increases for some of the other partitions) on the new SSD and created new filesystems (xfs, same as on the old disk) and copied the contents of the old filesystems to the new ones. I also installed GRUB in the MBR of the new disk and changed the GRUB config as well as /etc/fstab to point to /dev/sdd instead of /dev/sdc including the root=/dev/sdc5 to root=/dev/sdd5 in the kernel commandline.

When i now set the BIOS boot HDD to the new drive GRUB boots up correctly, it sees the new drive as (hd0) (presumably the BIOS reorders them so the boot HDD is always first) and it boots the kernel. The kernel detects the drives in the correct order (I can tell because the old disk has 2 NTFS partitions I omitted on the new one) but then it just sits there doing nothing for (at least) several minutes at which point I did a hard reboot.

I know it is not locked up because it still shows USB events when connecting or disconnecting a device. It also does not display any oops, panic or other error or warning message.

I use kernel version 3.0.0 with some minor ALSA patches from 3.1-rc which worked fine for weeks now on my old disk and still does.

Did anyone ever encounter a similar problem? Is there some sort of limitation for Linux that prevents it from booting from the second drive, I seem to recall i had no problem doing that on my previous system but of course that had completely different SATA controllers and BIOS,...

I am not sure what to do next since it is kind of hard to google for this kind of problem without finding dozens and dozens of people who just have the much more common boot problems like panics due t

... keep reading on reddit ➑

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/Taladar
πŸ“…︎ Oct 08 2011
🚨︎ report
Updated Rust Code For Linux Kernel Patches Posted phoronix.com/scan.php?pag…
πŸ‘︎ 394
πŸ’¬︎
πŸ‘€︎ u/KingStannis2020
πŸ“…︎ Dec 06 2021
🚨︎ report
On update got new flag KERNEL, should I set `linux`?
πŸ‘︎ 46
πŸ’¬︎
πŸ‘€︎ u/vitaly-zdanevich
πŸ“…︎ Jan 05 2022
🚨︎ report
BoxedWine emulates a minimal Linux kernel/FS in order to run WINE without a full underlying Linux OS

While chasing nostalgia, I was searching for a way to install and play Hoyle Card Games 3. My main computer is on Windows 10 x64, so old Windows programs often don't work properly. Hoyle Card Games 3 installs, but crashes immediately when trying to run the game.

Knowing that WINE often does much better with old games, I pulled up PlayOnLinux on my Manjaro machine and installed the game through that. Everything worked fine there! But I wanted to play on my Windows computer, and I was loathe to set up a whole Linux VM on that machine just to play an old card game.

I stumbled across BoxedWine, which was created to solve exactly this kind of problem! It emulates a minimal Linux kernel and filesystem to allow WINE to run, which means you can run Windows programs over WINE on a lot of different platforms -- including Windows x64, or even in the browser with WASM.

Trying to install the program and then run it properly using the command line interface was challenging, and I was not able to get it working. But by just running the BoxedWine executable without arguments, the built-in menu worked just fine for getting everything all set up!

(I know a post about getting a game to work on a Windows computer is probably not what most people would expect on this sub, but it's definitely about using WINE to play games!)

πŸ‘︎ 53
πŸ’¬︎
πŸ‘€︎ u/TwinHaelix
πŸ“…︎ Jan 07 2022
🚨︎ report
What's the state of Alder Lake on Linux in regards to E-Cores handling by the kernel?

I'm in the market for a new laptop, and I was thinking of waiting for the upcoming Alder Lake SKUs. So I tried to do my research and ask around in order to see how they stack on up Linux, but I have heard mixed opinions and conflicting reviews, which I didn't take as a good sign. Furthermore, Phoronix has recently praised the Intel i5-12400K for Linux support citing the P-core only design is better for Linux:

> The Intel Core i5 12400 is a 6 core / 12 thread Alder Lake processor. Making it rather nice is that the i5-12400 is comprised entirely of the performance P-Cores (Golden Cove) without any of the power-efficient Gracemont cores. With going for an all P core design, it's nicer from the Linux angle in not needing to worry about any kinks or poor decision making by the kernel as to whether some tasks get accidentally placed on the E cores. So it's one less Linux support headache to worry about even though Intel has been working on Linux kernel improvements, motherboard vendors beginning to ship improved firmware, etc.

However, none of the Alder Lake-P (the sweet spot between U and H) laptop CPUs seem to have a golden cove only design, and they have a few P-cores surrounded by several E-cores, which looks like a sound decision from a power consumption standpoint considering these things are meant to be ran on battery power. However, reading the article above has given me the impression AL CPUs with E-cores are somehow less supported on Linux. I have had people tell me this is false, but I wasn't able to find anything in support.

To anyone who actually uses an Alder Lake CPU with P+E cores on Linux, how's your experience so far? How prevalent are the kinks described in the Phronix article? Considering I need this laptop with a mild degree of urgency but I am willing to hold off for a new-gen laptop if the speedup is significant, should I still wait for Alder Lake laptops or, if I want Linux, should I just opt out of them and get a Ryzen?

πŸ‘︎ 41
πŸ’¬︎
πŸ‘€︎ u/chic_luke
πŸ“…︎ Jan 13 2022
🚨︎ report
[Phoronix] Linux Kernel Set To Finally Retire AMD 3DNow! phoronix.com/scan.php?pag…
πŸ‘︎ 163
πŸ’¬︎
πŸ‘€︎ u/InvincibleBird
πŸ“…︎ Dec 13 2021
🚨︎ report
Experimental Rust support lands in the Linux kernel lkml.org/lkml/2021/12/6/4…
πŸ‘︎ 29
πŸ’¬︎
πŸ‘€︎ u/feross
πŸ“…︎ Dec 10 2021
🚨︎ report
What qualifies as worthy of being added to the Linux kernel or not?

Filthy casual Linux user here, Solus is my daily driver and I've played on and off with Debian-based distros for the last 10 years.

Anyway, I follow Phoronix and saw this headline: Linux Kernel Patches Posted For Bringing Up Tesla's Full Self-Driving SoC

Is it me, or is it odd that drivers for a very specific/proprietary use case (Tesla's SoC) would be eligible for adding into the Linux kernel? Or is the kernel expected to include any open-source drivers that are submitted?

πŸ‘︎ 72
πŸ’¬︎
πŸ‘€︎ u/steezy13312
πŸ“…︎ Jan 13 2022
🚨︎ report
Writing a kernel in C# on Linux

I'd like to write a barebones kernel like the one here but in C# which is much more familiar to me than C/C++. The osdev wiki already has this tutorial, but this expects the user to be building on Windows, but I'm using a Linux environment for this. Can anyone point me to any tutorials for C# kernel building that work on Linux?

πŸ‘︎ 39
πŸ’¬︎
πŸ“…︎ Dec 27 2021
🚨︎ report
SCO UnixWare 7.1.4 with OpenServer Kernel Personality, Linux Kernel Personality, and Windows XP SP3 in MergePRO
πŸ‘︎ 105
πŸ’¬︎
πŸ‘€︎ u/CSGOPirate
πŸ“…︎ Jan 08 2022
🚨︎ report
8.3 MiB Linux kernel image (vmlinuz). Is this a problem?

I've been futzing around with my kernel configuration a bit and have gotten rather concerned about the size of the resulting Linux kernel image (vmlinuz). I've already tried to not statically build too many drivers into the kernel and instead build them as modules. The kernel, as built with LLVM Clang with full LTO, is 8.3 MiB in size, and that's with XZ compression. The decompression process adds more than 2 seconds to an otherwise sub-4-second boot time, from GRUB boot menu to SDDM login screen. (A kernel image built from an essentially identical configuration using GCC is 7.0 MiB.)

Long vmlinuz decompression time aside, could an excessively large kernel image cause any problems down the road? (The kernel images are stored in the EFI system partition, mounted at /boot. The ESP is 1 GiB in size, so it's nowhere near full.)

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/draconicpenguin10
πŸ“…︎ Jan 06 2022
🚨︎ report
Is Linux Kernel Oops Useful? usenix.org/conference/hot…
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/wordsmithie
πŸ“…︎ Oct 26 2012
🚨︎ report
Hey guys, ive built a pc on ryzen 5600g/msi b550 gaming+ and i have linux mint with kernel 13 installed and im currently setting up gaming win10 vm and i recently installed guest additions and since then i have big troubles with video: What i did: i moved the settings window and screen went black v.redd.it/12huib0cmh781
πŸ‘︎ 30
πŸ’¬︎
πŸ‘€︎ u/end41r
πŸ“…︎ Dec 24 2021
🚨︎ report
Does the Linux Kernel have all the devices drivers by default on it?

I was messing around with an Xbox360 USB controller on Fedora and decided to try and play some games with it, I plugged it in and it just worked fine with no problems, then I tried a more "obscure" controller, a Logitech f710 and it also worked so I started wondering, does the Kernel already have the drivers for every single supported device/printer/scanner etc etc etc? Isn't that kind of bloated? Why would I want to have the drivers to 10000000 different things I will never use? Is there any way to make it more modular?

πŸ‘︎ 134
πŸ’¬︎
πŸ“…︎ Dec 05 2021
🚨︎ report
HiddenWall is a tool to generate a custom Hidden firewall to run in Linux kernel. github.com/CoolerVoid/Hid…
πŸ‘︎ 159
πŸ’¬︎
πŸ‘€︎ u/CoolerVoid
πŸ“…︎ Jan 13 2022
🚨︎ report
Google Pixel 6 and Pixel 6 Pro are seeing work for mainline Linux kernel support xda-developers.com/google…
πŸ‘︎ 522
πŸ’¬︎
πŸ‘€︎ u/crawl_dht
πŸ“…︎ Nov 24 2021
🚨︎ report
C++ in the Linux kernel threatstack.com/blog/c-in…
πŸ‘︎ 66
πŸ’¬︎
πŸ‘€︎ u/payopt
πŸ“…︎ Dec 07 2021
🚨︎ report
I've erased the Linux kernel

I was having some problems with a new version so I was going to use an older one. That's why I delete it. When I'm going to install Linux414 I can't. I tried with other version and also with the same one but I couldn't. I thought that maybe a reboot could help and when I did it obviously Manjaro didn't start. How I can solve this ?

I've was able to solve it. Thanks to everyone, I wouldn't have computer without your help.

πŸ‘︎ 53
πŸ’¬︎
πŸ“…︎ Dec 16 2021
🚨︎ report
Why did Microsoft create WSL1 the way they did and then create WSL2 to use the Linux Kernel? Why didn't WSL1 just use the Linux Kernel?

Was there any advantage to translating Linux system calls and whatnot to Windows over using the Linux kernel with virtualization, like done with WSL2?

πŸ‘︎ 29
πŸ’¬︎
πŸ‘€︎ u/TheTwelveYearOld
πŸ“…︎ Dec 13 2021
🚨︎ report
Writing a Linux-compatible kernel in Rust seiya.me/writing-linux-cl…
πŸ‘︎ 98
πŸ’¬︎
πŸ‘€︎ u/alexeyr
πŸ“…︎ Nov 25 2021
🚨︎ report
Problem with single GPU pass-through rx580, reset bug and vendor_reset kernel module with a dab of kernel OOPS BUG: kernel NULL pointer dereference and sleepless night

tried singe GPU pass-through for the first time, and it WORKS!

starting up windows VM, installing AMD driver and playing game just works

the problem is when shutting down windows VM and going back to Linux desktop

once in the blue moon, it works. but if doesn't works my system kinda soft locked with kernel OOPS :

Jan  9 00:38:50 NUMIDIUM systemd[1]: machine-qemu\x2d1\x2dwin10.scope: Succeeded.
Jan  9 00:38:51 NUMIDIUM kernel: [  462.935560] BUG: kernel NULL pointer dereference, address: 0000000000000068
Jan  9 00:38:51 NUMIDIUM kernel: [  462.935565] #PF: supervisor read access in kernel mode
Jan  9 00:38:51 NUMIDIUM kernel: [  462.935568] #PF: error_code(0x0000) - not-present page
Jan  9 00:38:51 NUMIDIUM kernel: [  462.935570] PGD 0 P4D 0 
Jan  9 00:38:51 NUMIDIUM kernel: [  462.935573] Oops: 0000 [#1] SMP NOPTI
Jan  9 00:38:51 NUMIDIUM kernel: [  462.935575] CPU: 2 PID: 17485 Comm: qemu-event Tainted: G           OE     5.15.13-xanmod1-amdzen #5
Jan  9 00:38:51 NUMIDIUM kernel: [  462.935579] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B450 Pro4, BIOS P4.50 11/04/2020
Jan  9 00:38:51 NUMIDIUM kernel: [  462.935581] RIP: 0010:vfio_pci_core_unregister_device+0x9/0x100

why this happening? does this thing have something to do with vendor reset bug?

and then i tried to use vendor_reset dkms module. installed and loaded but, when starting VM it seems like not triggered?from this article it says :

>Now when you start a VM that uses an AMD GPU, you’ll see messages like this appear in your dmesg output, showing that the new reset procedure is being used:

vfio-pci 0000:03:00.0: AMD_POLARIS10: version 1.0
vfio-pci 0000:03:00.0: AMD_POLARIS10: performing pre-reset
vfio-pci 0000:03:00.0: AMD_POLARIS10: performing reset
vfio-pci 0000:03:00.0: AMD_POLARIS10: GPU pci config reset
vfio-pci 0000:03:00.0: AMD_POLARIS10: performing post-reset
vfio-pci 0000:03:00.0: AMD_POLARIS10: reset result = 0

but in my dmesg contain no such log when starting VM, only this line which indicates the module is loaded

[    3.719500] vendor_reset: loading out-of-tree module taints kernel.
[    3.719554] vendor_reset: module verification failed: signature and/or required key missing - tainting ke
... keep reading on reddit ➑

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/soekarmana
πŸ“…︎ Jan 08 2022
🚨︎ report
Kernel oops on reattaching nvidia to host with latest driver

Hi

I've had my setup working perfectly with the nvidia-460 driver for some time.

I have 2 gpu's, AMD is the one I primarily use on the host, nvidia passthrough, but sometimes I use the nvidia one for cuda on the host as well. I've had no problems with reattaching it to the host with the 460 driver, but I wanted to update to a later one to access newer cuda features. I upgraded to 470, and then later 495, both have the same problem. I get the attached kernel oops when trying to reload the driver. Anyone seen anything similar?

Kernel oops on loading nvidia driver

The only thing I can think of that I do "differently" than standard, is that I use "video=efifb:vga fbcon=map:1 video=HDMI-A-1:e video=DP-1:d" (fbcon=map:1 gives me output on the AMD gpu) on boot. This is due to me using encrypted root, and I need to write in passwords during the boot process.

I've been doing this in rc.local in order to deattach any nvidia related stuff:

echo 0 > /sys/class/vtconsole/vtcon0/bind 

echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind

Other than that it's a very standard vfio setup... everything still actually works fine - except from reattaching it. I managed to get a kernel oops that.. google has never seen before, which makes debugging this.. annoying. Also every attempt at fixing it requires a reboot, which means it takes a bunch of time as well.

My script to bind to vfio:

modprobe vfio-pci # (this is run after rmmod, shutting down systemctl services etc)
for dev in "$@"; do
    vendor=$(cat /sys/bus/pci/devices/$dev/vendor)
    device=$(cat /sys/bus/pci/devices/$dev/device)
    if [ -e /sys/bus/pci/devices/$dev/driver ]; then
            echo $dev > /sys/bus/pci/devices/$dev/driver/unbind
    fi
    echo $vendor $device > /sys/bus/pci/drivers/vfio-pci/new_id
done

And to reattach to host:

#!/bin/bash
for dev in "$@"; do
    vendor=$(cat /sys/bus/pci/devices/$dev/vendor)
    device=$(cat /sys/bus/pci/devices/$dev/device)
    echo "Removing ${dev} from vfio-pci id list"
        echo "${vendor} ${device}" > /sys/bus/pci/drivers/vfio-pci/remove_id
    sleep 0.1
    echo "Remove PCI device"
    echo 1 > /sys/bus/pci/devices/${dev}/remove
    while [[ -e "/sys/bus/pci/devices/${dev}" ]]; do
... keep reading on reddit ➑

πŸ‘︎ 17
πŸ’¬︎
πŸ‘€︎ u/andaag
πŸ“…︎ Dec 13 2021
🚨︎ report
Linux in cars... are they obliged to deliver the kernel's source code?

Hi all,

As far as I know, my car is equipped with an infotainment based on Linux. I did not have the chance to tinker with it yet, but although the risks which I'm aware of, I would like to. And I don't know how to do that, since it seems they closed the doors to access the internals.

One possibility is asking them for the source code of the kernel, but they will probably refuse. Would I be in my own right if I ask them for the infotainment kernel's source code?

πŸ‘︎ 174
πŸ’¬︎
πŸ‘€︎ u/somecucumber
πŸ“…︎ Nov 12 2021
🚨︎ report
There is no system but GNU, and Linux is one of its kernels.
πŸ‘︎ 86
πŸ’¬︎
πŸ‘€︎ u/KasaneTeto_
πŸ“…︎ Dec 19 2021
🚨︎ report
"Linux kernel 5.16 does NOT produce a 400% increase in RTM earning" but with accurate proof

As a reply to u/headkaze and u/No-Tour9928 I decided to give this 400% claim a proper test. I've tested my both pc's and here are the results. I used xmrig ghostrider benchmark by KohakuBlueleaf, and I used XanMod's 5.16.0 kernel which has further optimizations, so if there were any difference, it were more noticeable.

But as you can see, hashrate doesn't change that much, and there's definetly no 400% gain. I think this case is closed?

AMD Ryzen 3600

Intel Core i5-4460

πŸ‘︎ 12
πŸ’¬︎
πŸ‘€︎ u/akaikagaribi
πŸ“…︎ Jan 13 2022
🚨︎ report
Cleaning up the Linux kernel's 'Dependency Hell': This developer is proposing 2,200 commit changes zdnet.com/article/cleanin…
πŸ‘︎ 93
πŸ’¬︎
πŸ‘€︎ u/CrankyBear
πŸ“…︎ Jan 03 2022
🚨︎ report
Onyx using recent "anti-China movement" as excuse to withold Linux kernel source code
πŸ‘︎ 2k
πŸ’¬︎
πŸ‘€︎ u/teqnkka
πŸ“…︎ Sep 30 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.