NetBSD Problem Report #44627
From jruohone@gmail.com Wed Feb 23 07:00:55 2011
Return-Path: <jruohone@gmail.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id E751163B842
for <gnats-bugs@gnats.netbsd.org>; Wed, 23 Feb 2011 07:00:54 +0000 (UTC)
Message-Id: <20110223070042.524FB56C0@marx.bitnet>
Date: Wed, 23 Feb 2011 09:00:42 +0200 (EET)
From: Jukka Ruohonen <jruohonen@iki.fi>
Sender: a b <jruohone@gmail.com>
Reply-To: jruohonen@iki.fi
To: gnats-bugs@gnats.NetBSD.org
Subject: genfb(4) panic at shutdown
X-Send-Pr-Version: 3.95
>Number: 44627
>Category: port-amd64
>Synopsis: genfb(4) panic at shutdown
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-amd64-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 23 07:05:00 +0000 2011
>Closed-Date: Wed Feb 23 12:31:15 +0000 2011
>Last-Modified: Wed Feb 23 12:31:15 +0000 2011
>Originator: Jukka Ruohonen
>Release: 5.99.46
>Organization:
-
>Environment:
>Description:
A reproducable genfb(4) related panic in HEAD:
syscall() at netbsd:syscall+0xaa
sys_reboot() at netbsd:sys_reboot+0x73
cpu_reboot() at netbsd:cpu_reboot+0x2f
pmf_system_shutdown() at netbsd:device_pmf_driver_shutdown+0x12
pci_genfb_shutdown() at netbsd:pci_genfb_shutdown+0x9
genfb_enable_polling() at netbsd:genfb_enable_polling+0x24
vcons_hard_switch() at netbsd:vcons_hard_switch+0xb
Stopped in pid 21146.1 (reboot) at netbsd vcons_hard_switch+0xb:
movq 0 xc0(%rdx), %rax
>How-To-Repeat:
Just shutdown.
>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
From: Jukka Ruohonen <jruohonen@iki.fi>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: port-amd64/44627: genfb(4) panic at shutdown
Date: Wed, 23 Feb 2011 09:11:37 +0200
On Wed, Feb 23, 2011 at 07:05:00AM +0000, Jukka Ruohonen wrote:
> syscall() at netbsd:syscall+0xaa
> sys_reboot() at netbsd:sys_reboot+0x73
> cpu_reboot() at netbsd:cpu_reboot+0x2f
> pmf_system_shutdown() at netbsd:device_pmf_driver_shutdown+0x12
> pci_genfb_shutdown() at netbsd:pci_genfb_shutdown+0x9
> genfb_enable_polling() at netbsd:genfb_enable_polling+0x24
> vcons_hard_switch() at netbsd:vcons_hard_switch+0xb
> Stopped in pid 21146.1 (reboot) at netbsd vcons_hard_switch+0xb:
> movq 0 xc0(%rdx), %rax
Looks like a locking error:
cpu_reboot() -> splhigh() ->
...
pci_genfb_shutdown() -> genfb_enable_polling() ->
vcons_enable_polling() -> vcons_redraw_screen() ->
vcons_lock() -> splhigh().
Or something along these lines.
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: re: port-amd64/44627: genfb(4) panic at shutdown
Date: Wed, 23 Feb 2011 19:10:19 +1100
> pci_genfb_shutdown() at netbsd:pci_genfb_shutdown+0x9
> genfb_enable_polling() at netbsd:genfb_enable_polling+0x24
> vcons_hard_switch() at netbsd:vcons_hard_switch+0xb
> Stopped in pid 21146.1 (reboot) at netbsd vcons_hard_switch+0xb:
pretty sure this is already fixed.
make sure you have genfb.c 1.38.
.mrg.
State-Changed-From-To: open->closed
State-Changed-By: jruoho@NetBSD.org
State-Changed-When: Wed, 23 Feb 2011 12:31:15 +0000
State-Changed-Why:
Indeed fixed in revision 1.38.
>Unformatted:
(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.