From nobody@FreeBSD.org  Mon Jul 22 19:45:42 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 9EBD7F78
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Jul 2013 19:45:42 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 8042120CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Jul 2013 19:45:42 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6MJjgbi059762
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Jul 2013 19:45:42 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6MJjfDV059761;
	Mon, 22 Jul 2013 19:45:41 GMT
	(envelope-from nobody)
Message-Id: <201307221945.r6MJjfDV059761@oldred.freebsd.org>
Date: Mon, 22 Jul 2013 19:45:41 GMT
From: Alexander Sheiko <adsh@univ.kiev.ua>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 9.1 (9.2) GENERIC kernel panic on Intel D815EPFV motherboard
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         180744
>Category:       kern
>Synopsis:       [panic] FreeBSD 9.1 (9.2) GENERIC kernel panic on Intel D815EPFV motherboard
>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:   Mon Jul 22 19:50:01 UTC 2013
>Closed-Date:    Sun Apr 20 01:50:52 UTC 2014
>Last-Modified:  Sun Apr 20 01:50:52 UTC 2014
>Originator:     Alexander Sheiko
>Release:        9.1 RELEASE (or 9.2 PRERELEASE)
>Organization:
Kiev National University
>Environment:
9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
When I boot from FreeBSD 9.1-RELEASE (or 9.2 PRERELEASE) CD or from HDD with GENERIC kernel I have kernel panic immediately or within 1-2 minutes:

panic: kmem_malloc (4096): kmem_map too small: 37629952 total allocated

I have NO any problems with FreeBSD 9.0-RELEASE GENERIC kernel on this motherboard.

I have NO any problems with FreeBSD 9.1 custom kernel (see attached kernel conf) on this motherboard.
>How-To-Repeat:
Boot from FreeBSD 9.1-RELEASE (or 9.2 PRERELEASE) CD on Intel D815EPFV motherboard.
>Fix:


Patch attached with submission follows:

cpu             I686_CPU
ident           Pentium

options         SCHED_ULE               # ULE scheduler
options         PREEMPTION              # Enable kernel thread preemption
options         INET                    # InterNETworking
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates support
options         UFS_DIRHASH             # Improve performance on big directories
options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
options         CD9660                  # ISO 9660 Filesystem
options         PROCFS                  # Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                # Pseudo-filesystem framework
options         GEOM_PART_GPT           # GUID Partition Tables.
options         GEOM_LABEL              # Provides labelization
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options         PRINTF_BUFR_SIZE=128    # Prevent printf output being interspersed.
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev

options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #enable logging to syslogd(8)
options         IPFIREWALL_VERBOSE_LIMIT=1000    #limit verbosity
options         IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by default
options         DUMMYNET
option          HZ=1000                 # strongly recommended

device          apic                    # I/O APIC

# Bus support.
device          acpi
device          pci

# Floppy drives
device          fdc

# ATA controllers
device          ata             # Legacy ATA/SATA controllers
options         ATA_CAM         # Handle legacy controllers with CAM
options         ATA_STATIC_ID   # Static device numbering

# ATA/SCSI peripherals
device          scbus           # SCSI bus (required for ATA/SCSI)
device          da              # Direct Access (disks)
device          cd              # CD
device          pass            # Passthrough device (direct ATA/SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          psm             # PS/2 mouse

device          vga             # VGA video card driver

device          splash          # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device          sc
options         SC_PIXEL_MODE   # add support for the raster text mode

# Power management support (see NOTES for more options)
#device         apm
# Add suspend/resume support for the i8254.
device          pmtimer

# Serial (COM) ports
device          uart            # Generic UART driver

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo devices.
device          loop            # Network loopback
device          random          # Entropy device
device          ether           # Ethernet support
device          pty             # BSD-style compatibility pseudo ttys

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device          bpf             # Berkeley packet filter

# USB support
#options         USB_DEBUG       # enable debug msgs
device          uhci            # UHCI PCI->USB interface
device          usb             # USB Bus (required)
device          umass           # Disks/Mass storage - Requires scbus and da


>Release-Note:
>Audit-Trail:

From: Glen Barber <gjb@FreeBSD.org>
To: Alexander Sheiko <adsh@univ.kiev.ua>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/180744: FreeBSD 9.1 (9.2) GENERIC kernel panic on Intel
 D815EPFV motherboard
Date: Mon, 22 Jul 2013 18:36:06 -0400

 --gatW/ieO32f1wygP
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 More information is definitely needed.  For starters:
 
 How much RAM on the system?
 What kernel modules are loaded?
 What filesystem are you using?
 What do /etc/sysctl.conf and /boot/loader.conf contain?
 
 Glen
 
 
 --gatW/ieO32f1wygP
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.20 (FreeBSD)
 
 iQEcBAEBCAAGBQJR7bPWAAoJEFJPDDeguUajK8gIAK9XVMrjm/ECzttV2etaqkcY
 ctCQtJHy6heq6yib0krG5WKuam7KpQvt906b7NXk/WrdS7p3DsnUQnWTWVU7dC01
 bQtLKFT7eDEAmFey0466cng8P2Qvjylc9ycaxWRQHwLGfHQ5zA8K3KVz7u+oW4KP
 3+/s59SwI3mpJHs5pOKNEoIJG7Nio55P7jWs3YT4tF6Rzf3I8ImWvPbeDOLwMjOm
 hQvcbk2H9Cb/Gwdo4dRPEm7VhOD0sqxtd0EJSV2pp+THv9QfnKvXDIvq9twO+bkM
 N7gGpG1tcWPrYxrm+yJ45trKmVsmofFtG5vKaERdnoSjABoc1dg4m13J8t/GinA=
 =8OvH
 -----END PGP SIGNATURE-----
 
 --gatW/ieO32f1wygP--

From: Alexander Sheiko <adsh@univ.kiev.ua>
To: Glen Barber <gjb@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/180744: FreeBSD 9.1 (9.2) GENERIC kernel panic on Intel D815EPFV motherboard
Date: Tue, 23 Jul 2013 03:08:58 +0300

 Hello Glen,
 
 Tuesday, July 23, 2013, 1:36:06 AM, you wrote:
 
 GB> More information is definitely needed.  For starters:
 
 GB> How much RAM on the system?
 
 128 MB:
 
 real memory  =3D 134217728 (128 MB)
 avail memory =3D 120360960 (114 MB)
 
 (integrated video)
 
 A attempt to setup 256 MB RAM with the same results.
 
 GB> What kernel modules are loaded?
 
 Kernel only.
 
 GB> What filesystem are you using?
 
 1.  I boot from CD - no file system on disk or no disk present. Panic start=
 ed at
 mounting  CDFS.  In  this  case  I  can boot after set single user + safe m=
 ode
 loader options.
                                                                         =20
 2. I boot from HDD - UFS GPT partition like this:
 
 gpart show -l
 =3D>       34  488397101  ada0  GPT  (232G)
          34        128     1  boot  (64k)
         162    1048576     2  swap  (512M)
     1048738    1048576     3  root  (512M)
     2097314    8388608     4  usr  (4.0G)
    10485922  465567744     5  var  (222G)
   476053666    9228288     6  incoming  (4.4G)
   485281954    3115181     7  home  (1.5G)
  =20
 I  can  boot  at  single  user + safe mode loader options. In this case pan=
 ic=20
 started when   a   attempt   to  run  fsck  -fy  /dev/gpt/<partition  label=
 >.
 Sometimes - immediately, sometimes - after I run fsck on the next partition=
 .                     =20
 
 GB> What do /etc/sysctl.conf and /boot/loader.conf contain?
 
 This  files  is  from  default  installation  (sysctl.conf) or no files pre=
 sent=20
 (loader.conf).
 
 When  I  recompile  9.1  kernel  with  attached  conf (on 9.0 system) or us=
 e 9.0
 GENERIC kernel I can boot and use system without any problems.           =
 =20
 
 --=20
 WBR, Alexander Sheiko
 
State-Changed-From-To: open->feedback 
State-Changed-By: gjb 
State-Changed-When: Mon Aug 5 11:23:10 UTC 2013 
State-Changed-Why:  
Feedback requested. 


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

From: Glen Barber <gjb@FreeBSD.org>
To: Alexander Sheiko <adsh@univ.kiev.ua>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/180744: FreeBSD 9.1 (9.2) GENERIC kernel panic on Intel
 D815EPFV motherboard
Date: Mon, 5 Aug 2013 07:22:59 -0400

 --MOeiELSuYwpLEKvX
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Please try the 9.2-RC1 images.
 
 ctl(4) was removed from the GENERIC kernel, which should lower the
 memory footprint, allowing 9.2 to work on systems with 128MB RAM without
 additional tuning.
 
 Glen
 
 
 --MOeiELSuYwpLEKvX
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.20 (FreeBSD)
 
 iQEcBAEBCAAGBQJR/4sTAAoJEFJPDDeguUajaNgIALpT6yxEUnZT75egJ13BMkkA
 MJGAFaTQmgwpoVX/dPv3QKOjNJk8UYnKY3Gfis2BfQtpGvVyBRiGJ2EVDsFhxtHo
 0u2nGPVZPbwZiNB7XV1Ts0xh1kB/28vCsbRFdu+clicm1+UbK8/yN8M0dDmQYsnI
 9p+YkmNJF2f6NwiVFC50arPLM5iFFX79wjwgjtVAkiGBcxUYEvsULijJj6EVjGgS
 eA4y6RuTD/Nc5cFEOuCZgDkFVqj0zSbS6HqTXAyo7hFTLFZZ2dLjR2AmnQLHaQzq
 oJf1F6VAzQozAn5Xc04YDUUo8TBqW6EG296pbw6JOlrxImD0JL7BceKotAItNSI=
 =f8F7
 -----END PGP SIGNATURE-----
 
 --MOeiELSuYwpLEKvX--
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Apr 20 01:48:45 UTC 2014 
State-Changed-Why:  
Feedback timeout (> 6 months).  To submitter: please let us know if this 
is still a problem. 

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