From paluch@KMLinux.fjfi.cvut.cz Thu Dec  2 02:17:05 1999
Return-Path: <paluch@KMLinux.fjfi.cvut.cz>
Received: from KMLinux.fjfi.cvut.cz (KMLinux.fjfi.cvut.cz [147.32.8.9])
	by hub.freebsd.org (Postfix) with ESMTP id 1E82B14EDF
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  2 Dec 1999 02:17:02 -0800 (PST)
	(envelope-from paluch@KMLinux.fjfi.cvut.cz)
Received: (from paluch@localhost)
	by KMLinux.fjfi.cvut.cz (8.9.3/8.9.3) id LAA16480
	for FreeBSD-gnats-submit@freebsd.org; Thu, 2 Dec 1999 11:16:32 +0100
Message-Id: <199912021016.LAA16480@KMLinux.fjfi.cvut.cz>
Date: Thu, 2 Dec 1999 11:16:32 +0100
From: Henryk Paluch <paluch@KMLinux.fjfi.cvut.cz>
To: FreeBSD-gnats-submit@freebsd.org
Subject: kernel says: raw partition size != slice size on ext part.

>Number:         15218
>Category:       i386
>Synopsis:       kernel says: raw partition size != slice size on ext part.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec  2 02:20:00 PST 1999
>Closed-Date:    Mon Aug 13 11:58:53 PDT 2001
>Last-Modified:  Mon Aug 13 12:03:54 PDT 2001
>Originator:     Henryk Paluch
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
Czech Technical University
>Environment:

FIC PA2005 Mother Board
AMD K5 PR-100 CPU
48MB RAM EDO
Award BIOS

2 IDE disks. BIOS geometry:
1st disk: C/H/S=875/128/63  "LBA mode"
2nd disk: C/H/S=1023/64/63  "LBA mode"


 The problem concerns 1st disk only. 
There are these partitions:
wd0s1 FAT 16 primary
wd0s2 Extended
 wd0s5 FAT 12 (to ensure that next partition is E: for Win*)
 wd0s6 FAT 32 

Physical Sector: Cyl 0, Side 0, Sector 1     
+------+----+--------------------+--------------------+-----------+-----------+
|      |    | Starting Location  |  Ending Location   |  Relative | Number of |
|System|Boot|Side Cylinder Sector|Side Cylinder Sector|  Sectors  |  Sectors  |
+------+----+--------------------+--------------------+-----------+-----------+
|BIGDOS| Yes|   1      0       1  | 127    114      63  |        63|    927297| 
|EXTEND| No |   0    115       1  | 127    873      63  |    927360|   6120576| 
|unused| No |   0      0       0  |   0      0       0  |         0|         0| 
|unused| No |   0      0       0  |   0      0       0  |         0|         0| 
+------+----+--------------------+--------------------+-----------+-----------+

Physical Sector: Cyl 115, Side 0, Sector 1     
+------+----+--------------------+--------------------+-----------+-----------+
|      |    | Starting Location  |  Ending Location   |  Relative | Number of |
|System|Boot|Side Cylinder Sector|Side Cylinder Sector|  Sectors  |  Sectors  |
+------+----+--------------------+--------------------+-----------+-----------+
|DOS-12| No |   1    115       1  | 127    117      63  |        63|     24129| 
|EXTEND| No |   0    118       1  | 127    873      63  |     24192|   6096384| 
|unused| No |   0      0       0  |   0      0       0  |         0|         0| 
|unused| No |   0      0       0  |   0      0       0  |         0|         0| 
+------+----+--------------------+--------------------+-----------+-----------+

Physical Sector: Cyl 118, Side 0, Sector 1     
+------+----+--------------------+--------------------+-----------+-----------+
|      |    | Starting Location  |  Ending Location   |  Relative | Number of |
|System|Boot|Side Cylinder Sector|Side Cylinder Sector|  Sectors  |  Sectors  |
+------+----+--------------------+--------------------+-----------+-----------+
|FAT32 | No |   1    118       1  | 127    873      63  |        63|   6096321| 
|unused| No |   0      0       0  |   0      0       0  |         0|         0| 
|unused| No |   0      0       0  |   0      0       0  |         0|         0| 
|unused| No |   0      0       0  |   0      0       0  |         0|         0| 
+------+----+--------------------+--------------------+-----------+-----------+

The error message:
 wd0s2: raw partition size != slice size
 wd0s2: start 927360, end 7047935, size 6120576
 wd0s2c: start 927360, end 1991807, size 1064448

FreeBSD disk detection:

 wdc0 at 0x1f0-0x1f7 irq 14 on isa
 wdc0: unit 0 (wd0): <IBM-DCAA-33610>
 wd0: 3445MB (7056000 sectors), 7000 cyls, 16 heads, 63 S/T, 512 B/S
 wdc0: unit 1 (wd1): <QUANTUM FIREBALL_TM2110A>
 wd1: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S

>Description:

 When installation program attempts to test disks on the start or 
any partition on the 1st drive is mounted, the kernel reports:

 wd0s2: raw partition size != slice size
 wd0s2: start 927360, end 7047935, size 6120576
 wd0s2c: start 927360, end 1991807, size 1064448
                           ^^^^^^^       ^^^^^^^ 500MB ? There is no 500MB
                                                 partition

 Also the installation program hang right after "Starting emergency
 holographic shell...", but it could be easily resolved pressing
 CTRL-ALT-DEL and answering "No" to question about abort of installation.
 

 These problems were seen from 3.0 release. 2.2.x seems to be ok.
 Same installation CD works without problem on another computers.


>How-To-Repeat:

   Running /stand/sysinstall. Either from Installation disk or
   after install from shell.

   Also mounting any partition causes that message.


>Fix:
	
  I don't know any workaround for that message.  It seems to be harmless,
  except that hang on install (I'm unsure, whether it is caused by that
  problem).

 



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Sun Aug 12 14:59:50 PDT 2001 
State-Changed-Why:  

Is this still a problem? It looks like a BSD disklabel ended up on 
the second slice, maybe from a previous installation or something. 
If so, you could probably clear it by zeroing the second sector of 
the second slice, though you'd want to be sure that doing so doesn't 
clobber anything important. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=15218 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Mon Aug 13 11:58:53 PDT 2001 
State-Changed-Why:  

Submitter says this can be closed; the problem went away after a 
reformat, so it was probably a left-over disklabel. A second problem 
mentioned in the PR was not reproducable on other hardware, and 
the submitter is unable to verify if it has been resolved. Thanks 
for the quick response! 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=15218 
>Unformatted:
 kernel says: raw partition size != slice size on ext part.
 From: paluch@kmlinux.fjfi.cvut.cz
 Reply-To: paluch@kmlinux.fjfi.cvut.cz
 X-send-pr-version: 3.2
 
 
