hdparm question: HDIO_SET_DMA failed: Inappropriate ioctl for device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If one enables hdparm DVD playback will not be jumpy, however when applying hdparm I get 

[root@localhost ~]# hdparm -d1 /dev/cdrom

/dev/cdrom:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device
[root@localhost ~]# hdparm -d1 /dev/sr0

/dev/sr0:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device
[root@localhost ~]# hdparm -d1 /dev/sr1

/dev/sr1:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device
[root@localhost ~]# 

CPU goes to 99 - 100%, and playback of movie slows down tremendously.  How can I enable hdparm like the good old days, or is there something else that can take care of that.  

attached meminfo/cpuinfo in case it is relevant to the hdparm question.  
[olivares@localhost ~]$ cat /proc/meminfo 
MemTotal:       767504 kB
MemFree:         66888 kB
Buffers:         23948 kB
Cached:         337400 kB
SwapCached:          0 kB
Active:         451464 kB
Inactive:       168608 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       767504 kB
LowFree:         66888 kB
SwapTotal:     3114416 kB
SwapFree:      3114340 kB
Dirty:              76 kB
Writeback:           0 kB
AnonPages:      258720 kB
Mapped:          87844 kB
Slab:            64896 kB
SReclaimable:    22800 kB
SUnreclaim:      42096 kB
PageTables:       4892 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   3498168 kB
Committed_AS:   682684 kB
VmallocTotal:   245752 kB
VmallocUsed:      4488 kB
VmallocChunk:   241088 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
HugePages_Surp:      0
Hugepagesize:     4096 kB
[olivares@localhost ~]$ cat /proc/meminfo 
MemTotal:       767504 kB
MemFree:         67028 kB
Buffers:         23960 kB
Cached:         337424 kB
SwapCached:          0 kB
Active:         451104 kB
Inactive:       168640 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       767504 kB
LowFree:         67028 kB
SwapTotal:     3114416 kB
SwapFree:      3114340 kB
Dirty:             344 kB
Writeback:           0 kB
AnonPages:      258356 kB
Mapped:          87844 kB
Slab:            64896 kB
SReclaimable:    22800 kB
SUnreclaim:      42096 kB
PageTables:       4892 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   3498168 kB
Committed_AS:   682244 kB
VmallocTotal:   245752 kB
VmallocUsed:      4488 kB
VmallocChunk:   241088 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
HugePages_Surp:      0
Hugepagesize:     4096 kB
[olivares@localhost ~]

[root@localhost ~]# hdparm --help

hdparm - get/set hard disk parameters - version v7.7

Usage:  hdparm  [options] [device] ..

Options:
 -a   get/set fs readahead
 -A   get/set the drive look-ahead flag (0/1)
 -b   get/set bus state (0 == off, 1 == on, 2 == tristate)
 -B   set Advanced Power Management setting (1-255)
 -c   get/set IDE 32-bit IO setting
 -C   check drive power mode status
 -d   get/set using_dma flag
 -D   enable/disable drive defect management
 -E   set cd-rom drive speed
 -f   flush buffer cache for device on exit
 -F   flush drive write cache
 -g   display drive geometry
 -h   display terse usage information
 -H   read temperature from drive (Hitachi only)
 -i   display drive identification
 -I   detailed/current information directly from drive
 -k   get/set keep_settings_over_reset flag (0/1)
 -K   set drive keep_features_over_reset flag (0/1)
 -L   set drive doorlock (0/1) (removable harddisks only)
 -M   get/set acoustic management (0-254, 128: quiet, 254: fast)
 -m   get/set multiple sector count
 -n   get/set ignore-write-errors flag (0/1)
 -p   set PIO mode on IDE interface chipset (0,1,2,3,4,...)
 -P   set drive prefetch count
 -q   change next setting quietly
 -Q   get/set DMA tagged-queuing depth (if supported)
 -r   get/set device  readonly flag (DANGEROUS to set)
 -R   register an IDE interface (DANGEROUS)
 -s   set power-up in standby flag (0/1) (DANGEROUS)
 -S   set standby (spindown) timeout
 -t   perform device read timings
 -T   perform cache read timings
 -u   get/set unmaskirq flag (0/1)
 -U   un-register an IDE interface (DANGEROUS)
 -v   defaults; same as -acdgkmur for IDE drives
 -V   display program version and exit immediately
 -w   perform device reset (DANGEROUS)
 -W   get/set drive write-caching flag (0/1)
 -x   tristate device for hotswap (0/1) (DANGEROUS)
 -X   set IDE xfer mode (DANGEROUS)
 -y   put drive in standby mode
 -Y   put drive to sleep
 -Z   disable Seagate auto-powersaving mode
 -z   re-read partition table
 --direct         use O_DIRECT to bypass page cache for timings
 --Istdin         read identify data from stdin as ASCII hex
 --Istdout        write identify data to stdout as ASCII hex
 --verbose        display extra diagnostics from some commands
 --security-help  display help for ATA security commands
 --drq-hsm-error  crash system with a "stuck DRQ" error (VERY DANGEROUS)

[root@localhost ~]# 

Please advice me of a way to get hdparm to work, or to get good dvd playback without the CPU going to 99% everytime.  

Regards,

Antonio 




      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux