From owner-freebsd-questions@FreeBSD.ORG Sun Jul 2 16:25:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B43C316A47B for ; Sun, 2 Jul 2006 16:25:45 +0000 (UTC) (envelope-from slipcon@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id D334343FFE for ; Sun, 2 Jul 2006 16:25:37 +0000 (GMT) (envelope-from slipcon@gmail.com) Received: by py-out-1112.google.com with SMTP id c63so841346pyc for ; Sun, 02 Jul 2006 09:25:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=LgEgquUJp5mndlTWdCbZ3VIieHSDC15ynxYg8HIfVC41R04LggYox8awMHXs4ywgCEliRs/hrtpeyA0YJeflSPZia4W4O3NYnuQxij5oDl9CJqlGEYfX2oXLvfPjOSdyQ2L6x9J7+m8LxADH4lBKbcVmTHKWoMjD2s9Bu8jeaJo= Received: by 10.35.63.2 with SMTP id q2mr214996pyk; Sun, 02 Jul 2006 09:25:36 -0700 (PDT) Received: by 10.35.67.3 with HTTP; Sun, 2 Jul 2006 09:25:36 -0700 (PDT) Message-ID: <580cd3b30607020925k8c59518id8589d8e5437d249@mail.gmail.com> Date: Sun, 2 Jul 2006 12:25:36 -0400 From: "Scott Lipcon" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: SIS 965L ATA support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2006 16:25:45 -0000 Hi all, I just got an Asus A8S-X motherboard, and probably should have done more research. I've managed to get it all working except for the ATA support (PATA - I haven't tried SATA yet) I'm running FreeBSD 5-STABLE (Was 5.4-STABLE, I just upgraded to 5.5-STABLE in hopes it would help) I'm running i386, not amd64, if that makes any difference as well. This board has a SIS 965L southbridge, but its recognizing it as a generic 5513. the Linux driver seems to be able to identify it based on a "trueid" field, but I don't know enough about the ata code to see how to detect that. The disks aren't being detected properly - if I boot with a disk plugged in, it prints a DMA TIMEOUT error and hangs hard as soon as it probes the disk. If no disks are connected, it boots fine. I'm hoping a small patch to ata-chipset.c will allow this to work. # pciconf -l | grep atapci atapci0@pci0:2:5: class=0x010180 card=0x55131039 chip=0x55131039 rev=0x01 hdr=0x00 atapci1@pci0:5:0: class=0x010185 card=0x01801039 chip=0x01821039 rev=0x01 hdr=0x00 # dmesg | grep atacpi atapci0: port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 atapci1: port 0x9400-0x940f,0x9800-0x9803,0xa000-0xa007,0xa400-0xa403,0xa800-0xa807 irq 17 at device 5.0 on pci0 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 The board also had the same problem described in http://people.fruitsalad.org/adridg/development.a8nvm.php, but I was able to get past that using his technique. I see that FreeBSD 6-STABLE has support for the SIS965 - is that the same as the 965L? Ideally I'd rather not upgrade to 6.x right now if possible. Should I return the board? Please cc me on any responses. Thanks, Scott