From owner-freebsd-current@FreeBSD.ORG Fri Feb 22 23:00:22 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 224C36D1 for ; Fri, 22 Feb 2013 23:00:22 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-la0-x234.google.com (la-in-x0234.1e100.net [IPv6:2a00:1450:4010:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id 9BB6AEA for ; Fri, 22 Feb 2013 23:00:21 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id fs12so1126662lab.11 for ; Fri, 22 Feb 2013 15:00:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=ogtTTw2L/0S8lqct7sPYTwhcu5+QkjqNMm8c1cHUI9k=; b=WCxTG8A286l7ZMIEC20fu3vVpNRFoeNYgrHMn+b9w1fTvlfHHrT51aZTgu6phr4H7V 2lJ5SPUv05kedDvwXt8LJKqPf1mG38QDCOJIBRH4A3qMZsa9mbixAi9r1/D8l+ntX/Cp m91+LivAwkdZEpOhUIN0olZf2wPz1dgc6lSbP0JgbGdUT4G5MyNsIxsXROyPqckSAime IZxd7Pz8GcEBjs88dUFtldD9OukGU1KwQFZr528xvY1+ChZ7ve+dsc3eVxCES2YGvAOn +FEWhgM2fZHHjqjgsqSMRT0tDOpAxwWveF8WgI7Y4RtoUBGVl6lF5lL6YrCgy8Oto2Ut zHFQ== X-Received: by 10.112.16.137 with SMTP id g9mr1557453lbd.119.1361574019326; Fri, 22 Feb 2013 15:00:19 -0800 (PST) Received: from mavbook.mavhome.dp.ua (mavhome.mavhome.dp.ua. [213.227.240.37]) by mx.google.com with ESMTPS id k15sm1372422lbd.6.2013.02.22.15.00.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Feb 2013 15:00:18 -0800 (PST) Sender: Alexander Motin Message-ID: <5127F87F.3030605@FreeBSD.org> Date: Sat, 23 Feb 2013 01:00:15 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130125 Thunderbird/17.0.2 MIME-Version: 1.0 To: Claude Buisson Subject: Re: DVD/CD lost after r246713 References: <5127E74A.4050205@FreeBSD.org> <5127F6AD.9020206@orange.fr> In-Reply-To: <5127F6AD.9020206@orange.fr> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Konstantin Belousov , FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 22 Feb 2013 23:00:22 -0000 On 23.02.2013 00:52, Claude Buisson wrote: > On 02/22/2013 22:46, Alexander Motin wrote: >> Hi. >> >> ATAPI devices on legacy ATA controllers were lost due to command timeout >> caused by data underrun, caused by r246713. >> >> r247165 should fix the issue. >> > > r247165 applied > > Problem solved (at least at the first reboot) > > Thanks to both of you !! > > BTW, an old intertwining of lines in dmesg is back: > > cd0 at ata1 bus 0 scbus1 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) > cd0: Attempt to query device size failed: NOT READY, Medium not present > ada0 at ata0 bus 0 scbus0 target 0 lun 0 > ada0: ATA-8 device > ada0: 100.000MB/s transfers (UDMA5, cd1 at ata1 bus 0 scbus1 target 1 lun 0 > ^ > cd1: Removable CD-ROM SCSI-0 device > cd1: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) > cd1: Attempt to query device size failed: NOT READY, Medium not present > - tray > closed > PIO 8192bytes) > ^ > ada0: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C) > ada1 at ata0 bus 0 scbus0 target 1 lun 0 > ada1: ATA-5 device > ada1: 100.000MB/s transfers (UDMA5, PIO 8192bytes) > ada1: 57220MB (117187500 512 byte sectors: 16H 63S/T 16383C) They never really went away. ada0 and cd1 in this example are living on different buses and so have separate locks, so nothing really prevents them to mix the messages. It rarely happens for disks, but CD tend to report capacity much longer, increasing mix chances. For USB devices chances are even higher, because they are often detected when CAM already gave up waiting and continued booting. -- Alexander Motin