Solved gpart show - segmentation fault

Since about a couple of weeks ago I have been getting a segmentation fault when running gpart show

How do I diagnose this?

FreeBSD 11.0-RELEASE-p1 i386 on ThinkPad X61

I do not get this error when booting from a different FreeBSD partition on the same disk.
 
Try using truss and check its output. So, for example: truss -o gpart.log gpart show, then check what gpart.log shows you. Optionally you could also consider using ktrace(1) but then you'll need kdump to look at the results.

I'd start there.
 
I do not get this error when booting from a different FreeBSD partition on the same disk.
In another thread you also had problems with routing and errors during boot. I'd say this installation is FUBAR, remove it and reinstall.
 
did you compile from portsnap source or use pkg bin ?

what versions exactly are you using? what is "-p1" ? when you boot from other partition is it the same versions involved? is it a guid partitioning scheme?
 
The problems I had with gpart and routing mysteriously disappeared without making any changes....maybe it was an intermittant hardware fault, I'll never know... Funny things computers!

But thanks to everyone for the suggestions made.
 
Back
Top