From nobody@FreeBSD.org  Tue May  9 05:16:15 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 975BC16A403
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  9 May 2006 05:16:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 35BA943D46
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  9 May 2006 05:16:15 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k495GF89069134
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 9 May 2006 05:16:15 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k495GEWw069133;
	Tue, 9 May 2006 05:16:14 GMT
	(envelope-from nobody)
Message-Id: <200605090516.k495GEWw069133@www.freebsd.org>
Date: Tue, 9 May 2006 05:16:14 GMT
From: Greg Hamamjian <haxor777@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Cannot load the kernel after installation on Supermicro H8DAR-T
X-Send-Pr-Version: www-2.3

>Number:         97019
>Category:       kern
>Synopsis:       Cannot load the kernel after installation on Supermicro H8DAR-T
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 09 05:20:19 GMT 2006
>Closed-Date:    Wed Feb 07 05:20:32 GMT 2007
>Last-Modified:  Wed Feb 07 05:20:32 GMT 2007
>Originator:     Greg Hamamjian
>Release:        6.1-Release
>Organization:
Select Systems Technology
>Environment:
6.1-RELEASE
>Description:
Upon initial installation of 6.1-RELEASE 64 bit on a Supermicro H8DAR-T system, the /boot/kernel directory is missing and the system doesn't boot.

Error is something to the effect of:

Cannot load kernel

I happened to catch the last message after installing the system and before booting into it by pressing CTRL-ALT-F2 (I believe.) I got a message something to the effect of:

rename of /boot/GENERIC to /boot/kernel file does not exist
>How-To-Repeat:
Install 64 bit 6.1-RELEASE on a Supermicro H8DAR-T standard with MBR (no boot-loader) and re-boot to start system.
>Fix:
1) Load fixit image with installation cd-rom and switch to holographic shell (CTRL-ALT-F4)
2) mount /dev/ad4s1a to any directory of your choice (e.g. mount /dev/ad4s1a /mnt.) 
2) copy /dist/kernels/install.sh to the above partition just mounted.
3) edit the install.sh and change the line that says /$[some variable]-/boot to the newely mounted parition /boot (e.g. /mnt/boot)
4) change to the /dist/kernels directory and run the install.sh from your mounted drive with kernel kernel arguments (e.g. cd /dist/kernels && /mnt/install.sh kernel kernel)
>Release-Note:
>Audit-Trail:

From: ict technician <ict@cardinalnewman.coventry.sch.uk>
To: bug-followup@freebsd.org, haxor777@gmail.com
Cc:  
Subject: Re: amd64/97019: Cannot load the kernel after installation on Supermicro H8DAR-T
Date: Wed, 10 May 2006 11:43:34 +0100

 Did you do a "standard" install?
 
 kernels/install.sh was rewritten to allow a choice of kernel. e.g. GENERIC or SMP
 If you run the script by hand you need to rename the installed kernel. If you use
 one of the "potted" installs, sysinstall should do this for you.
 
 A manual install would be something like (i.e. not tested)
 
 cd /dist/kernels
 ./install.sh GENERIC
 mv /boot/GENERIC /boot/kernel
 
 If you want to install somewhere other than /, you should be able to set DESTDIR to
 avoid editing the script.
 
 I guess you could call this a "feature".
 
 -- 
 i j hart
 
 ICT Technician
 Cardinal Newman Catholic School & Community College

From: Joachim Fritschi <jfritschi@freenet.de>
To: bug-followup@freebsd.org,
 haxor777@gmail.com
Cc:  
Subject: Re: amd64/97019: Cannot load the kernel after installation on Supermicro H8DAR-T
Date: Fri, 12 May 2006 21:52:28 +0200

 Had a similar problem on my t22 thinkpad (i386). The kernel was simply missing 
 after serveral installations.
 
 I did 6.1-RELEASE standard installations with several different configurations 
 regarding slice setup /mbr (allways the whole hd for freebsd) and 
 installation medias (ftp and cd). All failed with a missing kernel. 
 
 After finding this bug report i started to investigate a bit. With debug on i 
 can see a few error messages on the debug console:
 
 DEBUG: Executing command 'rm -rf /boot/kernel'
 DEBUG: Command 'rm -rf /boot/kernel' returns status of 0
 DEBUG: Executing command 'mv /boot/GENERIC /boot/kernel'
 mv: rename /boot/GENERIC to /boot/kernel: No such file or directory
 DEBUG: Command 'mv /boot/GENERIC /boot/kernel' returns status of 1
 
 I tried to install again to get some more debug info on the next "try" and 
 suddenly it worked. I have not changed a bit and have absolutely no clue what 
 the problem was. I would be happy to investigate some more if someone could 
 tell me some neat way to log the debug console of sysinstall or any other 
 debug technique for the problem.
 ---
 
 Joachim
 
 
 
 
 
 

From: "Greg Hamen" <haxor777@gmail.com>
To: bug-followup@FreeBSD.org, haxor777@gmail.com
Cc:  
Subject: Re:amd64/97019 : Cannot load the kernel after installation on Supermicro H8DAR-T
Date: Thu, 18 May 2006 19:46:25 -0700

 To whom it may concern:
 
 Going through some troubleshooting steps with i j hart (ICT
 Technician) from the Cardinal Newman Catholic School & Community
 College, I was informed to submit a Followup letting you know that the
 above problem also applies to the i386 architecture.
 
 -=3D-Thanks in Advance
 -=3D-Greg
Responsible-Changed-From-To: freebsd-amd64->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu May 25 22:18:43 UTC 2006 
Responsible-Changed-Why:  
Apparently also happens on i386. 

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

From: Greg <gregh@alternativesecurity.com>
To: bug-followup@freebsd.org,
 haxor777@gmail.com
Cc:  
Subject: Re: kern/97019: Cannot load the kernel after installation on Supermicro H8DAR-T
Date: Mon, 2 Oct 2006 16:05:15 -0700

 To whom it may concern:
 
 The issue stated in problem report kern/97019 also occurs in 6.2 (Beta 1.) I am downloading Beta 2, will test some time this week.
 -- 
 Greg Hamamjian
 CCTV Suppliers INC
 2529 Foothill BLVD #106
 La Crescenta, CA 91214
 Office: (818) 249-3555

From: Greg Hamamjian <haxor777@gmail.com>
To: bug-followup@freebsd.org,
 haxor777@gmail.com
Cc:  
Subject: Re: kern/97019: Cannot load the kernel after installation on Supermicro H8DAR-T
Date: Tue, 3 Oct 2006 12:00:34 -0700

 Issue also occurs in 6.2 BETA2.
 -- 
 Greg

From: Greg Hamamjian <haxor777@gmail.com>
To: bug-followup@freebsd.org
Cc: haxor777@gmail.com
Subject: Re: kern/97019: Cannot load the kernel after installation on Supermicro H8DAR-T
Date: Tue, 6 Feb 2007 20:30:23 -0800

 To whom it may concern:
 
 The problem report stated in 97019 seems to have been rectified in the 6.2-Release.
 
 Thanks again to all that were involved.
 -- 
 Greg Hamamjian
State-Changed-From-To: open->closed 
State-Changed-By: csjp 
State-Changed-When: Wed Feb 7 05:19:48 UTC 2007 
State-Changed-Why:  
Submitter reported the problem has been corrected in 6.2 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97019 
>Unformatted:
