NetBSD Problem Report #44417

From bch@methodlogic.net  Wed Jan 19 17:21:50 2011
Return-Path: <bch@methodlogic.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 755E363B883
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 19 Jan 2011 17:21:50 +0000 (UTC)
Message-Id: <20110119172131.GA27386@methodlogic.net>
Date: Wed, 19 Jan 2011 17:21:31 +0000
From: bch@methodlogic.net
Reply-To:
To: gnats-bugs@netbsd.org
Subject: immediate uvm_fault on boot w/ latest -current
X-Send-Pr-Version: 3.95

>Number:         44417
>Category:       kern
>Synopsis:       kernel faults immediately after/during hardware detection
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 19 17:25:00 +0000 2011
>Closed-Date:    Mon Mar 20 07:23:01 +0000 2023
>Last-Modified:  Mon Mar 20 07:23:01 +0000 2023
>Originator:     bch@methodlogic.net
>Release:        NetBSD 5.99.43
>Organization:
	Method Logic Digital (http://methodlogic.net/)
>Environment:
System: NetBSD kamloops 5.99.43 NetBSD 5.99.43 (kamloops) #157: Sat Jan 15 11:02:49 PST 2011 root@kamloops:/usr/obj/sys/arch/amd64/compile/kamloops amd64
Architecture: x86_64
Machine: amd64
>Description:

Kernel has been failing for last ~30 hours: was initially failing on ehci hardware detection (hang), and did later fault w/ uvm failure as described here.

	Transcription of boot failure (boot -z):

	Detecting hardware... ifmedia_set: no match for 0x20/0xfffffff
	uvm_fault(oxffffffff80b41aa0, 0xfffffffffffff000,2)->e

	fatal page fault in supervisor mode
	trap type 6 code 2 rip ffffffff80625416 cd 8 rflags 10246 cr2 ffffffffffffffff
	cpl 8 rsp ffffffff80cb1360
	kernel: page fault trap, code=0
	Stopped in pid 0.1 (system) at netbsd: uvm_pglist_add+0x36: movq %rdx,0(%rax)


Backtrace (function names only) as follows:

uvm_pglist_add()
uvm_pglistalloc()
_bus_dmamem_alloc_range()
_bus_dmamem_alloc()
_bus_dmamap_create()
_iwn_attach()
Backtrace (function names only) as follows:

uvm_pglist_add()
uvm_pglistalloc()
_bus_dmamem_alloc_range()
_bus_dmamem_alloc()
_bus_dmamap_create()
_iwn_attach()
...
>How-To-Repeat:
	Build kernel w/ latest code, reboot
>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Wed, 22 Dec 2021 08:08:29 +0000
State-Changed-Why:
please test latest kernel.


State-Changed-From-To: feedback->open
State-Changed-By: spz@NetBSD.org
State-Changed-When: Mon, 20 Mar 2023 05:52:25 +0000
State-Changed-Why:
there are no working addresses to request feedback from in this PR.


State-Changed-From-To: open->closed
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Mon, 20 Mar 2023 07:23:01 +0000
State-Changed-Why:
I think we missed the boat with this one, so close.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.