site  contact  subhomenews

Kernel 6.12.11 compiled on Easy Scarthgap

January 28, 2025 — BarryK

Easy Scarthgap 6.5.6 has the 6.12.10 kernel. I have compiled 6.12.11, making these two changes (bold):

# USB Host Controller Drivers
#
CONFIG_USB_C67X00_HCD=y
CONFIG_USB_XHCI_HCD=y
# CONFIG_USB_XHCI_DBGCAP is not set
CONFIG_USB_XHCI_PCI=y
CONFIG_USB_XHCI_PCI_RENESAS=y


# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
# also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_REALTEK=y
CONFIG_REALTEK_AUTOPM=y
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_USBAT=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_STORAGE_ALAUDA=y
CONFIG_USB_STORAGE_ONETOUCH=m
CONFIG_USB_STORAGE_KARMA=m
CONFIG_USB_STORAGE_CYPRESS_ATACB=y
CONFIG_USB_STORAGE_ENE_UB6250=y
CONFIG_USB_UAS=y

The first change was due to I read somewhere that a USB3 interface, with a Renesas chip, was being treated as USB2 only, and enabling this fixed it.

The second change is in response to discussion here:

https://forum.puppylinux.com/viewtopic.php?t=13709

...but I still don't know how that helps to detect if a USB SSD supports trim.

I recently compiled 6.12.10 kernel for Easy Daedalus, see blog post:

...and will leave it at that.    

Tags: easy

OpenEmbedded Scarthgap revision-4 compile

January 27, 2025 — BarryK

This is a complete recompile in my fork of OpenEmbedded/Yocto of the packages used to build EasyOS Scarthgap-series. This is based upon OE/Yocto release 5.0.6:

https://wiki.yoctoproject.org/wiki/Releases

Which I have named "revision-4", and all the binary packages have "-r4" in their name, for example "acpid-2.0.34-r4-nocona-64.tar.xz". The current release of EasyOS, 6.5.6, is built with "revision-3" build in OE, which is based on the Yocto 5.0.4 release. Here are the package version changes r3 to r4:

chromium-x11     131.0.6778.85 131.0.6778.139
expat 2.6.3 2.6.4
flatpak 1.15.6 1.15.8
go 1.22.6 1.22.8
libgsf 1.14.52 1.14.53
librsvg 2.57.1 2.58.2
libstd-rs 1.75.0 1.80.1
libxml2 2.12.8 2.12.9
mbedtls 3.6.1 3.6.2
openvpn 2.6.10 2.6.12
orc 0.4.39 0.4.40
php 8.2.20 8.2.26
pup-tools 20221101 20250115
python3 3.12.6 3.12.8
python3-django 5.0.9 5.0.10
python3-lxml 5.0.0 5.0.2
python3-requests 2.31.0 2.32.3
python3-tornado 6.4 6.4.2
python3-urllib3 2.2.1 2.2.2
python3-werkzeug 3.0.3 3.0.6
qemu 8.2.3 8.2.7
sip 6.8.3 6.8.6
sqlite3 3.45.1 3.45.3
systemd-boot 255.4 255.13
tzdata 2024a 2024b
vim 9.1.0698 9.1.0764
xserver-xorg 21.1.13 21.1.14

Chromium needs special mention, as we were stuck, the Chromium developers upped the minimum required rust version from 1.75 to 1.80. The OE/Yocto Scarthgap release only has the former. The guys though, have a way around this, with something called a "meta-lts-mixins" layer, see here:

https://git.yoctoproject.org/meta-lts-mixins

...what that means practically, is that this has backported rust 1.80.1 to Scarthgap. See my post here:

https://github.com/OSSystems/meta-browser/pull/863#issuecomment-2615264822   

Tags: easy

Fix for version depth limit

January 25, 2025 — BarryK

Alfons discovered a little bug. He sent me a snapshot of Easy Version Control (in the Filesystem menu), showing that the depth-limit is 5, yet there are now 6 versions. In other words, when he updated to Scarthgap 6.5.6, it was the 6th, so the oldest version, 6.4.4, should have been deleted.

The cause was that /var/local/version-history-depth did not exist. This is read by the 'init' script in the initrd, but if the file doesn't exist then depth calculation will be messed up.

File /var/local/version-history-depth only gets created when Easy Version Control is run, and it looks like Alfons had never run it before. And of course the session has to be saved after running Easy Version Control.

I fixed it in the 'init' script by creating it if it doesn't exist, and assigning a default of "5".    

Tags: easy

Linux kernel 6.12.10 compiled in Easy Daedalus

January 24, 2025 — BarryK

I posted about compiling 6.12.10 for Easy Scarthgap:

...as well as the droidcam v4l2loopback-dc.ko and broadcom wl.ko kernel modules.

Ditto for Easy Daedalus.

Also have now compiled the NVIDIA 565.77 kernel modules and packaged as an SFS (installable vis SFSget), for both Scarthgap and Daedalus.

The next release of Daedalus will have the 6.12.10 kernel. Ongoing for both, now using the 6.12.x kernel.    

Tags: easy

Fix partition icons redraw every bootup

January 23, 2025 — BarryK

You have probably noticed this. When the desktop starts up, some of the partition icons get redrawn, some don't. The internal drive sd* partitions do not, the internal nvme* partitions do get redrawn, as do any USB partitions.

The internal nvme* parttions icons do not need to be redrawn, as they are always there, and the device name will not change.

This bug has been there since 2018! That's how long it has taken me to fix it. This morning decided, about time to fix it, so did. It makes the startup a bit faster.

Here is the commit:

https://github.com/bkauler/woofq/commit/f6ce712ec207bb8c3f67e7c6454c3d674950fbd4  

...it was just a stray space character making two strings unequal when they should have been equal.    

Tags: easy

EasyOS Scarthgap-series version 6.5.6 released

January 22, 2025 — BarryK

The previous release, version 6.5.4.2, was released on January 12:

Note that the Daedalus-series latest is 6.5.5. This is a separate build of EasyOS, built with Devuan DEB packages, whereas Scarthgap is built from packages compiled by me in OpenEmbedded.

If you are running Scarthgap 6.5.4.2 and happy with it, there is no need to update to 6.5.6; in fact, there could be new issues|problems with the kernel bump from 6.6.x to 6.12.x. This latest version has targeted working on a very recent laptop with Intel Ultra 7 CPU and integrated GPU. Highlights:

Release notes:

http://distro.ibiblio.org/easyos/amd64/releases/scarthgap/2025/6.5.6/release-notes.htm

Download:

http://distro.ibiblio.org/easyos/amd64/releases/scarthgap/2025/6.5.6/

Feedback is welcome at the forum:

https://forum.puppylinux.com/viewtopic.php?p=140974#p140974

Have fun!      

Tags: easy

EasyOS audio and video work on Zenbook S 13

January 22, 2025 — BarryK

This has been a saga of about a week. I posted about purchase of Asus Zenbook S 13, with Intel Ultra 7 CPU:

And attempting to get Linux working on it:

With EasyOS, as soon as the i915 kernel GPU module loads, get a pink screen and only recoverable by holding down the power button.

I posted about examining the modules loaded by Manjaro, and created a config file to compile the 6.12.10 kernel for EasyOS Scarthgap. Still only a pink screen. Examined errors in "dmesg", did a lot of online reading. This went on for many days, but here is the working end result...

Reading dmesg, the GPU was failing to initialize, and reported as "wedged".  The issue seems to be related to the amount of memory allocated to the GPU; in the UEFI-setup it is set to 64M -- online reports are that increasing to 256MB fixes the problem. However, in my UEFI-setup there are only two choices, 32MB or 64MB.

Another recommendation is "intel_iommu=off" in the kernel commandline. Yes, that works, get a desktop. However, that seems a bit drastic, and another option "intel_iommu=igfx_off" works.

With the latter, the GPU still works; however, is disabled in VMs (Virtual Machines); at least that is what I uderstand from online reading. I can live with that.

I'm going to put "intel_iommu=igfx_off" as the default on the kernel commandline for the EasyOS USB-stick.

Note also, the 6.12.10 kernel, with updated firmware, audio works from the internal loadspeakers.

There is still a mystery; Manjaro does not require that "intel_iommu=igfx_off". I suppose there is some other kernel config setting that I did not pick up on.

Anyway, I was very happy today, seeing the desktop come up, and audio working!

Kernel source, patches and config here:

https://distro.ibiblio.org/easyos/source/kernel/6.12.x/6.12.10-20250121/

...the broadcom wl.ko and droidcam v4l2loopback-dc.ko compiled successfully. Running the kernel right now, aufs working ok. I will probably bump Easy Scarthgap and Daedalus to the 6.12.x kernel from now on.

EDIT:
Very interesting, the Manajaro kernel has been configured with this:

# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set

whereas, in EasyOS kernel, it is:

CONFIG_INTEL_IOMMU_DEFAULT_ON=y

So Manjaro kernel is defaulting to Intel IOMMU turned off. Looking at the grub bootup, the kernel commandline:

lang=en_US keytable=us tz=UTC misobasedir=manjaro misolabel=MANJARO_XFCE_2421 quiet systemd.show_status=1 splash apparmor=1 security=apparmor driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1

...not turned on there, so Manjaro has avoided the problem by running with "Intel_iommu=off". Hmmm, perhaps EasyOS is doing it a better way.       

Tags: easy

Installing Linux Mint on Asus Zenbook S 13

January 19, 2025 — BarryK

This is the 2024 Zenbook with Intel Ultra 7 CPU. I posted yesterday about installing Manjaro:

...what I didn't mention in that post is that booting from Limine, only get to the commandline, cannot start X. This is the XFCE version of Manjaro. I tried the usual methods of starting XFCE, but all I can get is an empty panel across top of screen. Type CTRL-ALT-DEL creates a shutdown window, and mouse suddenly starts working.

Today downloaded Linux Mint 22.1 Cinnamon, booted it on a USB-stick and installed to an ext4 partition in the Zenbook. I love the installer, lots of choices. Could not disable installing the bootloader; I had previously created a vfat esp partition, in which had installed Limine. No problem, Mint installed Grub in there as well. The UEFI setup now offers a choice of both.

Mint desktop works, sound works ...until the third bootup, then got a black screen. Thereafter a black screen, but booting in "compatibility mode" works -- that is using the vesa driver only.

This is what I now have in 'limine.cfg' file:

VERBOSE=no
TIMEOUT=10
DEFAULT_ENTRY=1
INTERFACE_BRANDING=EasyOS Limine Boot Manager
INTERFACE_RESOLUTION=800x600

:EasyOS Scarthgap test1 (/dev/nvme0n1p9 easyos/test1)
COMMENT=EasyOS Scarthgap bootup
RESOLUTION=1440x900
PROTOCOL=linux
KERNEL_PATH=boot://9/easyos/test1/vmlinuz
MODULE_PATH=boot://9/easyos/test1/initrd
KERNEL_CMDLINE=rw nomodeset
wkg_uuid=79ac733a-5f33-4875-bbdc-65d333bbd15f wkg_dir=easyos/test1/

:Linux Mint 22.1 (/dev/nvme0n1p8)
COMMENT=Linux Mint bootup
RESOLUTION=1440x900
PROTOCOL=linux
KERNEL_PATH=boot://8/boot/vmlinuz
MODULE_PATH=boot://8/boot/initrd.img
KERNEL_CMDLINE=rw nomodeset root=/dev/nvme0n1p8

...etc...

...notice the "nomodeset". The Zenbook screen is 2880x1800. Setting half that, 1440x900, in limine.cfg is just right on the 13" screen. Both distros run the desktop at that resolution. They both work real nice, except of course no GPU acceleration.    

Tags: easy