From nobody  Tue Nov 10 01:48:09 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id BAA02811;
          Tue, 10 Nov 1998 01:48:09 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199811100948.BAA02811@hub.freebsd.org>
Date: Tue, 10 Nov 1998 01:48:09 -0800 (PST)
From: rampa@elet.polimi.it
To: freebsd-gnats-submit@freebsd.org
Subject: FreeBSD crashes when global memory allocation is larger than the physical memory dimension
X-Send-Pr-Version: www-1.0

>Number:         8641
>Category:       kern
>Synopsis:       FreeBSD crashes when global memory allocation is larger than the physical memory dimension
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 10 01:50:00 PST 1998
>Closed-Date:    Mon Mar 29 16:01:18 PST 1999
>Last-Modified:  Mon Mar 29 16:02:17 PST 1999
>Originator:     Vittorio Rampa
>Release:        2.2.6-RELEASE
>Organization:
C.S.T.S. - C.N.R. - Politecnico di Milano - Milano - Italy
>Environment:
FreeBSD neptune.elet.polimi.it 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #0: Fri Jun 26 18:57:02 CE
ST 1998     root@neptune.elet.polimi.it:/usr/src/sys/compile/NEPTUNE  i386
>Description:
The system is composed by:
-ASUS P2B Motherboard with 384 MB SDRAM PC100 and a Pentium II 400MHz;
-)Adaptec 2940UW with:
  -)4 UW SCSI IBM disks 9GB DDRS-39130W (id:1,2,3,4);
  -)1 UW SCSI IBM disk  4GB DCAS-34330W (id:0);
  -)1 Exabyte SCSI 4/8 GB EXB-85058HE-0000 (id:5);
-)Etherexpress Pro10 plus;
-)S3 ViRGE/DX 4MB

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

From: David Greenman <dg@root.com>
To: rampa@elet.polimi.it
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/8641: FreeBSD crashes when global memory allocation is larger than the physical memory dimension 
Date: Tue, 10 Nov 1998 03:07:43 -0800

    Try taking out the BOUNCE_BUFFERS option, which causes problems for large
 memory machines and is not needed on yours.
 
 -DG
 
 David Greenman
 Co-founder/Principal Architect, The FreeBSD Project
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Mon Mar 29 16:01:18 PST 1999 
State-Changed-Why:  
No follow-up to dg's advice in over 4 months.  
>Unformatted:
 >X -probeonly
 XFree86 Version 3.3.2
 Configured drivers:
   S3V: accelerated server for S3 graphics adaptors (Patchlevel 0)
       s3_ViRGE
 Using syscons driver with X support (version 2.0)
 (using VT number 1)
 
 >swapinfo
 Device      1K-blocks     Used    Avail Capacity  Type
 /dev/sd0s1b   1048576     6440  1042072     1%    Interleaved
 
 >more /sys/i386/conf/NEPTUNE 
 #
 # NEPTUNE -- machine with AHx family disks
 #
 # For more information read the handbook part System Administration ->
 # Configuring the FreeBSD Kernel -> The Configuration File.
 # The handbook is available in /usr/share/doc/handbook or online as
 # latest version from the FreeBSD World Wide Web server
 # <URL:http://www.FreeBSD.ORG/>
 #
 # An exhaustive list of options and more detailed explanations of the
 # device lines is present in the ./LINT configuration file. If you are
 # in doubt as to the purpose or necessity of a line, check first in LINT.
 #
 #       $Id: GENERIC,v 1.77.2.22 1998/03/24 01:20:14 jkh Exp $
 
 machine         "i386"
 cpu             "I686_CPU"
 ident           NEPTUNE
 maxusers        20
 
 options         INET                    #InterNETworking
 options         FFS                     #Berkeley Fast Filesystem
 options         NFS                     #Network Filesystem
 options         MSDOSFS                 #MSDOS Filesystem
 options         "CD9660"                #ISO 9660 Filesystem
 options         PROCFS                  #Process filesystem
 options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
 options         SCSI_DELAY=15           #Be pessimistic about Joe SCSI device
 options         BOUNCE_BUFFERS          #include support for DMA bounce buffers
 options         UCONSOLE                #Allow users to grab the console
 options         XSERVER                 #support for X server
 options         FAILSAFE                #Be conservative
 options         QUOTA                   #Activate quota check
 options         PERFMON                 #Performance monitor
 options         USERCONFIG              #boot -c editor
 options         VISUAL_USERCONFIG       #visual boot -c editor
 options         SYSVSHM                 #System V shared memory emulation
 options         SYSVSEM                 #System V semaphore emulation
 options         SYSVMSG                 #System V message emulation
 options         SCSI_REPORT_GEOMETRY    #Report SCSI geometry at boot
 options         "MAXCONS=8"             #Enable 8 virtual consoles
 
 options         KTRACE                  #kernel tracing
 options         DDB                     #kernel debugging
 
 config          kernel  root on sd0
 
 controller      isa0
 controller      eisa0
 controller      pci0
 
 controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
 disk            fd0     at fdc0 drive 0
 
 controller      ahc0
 controller      scbus0
 
 device          sd0
 device          od0     #See LINT for possible `od' options.
 device          st0
 device          cd0     #Only need one of these, the code dynamically grows
 
 # syscons is the default console driver, resembling an SCO console
 device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr
 
 device          npx0    at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr
 
 device          sio0    at isa? port "IO_COM1" tty irq 4 vector siointr
 device          sio1    at isa? port "IO_COM2" tty irq 3 vector siointr
 
 device          lpt0    at isa? port? tty irq 7 vector lptintr
 device          psm0    at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
 
 device fxp0
 device vx0
 
 pseudo-device   loop
 pseudo-device   speaker
 pseudo-device   ether
 pseudo-device   log
 pseudo-device   pty     32
 pseudo-device   gzip            # Exec gzipped a.out's
 
 >dmesg
 Copyright (c) 1992-1998 FreeBSD Inc.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
         The Regents of the University of California.  All rights reserved.
 
 FreeBSD 2.2.6-RELEASE #0: Fri Jun 26 18:57:02 CEST 1998
     root@neptune.elet.polimi.it:/usr/src/sys/compile/NEPTUNE
 CPU: Pentium Pro (400.91-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x651  Stepping=1
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,<b16>,<b17>,MMX
 ,<b24>>
 real memory  = 402653184 (393216K bytes)
 avail memory = 392269824 (383076K bytes)
 Probing for devices on PCI bus 0:
 chip0 <generic PCI bridge (vendor=8086 device=7190 subclass=0)> rev 2 on pci0:0:0
 chip1 <generic PCI bridge (vendor=8086 device=7191 subclass=4)> rev 2 on pci0:1:0
 chip2 <Intel 82371AB PCI-ISA bridge> rev 2 on pci0:4:0
 chip3 <Intel 82371AB IDE interface> rev 1 on pci0:4:1
 chip4 <Intel 82371AB USB interface> rev 1 int d irq ?? on pci0:4:2
 chip5 <Intel 82371AB Power management controller> rev 2 on pci0:4:3
 vga0 <VGA-compatible display device> rev 1 int a irq 15 on pci0:9:0
 ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 1 int a irq 10 on pci0:10:0
 ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
 ahc0 waiting for scsi devices to settle
 (ahc0:0:0): "IBM DCAS-34330W S65A" type 0 fixed SCSI 2
 sd0(ahc0:0:0): Direct-Access 4134MB (8467200 512 byte sectors)
 sd0(ahc0:0:0): with 8205 cyls, 6 heads, and an average 171 sectors/track
 (ahc0:1:0): "IBM DDRS-39130W S92A" type 0 fixed SCSI 2
 sd1(ahc0:1:0): Direct-Access 8715MB (17850000 512 byte sectors)
 sd1(ahc0:1:0): with 8387 cyls, 10 heads, and an average 212 sectors/track
 (ahc0:2:0): "IBM DDRS-39130W S92A" type 0 fixed SCSI 2
 sd2(ahc0:2:0): Direct-Access 8715MB (17850000 512 byte sectors)
 sd2(ahc0:2:0): with 8387 cyls, 10 heads, and an average 212 sectors/track
 (ahc0:3:0): "IBM DDRS-39130W S92A" type 0 fixed SCSI 2
 sd3(ahc0:3:0): Direct-Access 8715MB (17850000 512 byte sectors)
 sd3(ahc0:3:0): with 8387 cyls, 10 heads, and an average 212 sectors/track
 (ahc0:4:0): "IBM DDRS-39130W S92A" type 0 fixed SCSI 2
 sd4(ahc0:4:0): Direct-Access 8715MB (17850000 512 byte sectors)
 sd4(ahc0:4:0): with 8387 cyls, 10 heads, and an average 212 sectors/track
 (ahc0:5:0): "EXABYTE EXB-85058HE-0000 0108" type 1 removable SCSI 2
 st0(ahc0:5:0): Sequential-Access density code 0x0,  drive empty
 fxp0 <Intel EtherExpress Pro 10/100B Ethernet> rev 1 int a irq 11 on pci0:11:0
 fxp0: Ethernet address 00:a0:c9:10:66:40, 10Mbps
 Probing for devices on PCI bus 1:
 Probing for devices on the ISA bus:
 sc0 at 0x
