Skip to content

Instantly share code, notes, and snippets.

View jmontleon's full-sized avatar

Jason Montleon jmontleon

View GitHub Profile
@jmontleon
jmontleon / gist:18a1bf737daa9913e1d6e3af68f39ec4
Created January 24, 2023 14:30
Add keycloak postgres container image SHA to the operator deployment
1. Mirror registry.access.redhat.com/rhscl/postgresql-10-rhel7@sha256:c90309cc7c5a039654b81c8d1b6aebfd447578841a61bf4d5530e7a927d5a832 internally
2. Configure an ImageContentSourcePolicy if not already done
3. Add the RELATED_IMAGE_POSTGRESQL to the rhsso-operator via the rhsso-operator CSV
$ oc edit csv -n openshift-mta rhsso-operator.7.6.1-opr-005
install:
spec:
deployments:
- name: rhsso-operator
[ 14.816254] ------------[ cut here ]------------
[ 14.816257] memcpy: detected field-spanning write (size 100) of single field "cpr_mconfig->gtw_cfg.config_data" at sound/soc/intel/skylake/skl-messages.c:554 (size 4)
[ 14.816287] WARNING: CPU: 3 PID: 1268 at sound/soc/intel/skylake/skl-messages.c:554 skl_init_module+0x757/0x770 [snd_soc_skl]
[ 14.816304] Modules linked in: nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables nfnetlink snd_soc_skl_ssp_clk qrtr snd_soc_kbl_rt5663_rt5514_max98927 bnep cros_ec_light_prox snd_sof_pci_intel_skl cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf i2c_hid_acpi snd_sof_intel_hda_common i2c_hid soundwire_intel industrialio soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp cros_usbpd_charger snd_sof snd_soc_hdac_hdmi snd_soc_dmic snd_sof_utils soundwire_b
Download the latest eve recovery image from chromiumdash.appspot.com/serving-builds
Unzip the file. As an example unzip chromeos_15117.112.0_eve_recovery_stable-channel_mp-v2.bin.zip
Create device maps sudo kpartx -av chromeos_15117.112.0_eve_recovery_stable-channel_mp-v2.bin
Mount the ChromeOS root filesystem sudo mount -o ro /dev/mapper/loop0p3 /mnt
sudo cp /mnt/lib/firmware/9d71-GOOGLE-EVEMAX-0-tplg.bin /lib/firmware/
sudo cp /mnt/lib/firmware/dsp_lib_dsm_core_spt_release.bin /lib/firmware/
sudo cp /mnt/lib/firmware/intel/dsp_fw_C75061F3-F2B2-4DCC-8F9F-82ABB4131E66.bin /lib/firmware/intel
@jmontleon
jmontleon / dmesg-call-trace.txt
Last active February 9, 2023 19:08
dmesg debug kernel call trace for kbl_rt5663_rt5514_max98927 lockup
[ 175.827296] grub2-set-bootf (1957) used greatest stack depth: 11512 bytes left
[ 247.615582] INFO: task kworker/0:1:14 blocked for more than 122 seconds.
[ 247.615600] Not tainted 6.1.9-200.fc37.x86_64+debug #1
[ 247.615607] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 247.615613] task:kworker/0:1 state:D stack:13080 pid:14 ppid:2 flags:0x00004000
[ 247.615637] Workqueue: pm pm_runtime_work
[ 247.615655] Call Trace:
[ 247.615660] <TASK>
[ 247.615696] __schedule+0x4c5/0x1740
[ 247.615749] schedule+0x5d/0xe0
diff --git a/sound/soc/codecs/hdac_hdmi.c b/sound/soc/codecs/hdac_hdmi.c
index ed4f7cdda04f..29d7352bc1e8 100644
--- a/sound/soc/codecs/hdac_hdmi.c
+++ b/sound/soc/codecs/hdac_hdmi.c
@@ -436,23 +436,28 @@ static int hdac_hdmi_setup_audio_infoframe(struct hdac_device *hdev,
return 0;
}
-static int hdac_hdmi_set_tdm_slot(struct snd_soc_dai *dai,
- unsigned int tx_mask, unsigned int rx_mask,
@jmontleon
jmontleon / gist:460bb6e9890e77aecfbd0a73868e0d92
Last active February 29, 2024 16:54
jellyfin 10.9.0 ppc64le build
diff --git a/fedora/Makefile b/fedora/Makefile
index 3188cf603..b5bcb056e 100644
--- a/fedora/Makefile
+++ b/fedora/Makefile
@@ -11,7 +11,7 @@ epel-7-x86_64_repos := https://packages.microsoft.com/rhel/7/prod/
fed_ver := $(shell rpm -E %fedora)
# fallback when not running on Fedora
fed_ver ?= 36
-TARGET ?= fedora-$(fed_ver)-x86_64
+TARGET ?= fedora-$(fed_ver)-ppc64le
@jmontleon
jmontleon / gist:8ab511c1261d10617664b44416d1f5df
Created February 28, 2024 00:57
jellyfin-web (10.8.0-2 -> ) 10.9.0-1 ppc64le build
diff --git a/build.yaml b/build.yaml
index 7b5b05ed8..0cbd506aa 100644
--- a/build.yaml
+++ b/build.yaml
@@ -1,7 +1,7 @@
---
# We just wrap `build` so this is really it
name: "jellyfin-web"
-version: "10.8.0"
+version: "10.9.0"
aiohttp==3.8.6; python_version < '3.12'
aiohttp==3.9.3; python_version >= '3.12'
aiolimiter==1.1.0
aiosignal==1.3.1
annotated-types==0.6.0
ansi2html==1.8.0
anyio==3.7.1
appnope==0.1.3
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
FS0:\> initrd iFSOpen: Open '.' Success
initramfs-6.8.5-300.1.riscv64.fc40.riscv64.img
FSOpen: Open '\initramfs-6.8.5-300.1.riscv64.fc40.riscv64.img' Success
FSOpen: Open '\initramfs-6.8.5-300.1.riscv64.fc40.riscv64.img' Success
InvalidateDataCacheRange:RISC-V unsupported function.
WriteBackDataCacheRange:RISC-V unsupported function.
InvalidateDataCacheRange:RISC-V unsupported function.
WriteBackDataCacheRange:RISC-V unsupported function.
InvalidateDataCacheRange:RISC-V unsupported function.
WriteBackDataCacheRange:RISC-V unsupported function.
@jmontleon
jmontleon / gist:ae5457e1d289719046f915a9cb83a32b
Last active July 15, 2024 23:32
Install Fedora 40 on the VisionFive 2
################################################################################################
There is some long text that needs to be copied into grub in order to boot.
You should be able to copy and paste it using minicom if you add a 1 or 2 ms delay to text input
Ctrl-A Z Minicom Menu
T Terminal Settings
F Character tx delay (ms)
2
################################################################################################
### Choose your SD Card