LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-29-2005, 09:20 AM   #1
super-momo
LQ Newbie
 
Registered: Jun 2004
Location: Toronto
Distribution: Debian
Posts: 17

Rep: Reputation: 0
Question Cannot enable IDE harddisk DMA in Etch


Hi all,

I bought a Maxtor 160GB IDE harddisk and installed in my box alongside with three SCSI disks. However, I can't seem to get DMA enabled. I'm running kernel-images-2.6.11-1-686. I tried kernel-images-2.6.8-2-686 and doesn't work either. I have another box with two old IDE disks with the same precompiled 2.6.8 kernel and DMA works fine (and I don't remember doing any config to get it working).

I tried running hdparm as root and failed:

Code:
# hdparm -d1 /dev/hda

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

In the other box I didn't even have hdparm installed. I also tried adding
Code:
ide0=dma
as a kernel boot option and didn't work.

dmesg output:
Code:
Linux version 2.6.11-1-686 (dannf@firetheft) (gcc version 3.3.6 (Debian 1:3.3.6-6)) #1 Mon Jun 20 22:00:38 MDT 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001ff9e000 (usable)
 BIOS-e820: 000000001ff9e000 - 0000000020000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
 BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
511MB LOWMEM available.
found SMP MP-table at 000fe710
On node 0 totalpages: 130974
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 126878 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 DELL                                  ) @ 0x000fd720
ACPI: RSDT (v001 DELL    WS 420  0x00000008 ASL  0x00000061) @ 0x000fd734
ACPI: FADT (v001 DELL    WS 420  0x00000008 ASL  0x00000061) @ 0x000fd760
ACPI: MADT (v001 DELL    WS 420  0x00000008 ASL  0x00000061) @ 0x000fd7d4
ACPI: DSDT (v001   DELL    dt_ex 0x00001000 MSFT 0x0100000b) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:8 APIC version 17
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] disabled)
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 20000000 (gap: 20000000:dec00000)
Built 1 zonelists
Kernel command line: root=/dev/sda1 ro vga=795
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 997.641 MHz processor.
Using pmtmr for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 510760k/523896k available (1629k kernel code, 12568k reserved, 716k data, 172k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 1978.36 BogoMIPS (lpj=989184)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383fbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383fbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0383fbff 00000000 00000000 00000040 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=-1
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 4908k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfc03e, last bus=3
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050211
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *9 10 11 12 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 9 10 11 12 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 12 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 12 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically.  If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device().  As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior.  If this argument makes the device work again,
** please email the output of "lspci" to bjorn.helgaas@hp.com
** so I can fix the driver.
pnp: 00:0b: ioport range 0x800-0x85f could not be reserved
pnp: 00:0b: ioport range 0xc00-0xc7f has been reserved
pnp: 00:0b: ioport range 0x860-0x8ff could not be reserved
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP established hash table entries: 32768 (order: 6, 262144 bytes)
TCP bind hash table entries: 32768 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
NET: Registered protocol family 8
NET: Registered protocol family 20
ACPI wakeup devices:
PCI0 USB0 PCI1 PCI2  KBD
ACPI: (supports S0 S1 S4 S5)
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4908KiB [1 disk] into ram disk... done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 172k freed
vesafb: framebuffer at 0xf4000000, mapped to 0xe0880000, using 10240k, total 32768k
vesafb: mode is 1280x1024x32, linelength=5120, pages=2
vesafb: protected mode interface info at c000:7780
vesafb: scrolling: redraw
vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
fb0: VESA VGA frame buffer device
Console: switching to colour frame buffer device 160x64
NET: Registered protocol family 1
SCSI subsystem initialized
ACPI: PCI interrupt 0000:03:0a.0[A] -> GSI 18 (level, low) -> IRQ 169
ACPI: PCI interrupt 0000:03:0a.1[B] -> GSI 19 (level, low) -> IRQ 177
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
        <Adaptec aic7899 Ultra160 SCSI adapter>
        aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

(scsi0:A:0): 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
(scsi0:A:1): 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
(scsi0:A:2): 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
  Vendor: FUJITSU   Model: MAJ3182MP         Rev: 5508
  Type:   Direct-Access                      ANSI SCSI revision: 04
scsi0:A:0:0: Tagged Queuing enabled.  Depth 8
  Vendor: QUANTUM   Model: ATLAS10K2-TY092L  Rev: DA40
  Type:   Direct-Access                      ANSI SCSI revision: 03
scsi0:A:1:0: Tagged Queuing enabled.  Depth 8
  Vendor: QUANTUM   Model: ATLAS10K2-TY184L  Rev: DA40
  Type:   Direct-Access                      ANSI SCSI revision: 03
scsi0:A:2:0: Tagged Queuing enabled.  Depth 8
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
        <Adaptec aic7899 Ultra160 SCSI adapter>
        aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs

SCSI device sda: 35566478 512-byte hdwr sectors (18210 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 35566478 512-byte hdwr sectors (18210 MB)
SCSI device sda: drive cache: write back
 /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 17783239 512-byte hdwr sectors (9105 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 17783239 512-byte hdwr sectors (9105 MB)
SCSI device sdb: drive cache: write back
 /dev/scsi/host0/bus0/target1/lun0: p1
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
SCSI device sdc: 35566478 512-byte hdwr sectors (18210 MB)
SCSI device sdc: drive cache: write back
SCSI device sdc: 35566478 512-byte hdwr sectors (18210 MB)
SCSI device sdc: drive cache: write back
 /dev/scsi/host0/bus0/target2/lun0: p1
Attached scsi disk sdc at scsi0, channel 0, id 2, lun 0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1
mice: PS/2 mouse device common for all mice
ts: Compaq touchscreen protocol output
ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 16 (level, low) -> IRQ 185
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:02:04.0: 3Com PCI 3c905C Tornado at 0xdc80. Vers LK1.1.19
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:1f.2[D] -> GSI 19 (level, low) -> IRQ 177
uhci_hcd 0000:00:1f.2: Intel Corp. 82801AA USB
PCI: Setting latency timer of device 0000:00:1f.2 to 64
uhci_hcd 0000:00:1f.2: irq 177, io base 0xff80
uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel i840 Chipset.
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 64M @ 0xf0000000
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
hw_random hardware driver 1.0.0 loaded
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, using FIFO [PCSPP,TRISTATE,COMPAT,EPP,ECP]
parport0: Printer, Brother HL-5140 series
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
input: PC Speaker
Real Time Clock Driver v1.12
lp0: using parport0 (interrupt-driven).
[drm] Initialized drm 1.0.0 20040925
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 185
[drm] Initialized mga 3.1.0 20021029 on minor 0: Matrox Graphics, Inc. MGA G400 AGP
loop: loaded (max 8 devices)
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Adding 979956k swap on /dev/sda2.  Priority:-1 extents:1
EXT3 FS on sda1, internal journal
Probing IDE interface ide0...
hda: Maxtor 6B160P0, ATA DISK drive
Probing IDE interface ide1...
hdc: Lite-On LTN483S 48x Max, ATAPI CD/DVD-ROM drive
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 320173056 sectors (163928 MB) w/8192KiB Cache, CHS=19929/255/63
hda: cache flushes supported
 /dev/ide/host0/bus0/target0/lun0: p1
hdc: ATAPI 48X CD-ROM drive, 120kB Cache
Uniform CD-ROM driver Revision: 3.20
Capability LSM initialized
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdb1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ICH: IDE controller at PCI slot 0000:00:1f.1
ICH: chipset revision 2
ICH: not 100% native mode: will probe irqs later
ICH: port 0x01f0 already claimed by ide0
ICH: port 0x0170 already claimed by ide1
ICH: neither IDE port enabled (BIOS)
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
ACPI: PCI interrupt 0000:02:06.0[A] -> GSI 18 (level, low) -> IRQ 169
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 16 (level, low) -> IRQ 185
NET: Registered protocol family 17
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0320820(lo)
IPv6 over IPv4 tunneling driver
lp0: ECP mode
eth0: no IPv6 routers present
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
Notice in the demsg it says
Code:
ICH: port 0x01f0 already claimed by ide0
I don't know why that happens.

/etc/modules:
Code:
ide-cd
ide-disk
ide-generic
psmouse
sd_mod
Transfer rate:
Code:
#hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   796 MB in  2.01 seconds = 396.87 MB/sec
 Timing buffered disk reads:   12 MB in  3.53 seconds =   3.40 MB/sec
/proc/ide/hda/settings:
Code:
name                    value           min             max             mode
----                    -----           ---             ---             ----
acoustic                0               0               254             rw
address                 1               0               2               rw
bios_cyl                19929           0               65535           rw
bios_head               255             0               255             rw
bios_sect               63              0               63              rw
bswap                   0               0               1               r
current_speed           0               0               70              rw
failures                0               0               65535           rw
init_speed              0               0               70              rw
io_32bit                0               0               3               rw
keepsettings            0               0               1               rw
lun                     0               0               7               rw
max_failures            1               0               65535           rw
multcount               0               0               16              rw
nice1                   1               0               1               rw
nowerr                  0               0               1               rw
number                  0               0               3               rw
pio_mode                write-only      0               255             w
unmaskirq               0               0               1               rw
using_dma               0               0               1               rw
wcache                  1               0               1               rw
/proc/ioports:
Code:
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial
0376-0376 : ide1
0378-037a : parport0
037b-037f : parport0
03c0-03df : vesafb
03f6-03f6 : ide0
03f8-03ff : serial
0778-077a : parport0
0800-087f : 0000:00:1f.0
  0800-0803 : PM1a_EVT_BLK
  0804-0805 : PM1a_CNT_BLK
  0808-080b : PM_TMR
  0828-082b : GPE0_BLK
0880-08bf : 0000:00:1f.0
0c00-0c7f : pnp 00:0b
0cf8-0cff : PCI conf1
ccd0-ccdf : 0000:00:1f.3
  ccd0-ccd7 : i801-smbus
dc80-dcff : 0000:02:04.0
  dc80-dcff : 0000:02:04.0
e000-efff : PCI Bus #03
  e800-e8ff : 0000:03:0a.1
  ec00-ecff : 0000:03:0a.0
ff80-ff9f : 0000:00:1f.2
  ff80-ff9f : uhci_hcd
ffa0-ffaf : 0000:00:1f.1
lspci outputs:
Code:
#lspci -v

0000:00:00.0 Host bridge: Intel Corp. 82840 840 (Carmel) Chipset Host Bridge (Hub A) (rev 01)
        Subsystem: Dell: Unknown device 0096
        Flags: bus master, fast devsel, latency 0
        Memory at f0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: <available only to root>

0000:00:01.0 PCI bridge: Intel Corp. 82840 840 (Carmel) Chipset AGP Bridge (rev 01) (prog-if 00 [Normal decode])
        Flags: bus master, 66MHz, fast devsel, latency 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        Memory behind bridge: fc000000-fdffffff
        Prefetchable memory behind bridge: f4000000-f5ffffff

0000:00:1e.0 PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=03, sec-latency=64
        I/O behind bridge: 0000d000-0000efff
        Memory behind bridge: f8000000-fbffffff

0000:00:1f.0 ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 02)
        Flags: bus master, medium devsel, latency 0

0000:00:1f.1 IDE interface: Intel Corp. 82801AA IDE (rev 02) (prog-if 80 [Master])
        Subsystem: Intel Corp. 82801AA IDE
        Flags: bus master, medium devsel, latency 0
        I/O ports at ffa0 [size=16]

0000:00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corp. 82801AA USB
        Flags: bus master, medium devsel, latency 0, IRQ 177
        I/O ports at ff80 [size=32]

0000:00:1f.3 SMBus: Intel Corp. 82801AA SMBus (rev 02)
        Subsystem: Intel Corp. 82801AA SMBus
        Flags: medium devsel, IRQ 10
        I/O ports at ccd0 [size=16]

0000:01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 82) (prog-if 00 [VGA])
        Subsystem: Matrox Graphics, Inc. Millennium G450 32Mb SDRAM Dual Head
        Flags: bus master, medium devsel, latency 64, IRQ 185
        Memory at f4000000 (32-bit, prefetchable) [size=32M]
        Memory at fcffc000 (32-bit, non-prefetchable) [size=16K]
        Memory at fc000000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at c0000000 [disabled] [size=128K]
        Capabilities: <available only to root>

0000:02:04.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
        Subsystem: Dell: Unknown device 0096
        Flags: bus master, medium devsel, latency 64, IRQ 185
        I/O ports at dc80 [size=128]
        Memory at f8fffc00 (32-bit, non-prefetchable) [size=128]
        Expansion ROM at f9000000 [disabled] [size=128K]
        Capabilities: <available only to root>

0000:02:06.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
        Subsystem: Dell: Unknown device 0096
        Flags: bus master, medium devsel, latency 64, IRQ 169
        Memory at f8ffe000 (32-bit, non-prefetchable) [size=4K]
        Memory at f8e00000 (32-bit, non-prefetchable) [size=1M]
        Capabilities: <available only to root>

0000:02:0e.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, medium devsel, latency 64
        Bus: primary=02, secondary=03, subordinate=03, sec-latency=64
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: fa000000-fbffffff
        Capabilities: <available only to root>

0000:03:0a.0 SCSI storage controller: Adaptec AIC-7899P U160/m (rev 01)
        Subsystem: Dell: Unknown device 0096
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 169
        BIST result: 00
        I/O ports at ec00 [disabled] [size=256]
        Memory at fafff000 (64-bit, non-prefetchable) [size=4K]
        Expansion ROM at fb000000 [disabled] [size=128K]
        Capabilities: <available only to root>

0000:03:0a.1 SCSI storage controller: Adaptec AIC-7899P U160/m (rev 01)
        Subsystem: Dell: Unknown device 0096
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 177
        BIST result: 00
        I/O ports at e800 [disabled] [size=256]
        Memory at faffe000 (64-bit, non-prefetchable) [size=4K]
        Expansion ROM at fb000000 [disabled] [size=128K]
        Capabilities: <available only to root>
Any help is appeciated. Thanks!

Last edited by super-momo; 07-29-2005 at 09:27 AM.
 
Old 07-29-2005, 09:44 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 120Reputation: 120
You might need to recompile the kernel to add the driver for your particular chipset. Compile it into the kernel.

I think that's the issue here.

You don't need hdparm to enable DMA if your driver is compiled into the kernel.
 
Old 07-29-2005, 09:56 AM   #3
super-momo
LQ Newbie
 
Registered: Jun 2004
Location: Toronto
Distribution: Debian
Posts: 17

Original Poster
Rep: Reputation: 0
So I have to recompile the kernel? I am trying to avoid compiling the kernel as much as possible =)

If I do have do, where do I look for my chipset model? From the first post I have a long list of outputs and I don't know which one to look at.
 
Old 07-29-2005, 11:32 AM   #4
super-momo
LQ Newbie
 
Registered: Jun 2004
Location: Toronto
Distribution: Debian
Posts: 17

Original Poster
Rep: Reputation: 0
Right now I'm at make xconfig, and staring at ATA/ATAPI options and don't know which ones to compile into the kernel. Please give me some hints.
 
Old 07-29-2005, 12:31 PM   #5
super-momo
LQ Newbie
 
Registered: Jun 2004
Location: Toronto
Distribution: Debian
Posts: 17

Original Poster
Rep: Reputation: 0
I've found an ad hoc solution to this problem after some googling.

If i remove ide-generic from /etc/modules. And manually do modprobe ide-generic, things looks much better. The relevant section of dmesg now gives,
Code:
ICH: IDE controller at PCI slot 0000:00:1f.1
ICH: chipset revision 2
ICH: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
instead of a port conflict. And /proc/ide/hda/settings shows DMA is now enabled.

However, I don't want to do that all the time and I want to find out what really causes the problem. The ad hoc solution means I cannot mount the disk automatically in fstab.

Does anyone have any insight on this? Thanks!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Harddisk Dma Disabled devansh Linux - Hardware 4 06-17-2005 12:17 AM
winows2000/etch dual boot from two harddisk sadun Debian 3 06-08-2005 08:11 AM
Enable DMA for IDE CDROM RHEL3 sbrewer Linux - Hardware 1 11-30-2004 06:33 AM
Harddisk DMA error? aiza Linux - Hardware 1 09-23-2004 05:46 AM
Suse 8.2 change my DMA setting on my DVD-R drive to off & IDE DMA MODE NOT SHOWING IT maximalred Linux - General 0 08-23-2003 04:58 AM


All times are GMT -5. The time now is 05:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration