*BSD News Article 70411


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!spiff.cc.iastate.edu!graphix
From: graphix@iastate.edu (Kent A Vander Velden)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Dislabel problems!!
Date: 7 Jun 96 10:08:24 GMT
Organization: Iowa State University, Ames, Iowa
Lines: 145
Message-ID: <graphix.834142104@spiff.cc.iastate.edu>
NNTP-Posting-Host: spiff.cc.iastate.edu

  I am trying to convert a NetBSD system to FreeBSD.  The binaries are
on the drive and the system starts but I get a strange message about the
partitioin size not being the same as the slice size.  I did not use the
2.1.0 setup program to install FreeBSD (could not get it to work) but
instead booted NetBSD then untared the binaries and the kernel and used
disklabel to install the bootblock.  The following are the errors that I
get:  (works fine with NetBSD)  Also following are the disklabel
according to NetBSD.

Jun  1 05:38:52 myname /kernel: aha0 at 0x330-0x333 irq 11 drq 5 on isa
Jun  1 05:38:52 myname /kernel: aha0 waiting for scsi devices to settle
Jun  1 05:38:52 myname /kernel: (aha0:0:0): "FUJITSU M1606S-512 6226" type 0 fixed SCSI 2
Jun  1 05:38:52 myname /kernel: sd0(aha0:0:0): Direct-Access 1041MB (2131992 512 byte sectors)
Jun  1 05:38:52 myname /kernel: (aha0:1:0): "FUJITSU M1606S-512 6226" type 0 fixed SCSI 2
Jun  1 05:38:52 myname /kernel: sd1(aha0:1:0): Direct-Access 1041MB (2131992 512 byte sectors)
Jun  1 05:38:53 myname /kernel: (aha0:2:0): "MICROP 2217-15MQ1001901 HQ30" type 0 fixed SCSI 2
Jun  1 05:38:53 myname /kernel: sd2(aha0:2:0): Direct-Access 1685MB (3450902 512 byte sectors)
Jun  1 05:38:53 myname /kernel: (aha0:3:0): "NRC MBR-7.4 101" type 5 removable SCSI 2
Jun  1 05:38:53 myname /kernel: cd0(aha0:3:0): CD-ROM cd present.[271780 x 2048 byte records]



Jun  5 09:17:06 myname /kernel: changing root device to sd1a
Jun  5 09:17:06 myname /kernel: sd1: raw partition size != slice size
Jun  5 09:17:06 myname /kernel: sd1: start 819200, end 2095103, size 1275904
Jun  5 09:17:07 myname /kernel: sd1c: start 819200, end 2093055, size 1273856
Jun  5 09:17:07 myname /kernel: sd1: rejecting partition in BSD label: it isn't entirely within the slice
Jun  5 09:17:07 myname /kernel: sd1: start 819200, end 2095103, size 1275904
Jun  5 09:17:07 myname /kernel: sd1d: start 0, end 2093055, size 2093056
Jun  5 09:17:07 myname /kernel: sd1: rejecting partition in BSD label: it isn't entirely within the slice
Jun  5 09:17:07 myname /kernel: sd1e: start 32, end 819199, size 819168




Jun  5 09:19:28 myname /kernel: sd2: raw partition size != slice size
Jun  5 09:19:28 myname /kernel: sd2: start 0, end 3450901, size 3450902
Jun  5 09:19:28 myname /kernel: sd2c: start 0, end 3415679, size 3415680
Jun  5 09:19:51 myname /kernel: sd2: raw partition size != slice size
Jun  5 09:19:51 myname /kernel: sd2: start 0, end 3450901, size 3450902
Jun  5 09:19:51 myname /kernel: sd2c: start 0, end 3415679, size 3415680



Jun  5 09:21:05 myname /kernel: sd0: rejecting partition in BSD label: it isn't entirely within the slice
Jun  5 09:21:05 myname /kernel: sd0: start 32, end 8191, size 8160
Jun  5 09:21:06 myname /kernel: sd0d: start 0, end 2093055, size 2093056
Jun  5 09:21:06 myname /kernel: sd0: rejecting partition in BSD label: it isn't entirely within the slice
Jun  5 09:21:06 myname /kernel: sd0e: start 8192, end 2093055, size 2084864
Jun  5 09:21:22 myname /kernel: sd0: rejecting partition in BSD label: it isn't entirely within the slice
Jun  5 09:21:22 myname /kernel: sd0: start 32, end 8191, size 8160
Jun  5 09:21:22 myname /kernel: sd0d: start 0, end 2093055, size 2093056
Jun  5 09:21:22 myname /kernel: sd0: rejecting partition in BSD label: it isn't entirely within the slice
Jun  5 09:21:22 myname /kernel: sd0e: start 8192, end 2093055, size 2084864


# /dev/rsd0d:
type: SCSI
disk: newone 
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 1022
total sectors: 2093056
rpm: 5400
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 10	# milliseconds
drivedata: 0 

5 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:     8160       32    4.2BSD      512  4096    11 	# (Cyl.    0*- 3*)
  c:     8160       32    unused        0     0       	# (Cyl.    0*- 3*)
  d:  2093056        0    unused        0     0       	# (Cyl.    0 - 1021)
  e:  2084864     8192     MSDOS                    	# (Cyl.    4 - 1021)



# /dev/rsd1d:
type: SCSI
disk: newone2 
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 1023
rpm: 5400
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 10	# milliseconds
drivedata: 0 

5 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:  1234944   819200    4.2BSD      512  4096    11 	# (Cyl.  400 - 1002)
  b:    40960  2054144      swap                    	# (Cyl. 1003 - 1022)
  c:  1275904   819200    unused        0     0       	# (Cyl.  400 - 1022)
  d:  2095104        0    unused        0     0       	# (Cyl.    0 - 1022)
  e:   819168       32     MSDOS                    	# (Cyl.    0*- 399*)




# /dev/rsd2d:
type: SCSI
disk: MICROP
label: 
flags:
bytes/sector: 512
sectors/track: 96
tracks/cylinder: 15
sectors/cylinder: 1440
cylinders: 2372
total sectors: 3415680
rpm: 7200
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 10	# milliseconds
drivedata: 0 

6 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:    80640        0    4.2BSD      512  4096    15 	# (Cyl.    0 - 55)
  b:    64800    80640      swap                    	# (Cyl.   56 - 100)
  c:  3415680        0    unused        0     0       	# (Cyl.    0 - 2371)
  d:  3415680        0    unused        0     0       	# (Cyl.    0 - 2371)
  e:  2370240   145440    4.2BSD      512  4096    16 	# (Cyl.  101 - 1746)
  f:   900000  2515680    4.2BSD      512  4096    16 	# (Cyl. 1747 - 2371)

-- 
Kent Vander Velden
graphix@iastate.edu