From owner-freebsd-current@FreeBSD.ORG Fri May 23 15:21:07 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 3D17F10656E0 for ; Fri, 23 May 2008 15:21:07 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from flat.berklix.org (flat.berklix.org [83.236.223.115]) by mx1.freebsd.org (Postfix) with ESMTP id B74C68FC0A for ; Fri, 23 May 2008 15:21:06 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from js.berklix.net (p549A6A28.dip.t-dialin.net [84.154.106.40]) (authenticated bits=0) by flat.berklix.org (8.13.8/8.13.8) with ESMTP id m4NEejJB020462; Fri, 23 May 2008 16:40:46 +0200 (CEST) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by js.berklix.net (8.13.8/8.13.8) with ESMTP id m4NEhQvl085340; Fri, 23 May 2008 16:43:27 +0200 (CEST) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.13.8/8.13.8) with ESMTP id m4NEhGTM090324; Fri, 23 May 2008 16:43:21 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <200805231443.m4NEhGTM090324@fire.js.berklix.net> To: phoemix@harmless.hu From: "Julian Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://berklix.com In-reply-to: Your message "Fri, 23 May 2008 15:56:35 +0200." <20080523155635.054f5ec4@twoflower.in.publishing.hu> Date: Fri, 23 May 2008 16:43:16 +0200 Sender: jhs@berklix.org Cc: 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:21:07 -0000 phoemix@harmless.hu wrote: > Hello, > As known, FreeBSD sets the highest supported ATA mode, but sometimes it's > inproper, since the disk fails to work in this mode. This will be obsolate = > by > recent SATA drives, but PATA is still in use :) > I've though of the possibility of adding an "atamodetab" rc script, with wh= > 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/dell_latitude_xpi_p133st/ unless one pre-knows FreeBSD magic like loader.conf hw.ata.ata_dma=0 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. > I've already got a sketch for this script that I use, but I'd like to ask, = > does > it worth the effort working on it a bit more, and adding it to the core OS?= > I > think this would be a quite useful feature to have. Julian -- Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com Mail just Ascii plain text. HTML & Base64 text are spam.