From nobody@FreeBSD.ORG Fri May 28 11:54:04 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 3DED815209; Fri, 28 May 1999 11:53:53 -0700 (PDT)
Message-Id: <19990528185353.3DED815209@hub.freebsd.org>
Date: Fri, 28 May 1999 11:53:53 -0700 (PDT)
From: ram@Novell.COM
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: FreeBSD 3.1 freezes my ThinkPad 770ED
X-Send-Pr-Version: www-1.0

>Number:         11916
>Category:       kern
>Synopsis:       FreeBSD 3.1 freezes my ThinkPad 770ED
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    nate
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 28 12:00:01 PDT 1999
>Closed-Date:    Fri May 28 23:08:18 PDT 1999
>Last-Modified:  Fri May 28 23:09:03 PDT 1999
>Originator:     Ram Madduluri
>Release:        3.1-RELEASE
>Organization:
Novell Inc.
>Environment:
FreeBSD vaman.sjf.novell.com 3.1-RELEASE FreeBSD 3.1-RELEASE #9 Thu May 27 18:09:11 PDT 1999 root@vaman.sjf.novell.com:/usr/src/sys/compile/MYKERNEL i386
>Description:
I have upgraded my ThinkPad 770ED from a 2.2.6 version to 3.1-RELEASE  a few weeks back. 
Since then I have been experiencing a freeze of the system consistently after about 10 minutes 
of uptime.  I thought the problem was with the apm driver and disabled it - but the problem remains.
I have tried to remove all the drivers I don't need for the basic operations, but the situation has
not changed.  I also need to disconnect the power  source (battery or DC power cord) to reboot
at this time since the power switch is also disabled.  I suspect the problem has something to do 
with the ThinkPad's power management  that has surfaced only with 3.1 release.  I would surely
appreciate any help with this problem.
>How-To-Repeat:
Install 3.1-RELEASE on a ThinkPad 770ED  and just reboot the system.  You don't even have to 
login - just let it sit idle for a while;  or,  you could work on it (make sure you don't work with any crucial
files that you cannot recreate) - just wait for long enough for the timer to kick in and freeze the system.
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: nate 
State-Changed-When: Fri May 28 13:00:51 PDT 1999 
State-Changed-Why:  
When your ThinkPad boots up, note the size of memory reported by the BIOS. 
Also note the amount of memory reported by FreeBSD at boot.  They will 
be different.  FreeBSD needs to be told the amount of memory as reported 
by your BIOS.  Using the 'MAXMEM' option in your kernel configuration file, 
you should set the memory of your system. 
On my box, I have the following line in my config file (I have 128MB of memory) 

options         "MAXMEM=130496"         # The Thinkpad's reserve some memory 

Or, you could just guess and do something like: 

options         "MAXMEM=127*1024" 

if you don't want to figure out.  (Salt to how much memory your machine uses). 


Responsible-Changed-From-To: freebsd-bugs->nate 
Responsible-Changed-By: nate 
Responsible-Changed-When: Fri May 28 13:00:51 PDT 1999 
Responsible-Changed-Why:  
I'm "Mr. ThinkPad" :) 

From: Ram Madduluri <ram@null.net>
To: ram@Novell.COM, nate@freebsd.org
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/11916: FreeBSD 3.1 freezes my ThinkPad 770ED
Date: Fri, 28 May 1999 16:54:01 -0700

 This is a multi-part message in MIME format.
 --------------9FEC65D51E7E48A191864075
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 Nate,
 
 I had installed additional 128MB (with the total of 192MB) on my laptop
 around the same time as I installed 3.1-RELEASE and that may be the
 reason for the problem....
 
 I set the option "MAXMEM=(191*1024)" as you suggested and BINGO! it
 seems to solve the problem, atleast in console mode. I will let you know
 if I encounter any problems while running X.
 
 Thanks for your help!
 
 Ram
 
 --------------9FEC65D51E7E48A191864075
 Content-Type: text/x-vcard; charset=us-ascii;
  name="ram.vcf"
 Content-Transfer-Encoding: 7bit
 Content-Description: Card for Ram Madduluri
 Content-Disposition: attachment;
  filename="ram.vcf"
 
 begin:vcard 
 n:Madduluri;Ram
 tel;fax:408-967-5014
 tel;work:408-967-7707
 x-mozilla-html:TRUE
 org:Novell Inc.;Corporate R&D
 adr:;;2211 N. First Street;San Jose;CA;95131;USA
 version:2.1
 email;internet:ram@Novell.COM
 x-mozilla-cpt:;-4320
 fn:Ram Madduluri
 end:vcard
 
 --------------9FEC65D51E7E48A191864075--
 
 
State-Changed-From-To: analyzed->closed 
State-Changed-By: nate 
State-Changed-When: Fri May 28 23:08:18 PDT 1999 
State-Changed-Why:  
Originator reports problems fixed in console mode.  I'll re-open the PR 
if the problem re-appears. 
>Unformatted:
