@DistroJunkie asked me a question and I wanted to try out the polling feature.

So, of the Linux peeps, have any of you ever compiled your own kernel?

So it's official, I was wrong. More people than not have compiled their own kernel. How cool is that?

Although, with 149 votes, I guess this poll isn't authoritative. 😃😃

@poetgrant I guess Tusky doesn't support the polling feature. Wahhhhh!

@DistroJunkie @poetgrant
And no, I don't think so. It I did it was years ago.
But I have created a few ISO's.

@poetgrant @DistroJunkie Used to be the only way that you could enable other options or drivers. I remember having to do it to enable some Ethernet drivers. I imagine it's much faster to compile now-a-days.

@DistroJunkie @poetgrant Yes! I've tried it as a hobby or to try and get a slightly faster or more optimized system. Neither of those ever went anywhere — the kernel that comes pre-compiled with your distro is already optimized more than I can accomplish with my level of experience. I've also done it because I had to patch the kernel source with various machine-specific drivers for my Cobalt Qube, and that was a whole bunch of fun but it worked. I still run a custom kernel on that machine.

I need to try it again with my current Slackware setup. I bet I could optimize it... maybe. I have never really truly understood everything that goes into the kernel stuff. I mainly spent most of my time reading logs and message boards, then trying the kernel again and again. Hehehe most of the time I didn't know what I did that made the system load faster or slower.

@DistroJunkie @poetgrant Most things are already compiled as modules, so you probably won't make it faster by excluding drivers you don't need (it will compile faster, but won't run faster). I thought I could get some extra performance by choosing a specific CPU architecture in the configuration and compiling it with the right flags, but for some reason that still feels slower than the pre-compiled kernel. If you figure out some magic compiler flags that make it run faster, please let me know! Maybe disable the Spectre mitigations :P

Oh man, I bet that would speed the crap out of it! Bahaha... but at what cost? I was going to mess with it tonight in celebration of cracking a BIOS password for the first time in my life. 😃

@DistroJunkie @poetgrant Oh you cracked a BIOS password? Nicely done! How did you manage that?

I'd be curious to find out how probable a Spectre exploit actually is. Like if I disable the Spectre mitigations, am I really going to get pwned?

I don't think you will... the way I understand it, the perp has to have physical access to the device to pwn it... but I could be completely wrong.
I was just trying out different tools that ship with Kali, trying to see how to access the BIOS password. I can't remember which one actually did the cracking for me, but it didn't take much. I could have guessed the password. It was 'hacker'. I hink CmosPwd was the tool that worked.. - 1/2

@stjohn @DistroJunkie but I used a bunch of others too just testing them out. I have never really used many of the Kali tools, just a couple of the basic crackers and data gathering tools. So this was all trial and error for me... it wasn't until after that I realized that I almost deleted the firmware from the chip.... 😃😃
@DistroJunkie - 2/2

To be honest, I looked through the tools for anything that said 'BIOS' and tried all the tools until one worked.

Also, I'm going to read up on Spectre, I want to know if I need the mitigation on my system.

Oh you know... I don't think an attacker needs physical access to your computer... they just need you to interact with their JavaScript injections... that sucks. So we definitely need the mitigation until RISC-V releases a computer for us to buy. 😃

I was thinking in my lizard brain and it looks like this virus stuff would be a perfect time for spy agencies to install some fun spy software via pressure on Intel. It is a perfect setup for it - 1/2

@stjohn @DistroJunkie I try not to be a conspiracy theorist anymore (that was the 'old me'), but it looks just like a sort of setup that the CIA and MI5 might run together.

Hmm... someone pull me back into the Matrix! I don't like it out here! I just want my steak dinner and perfect lawn!
@DistroJunkie - 2/2

@stjohn @DistroJunkie @poetgrant the attacker has to have permission to run code on your machine to exploit the vuln.

I believe I saw a JS implementation a few weeks after the initial announcement, so I'm not going to be the first one to turn Spectre mitigation off.

That is good to know. I need to read more on it... just in case... hehehe I tend to do things too quickly and end up in trouble.
@stjohn @DistroJunkie

@poetgrant @stjohn @DistroJunkie it could be useful. My understanding is that the mitigation patches are only partial protection anyway.

@poetgrant @DistroJunkie @RandomDamage Nothing stopping you turning of JS in your browser too :P

But yeah, point taken. It's a bit scary that random JS on the web could exploit a CPU bug.

@stjohn @DistroJunkie @poetgrant yeah, about that... It's off by default, but I've got to pay bills and stuff so that doesn't work so well everywhere.

@poetgrant @DistroJunkie @RandomDamage Urgh don't get me started. There's no earthly reason for most of these sites to be interactive single-page web applications. I keep JS off when I can, but my pinky is getting worn short from how often I hit the key to re-enable it.

Yes in Debian (pre Ubuntu) days to get some extra features for iptables. Never needed or tempted since.

@poetgrant @DistroJunkie
The first time I compiled a kernel was when I needed newer radeon drivers with OpenGL 3.0 support on Linux Mint. I didn't know what I was doing, I was just following the tutorial, but the kernel compiled and worked correctly.

The second time was when I was patching drivers for touch buttons on my laptop. I downloaded Arch's PKGBUILD for kernel, modified the source, and built it with makepkg, with Arch's default config. It worked fine too.

@poetgrant @DistroJunkie
Third time was part of Advanced Operating Systems course, when we were supposed to build the latest kernel on the VM, so that we can modify it later as part of the labs/assignments.

In all 3 situations, I used a config from someone else.
Never really tried messing with make menuconfig.

@Wolf480pl @DistroJunkie @poetgrant
I'm sorry you missed out on early Gentoo. What a glorious way to learn linux administration.

@poetgrant @DistroJunkie Yes, on with all features compiled in:

~ du -h /boot/vmlinuz*
5.0M /boot/vmlinuz-4.19.27-gentoo-r1

@poetgrant @DistroJunkie It also enables you to get a more secure (and possibly slightly less efficient) kernel than what mainstreams distros configures:

@poetgrant @DistroJunkie not me. I don’t think that’s Ben necessary for most people for a very long time. Great question, though!

@poetgrant @DistroJunkie yes indeed, for embedded applications. And Gentoo :-)

@poetgrant @DistroJunkie

Several times on the strangest devices, with mixed results, but never on x86 or devices which already had a working one. Because I'm too lazy to change what already works on my home computer

@poetgrant @DistroJunkie Along with several Gentoo installs, I did very early on in my Linux life. I was still on Ubuntu 14.04 and coming from Windows, I didn't understand what a repository was, and how the distribution handles your packages. I just thought that you were always supposed to have the latest kernel, made sense to me. So I downloaded, compiled and installed the latest kernel on it. It was a great experiment and ran fine. Didnt last long because I moved on to Mint shortly thereafter.

@poetgrant I do still have it on my "bucketlist" but I don't see much use for me personally honestly...

@poetgrant @DistroJunkie No, I haven't but intend to after I pass my LInux+ and LPIC certifications.

@poetgrant @DistroJunkie Thankfully never needed to.

I use GNU/Linux for the freedom and privacy, and I only tinker in userspace.

@poetgrant @DistroJunkie


In 2002.

So at this point, I probably should have responded "What's compile mean?"

@poetgrant @DistroJunkie

Look like it answered yes... It bugged on my app and my answer was no, never. I don't know which good I can have doing it. At which risk/cost.

You may have asked peoples who did it if they did it in the dinosaur age of Linux or recently 🤔

@poetgrant @DistroJunkie that's still a lot of votes for a fedi poll IMO.

But you also need to keep in mind what kinda audience you have :P.

@Wolf480pl @poetgrant @DistroJunkie Sample bias, definitely. Ask the same poll on /r/linux and you'd probably get 10/80/10.

@sean @poetgrant @DistroJunkie
I wonder what'd happen if kawen made a poll like this

@poetgrant @DistroJunkie I don't see a poll? Did it expire, or is this an instance specific feature?

Sign in to participate in the conversation

Fosstodon is a Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.