From nobody@FreeBSD.org  Mon Sep  5 15:19:10 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0133A16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Sep 2005 15:19:10 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 851E743D6B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Sep 2005 15:19:09 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j85FJ9k6086210
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 5 Sep 2005 15:19:09 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j85FJ9vD086209;
	Mon, 5 Sep 2005 15:19:09 GMT
	(envelope-from nobody)
Message-Id: <200509051519.j85FJ9vD086209@www.freebsd.org>
Date: Mon, 5 Sep 2005 15:19:09 GMT
From: 8084 <bobahu4@mail.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: kernel panic : pppd : page fault while in kernel mode
X-Send-Pr-Version: www-2.3

>Number:         85751
>Category:       kern
>Synopsis:       [devfs] [panic] panic in devfs_setattr() when running pppd and device disappears
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 05 15:20:16 GMT 2005
>Closed-Date:    Thu Jul 15 10:09:18 UTC 2010
>Last-Modified:  Thu Jul 15 10:09:18 UTC 2010
>Originator:     8084
>Release:        FreeBSD 6.0 BETA3 kernel with BETA1 world
>Organization:
none
>Environment:
>Description:

  pppd is used to dial via USB modem. The USB is cable unplugged.
  ttyU0 disappears. Then pppd is closed via ^C sequence:

Terminating on signal 2
read: Device not configured
Couldn't delete default route: No such process
Couldn't restore device fd flags: Device not configured
ioctl(TIOCSETD): Device not configured
.........................................
Fatal trap 12: page fault while in kernel mode

cpuid=0; apic id=00
fault virtual address=0x30
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc04a51f8
stack pointer = 0x28: 0xd5750b48
frame pointer = 0x28:0xd5750ba8
code segment = base 0x0, limit 0xfffff, type 0x1b
		=DPL 0, pres 1, def 32 1, gran 1
processors eflags = interrupt enable, resume, IOPL=0
current process = 536(pppd)
[thread pid 536 tid 100082]
stopped at devfs_setattr+0x8e: movl 0x30(%ecx), %ecx
db>trace
Tracing pid 536 tid 100082 td 0xc212e780
devfs_setattr(d5750bec, c212e780, 0, d5750c2c, c1ea4660) at devfs_setattr+0x8e
VOP_SETATTR_APV(c06f7dc0, f5750bec, 68, c1bce800, 267) at VOP_SETATTR_APV+0x9e
setfmode(c212e780, c1ea4660, 2180, a02, 1) at setfmode+0xf5
fchmod( c212e780, d5750d04, 8, 422, 2) at fchmod+0xa4
syscall(36, 36, 36, 8021, 8) at sys call + 0x295
Xint0x80_syscall() at Xint0x80_syscall+01f
--- syscall(124, FreeBSD ELF32, fchmod), eip = 0x280f2da7, esp = 0xbfbfeadc, ebp=0xbfbfead8 ---

>How-To-Repeat:
	Run pppd (version - 2.3.11) using USB modem. Unplug USB modem.
	Terminate ppped with Ctrl-C.
>Fix:

  Not known.
      
>Release-Note:
>Audit-Trail:

	PR was edited by glebius, to make a better translation of
	the information, that submitter provided to me.
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Wed Jun 9 16:16:01 UTC 2010 
State-Changed-Why:  
Can you still reproduce this? If you can, are you able to obtain a crash dump? 


Responsible-Changed-From-To: freebsd-bugs->jh 
Responsible-Changed-By: jh 
Responsible-Changed-When: Wed Jun 9 16:16:01 UTC 2010 
Responsible-Changed-Why:  
Track. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=85751 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Thu Jul 15 10:09:17 UTC 2010 
State-Changed-Why:  
Feedback timeout. 

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