/var/crash is empty after crash

Status
Not open for further replies.
SirDice said:

Doesn't really help me.
Any command to run or file to change?

Code:
> sudo dumpon -v /dev/ad10s1a
dumpon: ioctl(DIOCSKERNELDUMP): Operation not supported by device
> sudo savecore
savecore: no dumps found
 
You really should read better:
Calls to dumpon normally occur from the system multi-user initialization file /etc/rc, controlled by the ``dumpdev'' variable in the boot time configuration file /etc/rc.conf.
 
kenorb said:
> sudo dumpon -v /dev/ad10s1a
dumpon: ioctl(DIOCSKERNELDUMP): Operation not supported by device
Do you have a filesystem on that device? Not sure if DIOCSKERNELDUMP is allowed on any partition labeled other than swap, e.g. by a sanity check to prevent doadump() thrashing filesystem with data.
 
eye said:
Do you have a filesystem on that device? Not sure if DIOCSKERNELDUMP is allowed on any partition labeled other than swap, e.g. by a sanity check to prevent doadump() thrashing filesystem with data.

Yes, it works for swap, thanks.
Code:
> sudo dumpon -v /dev/ad10s1b
kernel dumps on /dev/ad10s1b
 
This topic is better suited for the FreeBSD developer mailing lists.
 
Status
Not open for further replies.
Back
Top