9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] Init hangs
@ 2008-09-22 13:54 erik quanstrom
  2008-09-22 14:00 ` Uriel
  0 siblings, 1 reply; 10+ messages in thread
From: erik quanstrom @ 2008-09-22 13:54 UTC (permalink / raw)
  To: ralmoritz, 9fans

> Thanks Eric. Now I need to try to find the errant code, but I can't connect a
> debugger at this point. What else can I do to diagnose the problem?

i think the suggestion to take the cdrom out of your vm profile is the right
one.  i think access of the cdrom drive is the problem.  once you get things going, i do have
a patch that might work for you if you still need the cdrom.  i haven't tried
it since i don't run vmware.

- erik



^ permalink raw reply	[flat|nested] 10+ messages in thread
* [9fans] Init hangs
@ 2008-09-22 11:35 Ralph Moritz
  2008-09-22 11:46 ` Rodolfo kix García 
  0 siblings, 1 reply; 10+ messages in thread
From: Ralph Moritz @ 2008-09-22 11:35 UTC (permalink / raw)
  To: 9fans

Hi 9fans!

I downloaded the ISO image dated 18 Sep 2008. The live CD worked beautifully,
so I decided to install under VMWare Workstation 6. Well done to the guys who
did the new(ish?) installer, IMHO it's a big improvement over the old one.

Anyway, after installing and rebooting, the kernel gets as far as running
init, which prints out

init: starting /bin/rc

and then hangs. I've taken a look at /sys/src/cmd/init.c and found that
this line gets printed from the following code near the bottom of main:

	for(;;){
		print("\ninit: starting /bin/rc\n");
		fexec(rcexec);
		manual = 1;
		cmd = 0;
		sleep(1000);
	}

What could have gone wrong? If exec had failed, an error message would have
been printed. The only thing I can think of is that perhaps /bin/rc is an
invalid image.

Is there a core dump file I can examine to find out what's going wrong? I'm
a noob, so please, put away the lighter and help me out :)

TIA,
Ralph




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-09-24  8:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-22 13:54 [9fans] Init hangs erik quanstrom
2008-09-22 14:00 ` Uriel
2008-09-22 15:57   ` erik quanstrom
  -- strict thread matches above, loose matches on Subject: below --
2008-09-22 11:35 Ralph Moritz
2008-09-22 11:46 ` Rodolfo kix García 
2008-09-22 11:42   ` erik quanstrom
2008-09-22 12:26     ` Ralph Moritz
2008-09-22 17:44   ` Lucio De Re
2008-09-23 14:34   ` Ralph Moritz
2008-09-24  8:37     ` yourfriendllc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).