*BSD News Article 16094


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!saimiri.primate.wisc.edu!caen!zip.eecs.umich.edu!niagara.eecs.umich.edu!khushro
From: khushro@niagara.eecs.umich.edu (Khushro Shahookar)
Newsgroups: comp.os.386bsd.questions
Subject: Virtual memory problems with 386BSD --> NetBSD
Date: 14 May 1993 20:32:41 GMT
Organization: University of Michigan Engineering, Ann Arbor
Lines: 56
Distribution: world
Message-ID: <1t0vl9$384@zip.eecs.umich.edu>
Reply-To: khushro@niagara.eecs.umich.edu (Khushro Shahookar)
NNTP-Posting-Host: niagara.eecs.umich.edu

I had switched by overwriting the 386BSD default partitions (as made by
Tiny BSD)
with NetBSD. NetBSD asked for the amount of swapspace to create, and I
specified
75MB, thinking I will never have to worry about it again.

Now I find that the NetBSD swapspace is only 5 Mb, whereas disklabel
shows the b partition to be 75MB as I had specified.

I am using the NEW NetBSD kernel.

Questions: 
Did NetBSD overwrite both the 386BSD root and swap partitions?
If not, where is the 386BSD swap in the current disklabel? 
How do I fix this (without rebuilding the kernel if possible)?
Has anyone else used TinyBSD to create the UNIX partition for NetBSD? Is your
swapspace what you expect it to be?

------------------------
 vmstat
 procs   memory     page                    disks         faults      cpu
 r b w   avm   fre  flt  re  pi  po  fr  sr ?0 ?1 ?2 ?3   in   sy  cs us sy id
 0 0 0  3996   828    9   1   1   0   0   0  0  0  0  0  112   53  13  2  3 95
danube# disklabel /dev/sd0c
# /dev/sd0c:
type: SCSI
disk: DEC
label: 
flags:
bytes/sector: 512
sectors/track: 57
tracks/cylinder: 14
sectors/cylinder: 798
cylinders: 2570
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

6 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:    14336   204800    4.2BSD      512  4096    16   # (Cyl.  256*- 274*)
  b:   153600   219136      swap                        # (Cyl.  274*- 467*)
  c:  1843200   204800    unused        0     0         # (Cyl.  256*- 2566*)
  d:  2050860        0    unused        0     0         # (Cyl.    0 - 2569)
  e:   409600   372736    4.2BSD      512  4096    16   # (Cyl.  467*- 980*)
  f:  1265664   782336    4.2BSD      512  4096    16   # (Cyl.  980*- 2566*)

--
Copyright KHUSHRO SHAHOOKAR,   $0.02
khushro@eecs.umich.edu   Univ. of Michigan, Ann Arbor