From owner-freebsd-stable Tue Jul 9 20:51:20 2002 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 4C4A137B400 for ; Tue, 9 Jul 2002 20:51:14 -0700 (PDT) Received: from cage.simianscience.com (cage.simianscience.com [64.7.134.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C68143E3B for ; Tue, 9 Jul 2002 20:51:13 -0700 (PDT) (envelope-from mike@sentex.net) Received: from house.sentex.net (fcage [192.168.0.2]) by cage.simianscience.com (8.12.5/8.12.3) with ESMTP id g6A3p7p9064602; Tue, 9 Jul 2002 23:51:07 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.1.0.14.0.20020709234542.06eb5338@192.168.0.12> X-Sender: mdtancsa@192.168.0.12 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 09 Jul 2002 23:51:08 -0400 To: Clement Laforet From: Mike Tancsa Subject: Re: strange ATA behavior with -STABLE Cc: stable@FreeBSD.ORG In-Reply-To: <20020710042745.3dbb91df.sheep.killer@cultdeadsheep.org> References: <20020710015649.0592a44a.sheep.killer@cultdeadsheep.org> <20020710015649.0592a44a.sheep.killer@cultdeadsheep.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: amavis-20020220 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 04:27 AM 7/10/2002 +0200, Clement Laforet wrote: >On Wed, 10 Jul 2002 01:56:49 +0200 >Clement Laforet wrote: >so here my script ouput :) >It reminds me another things. >The ad2 drive isn't "recognized" by BIOS. >This hard drive still correctly works :) Works correctly in what sense ? i.e. you can read and write to it under=20 some OS ? But not on this version of FreeBSD ? >And worked since 4.3-RELEASE with the same sysctl parameters >ata-1 is dead Do you mean ad1 ? If so, If you take ad1 out and adjust ata-0's jumpers so= =20 that its a master with no slave, does it now work ? If not ad1, what do you mean by ata-1 is dead ? Or do you mean ata-1 the=20 controller is actually dead ? If so, get rid of the second drive. >so, here it is :) > >Script started on Wed Jul 10 04:10:37 2002 >[root@goofy|(500)| root]# #To Be Sure >[root@goofy|(501)| root]# cd /dev/ >[root@goofy|(502)| dev]# ./MAKEDEV ata >[root@goofy|(503)| dev]# sysctl -a | grep ata >kern.ipc.max_datalen: 136 >hw.ata.ata_dma: 1 Try sysctl -w hw.ata.ata_dma=3D0 or add hw.ata.ata_dma=3D0 into=20 /boot/loader.conf and reboot. >hw.ata.wc: 1 >hw.ata.tags: 0 >hw.ata.atapi_dma: 0 >[root@goofy|(504)| dev]# atacontrol list >ATA channel 0: > Master: ad0 ATA/ATAPI rev 4 > Slave: no device present >ATA channel 1: > Master: ad2 ATA/ATAPI rev 5 > Slave: no device present >[root@goofy|(505)| dev]# atacontrol cap 0 0 >ATA channel 0, Master, device ad0: > >ATA/ATAPI revision 4 >device model ST313620A >firmware revision 3.11 >cylinders 16383 >heads 16 >sectors/track 63 >lba supported 26692776 sectors >lba48 not supported >dma supported >overlap not supported > >Feature Support Enable Value Vendor >write cache yes yes >read ahead yes yes >dma queued no no 0/00 >SMART yes no >microcode download yes yes >security yes no >power management yes yes >advanced power management no no 0/00 >automatic acoustic management no no 0/00 0/00 >[root@goofy|(506)| dev]# atacontrol cap 0 2 >ATA channel 0, Slave, device Z=FF?: > >ATA/ATAPI revision 0 >device model >firmware revision =BF=BF >cylinders 49087 >heads 2052 >sectors/track 0 >lba not supported >lba48 not supported >dma notsupported >overlap not supported > >Feature Support Enable Value Vendor >write cache no no >read ahead no no >dma queued no no 0/00 >SMART no no >microcode download no no >security no no >power management no no >advanced power management no no 0/00 >automatic acoustic management no no 0/00 0/00 >[root@goofy|(507)| dev]# exit > >Script done on Wed Jul 10 04:12:15 2002 > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message