NetBSD Problem Report #45407

From jmmv@netbsd.org  Mon Sep 26 22:48:31 2011
Return-Path: <jmmv@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id A3F8263B924
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 26 Sep 2011 22:48:30 +0000 (UTC)
Message-Id: <20110926224830.8835714A196@mail.netbsd.org>
Date: Mon, 26 Sep 2011 22:48:30 +0000 (UTC)
From: jmmv@netbsd.org
Reply-To: jmmv@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: extent_alloc_region panic during boot (ohci problem?)
X-Send-Pr-Version: 3.95

>Number:         45407
>Category:       kern
>Synopsis:       extent_alloc_region panic during boot (ohci problem?)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 26 22:50:00 +0000 2011
>Originator:     Julio Merino
>Release:        NetBSD 5.99.55
>Organization:
Julio Merino
>Environment:


System: NetBSD mini.julipedia.org 5.99.55 NetBSD 5.99.55 (MINI) #0: Sun Sep 25 22:15:05 EDT 2011  builder@mini.julipedia.org:/home/builder/obj/usr/src/sys/arch/macppc/compile/MINI macppc
Architecture: powerpc
Machine: macppc
>Description:
	A current kernel for macppc built with DEBUG and DIAGNOSTIC crashes
	during boot.  The stack trace does not seem to point to a problem
	specific to macppc, hence why I'm filing this in the kern category
	directly.  The problem seems to be caused by the ohci driver.

	The stack trace is (manually copied; might contain typos):
[...]
ohci0 at pci1 dev 24 function 0: Apple Computer Intrepid USB Controller (rev. 0x00)
panic: extent_alloc_region: region lies outside extent
Stopped in pid 0.1 (system) at netbsd:cpu_Debugger+0x10: lwz r0, 0x14
(r1)
0x005de810: at panic+0x250
0x005de870: at extent_alloc_region+0x22c
0x005de8a0: at memio_map+0x7c
0x005de8d0: at pci_mapreg_map+0x10c
0x005de920: at ohci_pic_attach+0xa4
0x005dea60: at config_attach_loc+0x1c4
0x005dea90: at pci_probe_device+0x4c0
0x005deb50: at pci_enumerate_bus+0x1cc
0x005debc0: at pcirescan+0x60
0x005debe0: at pciattach+0x204
0x005dec10: at config_attach_loc+0x1c4
0x005dec40: at uninorth_attach+0x2e0
0x005ded70: at config_attach_loc+0x1c4
0x005deda0: at mainbus_attach+0x13c
0x005dee70: at config_ttach_loc+0x1c4
0x005deea0: at cpu_configure+0x20
0x005deeb0: at main+0x23c
0x005def10: at 0x1000a0
>How-To-Repeat:
	Build a macppc kernel with DEBUG and DIAGNOSTIC and attempt to
	boot it unsuccessfully.
>Fix:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.