From owner-freebsd-current@FreeBSD.ORG Fri Aug 12 07:37:18 2005 Return-Path: X-Original-To: current@FreeBSD.org 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 C95C516A41F for ; Fri, 12 Aug 2005 07:37:18 +0000 (GMT) (envelope-from sos@FreeBSD.org) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E11A43D46 for ; Fri, 12 Aug 2005 07:37:18 +0000 (GMT) (envelope-from sos@FreeBSD.org) Received: from [194.192.25.136] (mac.deepcore.dk [194.192.25.136]) by spider.deepcore.dk (8.13.3/8.13.3) with ESMTP id j7C7b2X9098685; Fri, 12 Aug 2005 09:37:02 +0200 (CEST) (envelope-from sos@FreeBSD.org) In-Reply-To: <42FBEA3A.5090809@cox.net> References: <42FBEA3A.5090809@cox.net> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <22CD48F3-747D-48EB-A5CF-633FB78BCA8D@FreeBSD.org> Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= Date: Fri, 12 Aug 2005 09:37:10 +0200 To: Vadim Chekan X-Mailer: Apple Mail (2.733) X-mail-scanned: by DeepCore Virus & Spam killer v1.12 Cc: current@FreeBSD.org Subject: Re: [Patch] Serial ATAPI is not recognized 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: Fri, 12 Aug 2005 07:37:18 -0000 On 12/08/2005, at 2:15, Vadim Chekan wrote: > Hi all! > > I've bought a SATA dvd burner, Plextor PX-712-SA and found that =20 > FreeBSD 6 does not recognize it. But freebsd-5 does. After some =20 > time spent on investigation I found that it needs reset commad be =20 > issued before get ATAPI_MAGIC_LSB and ATAPI_MAGIC_MSB. > > In ata-chipset.c:ata_sata_connect() I put > ATA_IDX_OUTB(ch, ATA_ALTSTAT, ATA_A_IDS | ATA_A_RESET); > ata_udelay(10000); > before > if ((ATA_IDX_INB(ch, ATA_CYL_LSB) =3D=3D ATAPI_MAGIC_LSB) && > > and it works now. At least I checked burncd in CDRW mode. It hungs =20 > or gives error at the end but produces valid CD. SATA/ATAPI is not supported yet, and the above patch is by far not =20 enough for all systems to work. In fact you are just lucky on your system, for the heck of it I tried =20= it here and my test system lost all its SATA disks :) Support is in the works and will hit -current when its stable enough =20 for general usage.... - S=F8ren