NetBSD Problem Report #44085

From www@NetBSD.org  Fri Nov 12 12:29:25 2010
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 CDBC163BAB7
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 12 Nov 2010 12:29:25 +0000 (UTC)
Message-Id: <20101112122925.9086663BA8D@www.NetBSD.org>
Date: Fri, 12 Nov 2010 12:29:25 +0000 (UTC)
From: pettai@nordu.net
Reply-To: pettai@nordu.net
To: gnats-bugs@NetBSD.org
Subject: root device: lost during boot on installation CD(s), input required to continue
X-Send-Pr-Version: www-1.0

>Number:         44085
>Category:       kern
>Synopsis:       root device: lost during boot on installation CD(s), input required to continue
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 12 12:30:00 +0000 2010
>Closed-Date:    Fri Jul 17 10:34:24 +0000 2020
>Last-Modified:  Fri Jul 17 10:34:24 +0000 2020
>Originator:     Fredrik Pettai
>Release:        NetBSD 5.99.39
>Organization:
NORDUnet A/S
>Environment:
NetBSD oden 5.99.39 NetBSD 5.99.39 (GENERIC) #0: Tue Nov  9 09:35:20 UTC 2010  builds@b6.netbsd.org:/home/builds/ab/HEAD/i386/201011090000Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC i386
>Description:
Booting the prebuilt installation CD(s) on some hardware, like the common Dell PowerEdge 2950 servers, stops during the boot process:

...
boot device: <unknown>
root device:

Here, it's waiting for input...

Full dmesg below:

>> NetBSD/x86 BIOS Boot, Revision 5.4 (from NetBSD 5.99.39)
>> Memory: 636/3402048 k
Press return to boot now, any other key for boot menu
booting cd0a:netbsd - starting in 0 seconds.     
9623836+545216+427900 [506992+493598]=0xb11484
Loading /stand/i386/5.99.39/modules/cd9660/cd9660.kmod  
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.99.39 (GENERIC) #0: Tue Nov  9 09:35:20 UTC 2010
       builds@b6.netbsd.org:/home/builds/ab/HEAD/i386/201011090000Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC
total memory = 3322 MB
avail memory = 3254 MB
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 2327MHz, id 0x6f7
cpu1 at mainbus0 apid 4: Intel 686-class, 2327MHz, id 0x6f7
cpu2 at mainbus0 apid 2: Intel 686-class, 2327MHz, id 0x6f7
cpu3 at mainbus0 apid 6: Intel 686-class, 2327MHz, id 0x6f7
cpu4 at mainbus0 apid 1: Intel 686-class, 2327MHz, id 0x6f7
cpu5 at mainbus0 apid 5: Intel 686-class, 2327MHz, id 0x6f7
cpu6 at mainbus0 apid 3: Intel 686-class, 2327MHz, id 0x6f7
cpu7 at mainbus0 apid 7: Intel 686-class, 2327MHz, id 0x6f7
ioapic0 at mainbus0 apid 8
ioapic1 at mainbus0 apid 9
ioapic2 at mainbus0 apid 10
ioapic3 at mainbus0 apid 11
acpi0 at mainbus0: Intel ACPICA 20100528
CPU1 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU2 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU3 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU4 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU5 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU6 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU7 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU8 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
WHEA (PNP0C33) at acpi0 not configured
npx1 at acpi0 (FPU, PNP0C04): io 0xf0-0xff irq 13
SPK (PNP0C01) at acpi0 not configured
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x5f irq 0
COMA (PNP0501) at acpi0 not configured
COMB (PNP0501) at acpi0 not configured
MBIO (PNP0C01) at acpi0 not configured
NIPM (IPI0001) at acpi0 not configured
PEHB (PNP0C02) at acpi0 not configured
hpet0 at acpi0 (HPET, PNP0103-0): mem 0xfed00000-0xfed003ff
apm0 at acpi0: Power Management spec V1.2
ipmi0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x25c0 (rev. 0x12)
ppb0 at pci0 dev 2 function 0: vendor 0x8086 product 0x25e2 (rev. 0x12)
pci1 at ppb0 bus 6
ppb1 at pci1 dev 0 function 0: vendor 0x8086 product 0x3500 (rev. 0x01)
pci2 at ppb1 bus 7
ppb2 at pci2 dev 0 function 0: vendor 0x8086 product 0x3510 (rev. 0x01)
pci3 at ppb2 bus 8
ppb3 at pci3 dev 0 function 0: vendor 0x1166 product 0x0103 (rev. 0xc3)
ppb3: disabling notification events
pci4 at ppb3 bus 9
bnx0 at pci4 dev 0 function 0: Broadcom NetXtreme II BCM5708 1000Base-T
bnx0: Ethernet address 00:1a:a0:02:d8:6f
bnx0: interrupting at ioapic0 pin 16
brgphy0 at bnx0 phy 1: BCM5708C 1000BASE-T media interface, rev. 6
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb4 at pci2 dev 1 function 0: vendor 0x8086 product 0x3514 (rev. 0x01)
pci5 at ppb4 bus 10
ppb5 at pci1 dev 0 function 3: vendor 0x8086 product 0x350c (rev. 0x01)
ppb5: disabling notification events
pci6 at ppb5 bus 11
ppb6 at pci0 dev 3 function 0: vendor 0x8086 product 0x25e3 (rev. 0x12)
pci7 at ppb6 bus 1
ppb7 at pci7 dev 0 function 0: vendor 0x8086 product 0x0370 (rev. 0x00)
ppb7: disabling notification events
pci8 at ppb7 bus 2
mfi0 at pci8 dev 14 function 0: Dell PERC 5/i integrated
mfi0: interrupting at ioapic1 pin 14
mfi0: logical drives 2, version 5.2.1-0067, 256MB RAM
scsibus0 at mfi0: 64 targets, 8 luns per target
ppb8 at pci7 dev 0 function 2: vendor 0x8086 product 0x0372 (rev. 0x00)
ppb8: disabling notification events
pci9 at ppb8 bus 3
ppb9 at pci0 dev 4 function 0: vendor 0x8086 product 0x25f8 (rev. 0x12)
pci10 at ppb9 bus 12
ppb10 at pci0 dev 5 function 0: vendor 0x8086 product 0x25e5 (rev. 0x12)
pci11 at ppb10 bus 13
ppb11 at pci0 dev 6 function 0: vendor 0x8086 product 0x25f9 (rev. 0x12)
pci12 at ppb11 bus 14
ppb12 at pci12 dev 0 function 0: vendor 0x8086 product 0x0329 (rev. 0x09)
ppb12: disabling notification events
pci13 at ppb12 bus 15
ppb13 at pci12 dev 0 function 2: vendor 0x8086 product 0x032a (rev. 0x09)
ppb13: disabling notification events
pci14 at ppb13 bus 16
ppb14 at pci0 dev 7 function 0: vendor 0x8086 product 0x25e7 (rev. 0x12)
pci15 at ppb14 bus 17
pchb1 at pci0 dev 16 function 0: vendor 0x8086 product 0x25f0 (rev. 0x12)
pchb2 at pci0 dev 16 function 1: vendor 0x8086 product 0x25f0 (rev. 0x12)
pchb3 at pci0 dev 16 function 2: vendor 0x8086 product 0x25f0 (rev. 0x12)
pchb4 at pci0 dev 17 function 0: vendor 0x8086 product 0x25f1 (rev. 0x12)
pchb5 at pci0 dev 19 function 0: vendor 0x8086 product 0x25f3 (rev. 0x12)
pchb6 at pci0 dev 21 function 0: vendor 0x8086 product 0x25f5 (rev. 0x12)
pchb7 at pci0 dev 22 function 0: vendor 0x8086 product 0x25f6 (rev. 0x12)
ppb15 at pci0 dev 28 function 0: vendor 0x8086 product 0x2690 (rev. 0x09)
pci16 at ppb15 bus 4
ppb16 at pci16 dev 0 function 0: vendor 0x1166 product 0x0103 (rev. 0xc3)
ppb16: disabling notification events
pci17 at ppb16 bus 5
bnx1 at pci17 dev 0 function 0: Broadcom NetXtreme II BCM5708 1000Base-T
bnx1: Ethernet address 00:1a:a0:02:d8:6d
bnx1: interrupting at ioapic0 pin 16
brgphy1 at bnx1 phy 1: BCM5708C 1000BASE-T media interface, rev. 6
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x2688 (rev. 0x09)
uhci0: interrupting at ioapic0 pin 21
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x2689 (rev. 0x09)
uhci1: interrupting at ioapic0 pin 20
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x268a (rev. 0x09)
uhci2: interrupting at ioapic0 pin 21
usb2 at uhci2: USB revision 1.0
ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x268c (rev. 0x09)
ehci0: interrupting at ioapic0 pin 21
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
ppb17 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0xd9)
pci18 at ppb17 bus 18
vga1 at pci18 dev 13 function 0: vendor 0x1002 product 0x515e (rev. 0x02)
wsdisplay0 at vga1 kbdmux 1
radeondrm0 at vga1: ATI ES1000 RN50
radeondrm0: Initialized radeon 1.29.0 20080613
ichlpcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x2670 (rev. 0x09)
ichlpcib0: 24-bit timer
gpiobus at ichlpcib0 not configured
piixide0 at pci0 dev 31 function 1: Intel 631xESB/632xESB IDE Controller (rev. 0x09)
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel ignored (disabled)
isa0 at ichlpcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer1: attached to pcppi0
scsibus0: waiting 2 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
uhub0 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1 at usb2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2 at usb3: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
cd0 at atapibus0 drive 0: <HL-DT-ST DVD-ROM GDR-8084N, , 1.01> cdrom removable
sd0 at scsibus0 target 0 lun 0: <DELL, PERC 5/i, 1.03> disk fixed
sd0: fabricating a geometry
sd0: 69376 MB, 69376 cyl, 64 head, 32 sec, 512 bytes/sect x 142082048 sectors
sd0: fabricating a geometry
sd1 at scsibus0 target 1 lun 0: <DELL, PERC 5/i, 1.03> disk fixed
sd1: fabricating a geometry
sd1: 136 GB, 139392 cyl, 64 head, 32 sec, 512 bytes/sect x 285474816 sectors
sd1: fabricating a geometry
uhub4 at uhub2 port 5: vendor 0x04b4 product 0x6560, class 9/0, rev 2.00/0.0b, addr 2
uhub4: multiple transaction translators
uhidev0 at uhub0 port 1 configuration 1 interface 0
boot device: <unknown>
uhidev0: LITE-ON Technology Dell USB/PS2 Combo Rackmount Keyboard, rev 1.10/1.00, addr 2, iclass 3/1
root device: ukbd0 at uhidev0     <<-- HERE ITS AWAITING INPUT!
wskbd0 at ukbd0 mux 1
uhidev1 at uhub0 port 1 configuration 1 interface 1
uhidev1: LITE-ON Technology Dell USB/PS2 Combo Rackmount Keyboard, rev 1.10/1.00, addr 2, iclass 3/1
ums0 at uhidev1: 2 buttons
wsmouse0 at ums0 mux 0
mfi0: normal state on 'mfi0:0' (online)
mfi0: normal state on 'mfi0:1' (online)

>How-To-Repeat:
Just burn any of the .iso's from /pub/NetBSD-daily/HEAD/201011090000Z/
i386/installation/cdrom/boot.iso, boot-com.iso or iso/i386cd.iso etc.
On a Dell PowerEdge 2950 for example.

The Dell PowerEdge 2950 H/W specs:
                                                                     F2 = Setup
Phoenix ROM BIOS PLUS Version 1.10 2.2.6                      F10 = Utility Mode
Copyright 1985-1988 Phoenix Technologies Ltd.                    F11 = Boot Menu
Copyright 1990-2008 Dell Inc.                                     F12 = PXE Boot
All Rights Reserved

Dell System PowerEdge 2950
www.dell.com
Testing memory.  Please wait.


Two 2.33 GHz Quad-core Processors, Bus Speed: 1333 MHz, L2 Cache: 2x4 MB

System Memory Size: 8.0 GB, System Memory Speed: 667 MHz



Broadcom NetXtreme II Ethernet Boot Agent v4.0.1
Copyright (C) 2000-2007 Broadcom Corporation
All rights reserved.
Press Ctrl-S to Configure Device (MAC Address - 001AA002D86D)



PowerEdge Expandable RAID Controller BIOS
Copyright(c) 2006 LSI Logic Corporation
Press <Ctrl><R> to Run Configuration Utility
F/W Initializing Devices 100%
HA -0 (Bus 2 Dev 14) PERC 5/i Integrated
FW package: 5.2.1-0067

2 Logical Drive(s) found on the host adapter.
2 Logical Drive(s) handled by BIOS



Remote Access Configuration Utility 1.25
Copyright 2006 Dell Inc. All Rights Reserved

Baseboard Management Controller Revision 2.05
Primary Backplane Firmware Revision 1.05


IP Address:  0 . 0 . 0 . 0
Netmask:  0 . 0 . 0 . 0
Pressa<Ctrl-E>0for0Remote Access Setup within 5 sec......



>Fix:

>Release-Note:

>Audit-Trail:
From: Fredrik Pettai <pettai@nordu.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/44085: root device: lost during boot on installation CD(s), input required to continue
Date: Tue, 29 Mar 2011 13:05:07 +0200

 Just for reference, I reinstalled the same machine again with:

 NetBSD  5.99.48 NetBSD 5.99.48 (GENERIC) #0: Mon Mar 28 15:47:21 UTC =
 2011  =
 builds@b6.netbsd.org:/home/builds/ab/HEAD/i386/201103281000Z-obj/home/buil=
 ds/ab/HEAD/src/sys/arch/i386/compile/GENERIC i386

 And the problem still occurs...=

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/44085: root device: lost during boot on installation CD(s),
 input required to continue
Date: Sun, 1 May 2011 20:46:44 +0000

 On Fri, Nov 12, 2010 at 12:30:00PM +0000, pettai@nordu.net wrote:
  > ...
  > boot device: <unknown>
  > root device:
  > 
  > Here, it's waiting for input...

 As per 44886 (which appears to be the same problem, on a different but
 probably related Dell model) it appears to work to compile in the root
 device.

 It would be helpful to know what the bootloader is seeing/passing to
 the kernel that's not working, but I don't know any easy way to
 extract that.

 -- 
 David A. Holland
 dholland@netbsd.org

From: Fredrik Pettai <pettai@nordu.net>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: kern/44085: root device: lost during boot on installation CD(s), input required to continue
Date: Sun, 1 May 2011 23:29:05 +0200

 On May 1, 2011, at 10:50 PM, David Holland wrote:
 > The following reply was made to PR kern/44085; it has been noted by =
 GNATS.
 >=20
 > From: David Holland <dholland-bugs@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc:=20
 > Subject: Re: kern/44085: root device: lost during boot on installation =
 CD(s),
 > input required to continue
 > Date: Sun, 1 May 2011 20:46:44 +0000
 >=20
 > On Fri, Nov 12, 2010 at 12:30:00PM +0000, pettai@nordu.net wrote:
 >> ...
 >> boot device: <unknown>
 >> root device:
 >>=20
 >> Here, it's waiting for input...
 >=20
 > As per 44886 (which appears to be the same problem, on a different but
 > probably related Dell model) it appears to work to compile in the root
 > device.
 >=20
 > It would be helpful to know what the bootloader is seeing/passing to
 > the kernel that's not working, but I don't know any easy way to
 > extract that.

 I could try to provide this even if it isn't easy, but I would need some =
 guidance regarding how to be able to generate that output.

 /P=

From: Martin Husemann <martin@duskware.de>
To: Fredrik Pettai <pettai@nordu.net>
Cc: gnats-bugs@NetBSD.org, kern-bug-people@NetBSD.org,
	gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: kern/44085: root device: lost during boot on installation CD(s), input required to continue
Date: Mon, 2 May 2011 00:06:48 +0200

 On Sun, May 01, 2011 at 11:29:05PM +0200, Fredrik Pettai wrote:
 > I could try to provide this even if it isn't easy, but I would need some guidance regarding how to be able to generate that output.

 A simple start would be the output of 

   sysctl machdep.diskinfo

 Second step would be to compile a release with "options GEOM_DEBUG" added
 to the kernel used for your boot medium (you said cd, so that would be
 GENERIC).

 But maybe the simple first step already gives us an idea.

 Martin

From: Fredrik Pettai <pettai@nordu.net>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: kern/44085: root device: lost during boot on installation CD(s), input required to continue
Date: Mon, 2 May 2011 00:12:11 +0200

 On May 2, 2011, at 12:10 AM, Martin Husemann wrote:
 > sysctl machdep.diskinfo

 $ sysctl machdep.diskinfo
 machdep.diskinfo: 80:142082048(1023/16/8),2 81:285474816(1023/255/63),2  =
 sd0:80 sd1:81

 /P=

From: Martin Husemann <martin@duskware.de>
To: Fredrik Pettai <pettai@nordu.net>
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/44085: root device: lost during boot on installation CD(s), input required to continue
Date: Mon, 2 May 2011 00:29:15 +0200

 On Mon, May 02, 2011 at 12:12:11AM +0200, Fredrik Pettai wrote:
 > On May 2, 2011, at 12:10 AM, Martin Husemann wrote:
 > > sysctl machdep.diskinfo
 > 
 > $ sysctl machdep.diskinfo
 > machdep.diskinfo: 80:142082048(1023/16/8),2 81:285474816(1023/255/63),2  sd0:80 sd1:81

 That looks all fine, so it should actually work.
 If you look into src/sys/arch/x86/x86/x86_autoconf.c, you will find the
 function findroot().
 Inside you will see

 	if ((biv = lookup_bootinfo(BTINFO_ROOTDEVICE)) != NULL) {

 and a loop over all disk devices that actually did attach. I would
 suggest adding a few printfs there to see progress and find out why it
 does not pick the (apparently properly matched) device. Look at the
 strncmp and print both device names at least.

 Martin

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 02 Oct 2016 19:39:33 +0000
State-Changed-Why:
Do you still have this HW, and if so, how does -7 do?
(I had a similar problem on one machine that went away sometime during
the -7 release cycle)


State-Changed-From-To: feedback->closed
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Fri, 17 Jul 2020 10:34:24 +0000
State-Changed-Why:
Feedback timeout. If you happen to get into position to retest and problem
still there, please ping to get this reopened.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.