From nobody@FreeBSD.org  Fri Nov 21 08:25:20 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id EA5501065672
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Nov 2008 08:25:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id D9EBC8FC1D
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Nov 2008 08:25:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mAL8PK6e082203
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Nov 2008 08:25:20 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id mAL8PKlH082202;
	Fri, 21 Nov 2008 08:25:20 GMT
	(envelope-from nobody)
Message-Id: <200811210825.mAL8PKlH082202@www.freebsd.org>
Date: Fri, 21 Nov 2008 08:25:20 GMT
From: Alex R <alex@ahhyes.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Lockup during boot - Cannot install the OS
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         129040
>Category:       kern
>Synopsis:       [install] Lockup during boot - Cannot install the OS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gavin
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 21 08:30:05 UTC 2008
>Closed-Date:    
>Last-Modified:  Sat Apr 25 09:10:05 UTC 2009
>Originator:     Alex R
>Release:        7.0-Release/amd64
>Organization:
>Environment:
n/a - OS cannot be installed as it locks up during kernel init stages
>Description:
Hi Team,

This would be a first ever for me, I've been using FreeBSD for years and NEVER had a case where it would not install for me on a machine, until now..

I should mention that I have tested with the 7.1-BETA2/amd64 as well and get the same results too (so whatever the problem is, obviously exists in there too)

Anyway, enough ranting and raving, I will give the Specifics:

The problem is that when I boot from the FreeBSD CD to install, the kernel gets stuck at:

Trying to mount root from ufs:/dev/md0 

And it will sit there on that indefinitely. The keyboard also appears to be unresponsive (pressing caps lock/num lock produces no LED activity on the keyboard)

The hardware:

Intel desktop board (Model BLKDP45SG) (Info from the vendor is available from http://www.intel.com/products/desktop/motherboards/DP45SG/DP45SG-overview.htm )

The board is based on the Intel ICH10R Chipset, and has 4GB of DDR3 memory installed, along with an Intel Core Duo CPU.

The board is unusual to me as it has:

* No IDE connectors (SATA Only)
* No PS/2 Connectors for Keyboard and Mouse (only USB is supported)
* No FDC connector (for floppy)

I am booting from a SATA DVD-ROM drive.

Any ideas on what I can do? If you require more information, please let me know.

>How-To-Repeat:
Attempt to install either 7.0-RELEASE/amd64 or the 7.1BETA2/amd64 on my hardware.

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Fri Nov 21 11:40:26 UTC 2008 
State-Changed-Why:  
To submitter: can you try a couple of things to try to narrow down 
where this hang is happening? 

1) Can you try disabling the floppy controller from the loader prompt with  
set hint.fdc.0.disabled="1" 
and see if that makes a difference? 

2) Can you set geom debugging on and boot verbose (from the loader prompt) 

set kern.geom.debugflags="39" 
boot -v 

and see what the last lines to be printed are? 

Gavin 



Responsible-Changed-From-To: freebsd-bugs->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Fri Nov 21 11:40:26 UTC 2008 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129040 

From: Alex R <alex@ahhyes.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/129040: [install] Lockup during boot - Cannot install the
	OS
Date: Mon, 24 Nov 2008 06:03:37 +1100

 Hi Gavin,
 
 The first suggestion didn't do anything new. However your second  
 suggestion gave a lot more information, as I have no way to copy and  
 paste the details I had to resort to a rather odd method of getting  
 the details, I took a picture of the screen with a digital camera  
 (crude, but the only way I could think of),
 
 The image can be seen here:
 
 http://ahhyes.net/PICT0075.JPG
 
 Kind Regards,
 Alex.
 
 PS: Sorry for the multiple replies, you probably got my original  
 reply, but I noticed the PR didn't update because I didn't CC the  
 right address.
 
 
 ----------------------------------------------------------------
 This message was sent using IMP, the Internet Messaging Program.
 
 
Subject: Re: kern/129040: [install] Lockup during boot - Cannot install the OS
Date: Tue, 25 Nov 2008 16:11:20 +0100
From: <Martin.Collins@Knorr-Bremse.com>

 Hi,
 
 hope I'm not wasting your time - is possibly related to kern/127391
 <http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/127391> ?
 
 Cheers,
 
 Martin.
 

From: Alex R <alex@ahhyes.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/129040: [install] Lockup during boot - Cannot install the OS
Date: Thu, 27 Nov 2008 20:02:23 +1100

 Hi Gavin/Martin,
 
 Martin, I'm not so sure that PR is related to mine, it looks like the  
 submitter of that PR is able to get significantly further into the  
 boot FreeBSD boot process than I am.
 
 Gavin, sorry to be a pest, but do you have any updates/ideas on what  
 might be causing this issue for me?
 
 Kind Regards,
 Alex.
 
 
 ----------------------------------------------------------------
 This message was sent using IMP, the Internet Messaging Program.
 
 

From: Alex R <alex@ahhyes.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/129040: [install] Lockup during boot - Cannot install the OS
Date: Sun, 07 Dec 2008 12:37:32 +1100

 Hi Gavin,
 
 Interestingly enough, FreeBSD 7/i386 boots, but the USB keyboard  
 doesn't work and the bootup is very slow, lots of USB "Waiting for  
 bios to give up control" messages appear followed by a stall each  
 time. I saw another warning from one of the USB inits saying "cannot  
 get control descriptor" or something to that effect. Got into  
 sysinstall but keyboard does not work.
 
 So part of the problem looks to be 64 Bit specific, the other part I guess is
 
 What I dont understand is linux operates on this machine with no  
 problem at all, the hardware couldn't be too new/obscure if thats the  
 case. That's besides the point anyway, I really want to use FreeBSD on  
 this machine, not linux.
 
 Any thoughts on this?
 
 
 ----------------------------------------------------------------
 This message was sent using IMP, the Internet Messaging Program.
 
 
State-Changed-From-To: feedback->feedback  
State-Changed-By: gavin 
State-Changed-When: Mon Feb 23 14:47:44 UTC 2009 
State-Changed-Why:  
To submitter: Could you please try one of the 8.0 snapshots from 
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/200812/ and see if they 
successfully boot? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129040 

From: Alex <alex@ahhyes.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/129040: [install] Lockup during boot - Cannot install the
 OS
Date: Tue, 17 Mar 2009 18:16:14 +1100

 Hi Gavin,
 
 amd64 wont boot.
 
 My camera is dead and I have no way to get you a screen dump, besides 
 type it out, so here goes:
 
 ----------------------------
 
 md0: Preload image </boot/mfsroot> 4193404 bytes at 0xffffffff80eec110
 WARNING: WITNESS option enabled, expect reduced performance
 Trying to mount root from ufs:/dev/md0
 Warning: no time-of-day clock registered, system time will not be set 
 accurately
 
 lock order reversal:
 1st: 0xffffff00024ec70 user map (user map) @ /usr/src/sys/vm/vm_map.c:3115
 2nd: 0xffffff0002670098 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2079
 KDB: stack backtrace:
 db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
 _witness_debugger() at _witness_debugger+0x2e
 witness_checkorder() at witness_checkorder+0x81e
 __lockmgr_args() at __lockmgr_args+0xca8
 ffs_lock() at ffs_lock+0x8c
 VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b
 _vn_lock() at _vn_lock+0x47
 vget() at vget+0x8b
 vnode_pager_lock() at vnode_pager_lock+0x1d0
 vm_fault() at vm_fault+0x1e2
 trap_pfault() at trap_pfault+0x128
 trap() at trap+0x51c
 calltrap() at calltrap+0x8
 --- trap 0xc, rip = 0x40014f , rsp = 0x7fffffffee60, rbp = 
 0x7fffffffee80 ---
 <system hangs there>
 

From: Alex <alex@ahhyes.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/129040: [install] Lockup during boot - Cannot install the
 OS
Date: Sat, 25 Apr 2009 17:04:42 +1000

 An update,
 
 8.0/i386 boots but appears to have USB problems.
 
 During the boot, there are lots of messages about USB saying:
 
 * Waiting for BIOS to give up control
 * Time out (after a short delay between each)
 
 The motherboard has no PS/2 connectors, the keyboard is USB. 
 Consequently the keyboard does not work and installation is impossible 
 without one.
 
 Theres 2 separate issues here with freebsd on that machine, one is 64 
 bit specific and something to do with memory management (i suspect), on 
 32 bit, USB support is broken.
 
 Bear in mind Windows and Linux work perfectly on that very machine. This 
 is not going to be a hardware fault.
 
 Over to you Gavin.
 
>Unformatted:
