LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-27-2005, 05:01 PM   #1
MrHagar
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
No DMA support after 2.6.10 upgrade


Dear all,

I have lost DMA support, and cannot enable it. I started with Slackware 10.1 and the 2.4.xx kernel which supported DMA on my machine no problem. I then upgraded my kernel to 2.6.10 (form The Linux Kernel Archives) and now what ever options I try to compile I cannot get DMA support. Every time I get...

bash-3.00# hdparm -d1 /dev/hda

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

The machine is a HP 4010nc laptop, the IDE chipset is...

IDE interface: ALi Corporation M5229 IDE (rev c4)

Any ideas, please help as performance is not very good as you can see....

bash-3.00# hdparm -Tt /dev/hda

/dev/hda:
Timing cached reads: 1224 MB in 2.00 seconds = 611.48 MB/sec
Timing buffered disk reads: 10 MB in 3.44 seconds = 2.91 MB/sec


Below is lots of relevant details. Thanks in advance,

Hagar

Full details...

bash-3.00# hdparm /dev/hda

/dev/hda:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 16383/255/63, sectors = 60011642880, start = 0

bash-3.00# hdparm -Tt /dev/hda

/dev/hda:
Timing cached reads: 1224 MB in 2.00 seconds = 611.48 MB/sec
Timing buffered disk reads: 10 MB in 3.44 seconds = 2.91 MB/sec

bash-3.00# hdparm -d1 /dev/hda

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

bash-3.00# hdparm -V
hdparm v5.8


# ATA/ATAPI/MFM/RLL support

#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_BLK_DEV_IDECS is not set
CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_IDEDMA_ONLYDISK=y
# CONFIG_BLK_DEV_AEC62XX is not set
CONFIG_BLK_DEV_ALI15X3=y
# CONFIG_WDC_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_ARM is not set
CONFIG_IDE_CHIPSETS=y

#
# Note: most of these also require special kernel boot parameters
#
# CONFIG_BLK_DEV_4DRIVES is not set
CONFIG_BLK_DEV_ALI14XX=y
# CONFIG_BLK_DEV_DTC2278 is not set
# CONFIG_BLK_DEV_HT6560B is not set
# CONFIG_BLK_DEV_QD65XX is not set
# CONFIG_BLK_DEV_UMC8672 is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set



00:00.0 Host bridge: ATI Technologies Inc: Unknown device cbb2 (rev 02)
Flags: bus master, 66Mhz, medium devsel, latency 64
Memory at 9c000000 (32-bit, prefetchable) [size=64M]
Memory at 98500000 (32-bit, prefetchable) [size=4K]
Capabilities: [a0] AGP version 2.0

00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M] (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 99
Bus: primary=00, secondary=01, subordinate=01, sec-latency=66
I/O behind bridge: 00002000-00002fff
Memory behind bridge: 90000000-900fffff
Prefetchable memory behind bridge: 94000000-97ffffff

00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
Subsystem: Compaq Computer Corporation: Unknown device 005a
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at 3000 [size=256]
Memory at 98100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2

00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
Subsystem: Compaq Computer Corporation: Unknown device 005a
Flags: bus master, medium devsel, latency 0
Capabilities: [a0] Power Management version 1

00:08.0 Modem: ALi Corporation Intel 537 [M5457 AC-Link Modem] (prog-if 00 [Generic])
Subsystem: Compaq Computer Corporation: Unknown device 005a
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at 98180000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 3400 [size=256]
Capabilities: [40] Power Management version 2

00:09.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
Subsystem: Compaq Computer Corporation: Unknown device 00e5
Flags: bus master, medium devsel, latency 168, IRQ 5
Memory at 98080000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2

00:0b.0 CardBus bridge: O2 Micro, Inc.: Unknown device 7114 (rev 20)
Subsystem: Compaq Computer Corporation: Unknown device 005a
Flags: bus master, stepping, slow devsel, latency 64, IRQ 11
Memory at 98200000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
I/O window 0: 00000000-00000003
I/O window 1: 00000000-00000003
16-bit legacy interface ports at 0001

00:0b.1 CardBus bridge: O2 Micro, Inc.: Unknown device 7114 (rev 20)
Subsystem: Compaq Computer Corporation: Unknown device 005a
Flags: bus master, stepping, slow devsel, latency 64, IRQ 11
Memory at 98280000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
I/O window 0: 00000000-00000003
I/O window 1: 00000000-00000003
16-bit legacy interface ports at 0001

00:0b.2 System peripheral: O2 Micro, Inc.: Unknown device 7110
Subsystem: Compaq Computer Corporation: Unknown device 005a
Flags: slow devsel, IRQ 11
Memory at 98300000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [a0] Power Management version 2

00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4) (prog-if ea)
Subsystem: Compaq Computer Corporation: Unknown device 005a
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at 3800 [size=16]
Capabilities: [60] Power Management version 2

00:11.0 Bridge: ALi Corporation M7101 PMU
Subsystem: Compaq Computer Corporation: Unknown device 005a
Flags: medium devsel

00:12.0 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
Subsystem: Compaq Computer Corporation: Unknown device 005a
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at 98380000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

00:12.1 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
Subsystem: Compaq Computer Corporation: Unknown device 005a
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at 98400000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

00:12.2 USB Controller: NEC Corporation USB 2.0 (rev 04) (prog-if 20 [EHCI])
Subsystem: Compaq Computer Corporation: Unknown device 005a
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at 98480000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2

00:13.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet (rev 03)
Subsystem: Compaq Computer Corporation: Unknown device 005a
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 10
Memory at 98000000 (64-bit, non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data
Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-

01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 340M (prog-if 00 [VGA])
Subsystem: Compaq Computer Corporation: Unknown device 005a
Flags: bus master, stepping, 66Mhz, medium devsel, latency 64, IRQ 10
Memory at 94000000 (32-bit, prefetchable) [size=64M]
I/O ports at 2000 [size=256]
Memory at 90000000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to enable DMA after upgrade to a DVD writer samael26 Debian 3 09-05-2005 12:31 PM
No DMA after 2.6.10 upgrade on HP4010nc MrHagar Linux - Laptop and Netbook 0 02-27-2005 09:17 PM
SATA compatibility with DMA support Mad Merlin Linux - Hardware 2 01-30-2004 04:44 PM
New install problems, no dma = slooow HD, no 3D support ATI 9800pro, help. 1Way Linux - General 2 12-02-2003 08:45 PM
Recompiling RH 7.1 to disable DMA support - chipset doesn't support properly arby73 Linux - Newbie 0 06-13-2001 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration