Subject: Another Problem. sigh.
To: None <port-sparc@netbsd.org>
From: None <qball@darkphiber.org>
List: port-sparc
Date: 06/06/1999 18:48:26
it's me bugging everyone again, this is probably my fualt too but I can't
figure it out.

In the install howto it says that size and offset should be divisable by the
number of sectors in a cylinder, I did this when partioning with disklabel.

After installing and tring to boot from teh local hdd on the sparc station
(sun4c) I get the following panic msg.

panic: alignment fault

and the boot aborts.

here is my partion info as reported by `disklabel -i sd0`

TYPE: SCSI
DISK: DSP3107LS
LABEL: DEC-DSP3107LS-44
FLAGS:
BYTES/SECTOR: 512
SECTORS/TRACK: 83
TRACKS/CYLINDER: 8
SECTORS/CYLINDER: 664
CYLINDERS: 3115
TOTAL SECTORS: 2068360
RPM: 5400
INTERLEAVE: 1
TRACKSKEW: 0
CYLINDERSKEW: 0
HEADSWITCH: 0
TRACK-TO-TRACK SEEK: 0
DRIVE DATA: 0

8 partitions:
#       size    offset  fstype  {fsize  bsize   cpg}    

a       71712        0  4.2BSD  1024    8192    16      {Cyl.    0 -  107}
b      258296    71712  swap                            {Cyl.  108 -  496}
c     1024552   330008  4.2BSD  1024    8192    16      {Cyl.  497 - 2039}
d      610880  1354560  4.2BSD  1024    8192    16      {Cyl. 2040 - 2959}
e      102920  1965440  4.2BSD  1024    8192    16      {Cyl. 2960 - 3114}
 

As you can see all partitions are divisable by 664 (Sec/Cyl.)

What could be cuasing the kernel to panic with that alignment fault error?

Any and All help is greatly appricated 
And ThankYou

LeRoy
 
----------------------------------
E-Mail: qball@darkphiber.org
Internic Handle: LM4772
Date: 06-Jun-99
Time: 18:31:24
Linux 2.2.3 / Solaris 2.6 
Darkphiber Project   Network Admin
www.darkphiber.org
Any Idiot Can Run NT and Most DO.
Promoting Secure C Coding.
----------------------------------