From owner-freebsd-amd64@FreeBSD.ORG Sat Jun 26 00:17:38 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B984416A4CE for ; Sat, 26 Jun 2004 00:17:38 +0000 (GMT) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D61043D2D for ; Sat, 26 Jun 2004 00:17:38 +0000 (GMT) (envelope-from jkim@niksun.com) Received: from [10.70.0.244] (daemon.mj.niksun.com [10.70.0.244]) i5Q0G6Rl033685; Fri, 25 Jun 2004 20:16:06 -0400 (EDT) (envelope-from jkim@niksun.com) X-RAV-AntiVirus: This e-mail has been scanned for viruses. From: Jung-uk Kim Organization: Niksun, Inc. To: freebsd-amd64@freebsd.org, Jeff Connelly Date: Fri, 25 Jun 2004 20:16:04 -0400 User-Agent: KMail/1.6.1 References: <200406250850.i5P8oOhn025887@freefall.freebsd.org> In-Reply-To: <200406250850.i5P8oOhn025887@freefall.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="euc-kr" Content-Transfer-Encoding: 7bit Message-Id: <200406252016.04775.jkim@niksun.com> cc: dillon@apollo.backplane.com Subject: Re: amd64/67745: boot fails on compaq presario r3000z X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2004 00:17:38 -0000 On Friday 25 June 2004 04:50 am, Jeff Connelly wrote: > The following reply was made to PR amd64/67745; it has been noted > by GNATS. > > From: Jeff Connelly > To: freebsd-gnats-submit@FreeBSD.org, newntrbr@ucla.edu > Cc: > Subject: Re: amd64/67745: boot fails on compaq presario r3000z > Date: Fri, 25 Jun 2004 01:41:08 -0700 (PDT) > > --0-1052444370-1088152868=:51949 > Content-Type: text/plain; charset=us-ascii > Content-Id: > Content-Disposition: inline > > >Loader succeeds, boot fails. All boot options (safe > >mode, disable acpi) fail. Fails immediately, with > > nary a > > >turn of the boot spinner (/-\|). Fails with default > >modules loaded or unloaded. > > Same problem occurs on Compaq Presario R3140US (which > is almost the same laptop), with FreeBSD amd64 5.2.1, > FreeBSD i386 5.2.1, and FreeBSD i386 4.10. Verbose > logging doesn't reveal any information. Debian amd64 > sid and NetBSD 2.0-beta amd64 boot fine. > > Any help greatly appreciated. Wish I could provide > more information, I'm open to suggestions on what to > try. > > Attached is the dmesg of a successful boot of NetBSD > 2.0 on the R3140US, I hope its helpful to FreeBSD > amd64 developers. ----- SNIP!!! ----- The last known bootable kernel is from FreeBSD 2.2.2-RELEASE(!). With obvious reason, this is a bad choice. 2.2.5 panics with a different reason. 2.2.6, 2.2.7, and 2.2.8 boot kernels but shut down at the same place, i. e., probing sc0 -> kdbio test. From FreeBSD-3, the symptom is basically the same as reported here. DragonFlyBSD suffers the same problem because of the similarities in kernel init process. Initially I thought loader is culprit but it doesn't seem so. In -STABLE and -CURRENT, I traced it down to cninit() call from hammer_time() and init386() in src/sys/amd64/amd64/machdep.c and src/sys/i386/i386/machdep.c. It seems one of hard-wired ISA hacks for vidconsole is responsible, probably keyboard hacks. I am stuck at this point because of the tangled web of kludges. :-( FYI, there is no serial port on the laptop, so comconsole is not an option. I hope it helps, Jung-uk Kim