[comp.bugs.2bsd] Trouble with generic 2.10BSD

wilhite@usceast.UUCP (Robert Wilhite) (09/13/88)

I'm having a bit of trouble getting 2.10 to work on our PDP.  Our
system is:

	a PDP 11/44 with 1 meg of memory,
	two CDC 9762 disk drives
	a TS11 tape drive
	two DH11 tty boards

The story so far:  The generic kernel we got from the distribution tape
will boot.  (It doesn't recognise our DH11's, tho, so no multi-user.)
We've been thru the "Config & Recompile" loop a number of times, trying to
get the kernel tailored to our system.  Some resulted in a non-bootable
system (base segment too large, I think); others resulted in a bootable
system that would "panic" for some reason or another.  (All from mistakes
in our configuration file, I'm sure.)  The most successful attempt
resulted in a system that would boot and hang:

	>>> b db
	>boot

	boot: 44boot
	:
	: xp(0,0)unix

	2.10 BSD UNIX #1: Fri Aug 26 01:47:47 PDT 1988
	    root@:/usr/src/sys/CS44

	phys mem  = 1048576
	avail mem = 204800
	user mem  = 204800

[hang]

Finally, as a sanity-check, we tried to recompile the generic distribution
kernel.  It compiled okay (with a couple of pointer warnings) and...
it hangs, too.

To be more specific, here's what happened:

[after booting from generic unix]

	# cd /usr/src/sys/conf
	# cp GENERIC G44
	# ./config G44
		[normal stuff]
	# cd ../G44
	# make sunix
		[lotsa output, 45 minutes elapse]
	# cp unix /csunix
	# cp /csunix /unix
	# sync;sync
		[reboot, hang]

I'm not sure what to try next.  I'd appreciate any comments or advice.  If
more info is needed, let me know.  Thanks!	--Robert

--------------------------------------------------------
Robert Wilhite, sys. admin.	..ncrcae!usceast!wilhite
University of South Carolina	wilhite@cs.scarolina.edu

casey@admin.cognet.ucla.edu (Casey Leedom) (09/21/88)

In article <2675@usceast.UUCP> wilhite@cs.scarolina.edu (Robert Wilhite)
 writes:
> I'm having a bit of trouble getting 2.10 to work on our PDP.  Our
> system is:
> 
> 	a PDP 11/44 with 1 meg of memory,
> 	two CDC 9762 disk drives
> 	a TS11 tape drive
> 	two DH11 tty boards
> 
> The story so far:  The generic kernel we got from the distribution tape
> will boot.  (It doesn't recognize our DH11's, tho, so no multi-user.)
> We've been thru the "Config & Recompile" loop a number of times, trying to
> get the kernel tailored to our system.  Some resulted in a non-bootable
> system (base segment too large, I think); others resulted in a bootable
> system that would "panic" for some reason or another.  (All from mistakes
> in our configuration file, I'm sure.)  The most successful attempt
> resulted in a system that would boot and hang.

  Sorry for the incredible delay in answering.  Things have really been
piling up here.

  The generic kernel won't recognize your DH11's because it wasn't
compiler with DH11 support.  The generic kernels are only intended to be
used long enough for you to configure and compile your own kernel.

  The hanging that you describe sounds like you haven't defined the
ROOTDEV, PIPEDEV, SWAPDEV, and/or NSWAP correctly.  Check those
definitions carefully in your configuration file.  The generic kernel's
values for these are edited in by the script /GENALLSYS.  When you just
compile the GENERIC kernel and try to run it you get some random set of
values for these.

Casey