Subject: Re: Problems installing NetBSD-1.2
To: None <port-i386@NetBSD.ORG>
From: Jose Alburquerque <jose@alexandria.net>
List: port-i386
Date: 02/13/1997 02:19:37
Thank you all for your replies!  They were very helpful.  I tried the
`newfs -b 16384 -f 4096 /dev/rsd0[a,e-h]' commands and at least I was able
to format the file systems and install the kernel.  My only concerns are
the error messages.  This is what the newfs commands report:

        Warning: cylinder groups must have a multiple of 32 cylinders
	Warning: Insufficient space in super block for
	  rotational layout tables with nsect 63 and ntracks 255
	File system performance may be impaired
	Warning: 7 sectors in last cylinder unallocated
	/dev/rsd0a: 112448 sectors in 7 cylinders of 255 trks, 63 sects
	        54.9MB in 1 cyl groups (32 c/g, 251.02MB/g 15744 i/g)
	super-block backups (for fsck -b #) at:
	  32,

For the /usr and /usr/local partitions (rsd0e and rsd0f repectively) I get
the same warinings as above (except maybe for the # of sectors
unallocated).  For the /usr partition I get:

	/dev/rsd0e: 417688 sectors in 26 cylinders of 255 trks, 63 sects
	        203.9MB in 1 cyl groups (32 c/g, 251.02MB/g 15744 i/g)
        super-block backups (for fsck -b #) at:
          32,

and for the /usr/local partition I get:

	/dev/rsd0f: 351440 sectors in 26 cylinders of 255 trks, 63 sects
	        415.7MB in 2 cyl groups (32 c/g, 251.02MB/g 15744 i/g)
        super-block backups (for fsck -b #) at:
          32, 514176

respectively. Anyone have a clue as to what is going on and whether it's
an error I should worry about or something that I can live with?  Thanks a
lot.

Sincerly
Jose


  * * * *     +<><><><><><><><><><><><><><><><><><><><><><><><><><><><><>+
 *        *   |                   Jose A. Alburquerque                   |
*  O    O  *  |                     jose@smartec.com                     |
*    ()    *  |             csjaa@csfaculty.engr.ccny.cuny.edu           |
*  \----/  *  |                                                          |
 *        *   |         "In God we trust" - From face of US penny        |
  * * * *     +<><><><><><><><><><><><><><><><><><><><><><><><><><><><><>+


On Wed, 12 Feb 1997, Jose Alburquerque wrote:

> 
> Hi. I've been trying to install NetBSD-1.2 on my Pentium-166 machine with
> little success.  It has an Adaptec AIC-7880 PCI UltraWide SCSI Controller,
> an IBM DORS-32160 W !# 2063MB hard drive, a Generic NEC Floppy Disk Drive 
> and a Standard Floppy disk Controller.  It reports a BIOS version 1.24    
> when it starts up.
> 
> I've downloaded all the binary sets and put them on 1.44MB floppies as the
> installation instructions say.  I've also gotten the kcapd12.fs and the   
> inst-12.fs disk images and used rawrite to write the images on two 1.44MB
> floppies.  I've also repartitioned my drive to give NetBSD some room.
> 
> The kcapd12.fs disk boots fine and asks me to "Insert file system floppy". 
> When I insert the inst-12.fs floppy the kernel comes up and even
> recoginzes the DORS drive reporting its geometry and size (2063MB).  The
> install script asks if I want to continue and I do.  When asked for my
> disk geometry I enter 263 255 63 (cyls heads sectors), which is what
> pfdisk under DOS reprots.  I use cylinders to describe my partitions. 
> When asked for the size of my NetBSD partition and its offset I enter 132
> cylinders and cylinder 20, respectively.  My NetBSD is 132 cylinders in
> size. I decided the following sizes in for the root, swap, /usr,
> /usr/local, /home and /usr/sys partitions: 7, 7, 26, 53, 13 and 26
> cylinders respectively. Below is my partition information reported by
> pfdisk: 
> 
> geometry 263 255 63 (cyls heads sectors)
> #  ID  First(cyl)  Last(cyl)  Name  # start, length (sectors)
> 1   6      0         19       DOSbi # 63, 321237
> 2 165     20        151       unkno # 321300, 2120580
> 3   5    152        262       DOSex # 2441880, 1783215
> 4   0      0          0       empty # 0, 0
> 
> My problem is that:
> 
>    1) NetBSD reports a different geometry than that reported by pfdisk
>       under DOS: pfdisk reports 263 255 63 (cyls heads sectors) and NetBSD
>       reports 6703 5 126 (cyls heads sectors) (both have 512 bytes/sector)
> 
>    2) During the partition part of the installation (Once I enter
>       information about each partition) I get "Incorrect Super block"
>       erors on the partitions.  The error messages look the following:
> 
> 	Initializing /usr file system
> 	With a block size of 16384 minimum bytes per inode is 5957
> 	Minimum bytes per inode is 5957
> 	With 16065 sectors per cylinder, minimum cylinders per group is 32
> 	This requires the block size to be changed from 8192 to 16384
> 		 and the fragment size to be changed from 1024 to 4096
> 	ffs: /dev/sd0e on /mnt/usr: incorrect super block
> 
>    3) I keep getting "/: write failed, file system is full" errors and
>       something about not being able to create symlinks.
> 
> Does anyone know what is going on?  Any suggestions?  Thanks.
> 
> Sincerely
> Jose Alburquerque
> CCNY Computer Science Student
> 
> 
>   * * * *     +<><><><><><><><><><><><><><><><><><><><><><><><><><><><><>+
>  *        *   |                   Jose A. Alburquerque                   |
> *  O    O  *  |                     jose@smartec.com                     |
> *    ()    *  |             csjaa@csfaculty.engr.ccny.cuny.edu           |
> *  \----/  *  |                                                          |
>  *        *   |         "In God we trust" - From face of US penny        |
>   * * * *     +<><><><><><><><><><><><><><><><><><><><><><><><><><><><><>+
> 
> 
>