- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to regen kernel on HP-UX 11.11
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 08:46 PM
07-11-2005 08:46 PM
Unable to regen kernel on HP-UX 11.11
Cannot build a kernel using /usr/sbin/config. The standard output of the command is shown below
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 491: error 1504:
A zero or negative array size is illegal. config: make did an exit
the command exited with exitcode -71
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 08:59 PM
07-11-2005 08:59 PM
Re: Unable to regen kernel on HP-UX 11.11
struct pty_s str_pty[NSTRPTY]; /* Stream PTY's data structure pool */
Is nstrpty defined in your /stand/system file? Looks like leaving it empty causes this symptom.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 09:41 PM
07-11-2005 09:41 PM
Re: Unable to regen kernel on HP-UX 11.11
NSTRPTY is in /stand/system and is set to 60.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 09:49 PM
07-11-2005 09:49 PM
Re: Unable to regen kernel on HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 10:25 PM
07-11-2005 10:25 PM
Re: Unable to regen kernel on HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 11:16 PM
07-11-2005 11:16 PM
Re: Unable to regen kernel on HP-UX 11.11
I have attached a copy of /stand/build/conf.c
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 12:09 AM
07-12-2005 12:09 AM
Re: Unable to regen kernel on HP-UX 11.11
your conf.c looks quite normal. Comppiles fine here. Could you please check if you find "#define NSTRPTY 60" in you /stand/build/tune.h.
Do you get any warning when you call mk_kernel?
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 01:10 AM
07-12-2005 01:10 AM
Re: Unable to regen kernel on HP-UX 11.11
In /stand/build/tune.h the entyry is
#define NSTRPTY 0
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 01:20 AM
07-12-2005 01:20 AM
Re: Unable to regen kernel on HP-UX 11.11
I would suggest the following:
1) Double-Check /stand/system, e.g. undesired line feeds or unprintable characters. The command vis(1) may help here.
2) Remove the current build environment to get it re-created from scratch.
# rm -r /stand/build
3) Retry to build the kernel
# mk_kernel
Best regards...
Dietmar.
- Tags:
- unprintable chars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 01:52 AM
07-12-2005 01:52 AM
Re: Unable to regen kernel on HP-UX 11.11
I have managed to run mk_kernel ok, i can now generate the kernel, thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2005 10:56 PM
07-22-2005 10:56 PM
Re: Unable to regen kernel on HP-UX 11.11
How did you got this working, Did you follow the procedure told by Deitmar?
Let me know as I am facing same problem.
Thanks,
Monica