Bug 197160 - freebsd-update upgrade 10.0 -> 10.1 segmentation faults
Summary: freebsd-update upgrade 10.0 -> 10.1 segmentation faults
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.0-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2015-01-29 00:32 UTC by freebsd
Modified: 2016-12-20 22:10 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2015-01-29 00:32:39 UTC
freebsd-update upgrade 10.0-RELEASE-p?? -> 10.1-RELEASE-p4

Have found running freebsd-update install after the first required reboot has ~50% failure rate with segmentation faults from install, then then with most commands eg. ls -lrt .....

The issue lies with updating the /libexec/ld-elf* files.

Hopefully before reboot cp /libexec/ld-elf* from a patched up 10.1 system into /tmp on the system being upgraded.

Follow the normal freebsd-update upgrade procedure
If segmentation faults start spitting out suspend freebsd-update install (ctrl+z)
Then kill any freebsd-update processes
run "/rescue/cp -f /tmp/ld-elf* /libexec/"
restart freebsd-update install
Continue with the normal freebsd-update upgrade procedure

Warning: DONOT reboot the PC until you have updated the /libexec/ld-elf* files.
As you will not be able to get back into the system.
A workaround used in this instance: mount HD on another system & copy the files

If files not already copied:
put on a flash drive and use /rescue/mount_msdosfs /dev/??? /mnt to access after killing freebsd-update above