From owner-freebsd-stable Thu May 25 10:46:23 2000 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 5774C37B52C for ; Thu, 25 May 2000 10:46:17 -0700 (PDT) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id KAA32258; Thu, 25 May 2000 10:45:43 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda32256; Thu May 25 10:45:36 2000 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.9.3/8.9.1) id KAA24059; Thu, 25 May 2000 10:45:36 -0700 (PDT) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdc24053; Thu May 25 10:44:44 2000 Received: (from uucp@localhost) by cwsys.cwsent.com (8.10.1/8.9.1) id e4PHii931848; Thu, 25 May 2000 10:44:44 -0700 (PDT) Message-Id: <200005251744.e4PHii931848@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpde31843; Thu May 25 10:44:29 2000 X-Mailer: exmh version 2.1.1 10/15/1999 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 4.0-STABLE X-Sender: cy To: Jim Weeks Cc: Cy Schubert - ITSD Open Systems Group , freebsd-stable@FreeBSD.ORG Subject: Re: ad0 drivers revisited In-reply-to: Your message of "Thu, 25 May 2000 11:26:06 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 25 May 2000 10:44:29 -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , Jim We eks writes: > > > In message <392C1D76.45133616@3-cities.com>, Kent Stewart writes: > > > > The sysctl code in rc IMO needs to be executed earlier. If one is > > having problems reading from an ATA boot disk, e.g. cannot load init or > > rc, these modes need to be set earlier. Why not a boot flag that sets > > atamodes to be as conservative as possible, that could be set in > > loader.conf. I see in the loader(8) man page that some sysctl > > variables can be set in loader.conf. Can atamodes be set in > > loader.conf? If not, maybe it should. > > Yes, this is it in a nutshell. All of the suggestions so far are good, > but they come to late in the boot sequence to fix this problem. The kernel should probe ATA for capabilities, then set a read-only sysctl variable, which could be tested by a piece of code in an RC script that would optionally set the atamodes to a more aggressive value. The user would be responsible for turning this feature, to set atamodes to more aggressive values if possible, on in rc.conf after installation. > > Jim Weeks > --------- A mind is a terrible thing to lose! How I miss mine... My problem is a little different than yours. Since I became a manager, I was given a choice of a lobotomy or another operation. The other operation would have given me a high voice, not to mention the excruciating pain, so I opted for the lobotomy. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/DEC Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message