Hello Omar,
This is usually caused by applying an AIX kernel fix/patch/update and not rebooting the system. The key message here is:
WARNING: Version mismatch between unix file and memory image
You can use the 'lslpp' and 'emgr' commands to see when the kernel was updated last:
$ lslpp -h bos.mp64
Fileset Level Action Status Date Time
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
bos.mp64
7.3.2.1 COMMIT COMPLETE 07/25/24 15:02:13
7.3.2.3 APPLY COMPLETE 07/25/24 16:46:57
7.3.3.0 APPLY COMPLETE 01/17/25 09:51:17
Path: /etc/objrepos
bos.mp64
7.3.2.1 COMMIT COMPLETE 07/25/24 15:02:19
7.3.2.3 APPLY COMPLETE 07/25/24 16:47:05
7.3.3.0 APPLY COMPLETE 01/17/25 09:51:34
# emgr -l
ID STATE LABEL INSTALL TIME UPDATED BY ABSTRACT
=== ===== ==================== ================= ========== ======================================
1 S xxxxxx 01/17/25 09:57:31 ifix ...
2 S yyyyyy 01/17/25 09:57:44 ifix ...
3 S zzzzzz 03/25/25 13:22:22 POTENTIAL ...
Then you can estimate the last boot time from the uptime command:
$ uptime
09:10:06 up 1 day 0:15, 9 users, load average: 0.04, 0.03, 0.04
If the system has not been booted since the kernel was update, then you need to reboot.
I would also suggest using the '-script' option with kdb to shorten the output:
# echo "cvai" | kdb -script
read vscsi_scsi_ptrs OK, ptr = 0xF10009D5B0129F00
(0)> cvai
Executing cvai command
NAME STATE CMDS_ACTIVE ACTIVE_QUEUE HOST
vscsi0 0x000007 0x0000000000 0x0 cedar-vios->vhost0
End of execution for cvai command
(0)> Executing q command
This may reduce the verbosity of kdb.
------------------------------
Grover Davidson
------------------------------
Original Message:
Sent: Tue October 21, 2025 08:22 AM
From: Omar Khedim
Subject: kdb error
Hi Guys,
When I try to use kdb on one of my AIX system (7.1.5.2022) I get these messages.
# echo "cvai" | kdb
WARNING: Version mismatch between unix file and memory image
START END <name>
0000000000001000 0000000005870000 _$STATIC+000400
F00000002FF47600 F00000002FFDF9C8 __ublock+000000
000000002FF22FF4 000000002FF22FF8 environ+000000
000000002FF22FF8 000000002FF22FFC errno+000000
F1000F0A00000000 F1000F0A10000000 pvproc+000000
F1000F0A10000000 F1000F0A18000000 pvthread+000000
Unable to establish context with current thread
Unable to find kdb context
[kdb_read_mem] no real storage @ F1000A0000365218
<curthread> not found
Unable to find kdb context
[kdb_read_mem] no real storage @ F1000A0000365218
<curthread> not found
Unable to find kdb context
(0)> cvai
[kdb_hash_find] NULL table parameter
<curthread> not found
Unable to find kdb context
If i use any other command than "cvai", I get the same messages.
Thanks a lot for your help.
------------------------------
Omar Khedim
------------------------------