News for hackers. Stuff that matters.
Re:Linux 5.6 by hannob on Monday March 30, 2020 @08:31AM (#22727462)
If anyone else - like me - has tried updating the kernel this morning and figured out wifi with an intel card was broken: It seems they broke the iwlwifi driver [1] and here [2] is the patch to fix it.

[1] https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.... [2] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.g...

Re:Linux 5.6 by minton on Monday March 30, 2020 @12:15PM (#22729204)
Being worried about the current trajectory of macOS, I’ve been thinking more and more about Linux and imagining how far it must have come since I last used it in the early 2000s. Reading things like this really dampen my enthusiasm for trying Linux again.
Re:Linux 5.6 by nextos on Monday March 30, 2020 @12:44PM (#22729584)
Glitches like this are very infrequent if you run well chosen hardware. If you run e.g. an all-Intel setup which is a few months old, it's rare.

If you are afraid of things getting broken, simply use NixOS. All upgrades can be easily rolled back, and you can freeze updates of some packages, or get packages through different channels with different stability compromises. I prefer to get everything through rolling release channels, as then bugs come one by one.

I've been running Linux on a MacBook Air 11 2012 for years, and everything worked out of the box from day 1. For the record, that's a pure Intel machine with the exception of a Broadcom wireless card. Said card works equally bad in Linux and Mac, I don't get why Apple keeps sticking to this brand.

I was hoping to upgrade to one of the new 2020 Airs, which are again providing terrific value, a great screen and keyboard. Sadly, the T2 chip makes things a bit difficult. It's getting support for Linux, but there are still many glitches. My Mac was broken by some stupid inspector in my rental property, and it's sadly not so easy to find a decent replacement with all COVID restrictions.

Another option is the Surface line, which is surprisingly well supported. The Surface Go, for example, works incredibly well as a tablet. All recent Surface machines work quite well in Linux.

Else, your best bet is a ThinkPad or an XPS. Unfortunately, Chromebooks are no longer so easy to reflash.

Re:Linux 5.6 by voxl on Monday March 30, 2020 @03:46PM (#22731569)
The downside of NixOS is that developing on it is hell incarnate. And saying "you just have to learn the Nix way and use nix-shell" is not a satisfactory solution, take it from someone who has tried twice.

Moreover, I gave up on NixOS the second time around because an update completely hosed my system, including all my rollbacks. Something with XServer broke across all snapshots.

Re:Linux 5.6 by sfilargi on Monday March 30, 2020 @01:11PM (#22729887)
> Glitches like this are very infrequent if you run well chosen hardware.

1 point sample here but I never manage to get reliable WiFi on a NUC6i7KYK. Hardware that should be included in the “well known” category.

Re:Linux 5.6 by nextos on Monday March 30, 2020 @01:50PM (#22730323)
Sometimes even this fails, what can I say.

Ubuntu runs a certification program. I wish there was an independent party certifying hardware for Linux. And they looked into all the details, such as battery discharge triggering ACPI events, 802.11 functions supported by wireless card and things like that.

Re:Linux 5.6 by sfilargi on Monday March 30, 2020 @02:06PM (#22730507)
> Sometimes even this fails, what can I say.

Not blaming you :D

Re:Linux 5.6 by AsyncAwait on Monday March 30, 2020 @03:45PM (#22731559)
That's weird because I have the same HW, (Skylake Skull Canyon NUC) & get WiFi good enough for a home media server, (Arch).
Re:Linux 5.6 by ryantgtg on Monday March 30, 2020 @07:56PM (#22733476)
They’re also infrequent if you hold off on updating immediately after a release. Just wait for distro/package managers to check things and release it to you!
Re:Linux 5.6 by hannob on Monday March 30, 2020 @01:06PM (#22729834)
I'm sorry this is the impression I created.

Ultimately we're talking about a .0 version here. That's not going to end up in a Linux distro without further testing.

My post was directed to people manually installing latest kernels. That's not what the average "I want a Linux Desktop" user should do. It's targetted for people who tend to play with their systems. It's what they expect.

Re:Linux 5.6 by paulfurtado on Monday March 30, 2020 @12:31PM (#22729415)
It's pretty atypical to upgrade to the latest mainline linux kernel the day the kernel is released. Most distributions take time to pick up a new kernel and make it part of a major distribution release that is subject to more testing. The OP must be using a bleeding-edge rolling-release distro like Arch Linux or running a custom kernel. I wouldn't anticipate such problems if running a popular release based distro like Ubuntu, Fedora, Debian, etc.
Re:Linux 5.6 by Hello71 on Monday March 30, 2020 @01:13PM (#22729913)
Arch doesn't even have 5.6 in staging, let alone testing, let alone core. It was released less than 24 hours ago, that's barely enough time for the maintainer to test it on their own machines. No distribution releases a .0 kernel after 12 hours of testing to anybody except people who have explicitly opted into testing. and at that rate, there's a good chance you'll get -rc kernels too, and those are full of bugs (that's why they're -rc).
Re:Linux 5.6 by macawfish on Monday March 30, 2020 @12:29PM (#22729396)
My sense is that this kind of thing is typical for newer versions of the Linux kernel. Most people don't run the latest kernel release, and for day-to-day applications, running an older, more stable version of the kernel won't effect anything.

I quit MacOS a little over 10 years ago now. I used to be a huge Mac fan, even subscribing to MacAddict magazine and frequenting the Mac Rumors website.

It was a cult and I have absolutely no regrets leaving. Especially now that Bitwig runs on Linux, what would I ever need a Mac for?

I'm using Arch Linux and it's the most stable operating system I've ever used. I've gone more than 4 years with the same installation. Thanks to the Arch wiki I now have working knowledge of things like systemd and how to compile kernel modules. These things really aren't nearly as scary as they sound. I didn't learn about them by reading the longwinded `man` pages... I learned about them from the Arch wiki!

Re:Linux 5.6 by fredmorcos on Tuesday March 31, 2020 @11:19AM (#22738344)
> I'm using Arch Linux and it's the most stable operating system I've ever used.

lol

(from an arch user)

Re:Linux 5.6 by macawfish on Tuesday March 31, 2020 @03:30PM (#22741491)
Okay the lol is warranted... but in a certain way I'm serious: Ubuntu and MacOS were always changing things for me whenever I upgraded. Arch doesn't make any systemwide configuration changes. If some package has backwards-incompatible changes, I deal with those one at a time, but there's none of this "oh we rearranged the entire organizational structure of your root directory surprise!!!" stuff.

And because I'm always getting the latest stable versions of things, bugs often disappear magically, rather than lingering on until the next major upgrade.

And yeah I mean you gotta follow some key rules, like never install anything without the `u` flag, etc.

Re:Linux 5.6 by asveikau on Monday March 30, 2020 @01:23PM (#22730011)
When I started using Linux in the 90s, especially because I was young and enthusiastic, sure, I would grab tarballs from kernel.org and build them on the day of release.

That is simply not how it works anymore. Your distro vets the kernels. They patch them. They ensure that if that well known Intel wifi bug is still around that the patch is applied (note it already exists!) or better yet already in-tree. A late breaking bug of that nature is not a huge concern for your everyday Linux user.

Re:Linux 5.6 by sigotirandolas on Monday March 30, 2020 @08:18PM (#22733680)
As for me personally, since a few releases I've taken the vice of waiting on Sunday midnight for building the new kernel release and seeing what's new and what's broken :)

Judging from the bug reports, there's still quite a few people building the latest kernels - mostly from poweruser distros like Arch and Gentoo.

If you use Ubuntu, Debian or CentOS, then yes, you're going to get an old and boring^W^W^W^W^W^Wstable kernel. But there's still enough of us around on cutting edge, I guess.

Re:Linux 5.6 by sparrc on Monday March 30, 2020 @01:44PM (#22730265)
> Reading things like this really dampen my enthusiasm for trying Linux again.

It shouldn't. If you use a major desktop distribution (ie, Ubuntu) it will be many months before you are actually using kernel 5.6.x.

Re:Linux 5.6 by kitotik on Monday March 30, 2020 @12:31PM (#22729409)
I recently put Linux on a MacBook Air. It’s the same as it’s ever been - extremely finicky and time consuming to get all your stuff working smoothly. Requires scouring random bug reports, stack overflow etc to find all the little work arounds.

This is for what I consider critical stuff: network drivers, suspend/sleep, power management, display brightness etc.

My impression is that it is not any more or less of a mess than it was in the 2000s, or even in the late 90s.

All that being said, it’s still wonderful and gratifying once you have everything tuned to your liking.

Re:Linux 5.6 by nextos on Monday March 30, 2020 @02:50PM (#22730971)
What MacBook Air version?
Re:Linux 5.6 by kitotik on Monday March 30, 2020 @04:32PM (#22732009)
Old!

It’s mid-2012 model. Core 2 cpu with Broadcom 43xx

Re:Linux 5.6 by mgalgs on Monday March 30, 2020 @06:13PM (#22732761)
If you're running Linus' master branch, yes, things are going to break from time to time.

Stick to LTS releases (which is what most distros use) and you'll be fine.

Re:Linux 5.6 by snori74 on Monday March 30, 2020 @12:41PM (#22729538)
Most (99.9pc) Linux users get all their updates via their distro. Not saying you can't get a bad update, but Much less likely if you're a little patient.
Re:Linux 5.6 by stjohnswarts on Tuesday March 31, 2020 @08:59PM (#22744588)
Unless you're doing kernel development why would you be downloading and compiling the bleeding edge kernel on your desktop?
Re:Linux 5.6 by hannob on Monday March 30, 2020 @11:22AM (#22728715)
Pretty sure these are different issues.

The iwlwifi issue was introduced very recently with a security fix, as described by phoronix. I was running kernel 5.6-rc6 for some testing recently and it didn't have this issue.

Re:Linux 5.6 by ChristianBundy on Monday March 30, 2020 @09:55AM (#22728023)
You may already do this, but bugs like these are the reason I usually recommend having two kernels. The "oh crap did the latest release break X" is a lot easier to test if you can just reboot into the LTS kernel.
Re:Linux 5.6 by Spivak on Monday March 30, 2020 @10:59AM (#22728527)
Isn't that basically what every distro does these days by keeping 2+ kernels and a rescue kernel around?
Re:Linux 5.6 by ChristianBundy on Friday April 03, 2020 @01:19PM (#22771722)
Is there somewhere I can read more about that?
Re:Linux 5.6 by jimktrains2 on Monday March 30, 2020 @09:19AM (#22727769)
I just got a thinkpad x1 carbon and have similar issues with the intel chipset for wifi and audio with newer kernels as well. Only thinkpad over ever had issues with .
Re:Linux 5.6 by ktpsns on Monday March 30, 2020 @09:40AM (#22727907)
I have the same notebook (2019 edition) with Arch linux; everything is fine except audio, which won't work (basically the mic). Since I run every week or second into trouble after upgrading, I already thought about changing the distribution to something more stable, like Ubuntu/Debian. But I doubt my mic will work there :-(
Re:Linux 5.6 by igneo676 on Monday March 30, 2020 @10:19AM (#22728201)
https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carb...

If this is yours (Thinkpad X1 Carbon Gen 7), there's a very recent fix that you can find there. It's a bit of a hassle, but should work across more than just Arch based distros

Re:Linux 5.6 by GTP on Monday March 30, 2020 @10:01AM (#22728073)
Probably is just a config issue: for some reason this morning the wrong mic was selected as default and the update may have played a role since I don't remember changing it myself, but a quick look at pavucontrol solved the problem. PS: I'm using Arch Linux on a Lenovo too, but not a thinkpad.
Re:Linux 5.6 by ktpsns on Monday March 30, 2020 @10:17AM (#22728183)
Unfortunately, it is not. I already tried various kernel modules to support (i.e. detect) the hardware. Apparently, there is a reason why Arch chose some specific compiler flags for the kernel. I don't really want to start building my own kernel (there's a reason I chose Arch, not Gentoo).
Re:Linux 5.6 by isbjorn16 on Monday March 30, 2020 @11:56AM (#22728995)
I ended up putting together a gist of all the stuff I had to do to get my gen 7 carbon x1 working: https://gist.github.com/dwaynepryce/5a3141dfcb3cb166cd54766f...
Re:Linux 5.6 by noamelf on Monday March 30, 2020 @01:10PM (#22729878)
I'm also pretty disappointed with x1c7 Linux compatibility. I'm using Ubuntu 19.10 and it's not a smooth ride. I wish Lenovo had a Dell Sputnik like Linux support. Ubuntu 20.04 have been said to have better support.
Re:Linux 5.6 by pmarreck on Monday March 30, 2020 @11:33AM (#22728801)
I've been trying to convert people to various flavors of Linux for 20 years now and the usual showstopper is wifi not working at all, or at least without a ton more fiddling. Interesting to see that some things haven't changed.

Trying to be constructive here, might it be because automated testing can't easily test things that touch the "real world"? Or is it due to some sheer number of possible wifi hardware implementations? Or both? (I really wish the vast majority of wifi antennas were hooked up directly to a generic SDR at this point)

Re:Linux 5.6 by freedomben on Monday March 30, 2020 @11:42AM (#22728880)
If you are pushing your new converts to install/update to bleeding edge kernel releases, you're really doing them a disservice and setting them up for failure.
Re:Linux 5.6 by pmarreck on Saturday April 04, 2020 @12:34AM (#22776211)
Over the course of 20 years? I’ve seen this issue from attempting an old Red Hat mainstream distro on an old Thinkpad years ago to any one of a number of Ubuntu or other distro install attempts over the years
Re:Linux 5.6 by gsnedders on Monday March 30, 2020 @01:14PM (#22729920)
> Trying to be constructive here, might it be because automated testing can't easily test things that touch the "real world"?

The Linux kernel still has embarrassingly little automated testing, and what is done is largely done by third-parties.

Re:Linux 5.6 by pmarreck on Saturday April 04, 2020 @12:33AM (#22776209)
That’s... actively stupid at this point
Re:Linux 5.6 by sydney6 on Monday March 30, 2020 @10:03AM (#22728086)
5.5: broken i915 5.6: broken iwlwifi 5.7: ...
Re:Linux 5.6 by edflsafoiewq on Monday March 30, 2020 @10:39AM (#22728353)
Is i915 fixed?
Re:Linux 5.6 by kitotik on Monday March 30, 2020 @12:33PM (#22729437)
It is for me on 5.6-rc7. Tried as both a module and built in.
Re:Linux 5.6 by bavell on Monday March 30, 2020 @01:06PM (#22729832)
Really hope that's the case for me as well. I've been experiencing unrecoverable gpu hangs on my i915 Skylake chip with recent kernels (5.2-5.5).
Re:Linux 5.6 by kitotik on Monday March 30, 2020 @01:32PM (#22730098)
Yeap, same here. 5.5 was especially buggy for me, with frequent hangs while under heavy load. So far so good on 5.6.
Re:Linux 5.6 by johnwmail on Tuesday March 31, 2020 @08:38AM (#22736902)
Anyone can confirm this?
Re:Linux 5.6 by sydney6 on Tuesday March 31, 2020 @03:53PM (#22741749)
v5.5 is missing multiple urgent patches from v5.6-rc1:

https://gitlab.freedesktop.org/drm/intel/issues/1201

Re:Linux 5.6 by cmurf on Monday March 30, 2020 @03:42PM (#22731526)
For what it's worth, I've been using 5.6 since early rc's in Fedora 32 pre-release for many weeks, and haven't had a problem with Intel Dual Band Wireless AC 8260. So not all Intel wireless is affected.

Fedora 32 looks to be on-schedule for an April 21 release, pending release blocking bugs getting fixed up by then; and it will be shipping with Linux 5.6.

Re:Linux 5.6 by simcop2387 on Monday March 30, 2020 @09:07AM (#22727688)
Good to know. I've been using the rc releases for a bit without issue but will likely run into that immediately when upgrading.