Subject: Kernel config - swap & root question
To: (NetBSD/sparc Maillist) <port-sparc@NetBSD.ORG>
From: David Brownlee <D.K.Brownlee@city.ac.uk>
List: port-sparc
Date: 02/10/1995 20:33:46
	I have built -current & kernels, quite happy with it, now I'm
	trying to change the disk it boots off from sd0 to sd1 (simple
	I thought but...)

	Situation:
		16Mb ELC using -current, 2 327Mb SCSI disks, sd0 & sd1
		NetBSD installed on sd0. (Actually targets 0 & 1)

		Partition sd1 into / /usr & /var, newfs them (-O for /)
		mount them on /mnt, "make DESTDIR=/mnt distribution" from
		/usr/src/etc.

		copied my original kernel across, which was 'root on sd0
		swap on sd0' and fair enough, when I boot off sd1 it reads
		the kernel off there, then switches root & swap to sd0.
		(Not what I wanted :)

		Tried 'swap generic' kernel - blows up after 'Found boot
		device sd1' (Will give callback if wanted). Should a
		swap generic kernel work?

		Tried it on my original sd0 disk & I get a 'data fault'
		directly after it detects the fd..

		Then tried the 'correct' 'root on sd1 swap on sd1' and now
		it hangs after 'Found boot device sd1' with
		'WARNING: preposterous time in filesystem'
		'WARNING: clock lost 7851 days -- ...'

		Out of interest a 'generic' swap on nfs kernel on my
		original partition blows up with 
		'panic: revarp failed error=51' then gives a nice callback


	I think its more than me doing something wrong (Or at least I hope
	it is :)

  D.K.Brownlee@city.ac.uk (MIME).  Network Analyst  {post,host}master  abs.
              (>=-=<)   Telephone: (+44) 171 477 8186.   (>=-=<)
  Computing Services, City University, Northampton Square, London EC1V 0HB.
       .-------------------------------------------------------------.
      / Monochrome - biggest UK internet BBS - telnet mono.city.ac.uk \
      `---------------------------------------------------------------'