From owner-freebsd-stable@FreeBSD.ORG Sat Sep 24 22:23:18 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 4B9DE16A41F for ; Sat, 24 Sep 2005 22:23:18 +0000 (GMT) (envelope-from smartweb@leadhill.net) Received: from natco8.natcotech.com (natco8.natcotech.com [205.167.142.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD03D43D48 for ; Sat, 24 Sep 2005 22:23:17 +0000 (GMT) (envelope-from smartweb@leadhill.net) Received: from localhost (int9.natcotech.com [192.168.1.9]) by natco8.natcotech.com (Postfix) with ESMTP id 235342D529B for ; Sat, 24 Sep 2005 17:23:14 -0500 (CDT) Received: from natco8.natcotech.com ([192.168.1.8]) by localhost (natco9 [192.168.1.9]) (amavisd-new, port 10024) with LMTP id 08458-01-11 for ; Sat, 24 Sep 2005 17:23:16 -0500 (CDT) Received: from ibm.nlcc.us (ldhl-ras1-dial-12-28-24-103.natcotech.com [12.28.24.103]) by natco8.natcotech.com (Postfix) with ESMTP id 600B12D5294 for ; Sat, 24 Sep 2005 17:23:13 -0500 (CDT) Received: (qmail 23485 invoked by uid 89); 24 Sep 2005 22:23:15 -0000 Received: from unknown (HELO ?192.168.0.2?) (192.168.0.2) by ibm.nlcc.us with SMTP; 24 Sep 2005 22:23:15 -0000 Message-ID: <4335D1D2.9060501@leadhill.net> Date: Sat, 24 Sep 2005 17:23:14 -0500 From: Billy Newsom User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <87y85nuqhy.fsf@beaker.data-secure.net> In-Reply-To: <87y85nuqhy.fsf@beaker.data-secure.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at natco9.natcotech.com Subject: Re: 5.3 -> 5.4 breaks ATA (Intel ICH2) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2005 22:23:18 -0000 Okay, Tim, I just reported the same bug in a previous post. So did Julian C. Dunn. I think this is an issue with some recent code changes in CVS... See these threads: critical BOOT failure updating to latest 5-Stable (5.4) 9/23/2005 12:07 AM ATA lockup with 5.4-STABLE 9/21/2005 10:19 PM I have privately emailed Mr. Dunn, and his problem seems a little different perhaps, but I see some similarities. His system is an IBM (so is mine) and his uses the Intel PIIX4 ata chipset. Mine uses the PIIX3. Mine is by far the oldest, and yours is the newest system. Of note maybe is that I was also using an older drive as you are, in my case an 8 or 9 GB Quantum Fireball. Anyway, I count three systems that are normally boting with 5.3 or 5.4, and then the upgrade to the latest 5-Stable breaks the boot. Perhaps you could test one of those identical machines with a simple hard disk swap? Just put the bad booting drive in a working system and see if the error is still there? Has anyone checked the CVS repository for a possible change to the ATA detection or boot code? Can you post your dmesg for 5.3 perhaps? BTW, you can boot that machine to the old kernel using the procedure unload load /boot/kernel.old/kernel boot (or boot -v) Do all of that with option 6 on the Boot Loader menu. Thanks, Billy Tim Howe wrote: > I've got a machine here that I'm trying to install FreeBSD 5.4 on. It's > identical (except for the hard drive) to another machine that I ran the > 4.x series on for some time with no issues. > > I've got several other Pentium 3-based machines running 5.4-RELEASE-p3 > with a GENERIC kernel, and I have a 5.3 installer disk, so my strategy > was to do a minimal install of 5.3, then NFS mount /usr/src and /usr/obj > from my organizational build server and upgrade to 5.4 from there. > > The 5.3 install went smoothly, make installkernel went smoothly, but > when I tried to reboot I got an error saying that it couldn't find the > root filesystem. Further investigation found that it wasn't able to > find the ATA HDD (master on ata0) at all, but could find the ATAPI CDROM > drive (master on ata0). > > I verified that the drive had not gone bad by again booting off the 5.3 > installer disk, which found ad0 with no difficulty. I then downloaded > the 5.4 mini-CD, which was unable to find ad0. Finally, I swapped in > another hard drive with identical results. > > Neither booting with ACPI disabled (didn't bother to check whether this > machine even has it) nor booting in safe mode helped at all. > > I did happen to notice that when the 5.3 CD boots, there is a delay of > several seconds when probing ata0. Could this be a timing issue with > regard to the controller? > > The machine is a Gateway ATXSTF FED Pro M1000 with a 1GHz Pentium III > and 256MB of RAM. It has an onboard Intel ICH2 UDMA100 controller. The > first HDD I tried was a Western Digital Caviar 32500 2559.8MB drive, and > the second was a Caviar 24300 4311.9MB drive. > > If necessary, I'm willing to build custom kernels for testing purposes > or to add debugging statements etc, if anyone can give me pointers in > the right direction.