Getting DMA enabled on the intel 7500 chipset

Getting DMA enabled on the intel 7500 chipset

Post by GNUOrde » Sat, 21 Sep 2002 02:02:24



I have 2 remote servers I'm trying to get DMA enabled on.  Both are the
tyan Thunder i7500 (S2720) motherboard running redhat7.3.  Both have the
latest BIOS which is suppose to fix the problem but didn't.  From
searching the archives and talking to people, its a known problem that is
fixed in one of the -ac patches to 2.4.19.  I've tried several patches
myself and it seems to fix the DMA but when the init scripts start they
get a lot of file not found and never comes fully up.  I used the some
config from the stock redhat kernel, 2.4.18-3 for 2.4.19 (which works fine
other than the DMA problem) and the patched 2.4.19-acx kernels.  I also
tried the script in the kernel tree that is suppose to apply all the
patches I thought.  It only applied the latest patch which did not work.
It is at least access the root file system.  BTW, I had to mkinitrd images
myself in most cases but in one case, make install seems to have made one.
 The modules are out there in their correct places,
/lib/modules/2.4.19-acx.  Lilo knows to load the initrd image, I copied
the same section as for the 2.4.19 entry that works and changed the names
of everything to match the test kernel. Anyone know of what could be
happening to keep these kernels from starting up properly? Thanks for any
input

GO

 
 
 

Getting DMA enabled on the intel 7500 chipset

Post by GNUOrde » Sat, 21 Sep 2002 06:01:29


Here are dmesg and lspci

sh-2.05a$ dmesg
0000fff80000 - 0000000100000000 (reserved) 128MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000ff780
hm, page 000ff000 reserved twice.
hm, page 00100000 reserved twice.
hm, page 000fa000 reserved twice.
hm, page 000fb000 reserved twice.
Advanced speculative caching feature not present On node 0 totalpages:
262144
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 32768 pages.
ACPI: Searched entire block, no RSDP was found. ACPI: Searched entire
block, no RSDP was found. ACPI: System description tables not found Intel
MultiProcessor Specification v1.1
    Virtual Wire compatibility mode.
OEM ID: TYAN     Product ID: S2720        APIC at: 0xFEE00000 Processor #0
Unknown CPU [15:2] APIC version 20 Processor #1 Unknown CPU [15:2] APIC
version 20 Processor #6 Unknown CPU [15:2] APIC version 20 Processor #7
Unknown CPU [15:2] APIC version 20 I/O APIC #8 Version 32 at 0xFEC00000.
I/O APIC #9 Version 32 at 0xFEC80000. I/O APIC #10 Version 32 at
0xFEC80400. Processors: 4
Kernel command line: auto BOOT_IMAGE=linux ro root=306 ramdisk=100000
BOOT_FILE=/boot/vmlinuz-2.4.19 Initializing CPU#0
Detected 1799.855 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 3591.37 BogoMIPS Memory: 1033424k/1048576k
available (1198k kernel code, 14764k reserved, 476k data, 136k init,
131072k highmem) Dentry cache hash table entries: 131072 (order: 8,
1048576 bytes) Inode cache hash table entries: 65536 (order: 7, 524288
bytes) Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes) Page-cache
hash table entries: 262144 (order: 8, 1048576 bytes) CPU: Before vendor
init, caps: 3febfbff 00000000 00000000, vendor = 0 CPU: L1 I cache: 12K,
L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
CPU: After vendor init, caps: 3febfbff 00000000 00000000 00000000 Intel
machine check architecture supported. Intel machine check reporting
enabled on CPU#0. CPU:     After generic, caps: 3febfbff 00000000 00000000
00000000 CPU:             Common caps: 3febfbff 00000000 00000000 00000000
Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU
exception support... done. Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgo...@atnf.csiro.au) mtrr: detected
mtrr type: Intel
CPU: Before vendor init, caps: 3febfbff 00000000 00000000, vendor = 0 CPU:
L1 I cache: 12K, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
CPU: After vendor init, caps: 3febfbff 00000000 00000000 00000000 Intel
machine check reporting enabled on CPU#0. CPU:     After generic, caps:
3febfbff 00000000 00000000 00000000 CPU:             Common caps: 3febfbff
00000000 00000000 00000000 CPU0: Intel(R) XEON(TM) CPU 1.80GHz stepping 04
per-CPU timeslice cutoff: 1462.99 usecs. enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000 ESR value after enabling
vector: 00000000 Booting processor 1/1 eip 2000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000 ESR value after enabling
vector: 00000000 Calibrating delay loop... 3591.37 BogoMIPS CPU: Before
vendor init, caps: 3febfbff 00000000 00000000, vendor = 0 CPU: L1 I cache:
12K, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
CPU: After vendor init, caps: 3febfbff 00000000 00000000 00000000 Intel
machine check reporting enabled on CPU#1. CPU:     After generic, caps:
3febfbff 00000000 00000000 00000000 CPU:             Common caps: 3febfbff
00000000 00000000 00000000 CPU1: Intel(R) XEON(TM) CPU 1.80GHz stepping 04
Booting processor 2/6 eip 2000
Initializing CPU#2
masked ExtINT on CPU#2
ESR value before enabling vector: 00000000 ESR value after enabling
vector: 00000000 Calibrating delay loop... 3591.37 BogoMIPS CPU: Before
vendor init, caps: 3febfbff 00000000 00000000, vendor = 0 CPU: L1 I cache:
12K, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 3
CPU: After vendor init, caps: 3febfbff 00000000 00000000 00000000 Intel
machine check reporting enabled on CPU#2. CPU:     After generic, caps:
3febfbff 00000000 00000000 00000000 CPU:             Common caps: 3febfbff
00000000 00000000 00000000 CPU2: Intel(R) XEON(TM) CPU 1.80GHz stepping 04
Booting processor 3/7 eip 2000
Initializing CPU#3
masked ExtINT on CPU#3
ESR value before enabling vector: 00000000 ESR value after enabling
vector: 00000000 Calibrating delay loop... 3591.37 BogoMIPS CPU: Before
vendor init, caps: 3febfbff 00000000 00000000, vendor = 0 CPU: L1 I cache:
12K, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 3
CPU: After vendor init, caps: 3febfbff 00000000 00000000 00000000 Intel
machine check reporting enabled on CPU#3. CPU:     After generic, caps:
3febfbff 00000000 00000000 00000000 CPU:             Common caps: 3febfbff
00000000 00000000 00000000 CPU3: Intel(R) XEON(TM) CPU 1.80GHz stepping 04
Total of 4 processors activated (14365.49 BogoMIPS). cpu_sibling_map[0] =
1
cpu_sibling_map[1] = 0
cpu_sibling_map[2] = 3
cpu_sibling_map[3] = 2
ENABLING IO-APIC IRQs
Setting 8 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 8 ... ok. Setting 9 in the
phys_id_present_map
...changing IO-APIC physical APIC ID to 9 ... ok. Setting 10 in the
phys_id_present_map ...changing IO-APIC physical APIC ID to 10 ... ok.
init IO_APIC IRQs
 IO-APIC (apicid-pin) 8-0, 8-9, 8-11, 8-19, 8-20, 8-21, 8-22, 8-23, 9-0,
 9-1, 9-2, 9-3, 9-4, 9-5, 9-6, 9-7, 9-8, 9-9, 9-10, 9-11, 9-12, 9-13,
 9-14, 9-15, 9-16, 9-17, 9-18, 9-19, 9-20, 9-21, 9-22, 9-23, 10-1, 10-2,
 10-3, 10-4, 10-5, 10-6, 10-7, 10-8, 10-9, 10-10, 10-11, 10-12, 10-13,
 10-14, 10-15, 10-16, 10-17, 10-18, 10-19, 10-20, 10-21, 10-22, 10-23 not
 connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 20.
number of IO-APIC #8 registers: 24.
number of IO-APIC #9 registers: 24.
number of IO-APIC #10 registers: 24.
testing the IO APIC.......................

IO APIC #8......
.... register #00: 08000000
.......    : physical APIC id: 08
.... register #01: 00178020
.......     : max redirection entries: 0017 .......     : PRQ implemented:
1
.......     : IO APIC version: 0020
.... register #02: 00000000
.......     : arbitration: 00
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 000 00  1    0    0
  0   0    0    0    00 01 00F 0F  0    0    0   0   0    1    1    39 02
 00F 0F  0    0    0   0   0    1    1    31 03 00F 0F  0    0    0   0  
 0    1    1    41 04 00F 0F  0    0    0   0   0    1    1    49 05 00F
 0F  0    0    0   0   0    1    1    51 06 00F 0F  0    0    0   0   0  
 1    1    59 07 00F 0F  0    0    0   0   0    1    1    61 08 00F 0F  0
   0    0   0   0    1    1    69 09 000 00  1    0    0   0   0    0    0
    00 0a 00F 0F  0    0    0   0   0    1    1    71 0b 000 00  1    0  
 0   0   0    0    0    00 0c 00F 0F  0    0    0   0   0    1    1    79
 0d 00F 0F  0    0    0   0   0    1    1    81 0e 00F 0F  0    0    0   0
   0    1    1    89 0f 00F 0F  0    0    0   0   0    1    1    91 10 00F
 0F  1    1    0   1   0    1    1    99 11 00F 0F  1    1    0   1   0  
 1    1    A1 12 00F 0F  1    1    0   1   0    1    1    A9 13 000 00  1
   0    0   0   0    0    0    00 14 000 00  1    0    0   0   0    0    0
    00 15 000 00  1    0    0   0   0    0    0    00 16 000 00  1    0  
 0   0   0    0    0    00 17 000 00  1    0    0   0   0    0    0    00

IO APIC #9......
.... register #00: 09000000
.......    : physical APIC id: 09
.... register #01: 00178020
.......     : max redirection entries: 0017 .......     : PRQ implemented:
1
.......     : IO APIC version: 0020
.... register #02: 09000000
.......     : arbitration: 09
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 000 00  1    0    0
  0   0    0    0    00 01 000 00  1    0    0   0   0    0    0    00 02
 000 00  1    0    0   0   0    0    0    00 03 000 00  1    0    0   0  
 0    0    0    00 04 000 00  1    0    0   0   0    0    0    00 05 000
 00  1    0    0   0   0    0    0    00 06 000 00  1    0    0   0   0  
 0    0    00 07 000 00  1    0    0   0   0    0    0    00 08 000 00  1
   0    0   0   0    0    0    00 09 000 00  1    0    0   0   0    0    0
    00 0a 000 00  1    0    0   0   0    0    0    00 0b 000 00  1    0  
 0   0   0    0    0    00 0c 000 00  1    0    0   0   0    0    0    00
 0d 000 00  1    0    0   0   0    0    0    00 0e 000 00  1    0    0   0
   0    0    0    00 0f 000 00  1    0    0   0   0    0    0    00 10 000
 00  1    0    0   0   0    0    0    00 11 000 00  1    0    0   0   0  
 0    0    00 12 000 00  1    0    0   0   0    0    0    00 13 000 00  1
   0    0   0   0    0    0    00 14 000 00  1    0    0   0   0    0    0
    00 15 000 00  1    0    0   0   0    0    0    00 16 000 00  1    0  
 0   0   0    0    0    00 17 000 00  1    0    0   0   0    0    0    00

IO APIC #10......
.... register #00: 0A000000
.......    : physical APIC id: 0A
.... register #01: 00178020
.......     : max redirection entries: 0017 .......     : PRQ implemented:
1
.......     : IO APIC version: 0020
.... register #02: 0A000000
.......     : arbitration: 0A
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 00F 0F  1    1    0
  1   0    1    1    B1 01 000 00  1    0    0   0   0    0    0    00 02
 000 00  1    0    0   0   0    0    0    00 03 000 00  1    0    0   0  
 0    0    0    00 04 000 00  1    0    0   0   0    0    0    00 05 000
 00  1    0    0   0   0    0    0    00 06 000 00  1    0    0   0   0  
 0    0    00 07 000 00  1    0    0   0   0    0    0    00 08 000 00  1
   0    0   0   0    0    0    00 09 000 00  1    0    0   0   0    0    0
    00 0a 000 00  1    0    0   0   0    0    0    00 0b 000 00  1    0  
 0   0   0    0    0    00 0c 000 00  1    0    0   0   0    0    0    00
 0d 000 00  1    0  
...

read more »

 
 
 

1. Enabling DMA on an Intel 856PE chipset.

Hi all,

I've searched and searched on how to get DMA working on my harddrive,
but it's still not working :)

I'm running a Gigabyte 8IPE1000 mobo, which is based on an Intel 865PE
chipset. The controller is an ICH5.

I've got a SATA Seagate 160GB 7200.7 which runs beatifully (50MB/sec),
but the PATA Seagate 80GB Barracuda V (/dev/hdd) runs like dog's
bollocks (2MB/sec).

beast:/home/scottr# hdparm /dev/hdd

/dev/hdd:
  multcount    = 16 (on)
  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 = 156299375, start = 0
beast:/home/scottr# hdparm -i /dev/hdd

/dev/hdd:

  Model=ST380011A, FwRev=3.04, SerialNo=3JV02WWK
  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
  BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16
  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156299375
  IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
  PIO modes:  pio0 pio1 pio2 pio3 pio4
  DMA modes:  mdma0 mdma1 mdma2
  UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
  AdvancedPM=no WriteCache=enabled
  Drive conforms to: ATA/ATAPI-6 T13 1410D revision 2:

  * signifies the current active mode

beast:/home/scottr#

Problem is, when I try to enable DMA I get:

beast:/home/scottr# hdparm -d1 /dev/hdd

/dev/hdd:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  using_dma    =  0 (off)
beast:/home/scottr#

I've compiled my own 2.6.6 kernel after downloading the source deb from
the Debian archive.

I've selected the follwing options, which I read that I needed from many
many sources:
CONFIG_IDE_GENERIC = y
CONFIG_BLK_DEV_IDEPCI = y
CONFIG_BLK_DEV_GENERIC = y
CONFIG_BLK_DEV_IDEDMA_PCI = y
CONFIG_IDEDMA_PCI_AUTO = y
CONFIG_BLK_DEV_PIIX = y
and also for the SATA support:
CONFIG_SCSI_ATA_PIIX = y

I'm pretty sure this is all I need - am I missing something? I'm running
an up to date Debian Sarge. Or is this an issue I should be taking
somewhere else?

Any help is appreciated... I'm what you'd call an advanced Windows user
who's trying desperately to migrate, but this is slowing things down a
bit :)

Cheers,

Scott Raynel.

2. Next step: compiling upgrade kernel

3. SuperMicro P4DP6 mobo and Intel 7500 chipset

4. pppd vpn connection

5. How to enable DMA on HX-chipsets???

6. SMTP works, but not POP3. What have I missed ?

7. Can not enable DMA --- Intel 82801 CAM Ultra ATA Storage controller-248A

8. Help w/ simple GLADE callback file

9. Getting HP cd-writer 7500 to work

10. Is Ultra DMA EIDE (Fast ATA-2) on Intel 430TX chipset supported?

11. Getting XFree86 to work with AIW 7500

12. Intel 915 chipset, DRI and IDE DMA questions

13. GART driver support for generic AGP 3.0 device detection/ enabling & Intel 7205/7505 chipset support