Re: cdrw & PIO4

2004-05-08 Thread Chuck Swiger
anubis wrote:
On Sun, 9 May 2004 3:17 am, w sx wrote:
[ ... ]
Have a look at man ata.  Here is the important part
ATAPI devices are set to PIO mode by default because severe DMA 
problems are common even if the device capabilities indicate support.  
You can always try to set DMA mode on an ATAPI device using 
atacontrol(8), but be aware that your hardware might not support it 
and can potentially hang the entire system causing data loss.
While this advice was reasonable some years ago-- and to the extent that 
broken ATA hardware still exists may still be relevant now-- but please note 
that the Original Poster is trying to use a CD/RW burner.  :-)

It doesn't matter too much if you happen to read a CD slowly, but one ought to 
use DMA rather than PIO when burning CDs or DVDs.

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cdrw & PIO4

2004-05-08 Thread anubis
On Sun, 9 May 2004 3:17 am, w sx wrote:
> Thank you! I used atacontrol to set it until I
> rebooted... and after a reboot.. its detected
> correctly.
>
> --- Chuck Swiger <[EMAIL PROTECTED]> wrote:
> > w sx wrote:
> > > Does anyone have any tips on getting the CDRW
> >
> > drive
> >
> > > set to UDMA mode?
> >
> > Add the following to your /boot/loader.conf:
> >
> > hw.ata.atapi_dma="1"
> >
> > ...and reboot.  You might also be able to use
> > "atacontrol".
> >
> > --
> > -Chuck
>
> __
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs
> http://hotjobs.sweepstakes.yahoo.com/careermakeover
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


Have a look at man ata.  Here is the important part

 ATAPI devices are set to PIO mode by default because severe DMA 
problems are common even if the device capabilities indicate support.  
You can always try to set DMA mode on an ATAPI device using 
atacontrol(8), but be aware that your hardware might not support it 
and can potentially hang the entire system causing data loss.


Just incase you start having problems.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cdrw & PIO4

2004-05-08 Thread Andreas Davour
On Sat, 8 May 2004, w sx wrote:

> Thanks you - Worked great!

Glad I could be of help.

Happy hacking!

/Andreas

=== Emacs =
mail: [EMAIL PROTECTED]
"Americans have different ways of saying things.
They say 'elevator', we say 'lift' ... they say
'President', we say 'stupid psychopathic git.'"
===
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cdrw & PIO4

2004-05-08 Thread w sx
Thank you! I used atacontrol to set it until I
rebooted... and after a reboot.. its detected
correctly.

--- Chuck Swiger <[EMAIL PROTECTED]> wrote:
> w sx wrote:
> > Does anyone have any tips on getting the CDRW
> drive
> > set to UDMA mode?
> 
> Add the following to your /boot/loader.conf:
> 
> hw.ata.atapi_dma="1"
> 
> ...and reboot.  You might also be able to use
> "atacontrol".
> 
> -- 
> -Chuck
> 




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cdrw & PIO4

2004-05-08 Thread w sx
Thanks you - Worked great!

--- Andreas Davour <[EMAIL PROTECTED]> wrote:
> On Sat, 8 May 2004, w sx wrote:
> 
> > Hi,
> >
> > I have a CDRW drive which is detected by the BIOS
> as
> > UDMA2, but when FreeBSD boots it gets set to PIO4.
> >
> > Im using FreeBSD 4.7. Its attached using a ATA133
> > compat cable, and its the only device on that
> > controller.
> >
> > Does anyone have any tips on getting the CDRW
> drive
> > set to UDMA mode?
> >
> > Please email me personally, since Im not
> subscribed to
> > the list.
> 
> As root try:
> # atacontrol mode 0 UDMA33
> 
> for setting the disk 0 to UDMA33 mode. Try 'list'
> instead of 'mode' to see
> what disks you have.
> 
> Hope that helps.
> 
> /andreas
> 
> === Emacs =
>   mail: [EMAIL PROTECTED]
> "Americans have different ways of saying things.
> They say 'elevator', we say 'lift' ... they say
> 'President', we say 'stupid psychopathic git.'"
> ===




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cdrw & PIO4

2004-05-08 Thread Chuck Swiger
w sx wrote:
Does anyone have any tips on getting the CDRW drive
set to UDMA mode?
Add the following to your /boot/loader.conf:
hw.ata.atapi_dma="1"
...and reboot.  You might also be able to use "atacontrol".
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cdrw & PIO4

2004-05-08 Thread w sx
Hi,

I have a CDRW drive which is detected by the BIOS as
UDMA2, but when FreeBSD boots it gets set to PIO4.

Im using FreeBSD 4.7. Its attached using a ATA133
compat cable, and its the only device on that
controller.

Does anyone have any tips on getting the CDRW drive
set to UDMA mode?

Please email me personally, since Im not subscribed to
the list.

Thanks.




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"