Re: atacontrol(8)

2003-10-15 Thread Kirk Strauser
At 2003-10-15T04:28:58Z, Constantine <[EMAIL PROTECTED]> writes:

> Why to this file and not to /etc/sysctl.conf? I have no monitor on that
> box, so I want to make sure it is more likely to work after the
> reboot. :-)

That's a read-only sysctl knob, so you can't adjust it once the system has
booted.
-- 
Kirk Strauser

"94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box."


pgp0.pgp
Description: PGP signature


Re: atacontrol(8)

2003-10-15 Thread Kent Stewart
On Wednesday 15 October 2003 01:46 am, Mike Maltese wrote:
> > acd0: DVDROM  at ata1-master UDMA66
>
> I stand corrected, although I maintain that no optical drive is
> capable of that kind of throughput. =) I was kinda wondering if he'd
> been duped on the specs of the drive.
>

Neither are the HDs. They transfer at their rated speed but only have 
the bus for a few milliseconds at a time. Regardless of the device, if 
you transfer the data using dma, you are going to pass more information 
per turn. 

I figure the rest is advertising hype.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: atacontrol(8)

2003-10-15 Thread Mike Maltese
> acd0: DVDROM  at ata1-master UDMA66

I stand corrected, although I maintain that no optical drive is capable of
that kind of throughput. =) I was kinda wondering if he'd been duped on the
specs of the drive.

Thanks, Mike

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


Re: atacontrol(8)

2003-10-14 Thread Kent Stewart
On Tuesday 14 October 2003 10:04 pm, Mike Maltese wrote:
> > Why to this file and not to /etc/sysctl.conf? I have no monitor on
> > that box, so I want to make sure it is more likely to work after
> > the reboot.
> >
> :-)
>
> I can't remember exactly why, but trust me, it will work.
>
> > But why does it sets it to UDMA33, but not to UDMA66?
>
> Have you actually tried it yet? It should automatically set it to the
> drive's highest capability (controller allowing). Frankly, I've never
> seen a DVD drive, or any other optical drive for that matter, capable
> of DMA66, nor would it even need to be (33 is the highest I've seen).
> In any event, give it a try, I'm sure it will work.
>

acd0: DVDROM  at ata1-master UDMA66

The controller is capable of ata-100.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: atacontrol(8)

2003-10-14 Thread Julien Gabel
>> Add the following to /boot/loader.conf:
>> hw.ata.atapi_dma="1"

> Why to this file and not to /etc/sysctl.conf? I have no monitor on that
> box, so I want to make sure it is more likely to work after the reboot.

loader.conf(5) is the system bootstrap configuration file (third step)
and is read before all the system is start and even before the kernel
is loaded.

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


Re: atacontrol(8)

2003-10-14 Thread Mike Maltese

> Why to this file and not to /etc/sysctl.conf? I have no monitor on that
> box, so I want to make sure it is more likely to work after the reboot.
:-)

I can't remember exactly why, but trust me, it will work.

> But why does it sets it to UDMA33, but not to UDMA66?

Have you actually tried it yet? It should automatically set it to the
drive's highest capability (controller allowing). Frankly, I've never seen a
DVD drive, or any other optical drive for that matter, capable of DMA66, nor
would it even need to be (33 is the highest I've seen). In any event, give
it a try, I'm sure it will work.

Mike

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


Re: atacontrol(8)

2003-10-14 Thread Constantine
On 2003-10-15 00:20, Mike Maltese wrote:

Second, where do I have to indicate that my DVD-ROM supports UDMA66? I 
assume that after saying "atacontrol mode 1 udma66 udma66", the settings 
are going to be vanished the next reboot.
   

Add the following to /boot/loader.conf:

hw.ata.atapi_dma="1"

Reboot. Check dmesg.
 

Why to this file and not to /etc/sysctl.conf? I have no monitor on that 
box, so I want to make sure it is more likely to work after the reboot. :-)

 

Third, why it does not want to set the DVD-ROM to UDMA66 (the device 
supports it, as well as my 80-pin cable, and motherboard):
   

See above and try that first.
 

But why does it sets it to UDMA33, but not to UDMA66?

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


Re: atacontrol(8)

2003-10-14 Thread Mike Maltese
> Second, where do I have to indicate that my DVD-ROM supports UDMA66? I 
> assume that after saying "atacontrol mode 1 udma66 udma66", the settings 
> are going to be vanished the next reboot.

Add the following to /boot/loader.conf:

hw.ata.atapi_dma="1"

Reboot. Check dmesg.

> Third, why it does not want to set the DVD-ROM to UDMA66 (the device 
> supports it, as well as my 80-pin cable, and motherboard):

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


atacontrol(8)

2003-10-14 Thread Constantine
Hello,

I have a few questions about atacontrol.

First, why the option 'enclosure' does not seem to work?
<<
cnst# atacontrol enclosure 0 0
atacontrol: ioctl(ATAENCSTAT): Device not configured
>>
Second, where do I have to indicate that my DVD-ROM supports UDMA66? I 
assume that after saying "atacontrol mode 1 udma66 udma66", the settings 
are going to be vanished the next reboot.

Third, why it does not want to set the DVD-ROM to UDMA66 (the device 
supports it, as well as my 80-pin cable, and motherboard):
<<
cnst# atacontrol mode 1 udma66 udma66
Master = UDMA33
Slave  = ???
cnst# atacontrol info 1
Master: acd0  ATA/ATAPI rev 4
Slave:   no device present
>>

The other question I have, is on how can I turn on the automatic 
acoustic management?
<<
cnst# atacontrol cap 0 0
ATA channel 0, Master, device ad0:

ATA/ATAPI revision5
device model  IC35L040AVER07-0
serial number <>
firmware revision ER4OA44A
cylinders 16383
heads 16
sectors/track 63
lba supported 80418240 sectors
lba48 not supported
dma supported
overlap not supported
Feature  Support  EnableValue   Vendor
write cacheyes  yes
read ahead yes  yes
dma queued yes  yes 31/1F
SMART  yes  yes
microcode download no   no
security   yes  yes
power management   yes  yes
advanced power management  yes  no  0/00
automatic acoustic management  yes  no  254/FE  128/80
>>
Cheers,
Constantine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"