mk_kernel : "dev_config" error (hpux 11.23)


 
Thread Tools Search this Thread
Operating Systems HP-UX mk_kernel : "dev_config" error (hpux 11.23)
# 1  
Old 05-04-2011
mk_kernel : "dev_config" error (hpux 11.23)

Any clue why I'm getting the error below?
I would greatly appreciate any help. HP ITRC is already engaged since this morning but until now I haven't got any resolution. I'm wondering if anybody out there got an idea on how to fix this. Thanks in advance.

This is my system:

HPUX11i-OE-Ent B.11.23.0706 HP-UX Enterprise Operating Environment Component

ia64 hp server rx2660

------------------------------------------
ERROR MESSAGE:
------------------------------------------
Code:
root/stand# mk_kernel -o /stand/vmunix
ERROR: The configuration is supposed to include a module 'dev_config',
which is not available because its file has been removed from
disk.

----------------------------------------

Does anybody know what file is associated with "dev_config" module? I can't find the file itself (dev_module) in any of my working system running on the similar hardware and OS version.


Here are my kconfig that might help in finding what is wrong with my system
Code:
# kconfig
Configuration Title
backup Automatic Backup
crashconfig booted from 'import.config'
last_install Created by last OS install
msg_backup Automatic Backup
msgconfig
# kconfig -v config
ERROR: The kernel configuration(s) specified do not exist.
# kconfig -v backup
Configuration backup
Title Automatic Backup
Save Time Thu Apr 21 08:48:36 2011
Modify Time Thu Apr 21 08:48:36 2011
Kernel Path /stand/backup/vmunix
# kconfig -v crashconfig
Configuration crashconfig
Title booted from 'import.config'
Save Time Mon Jul 9 19:51:39 2007
Modify Time Tue Oct 9 10:27:09 2007
Kernel Path /stand/crashconfig/vmunix
# kconfig -v last_install
Configuration last_install
Title Created by last OS install
Save Time Wed Sep 8 11:38:43 2004
Modify Time Wed Sep 8 11:38:43 2004
Kernel Path /stand/last_install/vmunix
# kconfig -v msg_backup
Configuration msg_backup
Title Automatic Backup
Save Time Thu Apr 21 08:48:36 2011
Modify Time Thu Apr 21 08:48:36 2011
Kernel Path /stand/msg_backup/vmunix
# kconfig -v msgconfig
Configuration msgconfig
Title
Save Time Wed May 4 12:34:34 2011
Modify Time Wed May 4 12:34:34 2011
Kernel Path /stand/msgconfig/vmunix

Any clue or suggestions anybody can give will be very much appreciated.
Thank you very much.

Last edited by pludi; 05-06-2011 at 05:28 PM.. Reason: Add additional Info
# 2  
Old 05-06-2011
Thanks to ITRC
Just got this error fixed and I wanted to share this info to everybody:
What FIX it?
Running update-ux in preview mode and NOT saving anything when you exit. :-)
update-ux installs OE executables temporarily in:
/var/adm/sw/sbin
/var/adm/sw/lbin
/usr/lbin/sw/bin
links the following executable files in /usr/sbin to /usr/adm/sw/sbin
-----------
sd
swacl
swagentd
swconfig
swcopy
swinstall
swjob
swlist
swmodify
swpackage
swreg
swremove
swverify
------------
update-ux cleans up its trashes when you exit without saving anything :-)
This command below helped in tracing out the culprit "kconfig" in /usr/lbin/sw/bin when I ran mk_kernel
# ./tusc –o hp.txt mk_kernel –v –s /stand/system
grep kconfig hp.txt
---------------
stat("/usr/lbin/sw/bin/kconfig", 0x7fffe230) .......................................................................................... = 0
---------------
# 3  
Old 05-09-2011
Thanks for the information!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies

2. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

3. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

4. Shell Programming and Scripting

HPUX "bdf" , "%" align to right side.

Hi All, Need you help. I have HPUX “bdf” output, I need % to be align to right side. if you see there are long file systems lv so i cant do column formatting. Any idea or best way to align the "%" to be right side. /dev/emcvg02/lv01 52428800 29931 49123947 0% /abc/disco/iasbin... (7 Replies)
Discussion started by: ashanabey
7 Replies

5. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. Infrastructure Monitoring

HPUX net-SNMP interpreter "/bin/perl" not found

I am trying to install net-snmp on an HPUX box. I am getting the fallowing error message when I try to run the snmpconf file. I installed the fallowing version of net-snmp net-snmp-5.0.10.2-HP-UX_B.11.11_9000_800.tar and my HPUX box is version HP-UX commnms B.11.11 U 9000/800... (2 Replies)
Discussion started by: krisarmstrong
2 Replies

8. HP-UX

ERROR: more than one instance of overloaded function "vprintf" has "C" linkage

Hi people! I've got this own library: -------------------------------------------- Personal.h -------------------------------------------- #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include <stdarg.h> #include <string.h> ... (0 Replies)
Discussion started by: donatoll
0 Replies

9. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
Login or Register to Ask a Question