aboutsummaryrefslogtreecommitdiff
path: root/docs/previous-session-history.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-12 16:10:05 -0600
committerCraig Jennings <c@cjennings.net>2026-02-12 16:10:05 -0600
commita08dba2efd785ddea44639bdbb0af8c935fa9835 (patch)
tree196b6f6bf6ba0849637b61f6541f6926be53fd2c /docs/previous-session-history.org
parent80a1e7c73e90b250883e0a146664e6060ecba3a7 (diff)
downloadarchangel-a08dba2efd785ddea44639bdbb0af8c935fa9835.tar.gz
archangel-a08dba2efd785ddea44639bdbb0af8c935fa9835.zip
session: rebuild ISO for linux-lts 6.12.70, fix install test bugs
Fixed archzfs GPG key hang and pgrep false positive in test suite. Added local distribution targets to build-release. All tests passing.
Diffstat (limited to 'docs/previous-session-history.org')
-rw-r--r--docs/previous-session-history.org119
1 files changed, 119 insertions, 0 deletions
diff --git a/docs/previous-session-history.org b/docs/previous-session-history.org
index 8a87058..2c9d377 100644
--- a/docs/previous-session-history.org
+++ b/docs/previous-session-history.org
@@ -10,6 +10,125 @@ Sessions are listed in reverse chronological order (most recent first).
* Archived Sessions
+*** 2026-01-22 Thu @ 15:02 -0600
+
+*Status:* COMPLETE
+
+*What We Completed:*
+- Diagnosed and fixed ratio (Framework Desktop, AMD Strix Halo) boot failures
+- Root cause: missing linux-firmware 20260110 caused amdgpu to freeze at boot
+- Installed linux-firmware 20260110-1, fixed ZFS mountpoints, fixed hostid mismatch
+- Configured kernel 6.15.2 as default (pinned), created clean GRUB menu
+- Created retrospective workflow for continuous improvement
+- Added PRINCIPLES.org with behavioral lessons learned
+- Documented full troubleshooting session
+
+*Key Decisions:*
+- linux-firmware version is critical for AMD Strix Halo (20260110+ required)
+- ZFS rollback with separate /boot partition is dangerous - recommend ZFSBootMenu
+- Established retrospective workflow for major problem-solving sessions
+- Behavioral lessons go in PRINCIPLES.org, technical facts in session docs
+
+*Files Modified:*
+- [[file:../custom/archangel][custom/install-archzfs]] - Fixed mkinitcpio configuration
+- [[file:../todo.org][todo.org]] - Added ZFS rollback + /boot issue, ZFSBootMenu task
+- [[file:PRINCIPLES.org][docs/PRINCIPLES.org]] - New file with behavioral lessons
+- [[file:protocols.org][docs/protocols.org]] - Added PRINCIPLES.org to session startup
+- [[file:retrospectives/2026-01-22-ratio-boot-fix.org][docs/retrospectives/]] - Retrospective for this session
+- [[file:2026-01-22-ratio-boot-fix-session.org][docs/2026-01-22-ratio-boot-fix-session.org]] - Full technical session doc
+
+*Commits Made:*
+- c46191c: Fix ratio boot issues: firmware, mkinitcpio, and document ZFS rollback dangers
+- 9100517: Update ratio session doc: kernel 6.15.2 now default with clean GRUB menu
+- e5aedfa: Add retrospective workflow and PRINCIPLES.org for continuous improvement
+
+*Next Steps:*
+- Implement ZFSBootMenu on ratio to solve /boot rollback issue
+- Consider adding ZFSBootMenu to install-archzfs as alternative to GRUB
+
+*** 2026-01-18 Sat @ 16:30 -0600
+
+*Status:* COMPLETE
+
+*What We Completed:*
+- Completed RESCUE-GUIDE.txt with all 8 sections fully documented
+- Added final round of utility packages to ISO:
+ - Disk tools: ncdu, tree
+ - Hardware diagnostics: iotop
+ - Network: speedtest-cli, mosh, aria2, tmate, sshuttle
+ - Security: pass (password manager)
+- Removed AUR-only packages that broke build: safecopy, ms-sys, dislocker, nwipe
+- Successfully rebuilt ISO (5.1GB)
+- Copied ISO to truenas.local:/mnt/vault/isos and ~/downloads/isos
+- Wrote ISO to USB drives (/dev/sda 1TB, /dev/sdb 240GB)
+- Ran all tests:
+ - zfs-snap-prune unit tests: 22/22 PASSED
+ - VM install test (single-disk): PASSED
+ - VM install test (mirror): PASSED
+ - VM install test (raidz1): PASSED
+- Marked "Add common recovery tools" TODO as DONE
+
+*Commits Made:*
+- 36aa130: Add utility tools and rescue guide documentation
+- 6f4fd68: Remove AUR-only packages from ISO build
+
+*Files Modified:*
+- [[file:../build.sh][build.sh]] - Added utility packages, removed AUR-only packages
+- [[file:../custom/RESCUE-GUIDE.txt][custom/RESCUE-GUIDE.txt]] - Completed all 8 sections
+- [[file:../TODO.org][TODO.org]] - Marked recovery tools task as DONE
+- [[file:session-context.org][docs/session-context.org]] - Updated session state
+
+*Key Technical Notes:*
+- AUR packages cannot be included in mkarchiso builds without custom AUR handling
+- Documented AUR tools (safecopy, ms-sys, dislocker, nwipe) in RESCUE-GUIDE with install instructions
+- ISO now doubles as a comprehensive rescue/recovery disk
+
+*Next Steps:*
+- Test booting from physical USB drive on real hardware
+- Consider CI/CD pipeline for automated ISO builds
+- Consider adding ISO to GRUB boot menu for on-disk recovery
+
+*** 2026-01-17 Sat @ 17:10 -0600
+
+*Status:* IN PROGRESS
+
+*What We Completed:*
+- Fixed ZFS kernel module mismatch by switching to linux-lts + zfs-dkms
+- Fixed bootloader to use linux-lts kernel (was defaulting to regular linux)
+- Fixed broadcom-wl dependency (switched to broadcom-wl-dkms)
+- Updated mkinitcpio preset for linux-lts with archiso config
+- Fixed install-archzfs bugs:
+ - =[[ ]] && error= pattern causing early exit with =set -e= (changed to if/then)
+ - 50G reservation on 50G disk (now dynamic: 20% of pool, capped 5-20G)
+ - sanoid not in official repos (moved to archsetup)
+ - grub-mkfont needs freetype2 package (added to pacstrap)
+- Removed sanoid/syncoid from install-archzfs (archsetup will handle)
+- Created inbox item for archsetup with full sanoid/syncoid config
+- ISO now 4.8G (was 5.4G) - only linux-lts kernel
+
+*Key Technical Insights:*
+- =broadcom-wl= depends on =linux= kernel specifically - use =broadcom-wl-dkms= instead
+- archiso releng profile has linux.preset in airootfs that needs renaming to linux-lts.preset
+- With =set -e=, =[[ test ]] && command= returns exit code 1 if test is false, causing script exit
+- =grub-mkfont= requires =freetype2= package (not installed by default with grub)
+
+*Files Modified:*
+- [[file:../build.sh][build.sh]] - major updates for linux-lts, bootloader configs, mkinitcpio preset
+- [[file:../custom/archangel][custom/install-archzfs]] - multiple bug fixes, removed sanoid/syncoid
+- [[file:~/code/archsetup/inbox/zfs-sanoid-detection.txt][archsetup inbox]] - sanoid/syncoid config for archsetup to implement
+
+*Current State:*
+- ISO builds successfully with linux-lts + zfs-dkms
+- ZFS module loads correctly in live environment
+- install-archzfs runs through most steps
+- Last error: grub-mkfont missing freetype2 (now fixed, needs rebuild/test)
+
+*Next Steps:*
+- Rebuild ISO with freetype2 fix
+- Complete full install-archzfs test in VM
+- Test booting the installed system
+- Git commit all changes
+
*** 2026-01-17 Sat @ 13:16 -0600
*Status:* COMPLETE (continued above)