From owner-freebsd-current@FreeBSD.ORG Mon May 12 02:14:35 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38DC5106566B; Mon, 12 May 2008 02:14:35 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id A53908FC13; Mon, 12 May 2008 02:14:34 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.2/8.14.2) with ESMTP id m4C2EXlI006057; Mon, 12 May 2008 06:14:33 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1210558473; bh=2KfvrTC7DCREkqNg48uPwsFbRC+mzpw9TIxP3or /mmw=; l=1503; h=Date:From:To:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=d4+Gsb9W+g3GUrN+tOBumy99b YvB3yzzaZjb1/J9eayDYw7niG0kifr7LkKxv5tOCuBiwMI38xu5CmtdR0tMeWom5gCc dJp97WMznQ1t6K7xQz8Tj2AX/Mv2xRSYL1j+0M15liQxa3QD7crNdFdqw1g1beTAp0X 66fBVjjTwoh4= Received: (from ache@localhost) by nagual.pp.ru (8.14.2/8.14.2/Submit) id m4C2EWXR006055; Mon, 12 May 2008 06:14:32 +0400 (MSD) (envelope-from ache) Date: Mon, 12 May 2008 06:14:31 +0400 From: Andrey Chernov To: sos@freebsd.org, grehan@freebsd.org, current@freebsd.org Message-ID: <20080512021430.GA5966@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , sos@freebsd.org, grehan@FreeBSD.ORG, current@freebsd.org References: <20080511004607.GA67182@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080511004607.GA67182@nagual.pp.ru> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: Re: atadev->param.model problem or bug with Marvell 88SE6811 chip X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 12 May 2008 02:14:35 -0000 If I comment out isprint() check like that: if (!error /*&& (isprint(atadev->param.model[0]) || isprint(atadev->param.model[1]))*/) { I got semi-meaningful detection results and 2 devices present (all CD/DVD info is right here but DMA/transfer mode is wrong): ata2-master: pio=PIO0 wdma=UNSUPPORTED udma=UNSUPPORTED cable=40 wire ata2-slave: pio=PIO0 wdma=UNSUPPORTED udma=UNSUPPORTED cable=40 wire acd0: FAILURE - SETFEATURES SET TRANSFER MODE status=51 error=4 acd0: <1./> DVDROM drive at ata2 as master acd0: read 10820KB/s (1720KB/s), 2048KB buffer, BIOSPIO acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, DVDRAM, packet acd0: Writes: acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: DVD 120mm data disc acd1: <17 24 1./84 19> DVDR drive at ata2 as slave acd1: read 8268KB/s (8268KB/s) write 8268KB/s (8268KB/s), 2048KB buffer, PIO0 acd1: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet acd1: Writes: CDR, CDRW, DVDR, test write, burnproof acd1: Audio: play, 2 volume levels acd1: Mechanism: ejectable tray, unlocked acd1: Medium: no/blank disc But... The ATA driver takes a long time to reinit ata2 channel at the boot and mount failed with several reinit attempts too, so something else is wrong with this chip initialization besides strange model field:( Like I already say, it works under M$ Win perfectly with standard windows IDE driver. -- http://ache.pp.ru/