List Info

Thread: ataidle and -current ?




ataidle and -current ?
user name
2006-05-26 12:46:15
Hi all!


Are there any serious changes in ata between 6.x and
-CURRENT branches ?

Ataidle fails on current on amd64 -- does not even display
device list
-- so I'm trying understand what to fix -- compatiliity
with amd64 or
adopt changes for 7.x

Thanks in advance.


/Gaspar
_______________________________________________
freebsd-currentfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-curre
nt
To unsubscribe, send any mail to
"freebsd-current-unsubscribefreebsd.org"
ataidle and -current ?
user name
2006-05-26 18:44:02
Gaspar Chilingarov wrote:

>Hi all!
>
>
>Are there any serious changes in ata between 6.x and
-CURRENT branches ?
>
>Ataidle fails on current on amd64 -- does not even
display device list
>-- so I'm trying understand what to fix -- compatiliity
with amd64 or
>adopt changes for 7.x
>  
>

the interface to control the deveices has changed.
Theoretically you could make a much simpler ataidle program
now but no-one has done it..

teh previous one sent commands to the ata layer itself.
the new one would have you send the commands to the drive in
question..
(At least that is what I got from reading it)

>Thanks in advance.
>
>
>/Gaspar
>_______________________________________________
>freebsd-currentfreebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-curre
nt
>To unsubscribe, send any mail to
"freebsd-current-unsubscribefreebsd.org"
>  
>
_______________________________________________
freebsd-currentfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-curre
nt
To unsubscribe, send any mail to
"freebsd-current-unsubscribefreebsd.org"
ataidle and -current ?
user name
2006-05-26 19:16:22
On Fri, 26 May 2006, Julian Elischer wrote:
> the interface to control the deveices has changed.
Theoretically you 
> could make a much simpler ataidle program now but
no-one has done it..

I wrote ftp://ftp.jurai.net/users/winter/atautil.tar to
manipulate ATA 
"APM" settings.  APM is drive managed power
configuration.

I call a simple shell script via apmd to enabling idling
when the laptop 
is on battery.

'atautil' also supports reading the drive tempreature from
IBM/Hitachi 
Travelstars.
_______________________________________________
freebsd-currentfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-curre
nt
To unsubscribe, send any mail to
"freebsd-current-unsubscribefreebsd.org"
ataidle and -current ?
user name
2006-05-27 23:49:35
Matthew N. Dodd wrote:
> On Fri, 26 May 2006, Julian Elischer wrote:
>> the interface to control the deveices has changed.
Theoretically you
>> could make a much simpler ataidle program now but
no-one has done it..
> 
> I wrote ftp://ftp.jurai.net/users/winter/atautil.tar to
manipulate ATA
> "APM" settings.  APM is drive managed power
configuration.
> 
> I call a simple shell script via apmd to enabling
idling when the laptop
> is on battery.
> 
> 'atautil' also supports reading the drive tempreature
from IBM/Hitachi
> Travelstars.
> _______________________________________________
> freebsd-currentfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-curre
nt
> To unsubscribe, send any mail to
"freebsd-current-unsubscribefreebsd.org"
> 


THanks a lot for a link 

But 
sadly - it says the same as ataidle --

./atautil -f ad0 identify
atautil: IOCATAREQUEST: Inappropriate ioctl for device


at same time atacontrol says
atacontrol list
ATA channel 0:
    Master:  ad0 <ST9100822A/3.01> ATA/ATAPI revision
6
    Slave:       no device present


Yes, I've read warning in atautil 
I'm running FreeBSD aldan.web.am 7.0-CURRENT FreeBSD
7.0-CURRENT #7: Thu
Apr  6 01:44:22 AMST 2006     rootaldan.web.am:/usr/obj/usr/src/sys/nm
 amd64

kernel have removed lines relating to atapifd, atapist (tape
driver).

What may be a problem in that case?

/Gaspar



_______________________________________________
freebsd-currentfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-curre
nt
To unsubscribe, send any mail to
"freebsd-current-unsubscribefreebsd.org"
ataidle and -current ?
user name
2006-05-29 13:23:43
Matthew N. Dodd wrote:
> On Fri, 26 May 2006, Julian Elischer wrote:
>> the interface to control the deveices has changed.
Theoretically you
>> could make a much simpler ataidle program now but
no-one has done it..
> 
> I wrote ftp://ftp.jurai.net/users/winter/atautil.tar to
manipulate ATA
> "APM" settings.  APM is drive managed power
configuration.
> 
> I call a simple shell script via apmd to enabling
idling when the laptop
> is on battery.
> 
> 'atautil' also supports reading the drive tempreature
from IBM/Hitachi
> Travelstars.
> 

well, It does not work on amd64. or - with my HDD.


#aldan ~/atautil> ./atautil -f ad0 identify
atautil: IOCATAREQUEST: Inappropriate ioctl for device


at same time atacontrol says that it is
#aldan ~/atautil> atacontrol list
ATA channel 0:
    Master:  ad0 <ST9100822A/3.01> ATA/ATAPI revision
6

Are there any ideas why IOCATAREQUEST ioctl fails - as I see
all ioctl
request from ad_disk driver are redirected to
ata-all:ata_*_ioctl
function. At same time I cannot see any ifdefs in ata* files
which
disable processing this ioctl..

May be this is an issue with hard driver() it is
#aldan ~/atautil> atacontrol cap ad0

Protocol              ATA/ATAPI revision 6
device model          ST9100822A
serial number         3LG1EH90
firmware revision     3.01
cylinders             16383
heads                 16
sectors/track         63
lba supported         195371568 sectors
lba48 supported       195371568 sectors
dma supported
overlap not supported

Feature                      Support  Enable    Value       
   Vendor
write cache                    yes      yes
read ahead                     yes      yes
Tagged Command Queuing (TCQ)   no       no      0/0x00
SMART                          yes      yes
microcode download             yes      yes
security                       yes      no
power management               yes      yes
advanced power management      yes      yes     32896/0x8080
automatic acoustic management  no       no      0/0x00 
254/0xFE


so it CAN support power management.

--
Gaspar


_______________________________________________
freebsd-currentfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-curre
nt
To unsubscribe, send any mail to
"freebsd-current-unsubscribefreebsd.org"
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )