Re: Disable DMA.

2012-02-12 Thread Peter Ankerstål

On Feb 11, 2012, at 9:34 PM, Alexander Motin wrote:

 On 02/11/12 20:15, Peter Ankerstål wrote:
 In FreeBSD 8 i used the loader-variable hw.ata.ata_dma=0 to get my computer 
 boot on a CF card. But
 in FreeBSD 9.0 it doesn't seem to work. Could it be another variable or is 
 it something else that doesn't work
 in 9? The machine boots up the installer when the CF-card is not present but 
 when it is present it stops right
 after the Timecounter stuff.
 
 On 9.0 you can to it with
 hint.ata.X.mode=PIO4
 , where X is a bus number.
 
 In recent 8/9-STABLE I've also resurrected hw.ata.ata_dma=0.
 
That works, thanks!



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Disable DMA.

2012-02-12 Thread Ian Lepore
On Sun, 2012-02-12 at 10:29 +0100, Peter Ankerstål wrote:
 On Feb 11, 2012, at 9:34 PM, Alexander Motin wrote:
 
  On 02/11/12 20:15, Peter Ankerstål wrote:
  In FreeBSD 8 i used the loader-variable hw.ata.ata_dma=0 to get my 
  computer boot on a CF card. But
  in FreeBSD 9.0 it doesn't seem to work. Could it be another variable or is 
  it something else that doesn't work
  in 9? The machine boots up the installer when the CF-card is not present 
  but when it is present it stops right
  after the Timecounter stuff.
  
  On 9.0 you can to it with
  hint.ata.X.mode=PIO4
  , where X is a bus number.
  
  In recent 8/9-STABLE I've also resurrected hw.ata.ata_dma=0.
  
 That works, thanks!

It's also useful to try modes other than PIO4 when using the
finer-grained mode= control.  We've been disabling dma completely on
SBCs with CF sockets for years due to the kind of lockup you mention,
but I recently discovered that some units run just fine with mode=WDMA2
(but not any dma modes faster than that).

-- Ian


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Disable DMA.

2012-02-11 Thread Peter Ankerstål
Hi,

In FreeBSD 8 i used the loader-variable hw.ata.ata_dma=0 to get my computer 
boot on a CF card. But
in FreeBSD 9.0 it doesn't seem to work. Could it be another variable or is it 
something else that doesn't work
in 9? The machine boots up the installer when the CF-card is not present but 
when it is present it stops right 
after the Timecounter stuff.

--
Peter Ankerstål
pe...@pean.org
http://www.pean.org/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Disable DMA.

2012-02-11 Thread Alexander Motin

On 02/11/12 20:15, Peter Ankerstål wrote:

In FreeBSD 8 i used the loader-variable hw.ata.ata_dma=0 to get my computer 
boot on a CF card. But
in FreeBSD 9.0 it doesn't seem to work. Could it be another variable or is it 
something else that doesn't work
in 9? The machine boots up the installer when the CF-card is not present but 
when it is present it stops right
after the Timecounter stuff.


On 9.0 you can to it with
hint.ata.X.mode=PIO4
, where X is a bus number.

In recent 8/9-STABLE I've also resurrected hw.ata.ata_dma=0.

--
Alexander Motin
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Disable DMA without loader.conf or sysctl.conf.

2008-04-16 Thread Rink Springer
Hi,

On Tue, Apr 15, 2008 at 09:37:05PM +0100, Chris Rees wrote:
 Remembering that Cromwell won't support loader

That is not correct - recent versions of the sysutils/cromwell port
support passing kernel environment parameters. As for your
/boot/xboxlinux.cfg, use:

title FreeBSD/xbox
kernel /boot/GENERIC/kernel
append hw.ata.ata_dma=0

And it should work. I think I forgot to release ISO images featuring
this :-(

-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Disable DMA without loader.conf or sysctl.conf.

2008-04-15 Thread Chris Rees
Hey guys;

I'm back to using FreeBSD, after my major hardware upgrade seriously
broke everything (teach me to optimise...)

I've stuck it on my xbox for now, and it runs like a charm, of course,
except it complains then dies on boot about the HDD having problems
with DMA. It's only using a 40-conductor cable, and 80 works fine, but
the cable is a special length; I need to use the provided one to shut
the case!

Is there _any_ way to disable ata DMA at kernel compile time?
Remembering that Cromwell won't support loader

Thanks a lot

Chris

-- 
One of the main causes of the fall of the Roman Empire was that,
lacking zero, they had no way to indicate successful termination of
their C Programs. (Robert Firth)

R $h !  $- ! $+  $@ $2  @ $1 .UUCP.  (sendmail.cf)
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]