Solaris 11.3 or Solaris 10 panic in devpolicy_find() when executing /usr/sbin/getdevpolicy

(Doc ID 2373139.1)

Last updated on MARCH 13, 2018

Applies to:

Solaris Operating System - Version 10 3/05 to 11.3 [Release 10.0 to 11.0]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)

Symptoms

 The panic string and panic stack will look similar to this:

BAD TRAP: type=31 rp=2a134df76f0 addr=3000532c108 mmu_fsr=0

CAT(vmcore.1/10V)> panic
panic on CPU 74
panic string: BAD TRAP: type=31 rp=2a134df76f0 addr=3000532c108 mmu_fsr=0
==== panic user (LWP_SYS) thread: 0x301788f1220 PID: 12483 on CPU: 74 ====
cmd: /usr/sbin/getdevpolicy /dev/icmp6 /dev/rsd5g /dev/ce /dev/sd0b
/dev/ttyra /dev/
t_procp: 0x30234956d80
p_as: 0x30239aa87d8 size: 1843200 RSS: 1392640
a_hat: 0x3018d920940
cnum: CPU72:31/40679
cpusran: 74
p_zone: 0x1a228a8 (global)
t_stk: 0x2a134df7ae0 sp: 0x198eda1 t_stkbase: 0x2a134df2000
t_pri: 0 (TS) pctcpu: 0.014406
t_transience: 1 t_wkld_flags: 0
t_lwp: 0x30238a65010 t_tid: 1
machpcb: 0x2a134df7ae0
lwp_ap: 0x30238a650c8
t_mstate: LMS_SYSTEM ms_prev: LMS_KFAULT
ms_state_start: 0.000161730 seconds earlier
ms_start: 0.003281400 seconds earlier
t_cpupart: 0x198fcb0(0) last CPU: 74
idle: 34022994 ticks (3d22h30m29.94s)
start: Fri May 19 13:37:32 2017
age: 0 seconds (0 seconds)
t_state: TS_ONPROC
t_flag: 0x1800 (T_PANIC|T_LWPREUSE)
t_proc_flag: 0x104 (TP_TWAIT|TP_MSACCT)
t_schedflag: 3 (TS_LOAD|TS_DONT_SWAP)
t_acflag: 3 (TA_NO_PROCESS_LOCK|TA_BATCH_TICKS)
p_flag: 0x4a004000 (SEXECED|SMSACCT|SAUTOLPG|SMSFORK)

pc: unix:panicsys+0x48: call unix:setjmp

void unix:panicsys+0x48((const char *)0x10c8588, (va_list)0x2a134df7498,
(struct regs *)0x198f770, (int)1, 0x1602, , , , , , , , 0x10c8588,
0x2a134df7498)
unix:vpanic_common+0x78(0x10c8588, 0x2a134df7498, 0x4b7b4, 0x2a134df6f91,
0x2a134df7790, 0x8800001605)
void unix:panic+0x1c((const char *)0x10c8588, (void *)0x31, 0x2a134df76f0,
0x3000532c108, 0, 0x400000, ...)
int unix:die+0x9c((unsigned)0x31, (struct regs *)0x2a134df76f0,
(caddr_t)0x3000532c108, (uint_t)0)
void unix:trap+0xa20((struct regs *)0x2a134df76f0, (caddr_t)0x3000532c108,
(uint32_t), (uint32_t))
unix:ktl0+0x64()
-- trap data type: 0x31 (data access MMU miss) rp: 0x2a134df76f0 --
addr: 0x3000532c108
pc: 0x111dd18 genunix:devpolicy_find+0xa8: lduw [%l4 + 0x8], %l3
npc: 0x111dd1c genunix:devpolicy_find+0xac: andcc %l3, 0x400 (
btst %l3, 0x400 )
global: %g1 0x12d02b4
%g2 0xffffffffffffffff %g3 0x1e
%g4 0x1f %g5 0x300414e7908
%g6 0 %g7 0x301788f1220
out: %o0 0xffffffffffffffff %o1 0x2a134df7848
%o2 0x11a %o3 0xffffffffffffffff
%o4 0x19dd400 %o5 0x3003f1dff28
%sp 0x2a134df6f91 %o7 0x111dcec
loc: %l0 0xff35c560 %l1 0
%l2 0xffffffffffffffff %l3 0x98
%l4 0x3000532c100 %l5 0x30005322000
%l6 0xa100 %l7 0xb
in: %i0 0x1a30800 %i1 0x1a2e800
%i2 0x19dd7e8 %i3 0xa10
%i4 0x170 %i5 0xb80
%fp 0x2a134df7051 %i7 0x111e658
<trap>devplcy_t *genunix:devpolicy_find+0xa8((vnode_t *))
int genunix:devpolicy_getbyname+0x7c((size_t)0x128, (devplcysys_t *)0x22338,
(char *)0xffbff84a)
int genunix:modctl+0x408((int), (uintptr_t), (uintptr_t)0x22338,
(uintptr_t)0xffbff84a, (uintptr_t), (uintptr_t)0xff35c560)
unix:syscall_trap32+0xcc()

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