Problem
I had to build a new kernel and accidentally I ran
# /etc/conf/bin/idbuild -BAfter 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 6Your system should come up normally.NOTES: link_unix is the documented and generally accepted way:
http://osr507doc.xinuos.com/en/HANDBOOK/kernel_relinking.htmlThe -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.