Linux - Reddit – Telegram
Linux - Reddit
734 subscribers
4.12K photos
207 videos
39.6K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Are you bored during quarantine? Let's fix some open source project!

Hi,

Recently, because of the quarantine, I had enough free time which I decided to use to find bugs in some more known projects.

So I decided to integrate them with Gitlab CI and provide source code analysis with Sonarcloud, Cppcheck and Coverity Scan.

Some of errors are really hard to fix, but some are really easy like - [https://sonarcloud.io/project/issues?id=qarmin\_bullet3&open=AXErXlMn4lbxEqEHg3Am&resolved=false&rules=cpp%3AS1764&types=BUG](https://sonarcloud.io/project/issues?id=qarmin_bullet3&open=AXErXlMn4lbxEqEHg3Am&resolved=false&rules=cpp%3AS1764&types=BUG)

Most of this projects are created in C/C++ so if you want, you can help and fix some of bugs.

​

Sonarcloud bug tracer:

Bullet Physics - [https://sonarcloud.io/project/issues?id=qarmin\_bullet3&resolved=false&types=BUG](https://sonarcloud.io/project/issues?id=qarmin_bullet3&resolved=false&types=BUG)

DXVK - [https://sonarcloud.io/project/issues?id=qarmin\_dxvk&resolved=false&types=BUG](https://sonarcloud.io/project/issues?id=qarmin_dxvk&resolved=false&types=BUG)

Assimp - [https://sonarcloud.io/project/issues?id=qarmin\_assimp&resolved=false&types=BUG](https://sonarcloud.io/project/issues?id=qarmin_assimp&resolved=false&types=BUG)

FreeRDP - [https://sonarcloud.io/project/issues?id=qarmin\_freerdp&resolved=false&types=BUG](https://sonarcloud.io/project/issues?id=qarmin_freerdp&resolved=false&types=BUG)

Mutter - [https://sonarcloud.io/project/issues?id=qarmin\_mutter&resolved=false&types=BUG](https://sonarcloud.io/project/issues?id=qarmin_mutter&resolved=false&types=BUG)

Wine - [https://sonarcloud.io/project/issues?id=qarmin\_wine&resolved=false&types=BUG](https://sonarcloud.io/project/issues?id=qarmin_wine&resolved=false&types=BUG)

Remmina - [https://sonarcloud.io/project/issues?id=qarmin\_Remmina&resolved=false&types=BUG](https://sonarcloud.io/project/issues?id=qarmin_Remmina&resolved=false&types=BUG)

Xrdp - [https://sonarcloud.io/project/issues?id=qarmin\_xrdp&resolved=false&types=BUG](https://sonarcloud.io/project/issues?id=qarmin_xrdp&resolved=false&types=BUG)

Godot - [https://sonarcloud.io/project/issues?id=qarmin\_godot&resolved=false&types=BUG](https://sonarcloud.io/project/issues?id=qarmin_godot&resolved=false&types=BUG)

Linux Kernel(WIP)

Gnome-Shell(WIP)

Blender(WIP)

Nemo(WIP)

​

Gitlab projects(in pipelines you can find html files with cppcheck analysis):

Godot - [https://gitlab.com/qarmin/godot](https://gitlab.com/qarmin/godot)

Xrdp - [https://gitlab.com/qarmin/xrdp](https://gitlab.com/qarmin/xrdp)

DXVK - [https://gitlab.com/qarmin/dxvk](https://gitlab.com/qarmin/dxvk)

Assimp - [https://gitlab.com/qarmin/assimp](https://gitlab.com/qarmin/assimp)

Bullet Physics - [https://gitlab.com/qarmin/bullet3](https://gitlab.com/qarmin/bullet3)

FreeRDP - [https://gitlab.com/qarmin/freerdp](https://gitlab.com/qarmin/freerdp)

Remmina - [https://gitlab.com/qarmin/Remmina](https://gitlab.com/qarmin/Remmina)

Wine - [https://gitlab.com/qarmin/wine](https://gitlab.com/qarmin/wine)

Mutter - [https://gitlab.com/qarmin/mutter](https://gitlab.com/qarmin/mutter)

Gnome Shell(WIP) - [https://gitlab.com/qarmin/gnome-shell](https://gitlab.com/qarmin/gnome-shell)

Linux(WIP) - [https://gitlab.com/qarmin/linux](https://gitlab.com/qarmin/linux)

Blender(WIP) - [https://gitlab.com/qarmin/blender](https://gitlab.com/qarmin/blender)

​

Coverity Scan Projects - it is really good, but is private by default so if you want to check bugs, you must request access from me.

Bullet Physics - [https://scan.coverity.com/projects/qarmin-bullet3?tab=overview](https://scan.coverity.com/projects/qarmin-bullet3?tab=overview)

DXVK - [https://scan.coverity.com/projects/qarmin-dxvk?tab=overview](https://scan.coverity.com/projects/qarmin-dxvk?tab=overview)

Assimp - [https://scan.coverity.com/projects/qarmin-assimp?tab=overview](https://scan.coverity.com/projects/qarmin-assimp?tab=overview)

FreeRDP -
[https://scan.coverity.com/projects/qarmin-freerdp?tab=overview](https://scan.coverity.com/projects/qarmin-freerdp?tab=overview)

Mutter - [https://scan.coverity.com/projects/qarmin-mutter?tab=overview](https://scan.coverity.com/projects/qarmin-mutter?tab=overview)

Wine - [https://scan.coverity.com/projects/qarmin-wine?tab=overview](https://scan.coverity.com/projects/qarmin-wine?tab=overview)

Remmina - [https://scan.coverity.com/projects/qarmin-remmina?tab=overview](https://scan.coverity.com/projects/qarmin-remmina?tab=overview)

Xrdp - [https://scan.coverity.com/projects/qarmin-xrdp?tab=overview](https://scan.coverity.com/projects/qarmin-xrdp?tab=overview)

Godot - [https://scan.coverity.com/projects/qarmin-testgodot?tab=overview](https://scan.coverity.com/projects/qarmin-testgodot?tab=overview)

Linux Kernel(WIP) - I enabled all modules etc. by "make allyesconfig" and after 6hours it still compiling on i3-2330m (2/4) XD (Progress - [https://gitlab.com/qarmin/linux/-/jobs/495374050](https://gitlab.com/qarmin/linux/-/jobs/495374050))

Gnome-Shell(WIP)

Blender(WIP)

Nemo(WIP)

​

I will try to update and check projects with this utilities once per week.

I'm using Ubuntu(18.04 - 20.04 versions) as base of docker images for Gitlab CI and sometimes it is really hard to get compilation steps for this OS(apt build-dep not always works as expected)

You can find instruction of compilation steps inside "[instrukcja.md](https://instrukcja.md)" and ".gitlab-ci.yml" files in root of projects.

I'm not an expert, so probably a lot of things/integrations could be done a lot of better.

https://redd.it/ftkszn
@r_linux
Proxmox VE: restart node due to lock-xxx.conf' - got timeout

From time to time I have to restart the servers due to loss of control.

Configuration:

Supermicro Ultra Server

Intel Xeon Scalable gen2
1Tb RAM
4x4Tb Samsung Data Center SSD


Sometimes I get such messages in the log

Feb 17 02:38:29 kfn1-node4 pvedaemon\[38846\]: can't lock file '/var/lock/qemu-server/lock-141.conf' - got timeout Feb 17 02:38:29 kfn1-node4 pvedaemon\[8817\]: <root@pam> end task UPID:kfn1-node4:000097BE:08EF85DA:5E49EE8B:qmstop:141:root@pam: can't lock file '/var/lock/qemu-server/lock-141.conf' - got timeout

and from this moment on I can't start / stop virtual servers.
Before this problem I always see such messages in the /var/logs/syslog:


Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.520706\] CPU: 52 PID: 1649 Comm: z\_wr\_int\_6 Tainted: P O 4.15.18-21-pve #1 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.520736\] Hardware name: Supermicro SYS-1029U-TR4T/X11DPU, BIOS 3.1a 07/19/2019 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.520811\] RIP: 0010:buf\_hash\_insert+0xbd/0x180 \[zfs\] Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.520828\] RSP: 0018:ffffb07b60eebcc0 EFLAGS: 00010206 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.520846\] RAX: 1b0210fa010154fc RBX: ffff95e1569c91f0 RCX: 0000000000000080 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.520866\] RDX: 0000000000000001 RSI: ffff96324bf587b0 RDI: ffffb07b7736d558 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.520886\] RBP: ffffb07b60eebcd8 R08: ffff95e1569c9200 R09: 0000000000baf367 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.520913\] R10: ffffb07b60eebce0 R11: 0000000000000000 R12: 00000000028256ab Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.520934\] R13: 000000000005aac0 R14: ffff96335e5df690 R15: ffff9633b1dcbb50 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.520958\] FS: 0000000000000000(0000) GS:ffff9635bf300000(0000) knlGS:0000000000000000 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.520983\] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.521000\] CR2: 00007f79ef135000 CR3: 0000002adea0a003 CR4: 00000000007626e0 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.521020\] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.521040\] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.521060\] PKRU: 55555554 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.521070\] Call Trace: Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.521123\] arc\_write\_done+0x125/0x3f0 \[zfs\] Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.521164\] zio\_done+0x2d0/0xe60 \[zfs\] Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.521179\] ? kfree+0x165/0x180 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.521197\] ? spl\_kmem\_free+0x33/0x40 \[spl\] Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.521237\] zio\_execute+0x95/0xf0 \[zfs\] Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.521253\] taskq\_thread+0x2ae/0x4d0 \[spl\] Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.521268\] ? wake\_up\_q+0x80/0x80 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.522089\] ? zio\_reexecute+0x390/0x390 \[zfs\] Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.523021\] kthread+0x105/0x140 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.523759\] ? task\_done+0xb0/0xb0 \[spl\] Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.524503\] ? kthread\_create\_worker\_on\_cpu+0x70/0x70 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.525215\] ret\_from\_fork+0x1f/0x40 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.525909\] Code: 05 31 7c 18 00 4a 8d 3c e0 48 8b 37 48 85 f6 0f 84 c2 00 00 00 48 8b 0b 48 89 f0 31 d2 eb 0c 48 8b 40 20 83 c2 01 48 85 c0 74 2f <48> 39 08 75 ef 4c 8b 53 08 4c 39 50 08 75 e5 4c 8 b 5b 10 4c 39 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.527427\] RIP: buf\_hash\_insert+0xbd/0x180 \[zfs\] RSP: ffffb07b60eebcc0 Feb 17 01:49:32 kfn1-node4 kernel: \[1496221.528218\] ---\[ end trace 1ec84add9901e42b \]---

Does anyone have any idea how to diagnose such a
ForgeFed news: We sent @NGIZero the funding plan,waiting for them to approve it. The funded work,by zPlus and me, will be the spec, reference implementation (Vervis), implementation in existing forge (Pagure), and an implementation guide. Possibly work on Gitea will get funded too, we don't know yet
https://floss.social/@forgefed/103844664664981845

https://redd.it/ftpeqd
@r_linux
GNU to me T-shirts? Red Hat 4.2

Does anyone have any old *nix centric shirts laying around,
Size large or xl

I left my old r00t t shirt in a Panama city beach motel room like 18 years ago during spring break.. And like a Linux t shirt shld be free or something eheh

I'll PayPal u shipping

https://redd.it/ftwdj1
@r_linux
Cartesi Scalability on Linux and The CTSI Utility Token

As blockchain projects mature and our understanding of the technology progresses, it becomes ever more clear what challenges impede its mainstream adoption:

* Convenience — developing and using a blockchain application is still an overwhelming task, involving a very difficult learning curve and consequently significantly reducing general interest in the technology;

* Scalability — Blockchains need to perform as well as centralized technology in order to be able to compete with it.

Full Article: https://medium.com/cartesi/cartesi-network-and-ctsi-b9a5e206fedf

https://redd.it/ftykwg
@r_linux
Commandline/sysadin course in r/linuxupskillchallange

This month-long challenge for anyone wanting to build Linux sysadmin skills is re-starting again this coming Monday.

"Daily lessons appear in the sub-reddit /r/linuxupskillchallenge - which is also be used for support/discussion. This is a 'rolling' course repeated each month. Does require some serious commitment, but if gaining/growing these skills was one of your New Years Resolutions, then you now have no excuse! "

There was a massive surge in subnoscriptions last month (600!), but the it's difficult to gauge how many really committed, and how many stuck through. Any feedback very welcome.

https://redd.it/fti5bl
@r_linux
Monitor refresh rate.

I have a 75 Hz monitor, yet Linux (I use KDE and the "Kubuntu" distro) doesn't want to really cooperate.
What do I do?
Like, games will show 75 FPS. But I think that's fabricated because my Display Settings in System Settings seem to just default to "Auto" each time I look at them, despite being set to 75 each time I close my settings.

https://redd.it/fu249x
@r_linux