From owner-freebsd-stable Wed May 24 12:55:13 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 0AF3837BCD8 for ; Wed, 24 May 2000 12:55:07 -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 MAA26804; Wed, 24 May 2000 12:53:47 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda26802; Wed May 24 12:53:30 2000 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.9.3/8.9.1) id MAA12054; Wed, 24 May 2000 12:53:24 -0700 (PDT) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdX12046; Wed May 24 12:53:02 2000 Received: (from uucp@localhost) by cwsys.cwsent.com (8.10.1/8.9.1) id e4OJr1r23466; Wed, 24 May 2000 12:53:01 -0700 (PDT) Message-Id: <200005241953.e4OJr1r23466@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdJ23456; Wed May 24 12:52:52 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: Kent Stewart Cc: Cy Schubert - ITSD Open Systems Group , Grigoriy Strokin , Jim Weeks , freebsd-stable@FreeBSD.ORG Subject: Re: ad0 drivers revisited In-reply-to: Your message of "Wed, 24 May 2000 11:20:38 PDT." <392C1D76.45133616@3-cities.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 24 May 2000 12:52:51 -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <392C1D76.45133616@3-cities.com>, Kent Stewart writes: > > > Cy Schubert - ITSD Open Systems Group wrote: > > > > In message <392AFEA3.46FDBDAD@3-cities.com>, Kent Stewart writes: > > > > > > > > > Grigoriy Strokin wrote: > > > > > > > > On Mon, May 22, 2000 at 07:26:50PM -0400, Jim Weeks wrote: > > > > > > > > > > On Mon, 22 May 2000, Peter Radcliffe wrote: > > > > > > > > > > > > Define "it doesn't work" ? > > > > > > > > > > ad0: 4884MB [10585/15/63] at ata0-master using BIOSD > MA > > > > > ata1-slave: simplex device, DMA on primary only > > > > > acd0: CDROM at ata1-slave using BIOSPIO > > > > > Mounting root from ufs:/dev/ad0s1a > > > > In my case, I see the message 'dma,dma -> pio,pio' > > > > at this point. Maybe try /sbin/sysctl instead > > > > of just sysctl? > > > > > > Have you all done a "man sysctl.conf" > > > > Actually, have you? Read it and see why it will probably not help here. > > I actually did. It seems like everyone was trying to add the > equivalent of > > sysctl -w hw.atamodes=pio,pio,---,dma,pio,---,dma,---, > > and adding > > hw.atamodes=pio,pio,---,dma,pio,---,dma,---, > to /etc/sysctl.conf > > was its purpose in life or is it add to late in the process. 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. 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