From owner-freebsd-current@FreeBSD.ORG Thu Jan 29 04:02:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0703A16A4CE; Thu, 29 Jan 2004 04:02:39 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4589E43D31; Thu, 29 Jan 2004 04:02:36 -0800 (PST) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by ulysses.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id i0TC2YFO086060; Thu, 29 Jan 2004 14:02:34 +0200 (EET) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (dhcp-144.noc.ntua.gr [147.102.220.144]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id i0TC2YKY060429; Thu, 29 Jan 2004 14:02:34 +0200 (EET) (envelope-from past@noc.ntua.gr) Message-ID: <4018F64A.2090906@noc.ntua.gr> Date: Thu, 29 Jan 2004 14:02:18 +0200 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040119 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20040125111743.GA564@bsd> <401672F7.8080404@noc.ntua.gr> In-Reply-To: <401672F7.8080404@noc.ntua.gr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: System still hangs with "ata1-master: TIMEOUT - SETFEATURES SET TRANSFER MODE" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 29 Jan 2004 12:02:39 -0000 Panagiotis Astithas wrote: > Lefteris Chatzibarbas wrote: > >> Hello, >> >> Devices are: >> >> ad0: ATA-6 disk at ata0-master >> acd0: DVDROM drive at ata1 as master >> acd1: CDRW drive at ata1 as slave >> >> Verbose boot of a good kernel: >> >> http://members.hellug.gr/lefcha/dmesg.out >> >> System still hangs during boot with the message: >> >> ata1-master: TIMEOUT - SETFEATURES SET TRANSFER MODE retrying (0 >> retries left) >> >> ... and verbose boot: >> >> ata1: reiniting channel .. >> ata1: reset tp1 mask=03 ostat0=50 ostat1=50 >> ata1-master: stat=0x10 err=0x01 lib=0x14 msb=0xeb >> ata1-slave: stat=0x10 err=0x01 lib=0x14 msb=0xeb >> ata1: reset tp2 mask=03 stat0=10 stat1=00 >> devices=0xc >> ata1: resetting done .. >> ata1-slave: pio=0x0c wdma=0x22 udma=0x42 cable=80pin >> ata1: reiniting channel .. >> ata1: reset tp1 mask=03 ostat0=50 ostat1=50 >> ata1-master: stat=0x10 err=0x01 lib=0x14 msb=0xeb >> ata1-slave: stat=0x10 err=0x01 lib=0x14 msb=0xeb >> ata1: reset tp2 mask=03 stat0=10 stat1=00 >> devices=0xc >> ata1: resetting done .. >> ata1-slave: pio=0x0c wdma=0x22 udma=0x42 cable=80pin >> >> Soren Schmidt's commit 2004/01/19 07:20:00 PST: >> >> 1.202 +2 -1 src/sys/dev/ata/ata-all.c >> 1.71 +1 -1 src/sys/dev/ata/ata-all.h >> 1.17 +23 -21 src/sys/dev/ata/ata-queue.c >> 1.161 +1 -1 src/sys/dev/ata/atapi-cd.c >> >> ... or: >> >> http://lists.freebsd.org/pipermail/cvs-src/2004-January/016880.html >> >> ... didn't correct the problem. >> >> Thanks > > > "Me too". > Same controller, same hard disk, only one device on the second channel: > acd0: DVDROM at ata1-master UDMA33 > I used 5.2-RELEASE and the -current snapshot form 24/1. The former > freezes after the "TIMEOUT" message, the latter just locks up solid. The > machine runs happily a -current from last October though. I found out that booting with "Safe mode" (I knew there should be some use for it :-)) allows me to complete the process and get to sysinstall, in both 5.2-RELEASE & the -current snapshot from 24/1. But I tried to do the same from the loader prompt, to no avail. I used the following and then "boot" or "boot -v" but every attempt resulted in the traditional freeze. unset acpi_load set hint.acpi.0.disabled=1 set loader.acpi_disabled_by_user=1 set hw.ata.ata_dma=0 set hw.ata.atapi_dma=0 set hw.ata.wc=0 set hw.eisa_slots=0 From what I can tell from the beastie.4th file, that is all that should be needed. Am I missing something? Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece