From nobody@FreeBSD.org  Tue Jun 15 01:33:35 2004
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 39B1816A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Jun 2004 01:33:35 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 187F043D31
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Jun 2004 01:33:35 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i5F1XWJ2055047
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Jun 2004 01:33:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i5F1XW0I055046;
	Tue, 15 Jun 2004 01:33:32 GMT
	(envelope-from nobody)
Message-Id: <200406150133.i5F1XW0I055046@www.freebsd.org>
Date: Tue, 15 Jun 2004 01:33:32 GMT
From: Randy Bush <randy@psg.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: -current on T40p kernel trap 12 in boot if cdrom present
X-Send-Pr-Version: www-2.3

>Number:         67955
>Category:       i386
>Synopsis:       [panic] -current on T40p kernel trap 12 in boot if cdrom present
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 15 01:40:16 GMT 2004
>Closed-Date:    Fri Jun 15 10:43:44 GMT 2007
>Last-Modified:  Fri Jun 15 10:43:44 GMT 2007
>Originator:     Randy Bush
>Release:        -current as of 2004.06.13 08:09 gmt
>Organization:
ymbk
>Environment:
FreeBSD roam.psg.com 5.2-CURRENT FreeBSD 5.2-CURRENT #10: Mon Jun 14 16:51:02 PDT 2004     root@roam.psg.com:/usr/obj/usr/src/sys/ROAM  i386
r
>Description:
if cdrom not present during boot, boots fine.  if cdrom present,
see <http://rip.psg.com/~randy/040611.ddb-cdrom/040611-125452.jpg.html>.
>How-To-Repeat:
boot again :-)
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: bms 
State-Changed-When: Wed Jun 23 07:07:12 GMT 2004 
State-Changed-Why:  
I have a T40 without the 'p'. I don't have this problem. 
This sounds like an ATAPICAM issue from the backtrace provided. 
Can you please submit your kernel configuration here? 

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

From: "Per olof Ljungmark" <peo@intersonic.se>
To: freebsd-gnats-submit@FreeBSD.org, randy@psg.com
Cc:  
Subject: Re: i386/67955: -current on T40p kernel trap 12 in boot if cdrom
 present
Date: Tue, 06 Jul 2004 15:57:09 +0200

 Have T41/2373 with exactly same behaviour
 Tested -current CVS and build on July 6th at 10:00 UTC
 Below is what my limited understanding think I should report.
 Please let me know if I should test/check something more
 
 On boot:
 
 Mounting root from ufs:/dev/ad0s1a
 Memory modified after free 0xcc1b003e00(508) val=1ff01ff @ 0xc1b03e00
 
 Fatal trap 12: page fault while in kernel mode
 fault virtual adress    = 0x1ff021f
 fault code = supervisor read, page not present
 instruction pointer = 0x8:0xc0731832
 stack pointer = 0x10:0xd50ff984
 frame pointer = 0x10:0xd50ff9a0
 code segment = base 0x0, limit 0xffff, type 0x1b
                       = DPL 0, pres 1, def32 1, gran 1
 processor eflags = interrupt enabled, resume, IOPL = 0
 current process = 59 (sh)
 kernel: type 12 trap, code = 0
 Stopped at mtrash_ctor+0x3a:    movl   0x20(%eax),%eax
 
 db trace:
 
 mtrash_ctor(c1b03e00,200,0) at mtrash_ctor+0x3a
 uma_zalloc_arg(c10446c0,0,2) at uma_zalloc_arg+0x124
 malloc(188,c081ff80,2,3,c1a92160) at malloc+0xb2
 elf32_load_file(c1a94370,d3f080f4,d50ffab0,1000) at at elf32_load_file+0x45
 exec_elf32_imgact(d50ffb94,0,0,0,0) at exec_elf32_imgact+0x4c7
 kern_execve(c1a92160,8078a04,8078804,80789e0,0) at kern_execve+0x34e
 execve(c1a92160,d50ffd14,3,0,282) at execve+0x18
 syscall(2f,2f,2f,8078a04,8078804) at syscall+0x217
 Xint0x80_syscall() at Xint0x80_syscall+0x1f
 --- syscall (59, FreBSD ELF32, execve), eip = 0x28120bb3, esp = 
 0xbfbfea0c, ebp = 0xbfbfea38
 
 dmesg at
 http://www.inter-sonic.com/tmp/dmesg-chinacat.txt
 

From: Randy Bush <randy@psg.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: i386/67955: [panic] -current on T40p kernel trap 12 in boot if cdrom present
Date: Tue, 27 Jul 2004 10:19:59 -1000

 workaround = remove
 
     device          atapicam
 
 from kernel config
 
State-Changed-From-To: feedback->analyzed 
State-Changed-By: kris 
State-Changed-When: Sat Jul 30 01:04:41 GMT 2005 
State-Changed-Why:  
Problem is determined to be with the atapicam code 

http://www.freebsd.org/cgi/query-pr.cgi?pr=67955 
State-Changed-From-To: analyzed->feedback 
State-Changed-By: remko 
State-Changed-When: Mon Sep 11 11:53:09 UTC 2006 
State-Changed-Why:  
Hello, 

As kris pointed out this appears to be in the atapicam software. 
As far as i know there were improvements in that region and I 
was wondering whether this all is still a problem on more 
recent versions of FreeBSD (like 6.1 for instance) 

thanks 


Responsible-Changed-From-To: freebsd-i386->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Mon Sep 11 11:53:09 UTC 2006 
Responsible-Changed-Why:  
Grab the PR 

http://www.freebsd.org/cgi/query-pr.cgi?pr=67955 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Jun 15 10:43:16 UTC 2007 
State-Changed-Why:  
Feedback timeout (> 6 months). 

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