Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2000 12:52:51 -0700
From:      Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        Kent Stewart <kstewart@3-cities.com>
Cc:        Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>, Grigoriy Strokin <grg@philol.msu.ru>, Jim Weeks <jim@siteplus.net>, freebsd-stable@FreeBSD.ORG
Subject:   Re: ad0 drivers revisited 
Message-ID:  <200005241953.e4OJr1r23466@cwsys.cwsent.com>
In-Reply-To: Your message of "Wed, 24 May 2000 11:20:38 PDT." <392C1D76.45133616@3-cities.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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 <Maxtor 85120A8> [10585/15/63] at ata0-master using BIOSD
> MA
> > > > > ata1-slave: simplex device, DMA on primary only
> > > > > acd0: CDROM <FX400D> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005241953.e4OJr1r23466>