Tag Archives: gentoo

Gentoo Gnome 44 with Kernel 6.2.8

Gnome 44 is in the Gentoo repository, not stable yet. The transition was not as painful as my early transition to Gnome 43. The only issue so far has been gnome-clocks, but that is very minor. Most extensions worked, had a like replacement, or after tweaking the metadata.json file version.

Edited 3-27: After update to vala-0.56.4, gnome-clocks-44.0 compiled and installed.

Gnome 42

I thought I would never reach a stable Gnome 42 install! The big issue was the mouse movement. Everything was fine under xorg, but mouse movement and overall screen image sucked under Wayland. Anyway, the mouse is sync’d to display resolution and my refresh rate was set to something like 24hz, I do not know how that happened. Either way, all fixed now.

Traditionally, GNOME Shell has been compressing pointer motion events so its handling is synchronized to the monitor refresh rate, this means applications would typically see approximately 60 events per second (or 144 if you follow the trends).

https://blogs.gnome.org/shell-dev/2021/12/08/an-eventful-instant/

Linux littleturd 5.17.14-gentoo-hpz820-mgreene #2 SMP PREEMPT Thu Jun 9 21:06:34 EDT 2022 x86_64 Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz GenuineIntel GNU/Linux

Gnome 40

EDIT 16 May 21: gnome-40.0.ebuild is in portage

emerge –autounmask-write =gnome-40.0 and etc-update should make it available – good luck!

Also – I am having good luck with wayland enabled – so far!

The big gnome change from vertical to horizontal.

NUC7PJYH: Closing out Gentoo on the Intel NUC

Well, the NUC is done and everything to working. It is definitely not a speed demon, Geekbench scores prove it with a 158 Single-Core Score and 570 Multi-Core Score.

NUC: Gnome Screen
NUC: Gnome Overview with settings window, dash to dock, and workspaces to dock.

I did try Wayland, and it worked well except for my extensions, so I settled on X11.

I have placed the system configuration on Gitlab including: kernel config, hardware info, files installed, and all that good stuff that should make installation easier. The entire Gentoo install is about 14 Gig and that includes Libreoffice and Firefox binary packages.

Model: Apricorn SATAWire (scsi)
Disk /dev/sdb: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name    Flags
 1      1049kB  3146kB  2097kB  ext2            spacer  bios_grub
 2      3146kB  108MB   105MB   fat32           boot    boot, esp
 3      108MB   9772MB  9664MB  linux-swap(v1)  swap    swap
 4      9772MB  250GB   240GB   ext4            rootfs

Filesystem      Size  Used Avail Use% Mounted on
/dev/root       456G   14G  442G   3% /
devtmpfs        3.5G     0  3.5G   0% /dev
tmpfs           3.5G     0  3.5G   0% /dev/shm
tmpfs           1.4G  1.5M  1.4G   1% /run
tmpfs           3.5G   72K  3.5G   1% /tmp
/dev/sda2       247M   16M  231M   7% /boot
tmpfs           712M   64K  712M   1% /run/user/997
tmpfs           712M   92K  712M   1% /run/user/1000

Everything is working for me: Ethernet, Wireless, Bluetooth, Video, Sound, USB, and SDCard Reader.

00:00.0 Host bridge: Intel Corporation Gemini Lake Host Bridge (rev 03)
	DeviceName: Onboard - Other
	Subsystem: Intel Corporation Gemini Lake Host Bridge
	Flags: bus master, fast devsel, latency 0

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 605 (rev 03) (prog-if 00 [VGA controller])
	DeviceName: Onboard - Video
	Subsystem: Intel Corporation UHD Graphics 605
	Flags: bus master, fast devsel, latency 0, IRQ 135
	Memory at a0000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 90000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [100] Process Address Space ID (PASID)
	Capabilities: [200] Address Translation Service (ATS)
	Capabilities: [300] Page Request Interface (PRI)
	Kernel driver in use: i915
	Kernel modules: i915

00:0c.0 Network controller: Intel Corporation AC 1550i Wireless (rev 03)
	DeviceName: Onboard - Ethernet
	Subsystem: Intel Corporation AC 1550i Wireless
	Flags: bus master, fast devsel, latency 0, IRQ 44
	Memory at a1314000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [80] MSI-X: Enable+ Count=16 Masked-
	Capabilities: [100] Null
	Capabilities: [14c] Latency Tolerance Reporting
	Capabilities: [164] Vendor Specific Information: ID=0010 Rev=0 Len=014 <?>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

00:0e.0 Audio device: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 03) (prog-if 80)
	DeviceName: Onboard - Sound
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio
	Flags: bus master, fast devsel, latency 0, IRQ 136
	Memory at a1310000 (64-bit, non-prefetchable) [size=16K]
	Memory at a1000000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [50] Power Management version 3
	Capabilities: [80] Vendor Specific Information: Len=14 <?>
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:0f.0 Communication controller: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface (rev 03)
	DeviceName: Onboard - Other
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface
	Flags: bus master, fast devsel, latency 0, IRQ 125
	Memory at a131f000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [50] Power Management version 3
	Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [a4] Vendor Specific Information: Len=14 <?>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:12.0 SATA controller: Intel Corporation Celeron/Pentium Silver Processor SATA Controller (rev 03) (prog-if 01 [AHCI 1.0])
	DeviceName: Onboard - SATA
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor SATA Controller
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 124
	Memory at a1318000 (32-bit, non-prefetchable) [size=8K]
	Memory at a131e000 (32-bit, non-prefetchable) [size=256]
	I/O ports at f090 [size=8]
	I/O ports at f080 [size=4]
	I/O ports at f060 [size=32]
	Memory at a131d000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [70] Power Management version 3
	Capabilities: [a8] SATA HBA v1.0
	Kernel driver in use: ahci

00:13.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 122
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: a1200000-a12fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Intel Corporation Gemini Lake PCI Express Root Port
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Null
	Capabilities: [140] Access Control Services
	Capabilities: [150] Null
	Capabilities: [200] L1 PM Substates
	Kernel driver in use: pcieport

00:13.2 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 123
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 0000e000-0000efff [size=4K]
	Memory behind bridge: a1100000-a11fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Intel Corporation Gemini Lake PCI Express Root Port
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Null
	Capabilities: [140] Access Control Services
	Capabilities: [150] Null
	Capabilities: [200] L1 PM Substates
	Kernel driver in use: pcieport

00:15.0 USB controller: Intel Corporation Celeron/Pentium Silver Processor USB 3.0 xHCI Controller (rev 03) (prog-if 30 [XHCI])
	DeviceName: Onboard - Other
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor USB 3.0 xHCI Controller
	Flags: bus master, medium devsel, latency 0, IRQ 126
	Memory at a1300000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [70] Power Management version 2
	Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
	Capabilities: [90] Vendor Specific Information: Len=14 <?>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:1c.0 SD Host controller: Intel Corporation Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller (rev 03) (prog-if 01)
	DeviceName: Onboard - Other
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller
	Flags: bus master, fast devsel, latency 0, IRQ 39
	Memory at a131c000 (64-bit, non-prefetchable) [size=4K]
	Memory at a131b000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] Vendor Specific Information: Len=14 <?>
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci

00:1f.0 ISA bridge: Intel Corporation Celeron/Pentium Silver Processor LPC Controller (rev 03)
	DeviceName: Onboard - Other
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor LPC Controller
	Flags: bus master, medium devsel, latency 0

00:1f.1 SMBus: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 03)
	DeviceName: Onboard - Other
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model
	Flags: medium devsel, IRQ 20
	Memory at a131a000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f040 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
	Subsystem: Intel Corporation RTS5229 PCI Express Card Reader
	Flags: bus master, fast devsel, latency 0, IRQ 127
	Memory at a1200000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number 00-00-00-01-00-4c-e0-00
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	DeviceName: Onboard - RTK Ethernet
	Subsystem: Intel Corporation RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
	Flags: bus master, fast devsel, latency 0, IRQ 20
	I/O ports at e000 [size=256]
	Memory at a1104000 (64-bit, non-prefetchable) [size=4K]
	Memory at a1100000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 01
	Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Virtual Channel
	Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
	Capabilities: [170] Latency Tolerance Reporting
	Capabilities: [178] L1 PM Substates
	Kernel driver in use: r8169
	Kernel modules: r8169

NUC7PJYH: Gentoo UEFI Configure

This is no fun exercise. I did this over a year ago with my Asrock system, but of course did not record the exact steps, so I had to learn all over again.

The best start is to use the Gentoo Handbook example. I used a combination of fdisk and parted for the drive layout. As a note, I swapped to an EVO850 500G SSD that I had laying around. The following is how my SSD is layed out with a fdisk first, followed by a parted list:

fdisk -l:
Disk /dev/sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 850 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: B8C5EDC2-AAB2-5142-B4FC-23FA7FCD69E4

Device        Start       End   Sectors   Size Type
/dev/sda1      2048      6143      4096     2M BIOS boot
/dev/sda2      6144    518143    512000   250M EFI System
/dev/sda3    518144  21489663  20971520    10G Linux swap
/dev/sda4  21489664 976773134 955283471 455.5G Linux filesystem

parted -l:
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name    Flags
 1      1049kB  3146kB  2097kB  ext2            grub    bios_grub
 2      3146kB  265MB   262MB   fat32           boot    boot, esp
 3      265MB   11.0GB  10.7GB  linux-swap(v1)  swap    swap
 4      11.0GB  500GB   489GB   xfs             rootfs

The sda2 partition is the normal boot partition for the kernel, followed by swap, and then sda4 as the root partition. So, what about sda1? Well it is there to provide space for grub to the best of my knowledge, but it is not used. Why use xfs for the rootfs? Because I have never used it before … I will probably downsize to a 250G SSD and switch to ext4 later because I have heard the 5.10 kernels have improvements/changes.

Next, install grub following the handbook. Note, you should be using the handbook as a guide, so at this point the drive is mounted, stage3 is installed, etc … I mount sda4 and sda2 using my script from the previous post and chroot into the image. Finally, execute:

grub-install --target=x86_64-efi --efi-directory=/boot

Typical issues with Gentoo are panics on the first start. Sometimes it is the grub configuration. For the above, I have the following in /etc/default/grub:

GRUB_CMDLINE_LINUX="root=/dev/sda4"

Other times, it could be that you are not using an initial ram disk (I do not) which case the filesystem needs to be compiled into the kernel and not as a modules.

NUC7PJYH: Installing Gentoo

Start

This project was a real rocky start. I was having a hard time booting off the USB and more trouble with a USB keyboard attached. However, when I could get the unit to boot, the chroot worked and I could compile. I was to the point think the unit was bad, so I stopped the install and started checking the problem by removing external hardware from the board. I was down to the RAM sticks, so I reseated both sticks, but as much compiling I had done on the unit, I would have expected a RAM issue show during heavy compiling.

As a last effort, that should have been an earlier effort, I updated the BIOS/UEFI. The unit had a 10/15/2019, version 1510. I had the same problem with the Asrock board, until I updated the firmware, it did not play nice. Now the unit shows the SATA drive as a possible boot option in the UEFI shell.

No way I am going over the install of Gentoo, but here are a couple references:

However, I can throw up a couple tips from years of installing Gentoo.

My Gentoo Install Tips

  • Use the Minimal Install CD  Not sure if there is a LiveDVD, but use the current minimal because it is updated. Download the iso and burn it to a USB
  • Connect the system you are installing to via ethernet cable. After booting with the above USB, do the following:
1. use passwd to give the install system a root password
2. edit /etc/ssh/sshd_config to PasswordAuthentication yes (default is no) and PermitRootLogin yes (default is commented out and prohibit-password). Save the file.
3. run /etc/init.d/ sshd start
4. do ‘ip a’ to get the install machine’s IP address
5. now you should be able to ssh and do the install from your main system.

 

  • Once the install USB loads and I can ssh into the system, it is the drive configuration. I do that in next post, but for reference I ‘mkdir /xxx’ on the running install system and mount all my partitions. Then I run the script below which is in the root of all my Gentoo systems. With that done, all that is left is a ‘chroot /xxx /bin/bash’ and then ‘source /etc/profile’
#!/bin/bash

mount --types proc /proc /xxx/proc
mount --rbind /sys /xxx/sys
mount --make-rslave /xxx/sys
mount --rbind /dev /xxx/dev
mount --make-rslave /xxx/dev

Internals

lspci

00:00.0 Host bridge: Intel Corporation Gemini Lake Host Bridge (rev 03)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 605 (rev 03)
00:0c.0 Network controller: Intel Corporation Device 31dc (rev 03)
00:0e.0 Audio device: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 03)
00:0f.0 Communication controller: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface (rev 03)
00:12.0 SATA controller: Intel Corporation Device 31e3 (rev 03)
00:13.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
00:13.2 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
00:15.0 USB controller: Intel Corporation Device 31a8 (rev 03)
00:1c.0 SD Host controller: Intel Corporation Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation Device 31e8 (rev 03)
00:1f.1 SMBus: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 03)
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Install CD boot inside chroot: lshw

livecd                      
    description: Computer
    product: NUC7PJYH
    vendor: Intel(R) Client Systems
    version: J67992-404
    serial: G6JY020001Q9
    width: 4294967295 bits
    capabilities: smbios-3.1 dmi-3.1 smp vsyscall32
    configuration: boot=normal family=JY uuid=DBC56638-F377-2C29-5B8C-1C697A64A2F2
  *-core
       description: Motherboard
       product: NUC7JYB
       vendor: Intel Corporation
       physical id: 0
       version: J67969-404
       serial: GEJY01400BA8
       slot: Default string
     *-firmware
          description: BIOS
          vendor: Intel Corp.
          physical id: 0
          version: JYGLKCPX.86A.0053.2019.1015.1510
          date: 10/15/2019
          size: 64KiB
          capacity: 6592KiB
          capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int14serial int17printer acpi usb biosbootspecification uefi
     *-memory
          description: System Memory
          physical id: 18
          slot: System board or motherboard
          size: 8GiB
        *-bank:0
             description: SODIMM DDR4 Synchronous 2400 MHz (0.4 ns)
             product: CT4G4SFS824A.C8FE
             vendor: Crucial
             physical id: 0
             serial: 22982412
             slot: SODIMM1
             size: 4GiB
             width: 64 bits
             clock: 2400MHz (0.4ns)
        *-bank:1
             description: SODIMM DDR4 Synchronous 2400 MHz (0.4 ns)
             product: CT4G4SFS824A.C8FE
             vendor: Crucial
             physical id: 1
             serial: 22990315
             slot: SODIMM2
             size: 4GiB
             width: 64 bits
             clock: 2400MHz (0.4ns)
     *-cache:0
          description: L1 cache
          physical id: 24
          slot: L
          size: 224KiB
          capacity: 224KiB
          capabilities: synchronous internal write-back
          configuration: level=1
     *-cache:1
          description: L2 cache
          physical id: 25
          slot: e
          size: 4MiB
          capacity: 4MiB
          capabilities: synchronous internal write-back unified
          configuration: level=2
     *-cpu
          description: CPU
          product: Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz
          vendor: Intel Corp.
          physical id: 26
          bus info: cpu@0
          version: Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz
          slot: SOCKET 0
          size: 2696MHz
          capacity: 2800MHz
          width: 64 bits
          clock: 100MHz
          capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault cat_l2 pti cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust smep erms mpx rdt_a rdseed smap clflushopt intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts umip rdpid md_clear arch_capabilities cpufreq
          configuration: cores=4 enabledcores=4 threads=4
     *-pci
          description: Host bridge
          product: Gemini Lake Host Bridge
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 03
          width: 32 bits
          clock: 33MHz
        *-display UNCLAIMED
             description: VGA compatible controller
             product: UHD Graphics 605
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 03
             width: 64 bits
             clock: 33MHz
             capabilities: pciexpress msi pm vga_controller bus_master cap_list
             configuration: latency=0
             resources: memory:a0000000-a0ffffff memory:90000000-9fffffff ioport:f000(size=64) memory:c0000-dffff
        *-network
             description: Wireless interface
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: c
             bus info: pci@0000:00:0c.0
             logical name: wlo2
             version: 03
             serial: f8:e4:e3:30:45:08
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
             configuration: broadcast=yes driver=iwlwifi driverversion=5.4.80-gentoo-r1-x86_64 firmware=46.4d093a30.0 latency=0 link=no multicast=yes wireless=IEEE 802.11
             resources: irq:44 memory:a1314000-a1317fff
        *-multimedia
             description: Audio device
             product: Celeron/Pentium Silver Processor High Definition Audio
             vendor: Intel Corporation
             physical id: e
             bus info: pci@0000:00:0e.0
             version: 03
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress bus_master cap_list
             configuration: driver=snd_hda_intel latency=0
             resources: irq:126 memory:a1310000-a1313fff memory:a1000000-a10fffff
        *-communication UNCLAIMED
             description: Communication controller
             product: Celeron/Pentium Silver Processor Trusted Execution Engine Interface
             vendor: Intel Corporation
             physical id: f
             bus info: pci@0000:00:0f.0
             version: 03
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: latency=0
             resources: memory:a131f000-a131ffff
        *-storage
             description: SATA controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 12
             bus info: pci@0000:00:12.0
             version: 03
             width: 32 bits
             clock: 66MHz
             capabilities: storage msi pm ahci_1.0 bus_master cap_list
             configuration: driver=ahci latency=0
             resources: irq:122 memory:a1318000-a1319fff memory:a131e000-a131e0ff ioport:f090(size=8) ioport:f080(size=4) ioport:f060(size=32) memory:a131d000-a131d7ff
        *-pci:0
             description: PCI bridge
             product: Gemini Lake PCI Express Root Port
             vendor: Intel Corporation
             physical id: 13
             bus info: pci@0000:00:13.0
             version: f3
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:120 memory:a1200000-a12fffff
           *-generic
                description: Unassigned class
                product: RTS5229 PCI Express Card Reader
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:01:00.0
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=rtsx_pci latency=0
                resources: irq:125 memory:a1200000-a1200fff
        *-pci:1
             description: PCI bridge
             product: Gemini Lake PCI Express Root Port
             vendor: Intel Corporation
             physical id: 13.2
             bus info: pci@0000:00:13.2
             version: f3
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:121 ioport:e000(size=4096) memory:a1100000-a11fffff
           *-network
                description: Ethernet interface
                product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:02:00.0
                logical name: eno1
                version: 15
                serial: 1c:69:7a:64:a2:f2
                size: 1Gbit/s
                capacity: 1Gbit/s
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.149 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
                resources: irq:20 ioport:e000(size=256) memory:a1104000-a1104fff memory:a1100000-a1103fff
        *-usb
             description: USB controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 15
             bus info: pci@0000:00:15.0
             version: 03
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:123 memory:a1300000-a130ffff
           *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 5.4.80-gentoo-r1-x86_64 xhci-hcd
                physical id: 0
                bus info: usb@1
                logical name: usb1
                version: 5.04
                capabilities: usb-2.00
                configuration: driver=hub slots=9 speed=480Mbit/s
              *-usb:0
                   description: Mass storage device
                   product: Cruzer Glide
                   vendor: SanDisk
                   physical id: 1
                   bus info: usb@1:1
                   version: 1.27
                   serial: 4C530001270803117175
                   capabilities: usb-2.00 scsi
                   configuration: driver=usb-storage maxpower=200mA speed=480Mbit/s
              *-usb:1
                   description: Keyboard
                   product: 2.4G Receiver
                   vendor: Compx
                   physical id: 2
                   bus info: usb@1:2
                   version: 2.41
                   capabilities: usb-1.10
                   configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
              *-usb:2 UNCLAIMED
                   description: Bluetooth wireless interface
                   product: Bluetooth 9460/9560 Jefferson Peak (JfP)
                   vendor: Intel Corp.
                   physical id: 9
                   bus info: usb@1:9
                   version: 0.02
                   capabilities: bluetooth usb-2.00
                   configuration: maxpower=100mA speed=12Mbit/s
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 5.4.80-gentoo-r1-x86_64 xhci-hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 5.04
                capabilities: usb-3.00
                configuration: driver=hub slots=7 speed=5000Mbit/s
        *-generic
             description: SD Host controller
             product: Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: 03
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=sdhci-pci latency=0
             resources: irq:39 memory:a131c000-a131cfff memory:a131b000-a131bfff
        *-isa
             description: ISA bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 03
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-serial
             description: SMBus
             product: Celeron/Pentium Silver Processor Gaussian Mixture Model
             vendor: Intel Corporation
             physical id: 1f.1
             bus info: pci@0000:00:1f.1
             version: 03
             width: 64 bits
             clock: 33MHz
             configuration: driver=i801_smbus latency=0
             resources: irq:20 memory:a131a000-a131a0ff ioport:f040(size=32)
  *-scsi
       physical id: 1
       bus info: scsi@2
       logical name: scsi2
       capabilities: scsi-host
       configuration: driver=usb-storage

New Toy: Intel NUC 7 Essential Kit NUC7PJYH

I decided to start with an older, but a little higher end than the bottom NUC. At the time Walmart had the better price. On Ebay, a used unit can be had for $40 to $100 cheaper with some already containing RAM and an SSD. There is also a link off the Intel site to request a demo unit. I signed up, but have not heard back and I will try again.

ItemStoreCost
Intel NUC 7 Essential Kit NUC7PJYHWalmart$199.73
Crucial RAM 4GB DDR4 2400MHz CL17 Laptop Memory CT4G4SFS824AAmazon$16.99 x 2
Samsung SSD 860 EVO 250GB 2.5 Inch SATA III Internal SSD (MZ-76E250B/AM)Amazon$39.99
Total$273.70
All the parts

References:

Product Identification Information

A note about the NUC7-JY products that could catch a person off guard. Intel® NUC Products NUC7{x}JY{y}  {z}  Identification Information:

Product Name Intel NUC
Kit SA #
Intel® NUC
Board AA #
Differentiating Features
NUC7CJYH J67971-400 J67967-400 Kit with power adapter, no memory, no eMMC, no OS
NUC7PJYH J67992-400 J67969-400 Kit with power adapter, no memory, no eMMC, no OS
NUC7CJYS

J67993-400

J67994-400

J67970-400 Mini PC with power adapter, preinstalled with 4GB
2400MHz DDR4 SO-DIMM, 32GB e-MMC with
Microsoft* Windows* 10 Home

Note:
{x} = “C” for “Celeron”, “P” for “Pentium”:

  • Celeron is Intel Celeron processor (J4005), stepping B0, and S-Spec number SR3S5.
  • Pentium is Intel Pentium Silver processor (J5005), stepping B0, and S-Spec number SR3S3.

{y} = “H” for “kit” and “S” = “system”: The system comes with RAM, MMC, and Win10 Home.

{z} Here is the catchy thing that could surprise:

Product codes Power cord type
BOXNUC7CJYH / BOXNUC7PJYH No power cord included.
BOXNUC7CJYH1 / BOXNUC7PJYH1 US power cord included.
BOXNUC7CJYH2 / BOXNUC7PJYH2 EU power cord included.
BOXNUC7CJYH3 / BOXNUC7PJYH3 UK power cord included.
BOXNUC7CJYH4 / BOXNUC7PJYH4 Australia/New Zealand power cord included.
BOXNUC7CJYH5 / BOXNUC7PJYH5 India power cord included.
BOXNUC7CJYH9 / BOXNUC7PJYH9 Japan/Taiwan power cord included.

 

Unit bottom – screws to get in to the box.
The unit opened up.

The SSD slides in the bottom of the unit.

SSD insert

The below shows both 4G RAM sticks inserted and the SSD in place.

RAM installed

Next, Gentoo install …

Gentoo: Gnome-builder 3.38.1 error compiling with Sysprof 3.38.1

As of 24 December I was getting an error with dev-util/gnome-builder-3.38.1 and dev-util/sysprof-3.38.1 with the sysprof flag active. My compile config:

dev-util/gnome-builder-3.38.1 clang devhelp git glade gtk-doc spell sysprof  PYTHON_SINGLE_TARGET="python3_8"
dev-util/sysprof-3.38.1 gtk unwind

Sysprof has a /usr/include/sysprof-3 with duplicate headers that get picked up first and give redefine error when the same headers are included from sysprof-4. My quick and dirty fix:

cd /usr/include/sysprof-3

mv sysprof-version-macros.h _sysprof-version-macros.h
mv sysprof-clock.h _sysprof-clock.h
mv sysprof-capture-types.h _sysprof-capture-types.h
mv sysprof-capture-reader.h _sysprof-capture-reader.h
mv sysprof-address.h _sysprof-address.h
mv sysprof-capture-condition.h _sysprof-capture-condition.h
mv sysprof-capture-writer.h _sysprof-capture-writer.h
mv sysprof-collector.h _sysprof-collector.h
mv sysprof-capture-cursor.h _sysprof-capture-cursor.h
mv sysprof-platform.h _sysprof-platform.h
mv sysprof-capture.h _sysprof-capture.h

Gentoo: geany-plugins-1.37-r100 compile error with pretty-printer plugin enabled

The error:

PrettyPrinter.h:55:22: error: two or more data types in declaration specifiers
   55 | typedef unsigned int bool;
      |                      ^~~~
In file included from PluginEntry.h:34,
                 from PluginEntry.c:28:
PrettyPrinter.h:55:1: warning: useless type name in empty declaration
   55 | typedef unsigned int bool;
      | ^~~~~~~

Solution, comment out line 55 of PrettyPrinter.h and restart compile using ebuild followed by install and qmerge.