From owner-freebsd-current@FreeBSD.ORG Thu Nov 1 05:09:00 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD49416A481; Thu, 1 Nov 2007 05:08:47 +0000 (UTC) (envelope-from mpp@mppsystems.com) Received: from mail3.gulftel.com (mail3.gulftel.com [216.231.163.44]) by mx1.freebsd.org (Postfix) with ESMTP id 836A013C4A5; Thu, 1 Nov 2007 05:08:47 +0000 (UTC) (envelope-from mpp@mppsystems.com) Received: from localhost (localhost [127.0.0.1]) by mail3.gulftel.com (Postfix) with ESMTP id C629B2AA6B; Wed, 31 Oct 2007 20:37:55 -0500 (CDT) X-Virus-Scanned: amavisd-new at gulftel.com Received: from mail3.gulftel.com ([127.0.0.1]) by localhost (mail3.gulftel.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6jETPNVxl7w0; Wed, 31 Oct 2007 20:37:52 -0500 (CDT) Received: from mail.mppsystems.com (unknown [10.17.28.253]) by mail3.gulftel.com (Postfix) with ESMTP id 993402A948; Wed, 31 Oct 2007 20:37:48 -0500 (CDT) Received: by mail.mppsystems.com (Postfix, from userid 1000) id 311FA17041; Wed, 31 Oct 2007 20:37:48 -0500 (CDT) Date: Wed, 31 Oct 2007 20:37:48 -0500 From: Mike Pritchard To: Red Neck Message-ID: <20071101013748.GA1116@mail.mppsystems.com> References: <862892.31020.qm@web27810.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <862892.31020.qm@web27810.mail.ukl.yahoo.com> User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Mailman-Approved-At: Thu, 01 Nov 2007 11:30:50 +0000 Cc: freebsd-current@freebsd.org Subject: Re: Loader broken in Head? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 05:09:00 -0000 > On Friday 26 October 2007 08:03:21 pm Red Neck wrote: > Hi, > > Within the last day (26/10/07) I've built and installed the sources > from CVS > Head only to find the stage 3 boot loader, /boot/loader, not working. > I'm > using a Mac Pro with 3 internal hard drives. On one hard disk I have > FreeBSD amd64 installed, occupying the entire disk (MBR). Using the sources > from Head, loader just freezes after displaying its initial messages with a > constantly spinning cursor. To access the system I have to revert to using > an older loader such as 6.2 release's. I have attached my make and kernel > config. I was seeing a similar problem. Booting from a floppy disk twice would probably be faster than booting off the hard disk. I had just done a makeworld, and updated the boot blocks on the disk (it previously had a pretty old install on it). But the system would eventually boot, and not hang up. I noticed that Red Necks boot loader build date was the same as the version I was having problems with. Fortunately, I have a 2nd HD in the machine with a 7.0 install, and installed the boot blocks from that HD to the one I was having problems with, and copied over /boot/loader from that HD. No more problems. System boots as fast as ever. So yes, I think there is something wrong with the current loader. With the slow boot, once the system is up and running, the disks are running at normal speeds (checked with iozone & bonnie). Some output from a slow boot with some comments in []'s to note how long things are taking (it took so long I was able to type all that initial boot information into a window on another machine): BTX loader 1.00 BTX version is 1.01 Consoles: internal video/keyboard BIOS drive C: is disk0 BIOS drive D: is disk1 BIOS 639kb/1047488kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (mpp@mail.mppsystems.com, Thu Oct 25 00:32:20 CDT 2007) Loading /boot/defaults/loader.conf /-\|/...[wait about 2 mins] /boot/kernel/kernel text=0x37e650 [spin for 3 mins] data=0x39600+0x30860 [30 seconds] syms=[0x4+0x44590+0x4+0x57708] [spin for about 2 mins] OK lsdev cd devices: disk devices: disk0: BIOS drive C: disk0s1a: FFS disk0s1d: FFS disk0s2a: FFS disk0s2b: swap disk0s2d: FFS disk0s2e: FFS disk0s2f: FFS disk0s3b: swap disk0s3d: FFS disk0s3e: FFS disk0s3f: FFS disk0s3g: FFS disk0: BIOS drive D: disk1s1a: FFS disk1s1b: swap disk1s1D: FFS disk1s1e: FFS disk1s1f: FFS pxe devices: OK boot [spins for about 30 seconds or so loading acpi.ko] [system boots normally now] Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #16: Thu Oct 25 17:55:37 CDT 2007 mpp@mail.mppsystems.com:/shared/src/sys/i386/compile/MAIL WARNING: DIAGNOSTIC option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III CPU 1133MHz (1130.12-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383fbff real memory = 1073676288 (1023 MB) avail memory = 1041489920 (993 MB) ACPI APIC Table: [trimmed] atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd400-0xd40f at device 7.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] ad0: 76319MB at ata0-master UDMA100 acd0: CDROM at ata0-slave PIO4 ad2: 28629MB at ata1-master UDMA100 Trying to mount root from ufs:/dev/ad0s1a -- Mike Pritchard mpp @ FreeBSD.org "If tyranny and oppression come to this land, it will be in the guise of fighting a foreign enemy." - James Madison (1787)