From hm-gerhards@web.de  Tue May 30 14:43:35 2006
Return-Path: <hm-gerhards@web.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9F61116A5C7
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 30 May 2006 14:43:35 +0000 (UTC)
	(envelope-from hm-gerhards@web.de)
Received: from fmmailgate09.web.de (fmmailgate09.web.de [217.72.192.184])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0FDB343D5E
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 30 May 2006 14:43:27 +0000 (GMT)
	(envelope-from hm-gerhards@web.de)
Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166])
	by fmmailgate09.web.de (Postfix) with ESMTP id 80BEA3A0549
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 30 May 2006 16:43:26 +0200 (CEST)
Received: from [145.254.130.149] (helo=neptun.hmg.homeunix.net)
	by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256)
	(WEB.DE 4.107 #114)
	id 1Fl5RM-00023m-00
	for FreeBSD-gnats-submit@freebsd.org; Tue, 30 May 2006 16:43:26 +0200
Received: from michael by neptun.hmg.homeunix.net with local (Exim 4.60 (FreeBSD))
	(envelope-from <hm-gerhards@web.de>)
	id 1Fl5Pq-0000Jt-LB
	for FreeBSD-gnats-submit@freebsd.org; Tue, 30 May 2006 16:41:50 +0200
Message-Id: <20060530144150.GA1179@neptun.hmg.homeunix.net>
Date: Tue, 30 May 2006 16:41:50 +0200
From: Hans-Michael Gerhards <hm-gerhards@web.de>
Sender: hm-gerhards@web.de
Reply-To: hm-gerhards@web.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: 6-STABLE crashes when being online via modem

>Number:         98154
>Category:       i386
>Synopsis:       6-STABLE crashes when being online via modem (Fujitsu Siemens Amilo A notebook)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 30 14:50:19 GMT 2006
>Closed-Date:    Wed Oct 12 06:15:58 UTC 2011
>Last-Modified:  Wed Oct 12 06:15:58 UTC 2011
>Originator:     Hans-Michael Gerhards
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD neptun.hmg.homeunix.net 6.1-STABLE FreeBSD 6.1-STABLE
#3: Mon May 15 19:10:40 CEST 2006 root@neptun.hmg.homeunix.net:/usr/obj/usr/src/sys/NEPTUN i386

I am running FreeBSD 6-STABLE on a Fujitsu Siemens Amilo A notebook with
mobile AMD Athlon 2600+ and 512 MB RAM (shared memory graphic). This
machine has internet access via kppp and a Creative ModemBlaster V.92
serial modem. My window manager is KDE 3.4.2, kppp 2.3.2, pppd 2.3.11.

>Description:

Sometimes when being connected to the internet via serial modem and kppp
dial-up connection the system completly locks up (and reboots after some
seconds to minutes).

"kgdb kernel.debug /var/crash/vmcore.2" on my system gives the following
output:

[GDB will not be able to debug user-mode threads:
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
(...)
Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x29
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0xc06ad6a6
stack pointer           = 0x28:0xd992f9d0
frame pointer           = 0x28:0xd992fa00
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 793 (opera)
trap number             = 12
panic: page fault
Uptime: 19m31s
Dumping 478 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 478MB (122352 pages) 462 446 430 414 398 382 366 350 334 318
302 286 270 254 238 222 206 190 174 158 142 126 110 94 (CTRL-C to abort)
(CTRL-C to abort)  78 (CTRL-C to abort)  (CTRL-C to abort)  (CTRL-C to
abort)  62 46 30 14

#0  doadump () at pcpu.h:165
165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) quit

>How-To-Repeat:

Establishing an dial-up internet access via modem and kppp and browsing
around some internet pages. After some time (the exact time is
unpredictable, sometimes only minutes, sometimes even not within some
hours) the system completly locks up and reboots.

>Fix:

>Release-Note:
>Audit-Trail:

From: Joe Vender <jvender@owensboro.net>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: i386/98154: 6-STABLE crashes when being online via modem (Fujitsu Siemens Amilo A notebook)
Date: Tue, 6 Feb 2007 16:05:31 -0600

 I appear to be experiencing the same problem as reported in this bug report. 
 I've posted what I could starting at:
 
 http://lists.freebsd.org/pipermail/freebsd-questions/2007-January/140919.html
 

From: Hajimu UMEMOTO <ume@FreeBSD.org>
To: bug-followup@FreeBSD.org, hm-gerhards@web.de
Cc:  
Subject: Re: i386/98154: 6-STABLE crashes when being online via modem (Fujitsu
 Siemens Amilo A notebook)
Date: Fri, 09 Feb 2007 04:27:31 +0900

 Hi,
 
 Put debug.mpsafenet=0 into your /boot/loader.conf.
 I believe it is for workaround.
 
 -- 
 Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
 ume@mahoroba.org  ume@{,jp.}FreeBSD.org
 http://www.imasy.org/~ume/
 

From: Joe Vender <jvender@owensboro.net>
To: bug-followup@freebsd.org,
 hm-gerhards@web.de
Cc:  
Subject: Re: i386/98154: 6-STABLE crashes when being online via modem (Fujitsu Siemens Amilo A notebook)
Date: Sat, 10 Feb 2007 14:05:05 -0600

 Well, I've set the tunable as suggested, configured KPPP and am using it now. 
 So far, no problem, but I haven't been online for long either, so time will 
 tell if thats the problem. I came across this which states that if you are 
 using pppd, then you need to set the tunable to 0, if I read it correctly.
 
 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2004-08/2745.html
 
 This all makes me wonder, what is the advantage to having the debug.mpsafenet 
 set to 1 as default, anyway, if the computer only has a single processor? 
 Shouldn't the installer be smart enough to detect if the computer is single 
 or multiprocessor, and set the tunable accordingly, at least until ALL of the 
 network features are made MPSAFE so that it is no longer an issue? And, when 
 installing FreeBSD 6.2, the kernel that booted from the install CD was 
 GENERIC, but after the installation, the bootup showed that the kernel being 
 used was SMP. Being that my computer is a single processor, shouldn't it 
 default to the GENERIC kernel after installation, unless I request otherwise?
 
 Thanks,
 Joe

From: Joe Vender <jvender@owensboro.net>
To: bug-followup@freebsd.org,
 hm-gerhards@web.de
Cc:  
Subject: Re: i386/98154: 6-STABLE crashes when being online via modem (Fujitsu Siemens Amilo A notebook)
Date: Sun, 11 Feb 2007 18:05:37 -0600

 Well, I'm sorry to say that this suggested workaround didn't fix the 
 spontaneous reboot issue for me, although I was able to spend several hours 
 connected while using KPPP before problems. In the dialup session in which 
 the problem had occurred, I'd been online for about an hour which was spent 
 downloading latest ports snapshot via portsnap. I left the computer after 
 about an hour of downloading, and when I returned a while later, there it sat 
 staring at me with a login prompt. It had spontaneously rebooted! I was using 
 KPPP when this happened, so also using pppd.
 
 Joe
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Wed Jul 14 06:03:39 UTC 2010 
State-Changed-Why:  
Hello is this still a problem on recent versions of FreeBSD? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98154 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Wed Oct 12 06:15:57 UTC 2011 
State-Changed-Why:  
Feedback timeout 

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