From owner-freebsd-stable@FreeBSD.ORG Tue Feb 7 21:32:34 2006 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 D429F16A420 for ; Tue, 7 Feb 2006 21:32:34 +0000 (GMT) (envelope-from sergey.lungu@gmail.com) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5006643D77 for ; Tue, 7 Feb 2006 21:32:12 +0000 (GMT) (envelope-from sergey.lungu@gmail.com) Received: by uproxy.gmail.com with SMTP id y2so40533uge for ; Tue, 07 Feb 2006 13:32:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=JR4N2HTHM7tzAwk+xAwYGCY9LwrgSB4VRLbHuAOmeD/htPeonNb768OAsqq6VJp+mfY88He97bdnTaXPW0JSRzEt5CLpy+fq/ae1NegsLJouOdpcgZrl/eXp9C1qOHB4fZjXh4JjciURhbMrhwE0h+FySTHuacmV0hNZCPQcmD4= Received: by 10.66.245.1 with SMTP id s1mr3102086ugh; Tue, 07 Feb 2006 13:24:57 -0800 (PST) Received: from ogre.obchaga.org ( [195.225.128.22]) by mx.gmail.com with ESMTP id q40sm5417638ugc.2006.02.07.13.24.55; Tue, 07 Feb 2006 13:24:57 -0800 (PST) Date: Wed, 8 Feb 2006 00:24:44 +0300 From: Sergey Lungu To: freebsd-stable@freebsd.org Message-Id: <20060208002444.51549648.sergey.lungu@gmail.com> In-Reply-To: <20060207015911.16cd48f1.sergey.lungu@gmail.com> References: <20060207015911.16cd48f1.sergey.lungu@gmail.com> X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.11; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: atapicam problem (again): hang on boot with DVD burner 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: Tue, 07 Feb 2006 21:32:35 -0000 On Tue, 7 Feb 2006 01:59:11 +0300 Sergey Lungu wrote: > Hi! > > I'm not burning DVDs frequently, so I haven't seen this problem > before. I have burned a DVD with growisofs and after that I am seeing > a 3-5 min hang at boot time. No error messages at all, just hang :) > > Here is what I have: > > Copyright (c) 1992-2005 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > 1994 The Regents of the University of California. All rights > reserved. FreeBSD 6.1-PRERELEASE #0: Fri Feb 3 11:35:18 MSK 2006 > keyer@ogre.obchaga.org:/usr/obj/usr/src/sys/OGRE > ACPI APIC Table: > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2405.47-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 > > [...] > > acd0: DMA limited to UDMA33, controller found non-ATA66 cable > acd0: DVDR at ata1-master UDMA33 > cd0 at ata1 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 33.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not > present > > [3-5 min hang goes here] > > Trying to mount root from ufs:/dev/ad0s2a > > The most interesting thing is that I had no such problem before using > my DVD burner! > > Is there a way to fix it? I've been searching mailing-lists and PR-database for my problem solution and found that setting hw.ata.atapi_dma to zero from loader and turning it on back using atacontrol can help. I tried it, but this one doesn't work for me. Any ideas? -- Sergey Lungu In any series of calculations, errors tend to occur at the opposite end to the end at which you begin checking for errors.