Solaris Panics with an Illegal Instruction Fault in the exit() Function (Doc ID 1424414.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System - Version 8.0 and later
Information in this document applies to any platform.

Symptoms

Shortly after 'mdb -kw' was used to modify a variable in the live kernel, the system panicked with an 'illegal instruction fault'.

panic[cpu2]/thread=3000955b7e0:
BAD TRAP: type=10 rp=2a1013a7a40 addr=111d5d4 mmu_fsr=0

locale:
illegal instruction fault:
addr=0x111d5d4
pid=840, pc=0x111d5d4, sp=0x2a1013a72e1, tstate=0x9900001603, context=0x74e
g1-g7: 1054230, 0, 111d29c, 20, 18e1e88, 0, 3000955b7e0

000002a1013a7760 unix:die+9c (10, 2a1013a7a40, 111d5d4, 0, 2a1013a7820, 10000)
%l0-3: 00000000ff3f4310 0000000000000010 0000000000000202 00000000ff3f42d8
%l4-7: 0000000000000000 0000000000001cc4 0000000000001c00 00000000010b5c00
genunix: [ID 723222 kern.notice] 000002a1013a7840 unix:trap+1424 (2a1013a7a40, 10000, 0, 0, 30008890000, 3000955b7e0)
genunix: [ID 179002 kern.notice] %l0-3: 0000000000000000 0000030009070010 0000000000000010 0000030011c7f278
%l4-7: 0000000000000000 0000000000000000 0000009900001603 0000000000010200
000002a1013a7990 unix:ktl0+64 (1, 0, ff335900, 0, ff392a00, 11400)
%l0-3: 0000030008890000 0000000000000010 0000009900001603 000000000101fb14
%l4-7: 0000000000000001 0000000000000000 0000000000000000 000002a1013a7a40

Changes

The live kernel was being updated using 'mdb -kw', in this example setting a ZFS parameter.

# mdb -kw
Loading modules: [ unix genunix specfs dtrace ufs ldc nfs md ip hook neti sctp arp usba fctl nca lofs zfs random cpc crypto fcip ptm sppp ]
> zfs_vdev_max_pending/W0t10
zfs_vdev_max_pending: 0x19 = 0xa
> exit
exit: 0x9de3bf50 = 0xa

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms