Witam. Mam strasznie dziwny problem na swoim kompie.
Za cholere nie chce mi sie wlaczyc hdparm dla dvd-recordera i dla dysku twardego. Generalnie nie da sie uzywac opcji hdparm -d1 /dev/XXX . Wszystkie inne parametry hdparma wlaczaja i wylaczaja sie bez zarzutu. Rzecz ta ma miejsce na Slacku 10.2. Myslalem przez moment ze to moze jakies ustawienia biosu, ale jestem pewien ze bios jest ustawiony dobrze. Z reszta po zainstalowaniu Slamda64 dma normalnie sie wlaczalo i wylaczalo.
Problem wiec tkwi w systemie. Sprawdzilem tez konfiguracje kernela. Mam tam zaznaczona opcje: Use dma by default when available (wiec tak jak powinno byc) i odznaczona: Enable dma only for hard drives. W czym moze tkwic problem? Czy ktos moze wie.
A teraz kilka kodow:
- po wpisaniu hdparm -d1 /dev/hda (w przypadku hdc dzieje sie to samo)
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
- output hdparm -I /dev/hda
/dev/hda:
ATA device, with non-removable media
Model Number: WDC WD800JB-00JJC0
Serial Number: WD-WCAM9L504884
Firmware Revision: 05.01C05
Standards:
Supported: 6 5 4 3
Likely used: 6
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 156301488
device size with M = 1024*1024: 76319 MBytes
device size with M = 1000*1000: 80026 MBytes (80 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 66 Queue depth: 1
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
SMART feature set
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
Automatic Acoustic Management feature set
SET MAX security extension
* DOWNLOAD MICROCODE cmd
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct
output hdparm -I /dev/hdc
/dev/hdc:
ATAPI CD-ROM, with removable media
Model Number: LITE-ON DVDRW SHM-165P6S
Serial Number:
Firmware Revision: MS0M
Standards:
Used: ATAPI for CD-ROMs, SFF-8020i, r2.5
Supported: CD-ROM ATAPI-2
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(cannot be disabled)
DMA: *sdma0 *sdma1 *sdma2 sdma3 sdma4 sdma7 mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 (?)
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* DEVICE RESET cmd
* PACKET command feature set
* Mandatory FLUSH CACHE command
HW reset results:
CBLID- below Vih
Device num = 0
Wersja kernela: 2.4.31
Dystrybucja i wersja: Slackware 10.2
Dysk twardy: caviar (chociaz nie wiem jakie to ma znaczenie)
Chipset: nVidia nForce 410 MCP
Procesor: 64bitowy Sempron