NetBSD Problem Report #40589

From www@NetBSD.org  Mon Feb  9 11:12:51 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 1C57163B896
	for <gnats-bugs@gnats.netbsd.org>; Mon,  9 Feb 2009 11:12:51 +0000 (UTC)
Message-Id: <20090209111250.E2ACF63B882@narn.NetBSD.org>
Date: Mon,  9 Feb 2009 11:12:50 +0000 (UTC)
From: philippe.sam-long@laposte.net
Reply-To: philippe.sam-long@laposte.net
To: gnats-bugs@NetBSD.org
Subject: NetBSD 5.0RC2 won't boot on a dell vostro 400 intel quad core 
X-Send-Pr-Version: www-1.0

>Number:         40589
>Category:       kern
>Synopsis:       NetBSD 5.0RC2 won't boot on a dell vostro 400 intel quad core
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 09 11:15:00 +0000 2009
>Closed-Date:    
>Last-Modified:  Mon Jan 31 03:10:22 +0000 2011
>Originator:     philippe sam-long
>Release:        5.0_RC2
>Organization:
Paseosoft
>Environment:
amd64 with LOCKDEBUG enabled (can't display uname as the kernel won't boot), machine is a dell vostro 400.
>Description:
amd64 kernel stuck at "fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2".

Enabling LOCKDEBUG option at compile time didn't help. Disabling acpi or smp didn't help either. The same problem occurs on i386.

With NetBSD 4.0.1, it was possible to boot the INSTALL kernel, but the USB keyboard wouldn't work unless unplugged then replugged. GENERIC 4.0.1 kernel was ok.
>How-To-Repeat:
boot 5.0_RC2 install CD on a DELL vostro 400.
>Fix:

>Release-Note:

>Audit-Trail:
From: philippe sam-long <philippe.sam-long@laposte.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/40589
Date: Tue, 10 Feb 2009 10:48:46 +0100

 After the kernel got stuck, the trace command in ddb prints:

 db{0}> trace
 breakpoint() at netbsd:breakpoint+0x5
 wskbd_translate() at netbsd:wskbd_translate+0xb1e
 wskbd_input() at netbsd:wskbd_input+0xc6
 pckbd_input() at netbsd:pckbd_input+0x54
 pckbcintr() at netbsd:pckbcintr+0x81
 intr_biglock_wrapper() at netbsd:intr_biglock_wrapper+0x1d
 Xintr_legacy1() at netbsd:Xintr_legacy1+0x103
 --- interupt ---
 [...]

From: philippe sam-long <philippe.sam-long@laposte.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/40589
Date: Tue, 10 Feb 2009 14:54:49 +0100

 Here is the kernel output.

 kernel text is mapped with 6 large pages and 85 normal pages
 Loaded initial symtab at 0xffffffff80da4a00, strtab at 
 0xffffffff80e51040, # entries 29341
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 
 2005, 2006, 2007, 2008
     The NetBSD Foundation, Inc.  All right reserved.

 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

 NetBSD 5.0_RC2 (LOCKDEBUG) #5: Tue Feb 10 10:04:52 CET 2009
     root@netbsd_domu:/usr/src/sys/arch/amd64/compile/LOCKDEBUG
 total memory = 255 MB
 avail memory = 233 MB
 SMBIOS rev. 2.4 @ 0xe901f (10 entries)
 Xen HVM domU (3.3.1_18494_03-1.8)
 mainbus0 (root)
 Parsing all Control Methods:
 Table [DSDT](id 0001) - 163 Objects with 22 Devices 40 Methods 4 Regions
   tbxface-0621 [02] TblLoadNamespace : ACPI Tables successfully acquired
 evxfevnt-0162 [02] Enable : System is already in ACPI mode
 cpu0 at mainbus0: Intel 686-class, 2394MHz, id 0x6fb
 acpi0 at mainbus0: Intel ACPICA 20080321
 evgpeblk-0162 [02] Enable: System is already in ACPI mode
 evgpeblk-1111 [18] EvCreateGpeBlock: GPE 00 to 1F [_GPE] 4 regs on int 0x9
 evgpeblk-1211 [21] EvInitializeGpeBlock: Found 0 Wake, Enabled 1 Runtime 
 GPEs in this block
 Completing Region/Field/Buffer/Package initialization:..................
 Initialized 0/4 Regions 0/1 Fields 14/16 Buffers 4/5 Packages (172 nodes)
 Initializing Device/Processor/Thermal objects by executing _INI methods:
 Excecuted 0 _INI methods requiring 0 _STA executions (examined 39 objects)
 attimer1 at acpi0 (TMR, PNP0100): AT Timer
 attimer1: io 0x40-0x43 irq 0
 pcppi1 at acpi0 (SPKR, PNP0800)
 pcppi1: io 0x61
 midi0 at pcppi1: PC speaker (CPU-intensive output)
 sysbeep0 at pcppi1
 pckbc1 at acpi0 (PSM2, PNP0F13): aux port
 pckbc1: irq 12
 pckbc2 at acpi0 (PS2K, PNP0303) kbd port
 pckbc2: io 0x60, 0x64 irq 1
 FDC0 (PNP0700) [PC standard floppy disk controller] at acpi0 not configured
 UAR1 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
 LPT1 (PNP0400) [Standard LPT printer port] at acpi0 not configured
 attimer1: attached to pcppi1
 pckbd0 at pckbc2 (kbd slot)
 pckbc2: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
 pms0 at pckbd2 (aux slot)
 pckbd2: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 pci0 at mainbus0 bus 0: configuration mode 1
 pchb0 at pci0 dev 0 function 0
 pchb0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
 pcib0 at pci0 dev 1 function 0
 pcib0: Intel 82371SB (PIIX3) PCI-ISA Bridge (rev. 0x00)
 piixide0 at pci0 dev 1 function 1
 piixide0: Intel 82371SB IDE Interface (PIIX3) (rev. 0x00)
 piixide0: primary channel interrupting at irq 14
 atabus0 at piixide0 channel 0
 piixide0: secondary channel interrputing at irq 15
 atabus1 at piixide0 channel 1
 uhci0 at pci0 dev 1 function 2: Intel 82371SB (PIIX3) USB Host 
 Controller (rev. 0x01)
 uhci0: interrupting at irq 5
 usb0 at uhci0: USB revision 1.0
 piixpm0 at pci0 dev 1 function 3
 piixpm0: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x01)
 piixpm0: SMBus disabled
 vga0 at pci0 dev2 function 0: Cirrus Logic CL-GD5446 (rev. 0x00)
 wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
 drm at vga0 not configured
 XenSource, Inc. Xen Platform Device (undefined subclass 0x80, revision 
 0x01) at pci0 dev 3 function 0 not configured
 re0 at pci0 dev 4 function 0: RealTek 8139C+ 10/100BaseTX (rev. 0x20)
 re0: interrupting at irq 5
 re0: Ethernet address 00:16:3e:10:4f:2e
 rlphy0 at re0 phy 0: Realtek internal PHY
 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 isa0 at pcib0
 lpt0 at isa0 port 0x378-0x37b irq 7
 com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org,
        philippe.sam-long@laposte.net
Subject: Re: kern/40589
Date: Thu, 12 Feb 2009 16:28:37 +0100

 On Tue, Feb 10, 2009 at 09:50:03AM +0000, philippe sam-long wrote:
 > The following reply was made to PR kern/40589; it has been noted by GNATS.
 > 
 > From: philippe sam-long <philippe.sam-long@laposte.net>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: kern/40589
 > Date: Tue, 10 Feb 2009 10:48:46 +0100
 > 
 >  After the kernel got stuck, the trace command in ddb prints:
 >  
 >  db{0}> trace
 >  breakpoint() at netbsd:breakpoint+0x5
 >  wskbd_translate() at netbsd:wskbd_translate+0xb1e
 >  wskbd_input() at netbsd:wskbd_input+0xc6
 >  pckbd_input() at netbsd:pckbd_input+0x54
 >  pckbcintr() at netbsd:pckbcintr+0x81
 >  intr_biglock_wrapper() at netbsd:intr_biglock_wrapper+0x1d
 >  Xintr_legacy1() at netbsd:Xintr_legacy1+0x103
 >  --- interupt ---
 >  [...]

 Actually it's what's before --- interupt --- which is interesting.
 Also the trace from other CPUs would help (mach cpu 1; tr ; ...)

 -- 
 Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: philippe sam-long <philippe.sam-long@laposte.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/40589
Date: Thu, 12 Feb 2009 17:06:58 +0100

 Indeed, if netbsd is launched as a Xen HVM DomU using more than one 
 processor, everything is ok, but dmesg would output this:

 [...]
 fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 ERROR: 269 cycle TSC drift observed
 [...]

 Outside Xen, it looks like only 1 processor can be initialized (c.f. 
 http://mail-index.netbsd.org/port-amd64/2009/02/05/msg000730.html ), it 
 may explain the problem. I'll try to boot a 5.0_RC2 kernel outside Xen 
 as soon as possible.

 Best regards.

From: philippe sam-long <philippe.sam-long@laposte.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/40589
Date: Fri, 13 Feb 2009 09:15:54 +0100

 Booting outside Xen, dmesg looks like this:

 [...]
 cpu0 at mainbus0 apid 0: Intel 686-class, 2394MHz, id 0x6fb
 cpu1 at mainbus0 apid 1cpu1: failed to become ready
 cpu2 at mainbus0 apid 3 cpu2: failed to become ready
 cpu3 at mainbus apid2 cpu3: failed to become ready
 [...]
 isa0 at ichlpcib0
 pckbc0 at isa0 port 0x60-0x64
 pckbdprobe: reset error 5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pmsprobe: reset error 5


 anyway, as the USB keyboard won't work, it's difficult to send you a 
 backtrace.

 Best regards

State-Changed-From-To: open->feedback
State-Changed-By: riz@NetBSD.org
State-Changed-When: Wed, 16 Jun 2010 21:49:40 +0000
State-Changed-Why:
If you still have this hardware, can you try NetBSD-5.1_RC3, which is 
available at:
http://ftp.netbsd.org/pub/NetBSD/NetBSD-5.1_RC3

...and if that fails, NetBSD-current?  A recent snapshot can
be had here:

http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201006150000Z/amd64/

Thanks.


From: phil <phil@nyarlathotep.crevette.fr>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/40589 (NetBSD 5.0RC2 won't boot on a dell vostro 400
 intel quad core)
Date: Fri, 25 Jun 2010 11:09:28 +0200

 Both NetBSD-5.1_RC3 and current still don't work properly on this machine. However, I
 recently tried to install a FreeBSD on this machine too ; it hangs the same way. Its
 PC-BSD flavour can work, but will kernel panic from time to time if I strike a key at the
 bootloader.

 On Wed, Jun 16, 2010 at 09:49:41PM +0000, riz@NetBSD.org wrote:
 > 
 > Synopsis: NetBSD 5.0RC2 won't boot on a dell vostro 400 intel quad core
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: riz@NetBSD.org
 > State-Changed-When: Wed, 16 Jun 2010 21:49:40 +0000
 > State-Changed-Why:
 > If you still have this hardware, can you try NetBSD-5.1_RC3, which is 
 > available at:
 > http://ftp.netbsd.org/pub/NetBSD/NetBSD-5.1_RC3
 > 
 > ...and if that fails, NetBSD-current?  A recent snapshot can
 > be had here:
 > 
 > http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201006150000Z/amd64/
 > 
 > Thanks.
 > 
 > 
 > 
 > 

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 31 Jan 2011 03:10:22 +0000
State-Changed-Why:
feedback was received in June; the 5.1 release candidate didn't work either.


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