From nobody@FreeBSD.ORG  Wed Dec 22 10:39:42 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 28D8D14D6E; Wed, 22 Dec 1999 10:39:42 -0800 (PST)
Message-Id: <19991222183942.28D8D14D6E@hub.freebsd.org>
Date: Wed, 22 Dec 1999 10:39:42 -0800 (PST)
From: rec@RCousins.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: 3.4 won't install with IBM 37.5 gb disks
X-Send-Pr-Version: www-1.0

>Number:         15631
>Category:       i386
>Synopsis:       3.4 won't install with IBM 37.5 gb disks
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 22 10:40:01 PST 1999
>Closed-Date:    Tue Mar 13 12:20:48 PST 2001
>Last-Modified:  Tue Mar 13 12:21:03 PST 2001
>Originator:     Robert Cousins
>Release:        3.4
>Organization:
Cousins Consulting
>Environment:
N/A
>Description:
I've tried installing FreeBSD 3.4 on *KNOWN GOOD HARDWARE* using
a *NEW* IBM 37.5 gb IDE disk. The installation dies as soon as it
build the filesystems and begins to copy files onto the disk.

I rebuilt the generic kernel on the install floppy (setting flags
to 0xb0ffb0ff) and the install completed, but on reboot the filesystems
were too corrupt -- fsck gave up. 
>How-To-Repeat:
Take any machine with an IBM 37.5 gb IDE disk as the primary system
disk and perform the install from floppy.

I will lend the disk to a developer or contribute money to buy one.
I just want the bug(s) fixed.
>Fix:
N/A

Linux doesn't support IDE disks > 32 gb either. 
I don't know if there is a BIOS interaction here, or not on top
of everything else.

>Release-Note:
>Audit-Trail:

From: Sheldon Hearn <sheldonh@uunet.co.za>
To: rec@RCousins.com
Cc: freebsd-gnats-submit@FreeBSD.ORG, sos@FreeBSD.org
Subject: Re: i386/15631: 3.4 won't install with IBM 37.5 gb disks 
Date: Thu, 23 Dec 1999 12:52:39 +0200

 On Wed, 22 Dec 1999 10:39:42 PST, rec@RCousins.com wrote:
 
 > I will lend the disk to a developer or contribute money to buy one.
 > I just want the bug(s) fixed.
 
 That's a kind offer, and one that the wd driver's maintainer might take
 you up on, but let's cover some basics first. :-)
 
 > The installation dies as soon as it build the filesystems and begins
 > to copy files onto the disk.
 
 When you say it dies, what do you mean?  Does the entire system lock up
 and become unresponsive to attempts to switch virtual terminals?  Do any
 error messages come up on any of the virtual terminals?  Does the
 machine reboot spontaneously?
 
 > Take any machine with an IBM 37.5 gb IDE disk as the primary system
 > disk and perform the install from floppy.
 
 Did you have any other operating system on the disk?  I know you said it
 was new, but you might have meant age, rather than use.  If so, how was
 the disk partitioned when you started?
 
 How did you partition and label the disk?
 
 Can you copy down the kernel boot probe messages that were displayed for
 your wdc controller and wd devices?
 
 Ciao,
 Sheldon.
 

From: Robert Cousins <rec@RCousins.com>
To: Sheldon Hearn <sheldonh@uunet.co.za>
Cc:  
Subject: Re: i386/15631: 3.4 won't install with IBM 37.5 gb disks
Date: Thu, 23 Dec 1999 09:30:20 -0800

 This is a cryptographically signed message in MIME format.
 
 --------------ms1BF653F8AA93291B9B8A3587
 Content-Type: multipart/mixed;
  boundary="------------87D7B7BEF54C2D8099EBB454"
 
 This is a multi-part message in MIME format.
 --------------87D7B7BEF54C2D8099EBB454
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 Sheldon:
 	Wow!  Fast response! Even at Christmas time!
 
 	I'll try to answer your questions below. I can't answer
 all of them at this instant but I'll give you what I can.
 
 Sheldon Hearn wrote:
 > 
 > On Wed, 22 Dec 1999 10:39:42 PST, rec@RCousins.com wrote:
 > 
 > > I will lend the disk to a developer or contribute money to buy one.
 > > I just want the bug(s) fixed.
 > 
 > That's a kind offer, and one that the wd driver's maintainer might take
 > you up on, but let's cover some basics first. :-)
 > 
 > > The installation dies as soon as it build the filesystems and begins
 > > to copy files onto the disk.
 > 
 > When you say it dies, what do you mean?  Does the entire system lock up
 > and become unresponsive to attempts to switch virtual terminals?  Do any
 > error messages come up on any of the virtual terminals?  Does the
 > machine reboot spontaneously?
 
 The system panics with a "corrupt I-node" message and then reboots.
  
 > > Take any machine with an IBM 37.5 gb IDE disk as the primary system
 > > disk and perform the install from floppy.
 > 
 > Did you have any other operating system on the disk?  I know you said it
 > was new, but you might have meant age, rather than use.  If so, how was
 > the disk partitioned when you started?
 
 No other OS. I had dedicated the entire disk to FreeBSD ("dangerously
 dedicated" in the terms of the installation).
  
 > How did you partition and label the disk?
 
 I used the "custom" install option from the boot floppies. I had then
 selected the disk, dedicated the entire thing to FreeBSD, made it dangerously
 dedicated and then allocated swap, /, /var and /usr file systems.
 (Also bumped into a bug in the install program whereby it won't let you
 use the last 50 megabytes of the disk in some situations.)
  
 > Can you copy down the kernel boot probe messages that were displayed for
 > your wdc controller and wd devices?
 
 Don't have them anymore. I'll try to reproduce them tonight or tomorrow.
  
 > Ciao,
 > Sheldon.
 
 My theory (as an old device driver writer) is that there is something
 of a problem accessing the disk past 32 gb. As a result, the driver thinks
 it is talking to the top few gigabytes but in reality has "wrapped around"
 to the bottom of the disk. 
 
 This is supported by the behavior when I don't use the 0xb0ffb0ff flags 
 for the driver. Then newfs can work perfectly but the first attempt to
 copy data to the disk causes a panic.
 
 Please let me know how else I can help.
 
 Thanx
 --------------87D7B7BEF54C2D8099EBB454
 Content-Type: text/x-vcard; charset=us-ascii;
  name="rec.vcf"
 Content-Transfer-Encoding: 7bit
 Content-Description: Card for Robert Cousins
 Content-Disposition: attachment;
  filename="rec.vcf"
 
 begin:vcard 
 n:Cousins;Robert
 tel;fax:(408) 867-6956
 tel;home:(408) 867-4237
 tel;work:(408) 867-4237
 x-mozilla-html:FALSE
 url:http://www.rcousins.com/rec
 org:Cousins Consulting
 adr:;;14330 Cordwood Court;Saratoga;California;95070;USA
 version:2.1
 email;internet:rec@RCousins.com
 title:Principal
 x-mozilla-cpt:;20048
 fn:Robert Cousins
 end:vcard
 
 --------------87D7B7BEF54C2D8099EBB454--
 
 --------------ms1BF653F8AA93291B9B8A3587
 Content-Type: application/x-pkcs7-signature; name="smime.p7s"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="smime.p7s"
 Content-Description: S/MIME Cryptographic Signature
 
 MIIJ7AYJKoZIhvcNAQcCoIIJ3TCCCdkCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
 B+4wggS4MIIEIaADAgECAhAz36ad4dszDO5FXZmtFHrQMA0GCSqGSIb3DQEBBAUAMIHMMRcw
 FQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29y
 azFGMEQGA1UECxM9d3d3LnZlcmlzaWduLmNvbS9yZXBvc2l0b3J5L1JQQSBJbmNvcnAuIEJ5
 IFJlZi4sTElBQi5MVEQoYyk5ODFIMEYGA1UEAxM/VmVyaVNpZ24gQ2xhc3MgMSBDQSBJbmRp
 dmlkdWFsIFN1YnNjcmliZXItUGVyc29uYSBOb3QgVmFsaWRhdGVkMB4XDTk5MDIxNzAwMDAw
 MFoXDTAwMDIxNzIzNTk1OVowggEUMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UE
 CxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazFGMEQGA1UECxM9d3d3LnZlcmlzaWduLmNvbS9y
 ZXBvc2l0b3J5L1JQQSBJbmNvcnAuIGJ5IFJlZi4sTElBQi5MVEQoYyk5ODEeMBwGA1UECxMV
 UGVyc29uYSBOb3QgVmFsaWRhdGVkMTMwMQYDVQQLEypEaWdpdGFsIElEIENsYXNzIDEgLSBO
 ZXRzY2FwZSBGdWxsIFNlcnZpY2UxGjAYBgNVBAMUEVJvYmVydCBFLiBDb3VzaW5zMR8wHQYJ
 KoZIhvcNAQkBFhByZWNAcmNvdXNpbnMuY29tMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANpj
 71VzaVM1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mNvcnAuIEJ5
 IFJlZi4sTElBQi5MVEQoYyk5ODFIMEYGA1UEAxM/VmVyaVNpZ24gQ2xhc3MgMSBDQSBJbmRp
 dmlkdWFsIFN1YnNjcmliZXItUGVyc29uYSBOb3QgVmFsaWRhdGVkAhAz36ad4dszDO5FXZmt
 FHrQMAkGBSsOAwIaBQCgfTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJ
 BTEPFw05OTEyMjMxNzMwMjFaMB4GCSqGSIb3DQEJDzERMA8wDQYIKoZIhvcNAwICASgwIwYJ
 KoZIhvcNAQkEMRYEFDrhcqJqQkMgK4CmUxFfFwgm9MriMA0GCSqGSIb3DQEBAQUABEDJKokb
 VpSV8xYQdT2WXN8uZrlS5pMUgMNQmmd94rc3fauuAqHwBATpBzg94Um/S+Iek3K0Y9qMFHSq
 B83iNehS
 --------------ms1BF653F8AA93291B9B8A3587--
 
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: nbm 
State-Changed-When: Sat Aug 5 16:20:19 PDT 2000 
State-Changed-Why:  
I'm pretty sure this would work better in 4.0 or 4.1.  Are you able to 
provide me with clarification on whether it does in your case? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=15631 

From: Neil Blakey-Milner <nbm@mithrandr.moria.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: i386/15631: 3.4 won't install with IBM 37.5 gb disks
Date: Thu, 10 Aug 2000 23:51:21 +0200

 ----- Forwarded message from Bruce Evans <bde@zeta.org.au> -----
 
 Date: Tue, 8 Aug 2000 05:37:09 +1000 (EST)
 From: Bruce Evans <bde@zeta.org.au>
 To: nbm@FreeBSD.ORG
 Cc: rec@RCousins.com, freebsd-bugs@FreeBSD.ORG
 Subject: Re: i386/15631: 3.4 won't install with IBM 37.5 gb disks
 
 On Sat, 5 Aug 2000 nbm@FreeBSD.ORG wrote:
 
 > Synopsis: 3.4 won't install with IBM 37.5 gb disks
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: nbm
 > State-Changed-When: Sat Aug 5 16:20:19 PDT 2000
 > State-Changed-Why: 
 > I'm pretty sure this would work better in 4.0 or 4.1.  Are you able to
 > provide me with clarification on whether it does in your case?
 
 This problem is still in FreeBSD-3-stable, except it can be worked around
 using LBA mode (don't use panic dumps in LBA mode under FreeBSD-3.4).  See
 PR 15611, and wd.c revs 1.218, 1.219 and 1.186.2.5.
 
 Bruce
 
 
 ----- End forwarded message -----
 
 

From: Neil Blakey-Milner <nbm@mithrandr.moria.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: i386/15631: 3.4 won't install with IBM 37.5 gb disks
Date: Thu, 10 Aug 2000 23:52:03 +0200

 ----- Forwarded message from Robert Cousins <rec@RCousins.com> -----
 
 Date: Mon, 07 Aug 2000 14:06:49 -0700
 From: Robert Cousins <rec@RCousins.com>
 Organization: Cousins Consulting
 X-Mailer: Mozilla 4.7 [en] (Win98; U)
 To: nbm@FreeBSD.org
 Subject: Re: i386/15631: 3.4 won't install with IBM 37.5 gb disks
 
 nbm@FreeBSD.org wrote:
 > 
 > Synopsis: 3.4 won't install with IBM 37.5 gb disks
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: nbm
 > State-Changed-When: Sat Aug 5 16:20:19 PDT 2000
 > State-Changed-Why:
 > I'm pretty sure this would work better in 4.0 or 4.1.  Are you able to
 > provide me with clarification on whether it does in your case?
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=15631
 
 I've tried the 61 gb IBM disks under 4.0 and it does work.
 I made the 37.5's work by rebuilding the generic kernel and
 building custom boot disks.
 
 Thanx
 
 ----- End forwarded message -----
 

From: Sheldon Hearn <sheldonh@uunet.co.za>
To: Neil Blakey-Milner <nbm@mithrandr.moria.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: i386/15631: 3.4 won't install with IBM 37.5 gb disks 
Date: Tue, 15 Aug 2000 10:20:06 +0200

 On Thu, 10 Aug 2000 15:00:02 MST, Neil Blakey-Milner wrote:
 
 >  This problem is still in FreeBSD-3-stable, except it can be worked around
 >  using LBA mode (don't use panic dumps in LBA mode under FreeBSD-3.4).  See
 >  PR 15611, and wd.c revs 1.218, 1.219 and 1.186.2.5.
 
 I'm unsure where to go with this.  Do Bruce's patches on PR 15611 allow
 for the use of >32GB filesystems in RELENG_3 without the use of LBA
 mode?
 
 Irrespective, since there's no future release scheduled on the RELENG_3
 line, I think the way to go with this one is to add an errata entry for
 3.5-RELEASE.  However, I can't write the text without understanding the
 problem fully, and I can't test this out myself because I don't have
 enough scratch hardware.
 
 Can anyone come up with a description for the erratum, possibly letting
 me know whether or not Bruce's patches from PR 15611 are appropriate for
 inclusion?
 
 Ciao,
 Sheldon.
 

From: Bruce Evans <bde@zeta.org.au>
To: Sheldon Hearn <sheldonh@uunet.co.za>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: i386/15631: 3.4 won't install with IBM 37.5 gb disks 
Date: Wed, 16 Aug 2000 03:40:57 +1000 (EST)

 On Tue, 15 Aug 2000, Sheldon Hearn wrote:
 
 >  >  This problem is still in FreeBSD-3-stable, except it can be worked around
 >  >  using LBA mode (don't use panic dumps in LBA mode under FreeBSD-3.4).  See
 >  >  PR 15611, and wd.c revs 1.218, 1.219 and 1.186.2.5.
 >  
 >  I'm unsure where to go with this.  Do Bruce's patches on PR 15611 allow
 >  for the use of >32GB filesystems in RELENG_3 without the use of LBA
 >  mode?
 
 No, they only make it fail properly in CHS mode.  The wd driver went away
 too fast in -current for me to finish the fix.
 
 >  Irrespective, since there's no future release scheduled on the RELENG_3
 >  line, I think the way to go with this one is to add an errata entry for
 >  3.5-RELEASE.  However, I can't write the text without understanding the
 >  problem fully, and I can't test this out myself because I don't have
 >  enough scratch hardware.
 
 Same here.  My largest drive is 9GB :-).
 
 Bruce
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: des 
State-Changed-When: Tue Mar 13 12:20:48 PST 2001 
State-Changed-Why:  
According to bde, this problem has been fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=15631 
>Unformatted:
