After b4cb3fe0e39a, loader started crashing on PowerPC64, with a
Program Exception (700) error. The problem was that archsw was
used before being initialized, with the new mount feature. This
change fixes the issue by initializing archsw earlier, before
setting currdev, that triggers the mount.
Details
Details
- Reviewers
jhibbits tsoome mhorne manu - Group Reviewers
PowerPC - Commits
- rGed726c3e34d8: powerpc64: fix loader regression
rG680ca739458b: powerpc64: fix loader regression
Tested on POWER9 VM, booting successfully with both Hash and Radix MMUs.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I think, it is still not set early enough; you want to have it set up before we run devsw probes.