From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 22 13:20:04 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B845C16A419 for ; Tue, 22 Jan 2008 13:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 85F9313C4E1 for ; Tue, 22 Jan 2008 13:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0MDK2Tn093516 for ; Tue, 22 Jan 2008 13:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0MDK2Nx093515; Tue, 22 Jan 2008 13:20:02 GMT (envelope-from gnats) Resent-Date: Tue, 22 Jan 2008 13:20:02 GMT Resent-Message-Id: <200801221320.m0MDK2Nx093515@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Burkhard Steding Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11D5016A418 for ; Tue, 22 Jan 2008 13:12:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E023213C4E7 for ; Tue, 22 Jan 2008 13:12:56 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0MDBPdE044514 for ; Tue, 22 Jan 2008 13:11:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m0MDBPGP044513; Tue, 22 Jan 2008 13:11:25 GMT (envelope-from nobody) Message-Id: <200801221311.m0MDBPGP044513@www.freebsd.org> Date: Tue, 22 Jan 2008 13:11:25 GMT From: Burkhard Steding To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/119894: Initialization of disc controller fails X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 13:20:04 -0000 >Number: 119894 >Category: kern >Synopsis: Initialization of disc controller fails >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 22 13:20:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Burkhard Steding >Release: 6.3-RELEASE >Organization: >Environment: FreeBSD xxl.local 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:18:52 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: I have a problem with the disc controller during booting. Sometimes it's okay, but usually it fails. This problem is new with i386 6.3-RELEASE. I never had problems with older releases. Here is the output of dmesg when everything is fine (verbose boot): .. atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x3 6,0xf000-0xf00f irq 18 at device 31.2 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xf000 ata0: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=03 ostat0=51 ostat1=00 ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb ata0: stat1=0x00 err=0x00 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=00 stat1=00 devices=0x4 ioapic0: routing intpin 14 (ISA IRQ 14) to vector 54 ata0: [MPSAFE] ata1: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 ata1: reset tp1 mask=03 ostat0=50 ostat1=00 ata1: stat0=0xd0 err=0x01 lsb=0x00 msb=0x00 ata1: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata1: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 ata1: reset tp2 stat0=50 stat1=00 devices=0x1 ioapic0: routing intpin 15 (ISA IRQ 15) to vector 55 ata1: [MPSAFE] When it fails, I see lots of messages .. ata1: stat0=0x80 err=0xff lsb=0xff msg=0xff .. scrolling up very fast and finally: ata1: reset tp2 stat0=80 stat1=80 devices=0x0 Later on the disk is not found and the kernel can't mount the root file system. The computer is a Shuttle XPC-G2 with FB61 mainboard and Intel82865G + 82801EB chipset. >How-To-Repeat: The error occurs most of the time. After maybe half a dozen retires the system usually comes up without problems. >Fix: >Release-Note: >Audit-Trail: >Unformatted: