site  contact  history  index

Kernel 5.15.79 compiled with vmd.ko builtin

November 26, 2022 — BarryK

Sometime ago, Ramachandra Iyer purchased a new HP laptop, but found that EasyOS and some of the pups would not recognize the NVME SSD at early bootup. This meant that unable to install any of these distros to the internal drive.

He is able to boot from a USB-stick, and the NVME SSD is recognized after bootup, which does seem to indicate that a kernel module is required to be loaded. I searched online and found some posts that indicate the culprit is the 'vmd.ko' module, for example:

https://www.reddit.com/r/archlinux/comments/lxx54z/arch_linux_not_detecting_nvme_storage_on_boot/

I posted to the forum, asking him to test if vmd.ko gets loaded:

https://forum.puppylinux.com/viewtopic.php?p=73525#p73525

Other linux distributions are able to copy a kernel module into the initrd, and it will be loaded at early bootup. EasyOS does not load modules in the initrd, and relies on a big kernel with all required drivers to detect the drives being builtin to the kernel.

I have compiled the 5.15.79 kernel with vmd.ko builtin. This does not guarantee to fix Ramachandra Iyer's problem, but from online reading it does seem likely. Keeping the fingers crossed that it does.

Device Drivers > PCI support > PCI controller drivers
<*> Intel Volume Management Device Driver CONFIG_VMD

Easy 4.5.2 will be released very soon.  

Tags: easy

Tor browser 11.5.8 SFS created

November 25, 2022 — BarryK

There is a thread in the forum discussing how to get the Tor browser working in EasyOS. I succeeded and posted some notes here:

https://forum.puppylinux.com/viewtopic.php?p=73616#p73616

That 'shim.c' was obtained from here:

https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/40693

I setup a folder 'tor_11.5.8-en_amd64' with opt/tor-browser and some other folders and files, and ran 'dir2sfs'. However, Tor browser required some extra manual modifications to get it to work.

I want to run it non-root, but that is complicated. The mainline distributions do not provide Tor browser as a package; instead they provide an installer, that downloads the tarball from the Tor browser website.

One reason for doing this is that everything under the 'tor-browser' folder has to have user:group the same as the current running user. I got around this problem by running "chown -R spot:spot tor-browser", and then manually edited tor_11.5.8-en_amd64/usr/bin to run Tor browser as user spot, instead of the usual "tor" user.

I also created files under tor_11.5.8-en_amd64/opt/tor-browser/Browser/.config to get audio to work. Tor-browser changes the $HOME variable from /home/spot to /opt/tor-browser/Browser, which broke pulseaudio.

After manual changes to folder 'tor_11.5.8-en_amd64', ran 'mksquashfs' to rebuild the SFS. Oh, sorry, it is only en_US.

It is uploaded, so click on the "sfs" icon to download and install. You may install to the main filesystem or to a container.

In both cases, Tor browser runs as user spot. Yes, user spot even in the container, so inside a container even if an intruded got out of spot, they would still be in "crippled root".

I tested YouTube on both of them, just a modest test playing at 720p. Both played OK, sound worked, but I noticed loading of the web page slower in the container.

Reckon it will be pretty safe to run on the main filesystem, as it is running as spot, and it is based in Firefox and uses Firefox's sandbox.  

Tags: easy

Fix top-level /.config and /.local at startup

November 23, 2022 — BarryK

In EasyOS 4.5.1 (and earlier), after bootup you will see top-level folders /.config and /.local, with folders and files inside them. This should not be happening; they should be created under /root

There is a misconfiguration somehow, HOME='/' when enter /etc/rc.d/rc.sysinit, whereas it should be HOME='/root'

Login has not yet happened when execute /etc/rc.d/rc.sysinit. At login, /etc/profile will run, as well as files in /etc/profile.d, which will set many variables, and as Easy logs in a the root user, it will set HOME='/root'. However, it is required to be set to "/root" before that, when /etc/rc.d/rc.sysinit runs.

A fix has been committed:

https://github.com/bkauler/woofq/commit/6ce576b2421ea78c43cab3c5f55bd5213244e4df

The fix has worked.   

Tags: easy

pFind right-click on a folder

November 23, 2022 — BarryK

EasyOS 4.5.1 introduced right-click on a folder in ROX-Filer to run pFIND file-search app:

https://forum.puppylinux.com/viewtopic.php?p=72713#p72713

However, that only runs pFind via the "Exec=" line in /usr/share/applications/pfind.desktop.

It is required to run pfind with "-d $1", so I have modified /usr/sbin/build-rox-sendto script to handle this:

https://github.com/bkauler/woofq/commit/5127747cbe8ec143621b676337762c2e96be8f18

...now it works properly.    

Tags: easy

arp-scan 1.9.8 compiled in OE

November 21, 2022 — BarryK

It was a long time ago that I added a recipe to build arp-scan in OpenEmbedded. That was version 1.9:

https://bkhome.org/news/201710/arp-scan-bbe-pnscan-added-to-oe.html

What we found is that it doesn't work anymore:

https://bkhome.org/news/202211/easyshare-needs-some-tlc.html

I think also, rcrsn51's PeasyScan uses arp-scan.

For EasyOS 4.5.1, arp-scan 1.9.8 was compiled in a running Easy and a PET created. Now, however, I have compiled it in OE, and checked that it does work:

# arp-scan --localnet
Interface: eth0, type: EN10MB, MAC: a4:ae:11:16:23:58, IPv4: 192.168.1.5
Starting arp-scan 1.9.8 with 256 hosts (https://github.com/royhills/arp-scan)
192.168.1.1 f4:28:53:78:bd:20 Zioncom Electronics (Shenzhen) Ltd.
192.168.1.4 00:24:21:5c:b2:af MICRO-STAR INT'L CO., LTD.

New recipe in OE:

https://github.com/bkauler/oe-qky-dunfell/commit/6cc3c4769145e1c7c7fcd9d7aa0f9cd8d42f70e3

Project page:

https://salsa.debian.org/pkg-security-team/arp-scan

Have changed the package-list in woofQ so now will build with the arp-scan from OE.   

Tags: easy

Arch Linux wiki page for Limine boot-loader

November 21, 2022 — BarryK

Limine is catching on! The Arch Linux guys have created a wiki page:

https://wiki.archlinux.org/title/Limine

A very good overview.   

Tags: easy

EasyOS Dunfell-series 64-bit version 4.5.1 released

November 19, 2022 — BarryK

This is, mostly, a bug-fix release of version 4.5, that was released on November 12, 2022. If you are new to Easy, please read that announcement, as it has more introductory descriptions:

https://bkhome.org/news/202211/easyos-dunfell-series-64-bit-version-45-released.html

If you already have Easy 4.5, booting either from a USB-stick, other external drive such as SD-card, or from an internal drive, you will be able to click on the "update" icon on the desktop to download a small "difference file", which, in the case of 4.5-to-4.5.1 is only 2.8MB.

However, this difference-file mechanism (that we also call "delta files"), requires the full image file of the current release. If you haven't updated before and this is the first time you will be doing an update, copy the 'easy-4.5-amd64.img' file to /mnt/wkg. That's it, then you can update.

After updating, /mnt/wkg/easy-4.5.1-amd64.img will exist and you can leave it there, ready for the next update.

After releasing 4.5, it turned out that there was a lot wrong with EasyShare, that is launched via the "share" icon on the desktop. I have done some testing and it is now working properly and touch-wood will also be working for you. There are some more changes and a couple of package updates, see the release notes:

https://distro.ibiblio.org/easyos/amd64/releases/dunfell/2022/4.5.1/release-notes.htm

Download English, French and German builds courtesy of ibiblio:

https://distro.ibiblio.org/easyos/amd64/releases/dunfell/2022/4.5.1/

And kindly mirrored by NLUUG:

https://ftp.nluug.nl/os/Linux/distr/easyos/amd64/releases/dunfell/2022/4.5.1/

You are most welcome to join the discussion on the forum, continuing the 4.5 thread on page-3:

https://forum.puppylinux.com/viewtopic.php?t=7315&start=20

We have been playing with ideas for a new logo, and you will find one that looks nice in the bootup screen -- in the initrd, where you are asked for a password. if you would like to contribute feedback on the logo, see this forum thread:

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

Have fun!    

Tags: easy

SCSI mpt3sas kernel module added

November 18, 2022 — BarryK

A lot of kernel SCSI modules are removed when building EasyOS, to save space. Forum member wdt wants mpt3sas.ko, discussed in forum thread:

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

The module is 500KB, but ok, have included it, see commit:

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

Note, missing modules are in the PET:

https://distro.ibiblio.org/easyos/amd64/packages/pet/pet_packages-dunfell/linux_kernel-5.15.78-20221111-dunfell64.pet  

Tags: easy