From owner-freebsd-stable@FreeBSD.ORG Sun Sep 5 20:18:45 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B101C16A4CF for ; Sun, 5 Sep 2004 20:18:45 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44F7943D49 for ; Sun, 5 Sep 2004 20:18:45 +0000 (GMT) (envelope-from bfoz@terrandev.com) Received: from [192.168.0.5] (c-24-6-89-159.client.comcast.net[24.6.89.159]) by comcast.net (sccrmhc13) with ESMTP id <2004090520184301600n8nf7e> (Authid: bfoz); Sun, 5 Sep 2004 20:18:44 +0000 Message-ID: <413B74A2.7080106@terrandev.com> Date: Sun, 05 Sep 2004 13:18:42 -0700 From: Brandon Fosdick User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug White References: <20040609140522.F41595@carver.gumbysoft.com> <40CA510C.2020803@terrandev.com> <20040611223220.J67661@carver.gumbysoft.com> In-Reply-To: <20040611223220.J67661@carver.gumbysoft.com> Content-Type: multipart/mixed; boundary="------------040504090001040508010403" cc: Lee Harr cc: freebsd-stable@freebsd.org Subject: Re: cannot boot system built today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2004 20:18:45 -0000 This is a multi-part message in MIME format. --------------040504090001040508010403 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I finally found some spare time to track this problem down. I did a binary search of RELENG_4 from March 2004 to May 2004 and found that the last version that boots properly is dated 28 Mar 2004 @ 11:45am. The version from the same day @ noon displays the familiar boot hang. The only commit in those 15 minutes is at 11:50 and appears to be a fairly extenive update to the firewire subsystem. That seemed odd to me so I built a kernel from the noon (non-working) source with firewire disabled and it booted just fine. I started playing around and found that a non-working firewire-enabled kernel will boot normally with my iPod plugged in. In fact it will continue to boot normally even after removing the iPod. Disconnecting the computer's power cable from the wall causes the familiar boot hang to return. However, if the iPod is connected after the computer hangs, it will proceed to boot properly. So something is definately wrong with the firewire code, but I don't have the expertise to fix it. I'll keep poking to see what I can find, but I could really use the help of someone more knowledgeable. For now the easiest workaround is to plug in an iPod, although I imagine any firewire drive will do. Attached is the output of diff -r --brief that lists the files that were updated at 11:50am on 28 Mar 2004. Doug White wrote: > On Fri, 11 Jun 2004, Brandon Fosdick wrote: > > >>Doug White wrote: >> >>>I'd _love_ to have a machine with broken ATA so I could debug this stuff, >>>but I either have working ATA or SCSI systems. >> >>I'd love for somebody to get this working. >> >>Do you need a whole machine or just a motherboard? I'd be happy to send >>you a board if you're serious about debugging this. > > > I don't know if I have the necessary skills to produce a fix, but I'll > happily confirm the problem for you. :) > > I'd need a full system, since I don't have much in the way of spare parts. > Definitely no CPUs, memory, or power supplies+chassis. Lots of SCSI disks > and SCSI CDROMs tho :) > -- Brandon Fosdick http://www.terranspace.org --------------040504090001040508010403 Content-Type: text/plain; name="d1" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="d1" Files 0/src/sys/dev/firewire/firewire.c and 1/src/sys/dev/firewire/firewire.c differ Files 0/src/sys/dev/firewire/firewire.h and 1/src/sys/dev/firewire/firewire.h differ Files 0/src/sys/dev/firewire/firewirereg.h and 1/src/sys/dev/firewire/firewirereg.h differ Files 0/src/sys/dev/firewire/fwcrom.c and 1/src/sys/dev/firewire/fwcrom.c differ Files 0/src/sys/dev/firewire/fwdev.c and 1/src/sys/dev/firewire/fwdev.c differ Files 0/src/sys/dev/firewire/fwdma.c and 1/src/sys/dev/firewire/fwdma.c differ Files 0/src/sys/dev/firewire/fwmem.c and 1/src/sys/dev/firewire/fwmem.c differ Files 0/src/sys/dev/firewire/fwohci.c and 1/src/sys/dev/firewire/fwohci.c differ Files 0/src/sys/dev/firewire/fwohci_pci.c and 1/src/sys/dev/firewire/fwohci_pci.c differ Files 0/src/sys/dev/firewire/fwohcireg.h and 1/src/sys/dev/firewire/fwohcireg.h differ Files 0/src/sys/dev/firewire/fwohcivar.h and 1/src/sys/dev/firewire/fwohcivar.h differ Files 0/src/sys/dev/firewire/if_fwe.c and 1/src/sys/dev/firewire/if_fwe.c differ Files 0/src/sys/dev/firewire/sbp.c and 1/src/sys/dev/firewire/sbp.c differ Files 0/src/sys/dev/firewire/sbp_targ.c and 1/src/sys/dev/firewire/sbp_targ.c differ --------------040504090001040508010403--