Technical article 127731

Running idbuild instead of link_unix on OpenServer5 causes errors when booting the kernel created.

OpenServer 5.0.7

Written · Last revised

Problem

I had to build a new kernel and accidentally I ran

# /etc/conf/bin/idbuild -B
After a reboot I get:

Failed to create Legacy PMAPI IPC sco_pmd[x]: failed to create ERROR: unable to open /dev/log

and "Command is respawning too rapidly"

Cause

idbuild is not intended to be run directly on OpenServer5 for normal
kernel building.

Solution

Boot into Single User Mode and run
# /etc/conf/cf.d/link_unix -y
# init 6
Your system should come up normally.
NOTES:    link_unix is the documented and generally accepted way:
          http://osr507doc.xinuos.com/en/HANDBOOK/kernel_relinking.html

The -B option for idbuild on OSR5 has a different meaning than it has on OpenServer 6 and UnixWare 7. This undocumented option causes the kernel to only be built with specific drivers and isn't applicable to normal kernel building.

The -B option for idbuild on OSR5 is not documented, but you can see it in the /etc/conf/bin/idbuild script:

Bflag=NO # Build only devs with 'B' or 'r' in mdevice file

The problem can be fixed either by running link_unix or by running idbuild with no options.

Also, it's not necessary to use -B on OSR6 / UW7, although
it's useful to make sure there are no errors.  In general,
idbuild without -B is fine, and the kernel gets rebuilt and
installed while shutting down for the reboot.

From the Xinuos technical article database, record 127731. Reproduced with permission. The original is at www.sco.com/ta/127731, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.