Hi: I'm developing a custom boot archive/root based on ONNV (currently b126 I think) for an appliance, and am having trouble getting the svc infrastructure up and running. Currently, when I start svc.startd, both svc.startd and svc.configd are spinning wildly, accumulating cpu time, but neither appear to be making forward progress or logging anything.
I'm currently starting svc.startd by hand - have it commented out of /etc/inittab since the current behavior seems to livelock my system (at least I don't get any serial console output). My boot archive generation script "generates" /etc/svc/repository.db as: pfexec cp $ON_Root/lib/svc/seed/global.db $TargetRoot/etc/svc/repository.db I attempted to make a couple of small changes to get more logging with no effect: cat > $Tmpdir/svccfg << EOF repository $TargetRoot/etc/svc/repository.db select svc:/system/svc/restarter:default addpg options application setprop options/boot_messages = astring: "verbose" setprop options/logging = astring: "debug" EOF pfexec svccfg -v -f $Tmpdir/svccfg Adding -m verbose to the boot line didn't yield any additional debug either. If I grab a core of configd/startd, I see them here: # mdb startd.core.100006 $C 08047c18 libc.so.1`getpid+7(81296c8, b898c000, 8047c68, b8959c8a) 08047c68 libscf.so.1`datael_attach+0x63(810edc0, 810edd0, 811de08, b895a9f6) 08047ca8 libscf.so.1`datael_init+0x8d(810edc0, 81296c8, 6, b895d622) 08047cc8 libscf.so.1`scf_pg_create+0x32(81296c8, 1000000, 0, b86a43dd) 08047d78 librestart.so.1`_restarter_commit_states+0xac(81296c8, 8047dd0, 5, 0, 0 , 8086ce4) 08047e18 read_startd_config+0x167(f, 1, 8047f08, 8078787, 2, 0) 08047e28 startup+0x1cb(2, 0, 809800c, 0, b8bdc780, 0) 08047f08 main+0x20b(1, 8047f3c, 8047f44, b8bfc804) 08047f30 _start+0x7d(1, 8047fb8, 0, 8047fc5, 8047fdd, 0) $Q # mdb confd.core.100008 $C 08046e38 libc.so.1`__sigtimedwait+7(8047ed0, 0, 0, b8ae0610, 8047ef8) 08046e58 libc.so.1`sigwait+0x22(8047ed0, 8047ed0, 0, 8061ee3) 08047ef8 main+0x5cf(1, 8047f24, 8047f2c, 805dadf) 08047f18 _start+0x7d(1, 8047fa0, 0, 8047fb9, 8047fd1, 0) $Q I suspect I am missing some required files, or I am not setting up the initial repository.db correctly. Any help would be greatly appreciated. thanks Mark -- This message posted from opensolaris.org