AIX: mkdev is waiting in kernel at et_wait

Hi All,

bash-3.2# ps -eaf | grep mkdev
    root 4378752 1548526   0 03:27:04      -  0:00 /usr/sbin/mkdev -c disk -s vscsi -t xyz -l virtualdev
bash-3.2#

Here we are trying to create a virtual device using mkdev and the device is already populated in the namespace and the corresponding ODMs but the command mkdev is in a hang state and not coming out.

In kernel, it is waiting at et_wait().

(0)> p * | grep mkdev
pvproc+10B400 1069 mkdev    ACTIVE 042D080 017A0EE 0000000046F14400   0 0001
(0)> tpid 042D080
                SLOT NAME     STATE    TID PRI   RQ CPUID  CL  WCHAN

pvthread+072F00 1839 mkdev    SLEEP 72F077 03C    0         0  
(0)> f 1839
pvthread+072F00 STACK:
[00055C74]et_wait+000298 (00000000D01D3A38, 000000000000D0B2,
   0000000000000400 [??])
[00463720]poll_wait+0000A4 (??, ??)
[0047C28C]_select+000BD0 (??, ??, ??, ??, ??, ??)
[00003810].svc_instr+000110 ()
[D044E220]D044E220 ()
[kdb_get_virtual_memory] no real storage @ 2FF1E7E042244234
(0)>

The following link is saying that the et_wait can miss the events. But it is fixed long back and did go through the section "PTF to Fileset Mapping" and fond that the package "bos.up" is missing on this server.

AIX server details are as follows:

bash-3.2# oslevel -s
5300-12-05-1140
bash-3.2#

Has anyone witnessed the same? Is this really fixed in this version of AIX kernel?

With Thanks,
Prasad

Perhaps some app is locking the Configuration Database? Check who is on the odm file with fuser: http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.powerha.trgd%2Fha_trgd_config_ddf.htm