From owner-freebsd-hackers Fri Aug 23 8:44:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C8F337B400 for ; Fri, 23 Aug 2002 08:44:19 -0700 (PDT) Received: from perimeter.co.za (obelix.perimeter.co.za [209.212.102.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DC7043E4A for ; Fri, 23 Aug 2002 08:43:30 -0700 (PDT) (envelope-from bsd@perimeter.co.za) Received: from PATRICK ([209.212.102.245]) (AUTH: LOGIN bsd@perimeter.co.za) by perimeter.co.za with esmtp; Fri, 23 Aug 2002 17:43:09 +0200 Message-ID: <06d301c24abc$0088fd40$b50d030a@PATRICK> From: "Patrick O'Reilly" To: "Daniel O'Connor" Cc: freebsd-hackers@freebsd.org References: <028401c24a95$dbacc270$b50d030a@PATRICK><3D6619B0.3080708@agava.com> <036401c24a99$db5c5bb0$b50d030a@PATRICK><3D66258F.7080506@agava.com> <044301c24a9f$6627e020$b50d030a@PATRICK> <1030116703.410.4.camel@chowder.dons.net.au> Subject: Re: Kernel Panic = System crash 8 times in 4 days Date: Fri, 23 Aug 2002 17:44:41 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: "Daniel O'Connor" > > I know my hardware is not the best. I will be installing the correct > > IDE cable in the second controller as soon as I can get to the site. > > I had this problem.. > I think it is because the ATA code doesn't detect your cable type > properly (or the controller?) > > I worked around it by doing 'atacontrol mode 0 udma33 xxx' Daniel, thanks for this. See this: --- # atacontrol list ATA channel 0: Master: ad0 ATA/ATAPI rev 7 Slave: ad1 ATA/ATAPI rev 6 ATA channel 1: Master: ad2 ATA/ATAPI rev 6 Slave: no device present # atacontrol mode 0 Master = UDMA100 Slave = UDMA100 # atacontrol mode 1 Master = PIO4 Slave = ??? --- This correctly reflects my current setup. Now, the disk on ata1-Master is identical to that on ata0-Slave (as you can see), but the cable on ata1 is an old cable. I have picked up a new cable, but have not been able to get to the site to install it yet. Do you think that it will make the box more stable if I explicitly issue: # atacontrol mode 0 udma33 xxx or should it perhaps be # atacontrol mode 0 xxx udma33 Patrick. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message