NetBSD Problem Report #46146

From  Tue Mar  6 02:37:38 2012
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id CA76E63E215
	for <>; Tue,  6 Mar 2012 02:37:38 +0000 (UTC)
Message-Id: <>
Date: Tue,  6 Mar 2012 02:37:37 +0000 (UTC)
Subject: 6.99.3/macppc panics on iBook SE
X-Send-Pr-Version: www-1.0

>Number:         46146
>Category:       kern
>Synopsis:       6.99.3/macppc panics on iBook SE
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 06 02:40:00 +0000 2012
>Closed-Date:    Sat Apr 14 20:05:57 +0000 2012
>Last-Modified:  Sat Apr 14 20:05:57 +0000 2012
>Originator:     David H. Gutteridge
>Release:        6.99.3
I can't get to a prompt, so I can't provide this, but it's 6.99.3 built from sources as of two days ago.
I'm encountering a panic when trying to boot a 6.99.3/macppc kernel
built from sources as of two days ago.  This is a generic kernel,
except with options DIAGNOSTIC and DEBUG enabled.  I did not have
this problem with 5.99.65.

NetBSD 6.99.3 (DEBUG) #0: Sat Mar  3 23:27:48 EST 2012
total memory = 320 MB
avail memory = 298 MB
timecounter: Timecounters tick every 10.000 msec
cprng kernel: WARNING insufficient entropy at creation.
found openpic PIC at 80040000
OpenPIC Version 1.2: Supports 4 CPUs and 64 interrupt sources.
bootpath: /pci@f2000000/mac-io@17/ata-4@1f000/disk@0:0/netbsd_debug
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 3.0), ID 0 (primary)
cpu0: HID0 0x8050c0a4<EMCP,NAP,DPM,ICE,DCE,SGE,BTIC,BHT>, powersave: 1
cpu0: 366.67 MHz, no-parity 512KB WB L2 cache (PB SRAM) at 2.5:1 ratio
memory0 at mainbus0: len=257
uni_n0 at mainbus0 address 0xf8000000
ki2c0 at uni_n0 address 0xf8001000
iic1 at ki2c0: I2C bus
ki2c0: device (cereal) has no reg or i2c-address property.
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Interface (rev. 0x00)
genfb0 at pci0 dev 16 function 0: ATI Technologies Rage L Mobility (rev. 0x64)
genfb0: framebuffer at 0x91000000, size 800x600, depth 8, stride 800
wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at genfb0 not configured
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
obio0 at pci1 dev 23 function 0: addr 0x80000000
obio0: enabling KeyLargo internal modem
i2s at obio0 offset 0x10000 not configured
zsc0 at obio0 irq 22,50
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
pmu0 at obio0 offset 0x16000 irq 47:  rev. 12
pmu0: initializing RTC
pmu0: initializing ADB
nadb0 at pmu0: Apple Desktop Bus
pmu0: power-mgt not configured
smartbat0 at pmu0 addr 0: smart battery
 flags: 1 AC
ki2c1 at obio0
iic2 at ki2c1: I2C bus
ki2c1: device (cereal) has no reg or i2c-address property.
wdc0 at obio0 offset 0x1f000 irq 19, level triggered: DMA transfer
atabus0 at wdc0 channel 0
wdc1 at obio0 offset 0x20000 irq 20, level triggered: DMA transfer
atabus1 at wdc1 channel 0
wdc2 at obio0 offset 0x21000 irq 21, level triggered: DMA transfer
atabus2 at wdc2 channel 0
ohci0 at pci1 dev 24 function 0: Apple Computer KeyLargo USB Controller (rev. 0x00)
genppc_pci_intr_map: pin: 1, line: 27
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
ohci1 at pci1 dev 25 function 0: Apple Computer KeyLargo USB Controller (rev. 0x00)
extent_alloc_region: extent `uninorth mem-space' (0x80000000 - 0xf3ffffff)
extent_alloc_region: start 0x0, end 0xfff
panic: extent_alloc_region: region lies outside extent
Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x10:          lwz      r0,  0x14
0x00a1e910: at vpanic+0x21c
0x00a1e940: at panic+0x4c
0x00a1e980: at extent_alloc_region+0x22c
0x00a139b0: at memio_map+0x88
0x00a1e9d0: at pci_mapreg_map+0x10c
0x00a1ea20: at ohci_pci_attach+0x7c
0x00a1ea60: at config_attach_loc+0x1c4
0x00a1ea90: at pci_probe_device+0x4c0
0x00a1eb50: at pci_enumerate_bus+0x1cc
0x00a1ebc0: at pcirescan+0x60
0x00a1ebe0: at pciattach+0x204
0x00a1ec10: at config_attach_loc+0x1c4
0x00a1ec40: at uninorth_attach+0x2e4
0x00a1ed70: at config_attach_loc+0x1c4
0x00a1eda0: at mainbus_attach+0x13c
0x00a1ee70: at config_attach_loc+0x1c4
0x00a1eea0: at cpu_configure+0x20
0x00a1eeb0: at main+0x25c
0x00a1ef10: at 0x1000a0

Try booting a recent kernel from HEAD.


From: Michael <>
Subject: Re: kern/46146
Date: Thu, 12 Apr 2012 21:25:07 -0400

 This should be fixed in -current, please update dev/pci/ohci_pci.c and try again.

State-Changed-From-To: open->feedback
State-Changed-When: Sat, 14 Apr 2012 05:51:40 +0000
believed fixed; please give it a try

From: "David H. Gutteridge" <>
Subject: Re: kern/46146 (6.99.3/macppc panics on iBook SE)
Date: Sat, 14 Apr 2012 15:26:44 -0400

 Confirming fixed.  There's a regression with the uhci(4) driver,
 though.  I'll report it separately.


State-Changed-From-To: feedback->closed
State-Changed-When: Sat, 14 Apr 2012 20:05:57 +0000
Confirmed fixed, thanks.


NetBSD Home
NetBSD PR Database Search

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