My first thought was that one of the many patches that RH applied to the
stock v2.4.20 kernel broke my capacity for DMA. After rebuilding from
plain-vanilla 2.4.20 source, though, I still can't set DMA access on my
hard disk.
I don't see either my IDE chipset or hard disk (see identity of both
below) on the blacklist, so I am at a loss as to what further
investigations I can do.
Any advice on this? Thanks.
-----------------------------
# hdparm -V
hdparm v5.2
# hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
-----------------------------
kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
kernel: hda: IC25N020ATCS05-0, ATA DISK drive
kernel: hdc: TOSHIBA CD-ROM XM-1802B, ATAPI CD/DVD-ROM drive
kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
kernel: ide1 at 0x170-0x177,0x376 on irq 15
kernel: hda: host protected area => 1
kernel: hda: 39070080 sectors (20004 MB) w/7898KiB Cache,CHS=2584/240/63
kernel: Partition check:
kernel: hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
-----------------------------
# lspci
00:00.0 Host bridge: OPTi Inc. 82C701 [FireStar Plus] (rev 32)
00:01.0 ISA bridge: OPTi Inc. 82C700 [FireStar] (rev 31)
00:0a.0 CardBus bridge: Texas Instruments PCI1131 (rev 01)
00:0a.1 CardBus bridge: Texas Instruments PCI1131 (rev 01)
00:12.0 VGA compatible controller: Neomagic Corporation NM2160 [MagicGraph
128XD] (rev 01)
00:13.0 USB Controller: OPTi Inc. 82C861 (rev 10)
00:14.0 IDE interface: OPTi Inc. 82C825 [Firebridge 2] (rev 30)
01:00.0 Ethernet controller: 3Com Corporation 3c575 [Megahertz] 10/100 LAN
CardBus (rev 01)
-----------------------------
# hdparm -I /dev/hda
/dev/hda:
ATA device, with non-removable media
Model Number: IC25N020ATCS05-0
Serial Number: CLP201F2G23TNA
Firmware Revision: CS2OA61A
Standards:
Used: ATA/ATAPI-5 T13 1321D revision 3
Supported: 5 4 3 2 & some of 6
Configuration:
Logical max current
cylinders 16383 17475
heads 16 15
sectors/track 63 63
--
CHS current addressable sectors: 16513875
LBA user addressable sectors: 39070080
device size with M = 1024*1024: 19077 MBytes
device size with M = 1000*1000: 20003 MBytes (20 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 4 Queue depth: 1
Standby timer values: spec'd by Vendor, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: 128 (0x80)
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=240ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* 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
* Device Configuration Overlay feature set
SET MAX security extension
Address Offset Reserved Area Boot
Power-Up In Standby feature set
* Advanced Power Management feature set
* 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
22min for SECURITY ERASE UNIT.
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct
-----------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/