cancel
Showing results for 
Search instead for 
Did you mean: 

mk_kernel

 
behnam_2
Occasional Advisor

mk_kernel

Hello,
I have a script that build the kernel. Lately, when kmchkintfc is run, it reports an error indicating that "krm" is not a request id or printer.

# mk_kernel
Generating module: krm...
/usr/sbin/kmckintfc: "/usr/conf/master.d/krm" is not a request id or a printer
/usr/sbin/kmckintfc: "/stand/build/mod_wk.d/krm/mod.o" is not a request id or a printer
/usr/sbin/kmckintfc: "/stand/build/mod_wk.d/krm/_mod.o" is not a request id or a printer
usage : lpalt id [-ddest] [-m] [-nnumber] [-ooption]
[-ppriority] [-s] [-ttitle] [-w]
*** Error exit code 1

Any feedback on how this issue can be resolved?
21 REPLIES 21
behnam_2
Occasional Advisor

Re: mk_kernel

Please note that this is on a HP-UX B11.11 on a 9000/785 HP series.
Hakki Aydin Ucar
Honored Contributor

Re: mk_kernel

seems like a configuration error in kernel file OR maybe a corruption there.
here is a thread about it, not a good solution but, check it:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=612001
behnam_2
Occasional Advisor

Re: mk_kernel

Thanks Hakki,
I have gone through that thread, but did not help me I still get the same error.
Hakki Aydin Ucar
Honored Contributor

Re: mk_kernel

if you have a mate OR backup server that has similar load on it, you can copy krm and mod.0 files and try again mk_kernel.

OR did you try a reboot ?

Dennis Handly
Acclaimed Contributor

Re: mk_kernel

Do you see any lpalt commands in /usr/sbin/kmckintfc?
Do you have any env vars that contain lpalt?
Laurent Menase
Honored Contributor

Re: mk_kernel

also look at your aliases if none are not using lp commands,

and the final test: do a tusc -f -s execve -o mk_kernel


behnam_2
Occasional Advisor

Re: mk_kernel

Thanks guys. I am still hitting a snag here.

Hakki,
I do not have a backup of the system and I did try reboot, but it did not help.

Dennis,
I do have the lpalt command in /usr/bin directory when logged in as a root. I also have kmckintfc in /usr/bin. I do not have a lpalt as part of env.

I have also looked at Laurent's recommendation and I do not find anything is aliases and non are using lp commands.

I dont have the tusc tool on this system as the tool itself is non-standard.
Dennis Handly
Acclaimed Contributor

Re: mk_kernel

>I do not have a lpalt as part of env.

Did you do: env | grep lpalt

>I don't have the tusc tool on this system as the tool itself is non-standard.

Do you have any exceptions that kick in after N days of the workstation being useless?
behnam_2
Occasional Advisor

Re: mk_kernel

Yes I did. There is none.
# env | grep lpalt
#
#
I also did not see any exceptions.