NetBSD Problem Report #45851

From www@NetBSD.org  Tue Jan 17 07:51:14 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id CD31363BA6B
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 17 Jan 2012 07:51:14 +0000 (UTC)
Message-Id: <20120117075114.0C2D863B84C@www.NetBSD.org>
Date: Tue, 17 Jan 2012 07:51:14 +0000 (UTC)
From: 6bone@6bone.informatik.uni-leipzig.de
Reply-To: 6bone@6bone.informatik.uni-leipzig.de
To: gnats-bugs@NetBSD.org
Subject: kernel crash at ibm x3850
X-Send-Pr-Version: www-1.0

>Number:         45851
>Category:       kern
>Synopsis:       kernel crash at ibm x3850 - est driver in rdmsr
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 17 07:55:00 +0000 2012
>Closed-Date:    Tue Sep 08 08:48:38 +0000 2015
>Last-Modified:  Tue Sep 08 08:48:38 +0000 2015
>Originator:     Uwe Toenjes
>Release:        netbsd-5
>Organization:
University of Leipzig
>Environment:
netbsd-5.1 install media
netbsd-5.1.1 install media
>Description:
kernel crash with:

kernel text is mapped with 6 large pages and 34 normal pages

Loaded initial symtab at 0xffffffff81258fa0, strtab at 0xffffffff81303f70, # entries 29097 
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.1_STABLE (INSTALL) #7: Sun Jan 15 23:33:41 CET 2012

root%6bone.informatik.uni-leipzig.de@localhost:/usr/obj/sys/arch/amd64/compile/INSTALL
total memory = 511 GB
avail memory = 496 GB
RTC BIOS diagnostic error 80<clock_battery>
SMBIOS rev. 2.7 @ 0x7f0be000 (137 entries)
IBM System x3850 X5 -[71453RG]- (06)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 1995MHz, id 0x206e6
fatal protection fault in supervisor mode

trap type 4 code 0 rip ffffffff8056e456 cs 8 rflags 10246 cr2 0 cpl 8 rsp ffffffff8137ab98 kernel: protection fault trap, code=0 Stopped in pid 0.1 (system) at netbsd:rdmsr+0x6: rdmsr 
db{0}> bt
rdmsr() at netbsd:rdmsr+0x6
est_init_once() at netbsd:est_init_once+0x148
_run_once() at netbsd:_run_once+0x67
cpu_identify() at netbsd:cpu_identify+0x171
cpu_attach() at netbsd:cpu_attach+0x21f
config_attach_loc() at netbsd:config_attach_loc+0x15a
mpacpi_config_cpu() at netbsd:mpacpi_config_cpu+0x6e
acpi_madt_walk() at netbsd:acpi_madt_walk+0x45
mpacpi_scan_apics() at netbsd:mpacpi_scan_apics+0x90
mainbus_attach() at netbsd:mainbus_attach+0x26c
config_attach_loc() at netbsd:config_attach_loc+0x15a
cpu_configure() at netbsd:cpu_configure+0x26
main() at netbsd:main+0x1aa
db{0}> show register
ds          0x5
es          0
fs          0x64
gs          0xbed6
rdi         0xcd
rsi         0xffffffff805690a0  est_init_once
rbp         0xffffffff8137abb0
rbx         0xe
rdx         0x1
rcx         0xcd
rax         0
r8          0x3
r9          0
r10         0x1
r11         0xffffffff802e9da0  comcnputc
r12         0xffffffff80c4ea00  cpu_info_primary
r13         0xffffffff8137ad40
r14         0xffff8004b0b5e710
r15         0x1
rip         0xffffffff8056e456  rdmsr+0x6
cs          0x8
rflags      0x10246
rsp         0xffffffff8137ab98
ss          0x10
netbsd:rdmsr+0x6:       rdmsr
>How-To-Repeat:
boot netbsd at ibm x3850

Firmware VPD   help icon

Firmware Type 	Version String 	Release Date
IMM	YUOOC7E	09/30/2011
UEFI	G0E171AUS 	09/23/2011
DSA	DSYT89P 	10/28/2011
FPGA	G0UD72B	09/19/2011

Processor Information

Description 	Speed 	Identifier 	Type 	Family 	Cores 	Threads 	Voltage 	Data Width
Processor 1	2000 MHz	3030343837384141	Central	Intel Xeon	6	2	1.125000	64-bit
Processor 4	2000 MHz	3030343837384141	Central	Intel Xeon	6	2	1.125000	64-bit
>Fix:

>Release-Note:

>Audit-Trail:
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org
Subject: re: kern/45851: kernel crash at ibm x3850
Date: Tue, 17 Jan 2012 19:43:27 +1100

 can you try a kernel without est?  maybe boot -c and "disable est"
 will work.  that requires -current.  for netbsd-5, there's a kernel
 option ENHANCED_SPEEDSTEP to disable.

 thanks.


 .mrg.

From: 6bone@6bone.informatik.uni-leipzig.de
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: re: kern/45851: kernel crash at ibm x3850
Date: Tue, 17 Jan 2012 15:21:43 +0100 (CET)

 On Tue, 17 Jan 2012, matthew green wrote:

 > can you try a kernel without est?  maybe boot -c and "disable est"
 > will work.  that requires -current.  for netbsd-5, there's a kernel
 > option ENHANCED_SPEEDSTEP to disable.

 the netbsd-5 kernel without ENHANCED_SPEEDSTEP and BIOS setting

 Extended APIC              <Disable>

 is working. Thank you!

 the netbsd-5 kernel without ENHANCED_SPEEDSTEP and BIOS setting

 Extended APIC		<Enable>

 is hanging up with

 kernel text is mapped with 6 large pages and 33 normal pages
 Loaded initial symtab at 0xffffffff81257fa0, strtab at 0xffffffff81302dc0, 
 # entries 29079
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
      2006, 2007, 2008, 2009, 2010
      The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
      The Regents of the University of California.  All rights reserved.

 NetBSD 5.1_STABLE (INSTALL) #9: Tue Jan 17 12:02:57 CET 2012

 root@6bone.informatik.uni-leipzig.de:/usr/obj/sys/arch/amd64/compile/INSTALL
 total memory = 511 GB
 avail memory = 496 GB
 RTC BIOS diagnostic error 80<clock_battery>
 SMBIOS rev. 2.7 @ 0x7f0be000 (137 entries)
 IBM System x3850 X5 -[71453RG]- (06)
 mainbus0 (root)
 cpu0 at mainbus0 apid 0

 the ddb doesn't response to <Ctrl>-<Alt>-<Esc> or <Break>



 Thank you for your efforts

 Regards
 Uwe

From: 6bone@6bone.informatik.uni-leipzig.de
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: re: kern/45851: kernel crash at ibm x3850
Date: Thu, 19 Jan 2012 08:24:40 +0100 (CET)

 Now I also tested current. Booting the current kernel with disabled est0 
 results in a system reboot before any output.


 Uwe

From: Jukka Ruohonen <jruohonen@iki.fi>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org, 6bone@6bone.informatik.uni-leipzig.de
Subject: Re: kern/45851: kernel crash at ibm x3850
Date: Mon, 6 Feb 2012 20:12:31 +0200

 On Thu, Jan 19, 2012 at 07:25:03AM +0000, 6bone@6bone.informatik.uni-leipzig.de wrote:
 > The following reply was made to PR kern/45851; it has been noted by GNATS.
 > 
 > From: 6bone@6bone.informatik.uni-leipzig.de
 > To: gnats-bugs@NetBSD.org
 > Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
 > Subject: re: kern/45851: kernel crash at ibm x3850
 > Date: Thu, 19 Jan 2012 08:24:40 +0100 (CET)
 > 
 >  Now I also tested current. Booting the current kernel with disabled est0 
 >  results in a system reboot before any output.

 As time is limited, can we get any more information about this issue with
 -current a.k.a. soon-to-be 6.0? To begin with, the default boot does what?

 - Jukka.

From: 6bone@6bone.informatik.uni-leipzig.de
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/45851: kernel crash at ibm x3850
Date: Tue, 7 Feb 2012 07:19:17 +0100 (CET)

 On Mon, 6 Feb 2012, Jukka Ruohonen wrote:

 > As time is limited, can we get any more information about this issue with
 > -current a.k.a. soon-to-be 6.0? To begin with, the default boot does what?

 I tested the current install media with the default configuration. The
 only change was to disable est0 in the INSTALL configuration file.

 I can see the bootmanger but not any kernel output. After starting the
 kernel the system reboots. So I can't say any more.

From: Jukka Ruohonen <jruohonen@iki.fi>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org, 6bone@6bone.informatik.uni-leipzig.de
Subject: Re: kern/45851: kernel crash at ibm x3850
Date: Fri, 10 Feb 2012 13:09:12 +0200

 On Tue, Jan 17, 2012 at 02:25:02PM +0000, 6bone@6bone.informatik.uni-leipzig.de wrote:
 k>  the netbsd-5 kernel without ENHANCED_SPEEDSTEP and BIOS setting
 >  
 >  Extended APIC              <Disable>
 >  
 >  is working. Thank you!
 >  
 >  the netbsd-5 kernel without ENHANCED_SPEEDSTEP and BIOS setting
 >  
 >  Extended APIC		<Enable>
 >  
 >  is hanging up with

 Just a note: NetBSD does not support x2APIC, a.k.a. "extended APIC", so this
 is kind of expected [1]. This is in my TODO list too.

 - Jukka.

 [1] The x2APIC "support" was only "implemented" based on Xen emulation, cf.
     http://mail-index.netbsd.org/current-users/2009/12/22/msg011794.html

From: 6bone@6bone.informatik.uni-leipzig.de
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: re: kern/45851: kernel crash at ibm x3850
Date: Mon, 16 Mar 2015 14:28:06 +0100 (CET)

 The server was scrapped so that I can perform no farther tests. The PR can 
 be closed.

   Uwe

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 08 Sep 2015 08:48:38 +0000
State-Changed-Why:
Withdrawn by submitter.


>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-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.