From owner-freebsd-current@FreeBSD.ORG Fri Mar 6 20:06:37 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86A00106566B; Fri, 6 Mar 2009 20:06:37 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 561818FC16; Fri, 6 Mar 2009 20:06:37 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (pool-98-109-39-197.nwrknj.fios.verizon.net [98.109.39.197]) by cyrus.watson.org (Postfix) with ESMTPSA id D450846B7E; Fri, 6 Mar 2009 15:06:36 -0500 (EST) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id n26K6UT8015606; Fri, 6 Mar 2009 15:06:30 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 6 Mar 2009 15:06:28 -0500 User-Agent: KMail/1.9.7 References: <49B160E0.8010301@uffner.com> In-Reply-To: <49B160E0.8010301@uffner.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200903061506.28951.jhb@freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 06 Mar 2009 15:06:31 -0500 (EST) X-Virus-Scanned: ClamAV 0.94.2/9079/Fri Mar 6 10:36:45 2009 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: svn-src-all@freebsd.org Subject: Re: panic on boot caused by svn commit: r189367 - head/sys/dev/pci X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 20:06:38 -0000 On Friday 06 March 2009 12:44:00 pm Tom Uffner wrote: > My system works w/ kernel & world built from current as of Date: > Wed Mar 4 18:15:00 2009. > > this commit seems to break my Promise SATA controller > > with same world and kernel from Wed Mar 4 18:24:00 2009, differing > only by head/sys/dev/pci/pci.c it panics while booting: > > ... > pci2: at device 8.0 (no driver attached) > re0: port 0xd400 > -0xd4ff mem 0xfeafe800-0xfeafe8ff irq 22 at device 10.0 on pci2 > re0: Chip rev. 0x10000000 > re0: MAC rev. 0x00000000 > miibus0: on re0 > rgephy0: PHY 1 on miibus0 > rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-F > DX, auto > re0: Ethernet address: 00:14:d1:38:81:ab > re0: [FILTER] > atapci0: port 0xdc00-0xdc7f,0xd800-0xd8ff > mem 0xfeaff000-0xfeafffff,0xfeac0000-0xfeadffff irq 23 at device 11.0 on pci2 > atapci0: [ITHREAD] > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0xfffffffc > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc050767a > stack pointer = 0x28:0xc0c2085c > frame pointer = 0x28:0xc0c20880 > 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 = 0 (swapper) > panic: from debugger > cpuid = 0 > Uptime: 1s > > unfortunately i cannot provide a traceback because savecore complains > about a bad magic number and refuses to produce a dump, even w/ -f Can you compile DDB into your kernel and get a stack trace using that? Also, I would try Robert's recent commit to pci.c as it might fix this. -- John Baldwin