Subject: atactl(8) somehow defective on macppc?
To: None <port-macppc@netbsd.org>
From: Timo Schoeler <timo.schoeler@riscworks.net>
List: port-macppc
Date: 10/10/2005 16:13:23
hi,
before using send-pr i'd like to make sure that this doesn't happen only
to me...
as soon as i try to get insight into what S.M.A.R.T. logs on an ATA HD i
get kicked by atactl(8):
yak3: {141} atactl wd0 identify
Model: WDC WD400EB-00CPF0, Rev: 06.04G06, Serial #: WD-WCAAT4307646
Device type: ATA, fixed
Device capabilities:
DMA
LBA
ATA standby timer values
IORDY operation
IORDY disabling
Device supports following standards:
ATA-1 ATA-2 ATA-3 ATA-4 ATA-5
Command set support:
READ BUFFER command
WRITE BUFFER command
Host Protected Area feature set
look-ahead
write cache
Power Management feature set
Security Mode feature set
SMART feature set
Device Configuration Overlay feature set
Automatic Acoustic Management feature set
SET MAX security extension
DOWNLOAD MICROCODE command
Command sets/features enabled:
look-ahead
write cache
SMART feature set
yak3: {142} atactl wd0 smart
usage: atactl device command [arg [...]]
Available device commands:
identify
setidle idle-timer
setstandby standby-timer
idle
standby
sleep
checkpower
smart enable|disable|status|selftest-log
yak3: {143} atactl wd0 smart status
SMART supported, SMART enabled
ATA device returned Aborted Command
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
yak3: {144}
surprisingly, i tried on a more recent HD, a 160GByte Seagate [1], and
got the same behaviour.
trying this on the same HD on an i386 runs well.
this is NetBSD3-BETA built a few days ago (Thu Oct 6 10:24:42 CEST 2005).
timo
[1] -- dmesg output:
wd0 at atabus0 drive 0: <ST3160023A>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(cmdide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using
DMA data transfers)