From lewiz@fajita.org  Sun Apr 25 04:28:57 2004
Return-Path: <lewiz@fajita.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1270616A4CF
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 Apr 2004 04:28:57 -0700 (PDT)
Received: from cloudburst.umist.ac.uk (cloudburst.umist.ac.uk [130.88.119.66])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D68BB43D54
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 Apr 2004 04:28:56 -0700 (PDT)
	(envelope-from lewiz@fajita.org)
Received: from lh014.halls.umist.ac.uk ([130.88.163.14] helo=infidel.fajita.org)
	by cloudburst.umist.ac.uk with esmtp (Exim 4.24)
	id 1BHhod-00070y-TY
	for FreeBSD-gnats-submit@freebsd.org; Sun, 25 Apr 2004 12:28:55 +0100
Received: from majic.fajita.org (majic.fajita.org [192.168.0.4])
	by infidel.fajita.org (8.12.10/8.12.10) with ESMTP id i3PBSrL5041669
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 Apr 2004 12:28:53 +0100 (BST)
	(envelope-from lewiz@fajita.org)
Received: (from lewiz@localhost)
	by majic.fajita.org (8.12.10/8.12.10/Submit) id i3PBSrdZ041668;
	Sun, 25 Apr 2004 12:28:53 +0100 (BST)
	(envelope-from lewiz)
Message-Id: <200404251128.i3PBSrdZ041668@majic.fajita.org>
Date: Sun, 25 Apr 2004 12:28:53 +0100 (BST)
From: Lewis Thompson <purple@lewiz.net>
Reply-To: Lewis Thompson <purple@lewiz.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Sil0680 panic (5.2.1-p5)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         65954
>Category:       i386
>Synopsis:       [panic] Sil0680 panic [5.2.1-p5]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 25 04:30:14 PDT 2004
>Closed-Date:    Sat Jul 30 00:54:23 GMT 2005
>Last-Modified:  Sat Jul 30 00:54:23 GMT 2005
>Originator:     Lewis Thompson
>Release:        FreeBSD 5.2.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD majic.fajita.org 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #4: Thu Apr 22 21:03:00 BST 2004 lewiz@amnesia.fajita.org:/usr/src/sys/i386/compile/AMNESIA i386


	
>Description:
Booting with a Sil0680 RAID controller (with or without disks attached)
causes a panic on 5.2.1-p5 (both a custom kernel (with firewalling
compiled in) and GENERIC): (below is a type-up)

atapci1: <SiL 0680 UDMA 133 controller>
port 0xcc00-0xcc0f,0xd000-0xd003,0xd400-0xd407, 0xd800-0xd803,
0xdc00-0xdc07 mem 0xcfffbf00-0xcfffbfff irq 5 at device 9.0 on pic0
atapci1: [MPSAFE]

Fatal trap 12: page fault while in kernel mode
cpuid = 0, apic id = 00

fault virtual address = 0xd12f8000
fault code = supervisor write, page not present
instruction pointer = 0x8:0xc04d2627
stack pointer = 0x10:0xc219a0
frame pointer = 0x10:0xc219ac
code segment = base 0x0, limit 0xfffff, type = 0x1b
             = DPL 0, pres1, def32 1, grain 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 0 (swapper)
trap number = 12
cpuid = 0;

Interestingly I can boot 4.9-rc4 (from the CD) and 5.1-RELEASE (again
from the CD) without any problems.  I will test booting from a
5.2.1-RELEASE CD soon (I am currently distanced from the machine).
>How-To-Repeat:
	Boot a GENERIC 5.2.1-p5 kernel with a Silicon Image 0680 RAID controller.
>Fix:

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: simon 
State-Changed-When: Sun Apr 25 04:45:56 PDT 2004 
State-Changed-Why:  
More information requested from submitter. 

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

From: "Simon L. Nielsen" <simon@FreeBSD.org>
To: Lewis Thompson <purple@lewiz.net>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: i386/65954: Sil0680 panic (5.2.1-p5)
Date: Sun, 25 Apr 2004 13:45:30 +0200

 --4jXrM3lyYWu4nBt5
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2004.04.25 12:28:53 +0100, Lewis Thompson wrote:
 >=20
 > Booting with a Sil0680 RAID controller (with or without disks attached)
 > causes a panic on 5.2.1-p5 (both a custom kernel (with firewalling
 > compiled in) and GENERIC): (below is a type-up)
 
 Can you generate a traceback as described in
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kernel=
 debug.html
 ? Without that it's nearly impossible to find out what's really going
 wrong.
 
 > Interestingly I can boot 4.9-rc4 (from the CD) and 5.1-RELEASE (again
 > from the CD) without any problems.  I will test booting from a
 > 5.2.1-RELEASE CD soon (I am currently distanced from the machine).
 
 If possible, could you try a -CURRENT snapshot (e.g. from
 ftp://snapshots.jp.freebsd.org/pub/FreeBSD/snapshots/i386/ISO-IMAGES/ )
 and check if the problem is fixed there?
 
 --=20
 Simon L. Nielsen
 FreeBSD Documentation Team
 
 --4jXrM3lyYWu4nBt5
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQFAi6Tah9pcDSc1mlERAhDzAJ9INFxt4g5gB5Vi8Z8LUSQXr/cZ8ACfYc24
 Y8FZE5levYAHM+CPyvidBf8=
 =iDLL
 -----END PGP SIGNATURE-----
 
 --4jXrM3lyYWu4nBt5--

From: Lewis Thompson <purple@lewiz.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: i386/65954: Sil0680 panic (5.2.1-p5)
Date: Wed, 12 May 2004 17:11:19 +0100

 --zhXaljGHf11kAtnf
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 I have been unable to get a dump for this error.  At Simon Nielsen's
 suggestion I have used ddb to get a traceback.  Here are the first four
 entries:
 
 type 12 trap, code =3D 0
 Stopped at ata_sii_reset+0xdf: movl $0x1,0(%eax,%edx,1)
 
 Trace:
 
 ata_sii_reset(c2ba5200,101,0,3,c086ada0) at ata_sii_reset+0xdf
 ata_reset(c2ba5200,1,0,0,c2bca500) at ata_reset+oxcf6
 ata_probe(c2bca5200,c2ba5200,c0c21a78,c2bc8390,2) at ata_probe+0xe1
 ata_pcisub_probe(c2bca500,c086a110mc0c21ab8,1,0) at
 		ata_pcisub_probe+0xa5
 
   I hope this is some help.  If any further messages are required please
 ask and I'll do my best.
 
   This is fixed in FreeBSD-CURRENT 20040428 (boot/i386 disc), which I
 tested at Simon Nielsen's suggestion.  Since it also works 5.1-RELEASE
 disc1 I wonder whether this is something very specific to my
 installation of 5.2.1-p5?  I did try with a GENERIC kernel but had the
 same problem.
 
   Anyway, I'll stop making guesses.  Thanks a lot,
 
 -lewiz.
 
 --=20
 I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.
 ------------------------------------------------------------------------
 -| msn:purple@lewiz.net | jabber:lewiz@jabber.org | url:www.lewiz.org |-
 
 --zhXaljGHf11kAtnf
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQFAokynItq0KFQv7T8RAuuSAKCUlwWJEmmjv0jVIUk6A9S9jMPgzwCfWbxN
 zSkQ6tA6ZRS0yqelj5XumLI=
 =wYNi
 -----END PGP SIGNATURE-----
 
 --zhXaljGHf11kAtnf--
State-Changed-From-To: feedback->closed 
State-Changed-By: kris 
State-Changed-When: Sat Jul 30 00:54:04 GMT 2005 
State-Changed-Why:  
Submitter confirms problem resolved. 

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