From owner-freebsd-current@FreeBSD.ORG Fri May 23 15:57:08 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E12851065670 for ; Fri, 23 May 2008 15:57:08 +0000 (UTC) (envelope-from sos@freebsd.org) Received: from maul.nordit.dk (maul.nordit.dk [217.20.63.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9B2238FC20 for ; Fri, 23 May 2008 15:57:08 +0000 (UTC) (envelope-from sos@freebsd.org) Received: from deepcore.dk (cable.deepcore.dk [217.20.59.72]) by maul.nordit.dk (Postfix) with ESMTP id 1240C3438; Fri, 23 May 2008 17:44:17 +0200 (CEST) Received: from laptop.deepcore.dk (laptop.deepcore.dk [192.168.0.138]) by deepcore.dk (8.13.8/8.13.8) with ESMTP id m4NFiGmc069759; Fri, 23 May 2008 17:44:16 +0200 (CEST) (envelope-from sos@freebsd.org) Message-Id: From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= To: Julian Stacey In-Reply-To: <200805231443.m4NEhGTM090324@fire.js.berklix.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Date: Fri, 23 May 2008 17:44:16 +0200 References: <200805231443.m4NEhGTM090324@fire.js.berklix.net> X-Mailer: Apple Mail (2.919.2) Cc: phoemix@harmless.hu, freebsd-current@freebsd.org Subject: Re: ata mode at startup 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, 23 May 2008 15:57:09 -0000 On 23May, 2008, at 16:43 , Julian Stacey wrote: > phoemix@harmless.hu wrote: >> Hello, >> As known, FreeBSD sets the highest supported ATA mode, but =20 >> sometimes it's >> inproper, since the disk fails to work in this mode. This will be =20 >> obsolate =3D >> by >> recent SATA drives, but PATA is still in use :) >> I've though of the possibility of adding an "atamodetab" rc script, =20= >> with wh=3D >> ich >> the administrator could specify the disk modes to set on startup. > ......^^^^^^^^^^^^^ .... > > No good waiting for an admin to manually edit a table: > An admin cant edit till FreeBSD boots. > FreeBSD fails to boot on some older laptops eg > http://www.berklix.com/~jhs/hardware/digital/ > http://www.berklix.com/~jhs/hardware/laptops/=20 > dell_latitude_xpi_p133st/ > unless one pre-knows FreeBSD magic like =09 > loader.conf hw.ata.ata_dma=3D0 > http://www.berklix.com/~jhs/hardware/laptops/#loader.conf > > A table in src/ that would automatically recognise flakey ATA hardware > & reduce ambitious FreeBSD so it could boot, would be nice. It would also be impossible to maintain, thats why the current knobs =20 are there, if DMA fails you boot in "safe" mode ie PIO and then you =20 can experiment to your hearts content what your flakey HW can take. -S=F8ren=