From owner-freebsd-questions@FreeBSD.ORG Sat Sep 4 01:53:26 2004 Return-Path: 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 8AEAA16A4CE for ; Sat, 4 Sep 2004 01:53:26 +0000 (GMT) Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF76F43D1D for ; Sat, 4 Sep 2004 01:53:23 +0000 (GMT) (envelope-from leblanc@keyslapper.org) Received: from localhost ([151.203.91.144]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040904015323.DSDQ14383.out010.verizon.net@localhost>; Fri, 3 Sep 2004 20:53:23 -0500 Received: from keyslapper.org (localhost [127.0.0.1]) by localhost (8.12.11/8.12.11) with ESMTP id i841rLuD062524; Fri, 3 Sep 2004 21:53:22 -0400 (EDT) (envelope-from leblanc@keyslapper.org) Received: (from leblanc@localhost) by keyslapper.org (8.12.11/8.12.11/Submit) id i841rL0F062523; Fri, 3 Sep 2004 21:53:21 -0400 (EDT) (envelope-from leblanc) Date: Fri, 3 Sep 2004 21:53:21 -0400 From: Louis LeBlanc To: freebsd-questions@freebsd.org Message-ID: <20040904015321.GA62135@keyslapper.org> Mail-Followup-To: freebsd-questions@freebsd.org, Kendall Gifford References: <20040827131301.GA58030@keyslapper.org> <20040827224713.GA62316@keyslapper.org> <20040830031613.GA91827@keyslapper.org> <20040830124000.GA96013@keyslapper.org> <86ba954f040902122348f2b3a4@mail.gmail.com> <20040903005636.GC46000@keyslapper.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040903005636.GC46000@keyslapper.org> User-Agent: Mutt/1.5.6i X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [151.203.91.144] at Fri, 3 Sep 2004 20:53:22 -0500 cc: Kendall Gifford Subject: Re: AARRRGGHHH! (was Re: TIMEOUT - WRITE_DMA errors in security output) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2004 01:53:26 -0000 On 09/02/04 08:56 PM, Louis LeBlanc sat at the `puter and typed: > > The ata controller(s) are, from the /var/run/dmesg.boot: > > atapci0: port 0xffa0-0xffaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem 0xfebffc00-0xfebfffff irq 18 at device 31.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata0: [MPSAFE] > ata1: at 0x170 irq 15 on atapci0 > ata1: [MPSAFE] > atapci1: port 0xfea0-0xfeaf,0xfe30-0xfe33,0xfe20-0xfe27,0xfe10-0xfe13,0xfe00-0xfe07 irq 18 at device 31.2 on pci0 > atapci1: [MPSAFE] > ata2: at 0xfe00 on atapci1 > ata2: [MPSAFE] > ata3: at 0xfe20 on atapci1 > ata3: [MPSAFE] > > I *think* it's an Intel MB, but I don't know which one. The machine > is a Dell Dimension 8300 if that helps, and the drive is 160 Gig. > > atacontrol gives the following info: > # atacontrol info 0 > Master: no device present > Slave: no device present > # atacontrol info 1 > Master: acd0 ATA/ATAPI rev 5 > Slave: acd1 ATA/ATAPI rev 0 > # atacontrol info 2 > Master: ad4 ATA/ATAPI rev 6 > Slave: no device present > # atacontrol info 3 > Master: no device present > Slave: no device present > > Looks like I only have to hit channel 2 for now. > > More detail on the disk: > # atacontrol cap 2 0 > ATA channel 2, Master, device ad4: > > ATA/ATAPI revision 6 > device model WDC WD1600JD-75HBB0 > serial number WD-WMAL91191824 > firmware revision 08.02D08 > cylinders 16383 > heads 16 > sectors/track 63 > lba supported 268435455 sectors > lba48 supported 312500000 sectors > dma supported > overlap not supported > > Feature Support Enable Value Vendor > write cache yes yes > read ahead yes yes > dma queued no no 0/0x00 > SMART yes yes > microcode download yes yes > security no no > power management yes yes > advanced power management no no 0/0x00 > automatic acoustic management yes no 128/0x80 128/0x80 > > Should I restart with this script, or just try the change without > rebooting? As I interpret this, the command I should use is > > /sbin/atacontrol mode 2 pio4 xxx Just for the record, that was definitely the wrong command. Had to boot to another kernel again. Lots of corruption on the root partition. Lou -- Louis LeBlanc FreeBSD@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Green's Law of Debate: Anything is possible if you don't know what you're talking about.