NetBSD Problem Report #50304

From www@NetBSD.org  Mon Oct  5 12:18:16 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D947CA5858
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  5 Oct 2015 12:18:16 +0000 (UTC)
Message-Id: <20151005121815.4B79EA654F@mollari.NetBSD.org>
Date: Mon,  5 Oct 2015 12:18:15 +0000 (UTC)
From: frederic@fauberteau.org
Reply-To: frederic@fauberteau.org
To: gnats-bugs@NetBSD.org
Subject: Panic on boot with enabled ACPI
X-Send-Pr-Version: www-1.0

>Number:         50304
>Category:       kern
>Synopsis:       Panic on boot with enabled ACPI
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 05 12:20:00 +0000 2015
>Closed-Date:    Thu Sep 26 09:05:16 +0000 2019
>Last-Modified:  Thu Sep 26 09:05:16 +0000 2019
>Originator:     Frédéric Fauberteau
>Release:        NetBSD 7.99.21
>Organization:
>Environment:
NetBSD n150p 7.99.21 NetBSD 7.99.21 (GENERIC) #1: Sun Oct  4 18:45:14 CEST 2015  triaxx@hydralisk:/home/triaxx/dev/nbsd/netbsd-current/usr/objdir/sys/arch/amd64/compile/GENERIC amd64
>Description:
The system crashes with the following backtrace :
0xffffffff801196a5 in cpu_reboot ()
#0  0xffffffff801196a5 in cpu_reboot ()
#1  0xffffffff805ee1f6 in db_sync_cmd ()
#2  0xffffffff805ee9b7 in db_command ()
#3  0xffffffff805eecfe in db_command_loop ()
#4  0xffffffff805f238d in db_trap ()
#5  0xffffffff80116130 in kdb_trap ()
#6  0xffffffff8011a82f in trap ()
#7  0xffffffff80100fde in alltraps ()
#8  0xffffffff80114be5 in breakpoint ()
#9  0xffffffff8080fd0b in vpanic ()
#10 0xffffffff8080fdcf in panic ()
#11 0xffffffff8011bfc4 in cnopen ()
#12 0xffffffff80800736 in cdev_open ()
#13 0xffffffff80875595 in spec_open ()
#14 0xffffffff8086aa57 in VOP_OPEN ()
#15 0xffffffff8086400f in vn_open ()
#16 0xffffffff8085b8e3 in do_open ()
#17 0xffffffff8085ba37 in do_sys_openat ()
#18 0xffffffff8085bb03 in sys_open ()
#19 0xffffffff8013cc0c in syscall ()
#20 0xffffffff80100691 in Xsyscall ()

Some informations from dmesg (without ACPI):
NetBSD 7.99.21 (GENERIC) #1: Sun Oct  4 18:45:14 CEST 2015
  triaxx@hydralisk:/home/triaxx/dev/nbsd/netbsd-current/usr/objdir/sys/arch/amd64/compile/GENERIC
total memory = 1013 MB
avail memory = 965 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100 
SAMSUNG ELECTRONICS CO., LTD. N150P                       (Not Applicable)
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (PNVTGPT  PNVTGPT     )   
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Atom(TM) CPU N455   @ 1.66GHz, id 0x106ca
mpbios: bus 0 is type PCI   
mpbios: bus 5 is type PCI   
mpbios: bus 9 is type PCI   
mpbios: bus 10 is type ISA   
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 8086 product a010 (rev. 0x00)
agp0 at pchb0: i915-family chipset
agp0: detected 7932k stolen memory
agp0: BAR size 100000 mismatches detected GTT size 40000; trusting BAR 
agp0: aperture at 0xd0000000, size 0x10000000
i915drmkms0 at pci0 dev 2 function 0: vendor 8086 product a011 (rev. 0x00)
drm: Memory usable by graphics device = 1024M
drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
drm: Driver supports precise vblank timestamp query.
i915drmkms0: interrupting at ioapic0 pin 16 (i915)
drm: initialized overlay support
intelfb0 at i915drmkms0
i915drmkms0: info: registered panic notifier
intelfb0: framebuffer at 0xffff800012e00000, size 1024x600, depth 32, stride 4096
wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0

intelfb seems to have problem with ACPI but it worked on NetBSD 7.0_RC3.
>How-To-Repeat:
Boot with ACPI
>Fix:

>Release-Note:

>Audit-Trail:
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/50304: Panic on boot with enabled ACPI
Date: Mon, 5 Oct 2015 14:59:04 +0200

 On Mon, Oct 05, 2015 at 12:20:00PM +0000, frederic@fauberteau.org wrote:
 > #10 0xffffffff8080fdcf in panic ()

 What is the panic message?

 Joerg

From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric_Fauberteau?= <frederic@fauberteau.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/50304: Panic on boot with enabled ACPI
Date: Mon, 05 Oct 2015 15:12:30 +0200

 Le 05/10/2015 15:00, Joerg Sonnenberger a écrit :
 >  On Mon, Oct 05, 2015 at 12:20:00PM +0000, frederic@fauberteau.org 
 > wrote:
 >  > #10 0xffffffff8080fdcf in panic ()
 > 
 >  What is the panic message?

 panic: cnopen: no console device

 In a proper boot, it should be:
 wsdisplay0: screen 1 added (default, vt100 emulation)

 Fred

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/50304: Panic on boot with enabled ACPI
Date: Sat, 10 Oct 2015 22:41:44 +0000

 On Mon, Oct 05, 2015 at 01:10:07PM +0000, Fr?d?ric Fauberteau wrote:
  > The following reply was made to PR kern/50304; it has been noted by GNATS.
  >  Le 05/10/2015 15:00, Joerg Sonnenberger a écrit :
  >  >  On Mon, Oct 05, 2015 at 12:20:00PM +0000, frederic@fauberteau.org 
  >  > wrote:
  >  >  > #10 0xffffffff8080fdcf in panic ()
  >  > 
  >  >  What is the panic message?
  >  
  >  panic: cnopen: no console device
  >  
  >  In a proper boot, it should be:
  >  wsdisplay0: screen 1 added (default, vt100 emulation)

 That seems strange given that wscons seems to have attached...

 -- 
 David A. Holland
 dholland@netbsd.org

From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric_Fauberteau?= <frederic@fauberteau.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/50304: Panic on boot with enabled ACPI
Date: Sun, 11 Oct 2015 09:49:35 +0200

 Le 11/10/2015 00:45, David Holland a écrit :
 >  On Mon, Oct 05, 2015 at 01:10:07PM +0000, Fr?d?ric Fauberteau wrote:
 >   > The following reply was made to PR kern/50304; it has been noted by 
 > GNATS.
 >   >  Le 05/10/2015 15:00, Joerg Sonnenberger a écrit :
 >   >  >  On Mon, Oct 05, 2015 at 12:20:00PM +0000, 
 > frederic@fauberteau.org
 >   >  > wrote:
 >   >  >  > #10 0xffffffff8080fdcf in panic ()
 >   >  >
 >   >  >  What is the panic message?
 >   >
 >   >  panic: cnopen: no console device
 >   >
 >   >  In a proper boot, it should be:
 >   >  wsdisplay0: screen 1 added (default, vt100 emulation)
 > 
 >  That seems strange given that wscons seems to have attached...

 Sorry, but wsdisplay0 is only attached when acpi is disabled (boot 
 /netbsd -2).

 In the case when acpi is enabled, I have acpivga0 attached to acpi0, but 
 the following messages in dmesg:
 agp0 at pchb0: i915-family chipset
 agp0: can't set up chipset flush page: 35
 i915drmkms0 at pci0 dev 2 function 0: vendor 8086 product a011 (rev. 
 0x00)
 DRM error in i915_gmch_probe: failed to set up gmch
 i915drmkms0: unable to attach drm: 5
 vendor 8086 product a012 (miscellaneous display) at pci0 dev 2 function 
 1 not configured

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/50304: Panic on boot with enabled ACPI
Date: Mon, 12 Oct 2015 07:53:55 +0000

 On Sun, Oct 11, 2015 at 07:50:01AM +0000, Fr?d?ric Fauberteau wrote:
  >  >  That seems strange given that wscons seems to have attached...
  >  
  >  Sorry, but wsdisplay0 is only attached when acpi is disabled (boot 
  >  /netbsd -2).

 ah, sorry, misread.

 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: open->closed
State-Changed-By: triaxx@NetBSD.org
State-Changed-When: Thu, 26 Sep 2019 09:05:16 +0000
State-Changed-Why:
This old netbook works fine with NetBSD now.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 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.