Ramen_LadyHKG

joined 1 year ago
[–] Ramen_LadyHKG 3 points 8 months ago (1 children)

Real exploiters go bug hunting for zero days. The XZ thing was a humorous clown dancing a jig in a minefield. The clown spent 5 years on the sideline, then stepped on a mine immediately upon entry.

I like your last statement.

I agree that users should take responsibility for their system, I myself learned to fully encrypt my Linux with luks2 and things about secure boot, tpm2 or so.

That's why I'm making assumption of the need for non-tech savvy users, like most Windows users if they come to Linux world.

 

I understand that no Operating System is 100% safe. Although this backdoor is likely only affects certain Linux desktop users, particularly those running unstable Debian or testing builds of Fedora (like versions 40 or 41), **Could this be a sign that antivirus software should be more widely used on Linux desktops? ** ( I know this time is a zero-day attack)

What if, malicious code like this isn't discovered until after it's released to the public? For example, imagine it was included in the initial release of Fedora 40 in April. What if other malware is already widespread and affects more than just SSH, unlike this specific case?

My point is,

  • Many people believe that Linux desktops don't require antivirus software.
  • Antivirus can at least stop malware once it's discovered.
  • Open-source software is protected by many parties, but a backdoor like this one, which reportedly took 2 years to plan and execute, raises my concern about being more cautious when choosing project code maintainers.
  • Linux desktops will likely be targeted by more attacks as they become more popular.

IMO, antivirus does not save stupid people(who blindly disable antivirus // grant root permission) but it does save some lazy people.

OS rely heavily on users practicing caution and up-to-date(both knowledge and the system). While many users don't follow tech news, they could unknowingly be running (this/any) malware without ever knowing. They might also neglect system updates, despite recommendations from distro maintainers.

This is where antivirus software can be useful. In such cases, users might be somewhat protected once the backdoor signature is added to the antivirus database.

Thankfully, the Linux community and Andres Freund responded quickly to this incident.

[–] Ramen_LadyHKG 1 points 1 year ago

What the hell is going on????

[–] Ramen_LadyHKG 2 points 1 year ago* (last edited 1 year ago)

Idle:

Screenshot_20231201_084852}

Run full load for 1min:

Screenshot_20231201_085653}

[–] Ramen_LadyHKG 1 points 1 year ago (1 children)

Certain laptop CPUs are not adequately supported on linux.

This is really sad. I found almost all **Intel Kaby Lake R ** processor suffer this problem.

Intel Core i7-8550U cpu frequency drops on high loads on Ubuntu 20.04 | AskUbuntu

[–] Ramen_LadyHKG 2 points 1 year ago

opped working, and I couldn’t make it permanent. I would think you’d have to understand a bit of kernel development to be able to mitigate this is

Thank you for your share! I've seen those links before, no luck.

I think modifying MSR is what this script does. Throttled / Erpalma - Github

 

It's a laptop from Microsoft, Surface Book 2. I run Fedora Linux and Arch Linux, both of them have this issue. Either vanilla kernel or surface kernel has the same problem.

I've tried most solution: cpupower tlp thermald throttled power-profiles-daemon intel-pstate s-tui turbostat disable SecureBoot I still cannot get it working.

The CPU is not hot, neither power throttling. I can get it up to 4.2GHz, 35W package on Windows with Throttlestop These digits are What I've never seen on Linux.

It always stays below 2.1GHz, 1.3GHz when all core are stressed, always below 55C. I've made sure, TurboBoost is on.

I've opened these post looking for similar experience, not many responds.

I cannot get Turbo Boost working on Linux for my Intel Kaby Lake R processor (i7-8650u), always below 10W, 2.1GHz. Current throttling. #Surface #Laptop

techpowerup

Book2 (15") - No CPU Turbo Boost (always below 2.0GHz)

What's the maximum CPU frequency you can get on Linux with your Surface?

This is the performance I got on Windows

Surface Book 2 Users, Please post your Cinebench R23 Score here. For Compare and verify Win11 impact | Reddit r/Surface

[–] Ramen_LadyHKG 1 points 1 year ago

He/She should get a raise.

[–] Ramen_LadyHKG 0 points 1 year ago (1 children)

5 series exclusive

Shamsung OLED defect connections

[–] Ramen_LadyHKG 1 points 1 year ago

I need to find a way to let pacman check free space before update as for now, I will use /tmp as cache

[–] Ramen_LadyHKG 1 points 1 year ago

Error I got libxxx.so is not an ELF file xxxxx file is already exist, cannot process the update

[–] Ramen_LadyHKG 1 points 1 year ago (1 children)

Last night, I run pacman -Syu update and let it run overnight.

it failed when I woke up, I didn't notice it and restart for newer kernel. Then the WM (sddm) fxxked up. I try to reboot it into mutli-user mode and reinstall kde plasma. it shows bunch of corrupted libraries errors LOL.

I took some time on internet looking for solution, finally found one. Reinstall all dependencies + pacman update cache in ram. https://www.reddit.com/.../recover_system_from_crash.../

pacman -Qqdn > pkglist_deps.txt

pacman --asdeps -S $(< pkglist_deps.txt)


pacman --cachedir /tmp/pacmancache -Syu

 

I guess 100GB isn't enough for me

#flatpak #btrfs #cuda #swap #snapper #pacman #systemd #dumpcore #wine #lutris #windows #waydroid

I've cleaned all caches (pacman, firefox...etc), still takes up 83GB. Summary:

  • My swap is 16GB is the biggest file on this partition.(I needed that)
    
  • Flatpak repo is ridiculously fat, I've not installed too much apps from it. But OBS alone is gonna take 1~2GB due to sandboxed video codec and nvidia driver.
  • Waydroid takes some spaces but not too crazy
  • I also have installed full CUDA toolkit for AI purposes. (That's another 6GB, ouch)
  • Lutris: it created a new container for each game if you don't manually configure it. Each wineprefix takes up to 700MB~2GB. (I've already deleted couple of them in the screenshot)
  • all snapshots were deleted due to no space to update

btrfs assistant duf Lutris Game Directory https://github.com/sysnux/btrfs-snapshots-diff

 

I replaced the battery myself last year November, It had been working fine until now....

Last 6 Months, I left my Surface Book 2 on desk and I took my another Surface Pro for to-go. That was why I enabled Battery Limit in the UEFI(/BIOS) settings and limit the maximum charge to 50%.

Yesterday, I disable Battery Limit and let it charge to 100% overnight. But it stuck at 88%. Battery status shows that Battery 1(Tablet part) stuck at 50%.

Battery Report Battery 1 Charging status in Linux Battery Charging status in Windows 11

I've try all that I could think of:

Enable & Disable Battery Limit again

Charge it while completely shutdown

Detach the tablet part and charge it with a Surface Cable alone.

Charge it with USB-C

Charge it while running Linux

Both of the Battery shows healthy in Battery report, not much wear have got.

I suspect it's either the EC on the motherboard or the Power Management chip on the Battery 1 is malfunction, it doesn't disable Battery Limit like Battery 2 does.

It could also be a faulty battery I got But I think you should be aware of this issue.

[–] Ramen_LadyHKG 2 points 1 year ago (1 children)

Wish they didn't discontinue Surface Book series

 

If you shutdown/reboot without closing the running process (any wine process MOTT) first

It will halt at here for quite awhile, sometimes stuck there forever.

On Windows, there is a button Force Shutdown.

Is there a similar thing or I can config it to happen. ( I'm okay with the default behavior for waiting but sometimes I just want to skip it)

Thanks a lot

 

I have this laptop (Surface Book 2), a Intel iGPU and Nvidia dGPU.

Whenever I need to update the Nvidia driver/ hotplug the dGPU. I need to first systemctl stop sddm.

I thought the WM/DE only use my iGPU. (sorry for bringing Win logic here)

I'm using Arch & Fedora. Plasma/Gnome+Wayland.

4
看看有沒有人 (self.china_irl)
submitted 1 year ago by Ramen_LadyHKG to c/china_irl
view more: next ›