Hello all,
Having some trouble setting up my new CMD649 based UDMA 100 ATA
controller under Linux. Every time DMA is enabled a kernel error message
like this is displayed:
hde: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hde: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
hde: DMA disabled
I've altered the hardware configuration/cables etc and tried a few
patch levels with the latest being TEST9-PRE9. Same type of errors with
all configurations. The help screen for CMD64X in the kernel configurator
doesn't even include CMD649 (only CMD648 for example) so maybe this thing is
too new for Linux support? Anyway, I'd be happy to test any and all
patches sent my way......
=======================[Boot Messages]============================
Linux version 2.4.0-test9 (root@mach110) (gcc version egcs-2.91.66
19990314/Linux
(egcs-1.1.2 release)) #1 Mon Oct 2 20:54:20 EDT 2000
BIOS-provided physical RAM map:
BIOS-e820: 000000000009fc00 @ 0000000000000000 (usable)
BIOS-e820: 0000000000000400 @ 000000000009fc00 (reserved)
BIOS-e820: 0000000000010000 @ 00000000000f0000 (reserved)
BIOS-e820: 0000000000010000 @ 00000000ffff0000 (reserved)
BIOS-e820: 0000000009f00000 @ 0000000000100000 (usable)
On node 0 totalpages: 40960
zone(0): 4096 pages.
zone(1): 36864 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=test9c ro root=306
BOOT_FILE=/boot/vmlinuz-2
.4-test9c
Initializing CPU#0
Detected 200.456 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 399.77 BogoMIPS
Memory: 159248k/163840k available (1028k kernel code, 4204k reserved, 68k
data, 1 76k init, 0k highmem)
Dentry-cache hash table entries: 32768 (order: 6, 262144 bytes)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
CPU: Intel Pentium MMX stepping 03
Checking 'hlt' instruction... OK.
Intel Pentium with F0 0F bug - workaround enabled.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfb300, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router PIIX [8086/7000] at 00:01.0
Limiting direct PCI/PCI transfers.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
Starting kswapd v1.8
pty: 256 Unix98 ptys configured
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 09
PIIX4: chipset revision 1
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
CMD649: IDE controller on PCI bus 00 dev 60
CMD649: chipset revision 1
CMD649: not 100% native mode: will probe irqs later
ide1: BM-DMA at 0x7800-0x7807, BIOS settings: hdc:pio, hdd:pio
ide2: BM-DMA at 0x7808-0x780f, BIOS settings: hde:pio, hdf:pio
hda: JTS Corp. CHAMP Model C1300-2AF, ATA DISK drive
hdb: , ATAPI CDROM drive
hde: Maxtor 54098H8, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide2 at 0x7000-0x7007,0x7402 on irq 11
hda: 2546208 sectors (1304 MB) w/128KiB Cache, CHS=1263/32/63, DMA
hde: 80041248 sectors (40981 MB) w/2048KiB Cache, CHS=79406/16/63, UDMA(100)
hdb: ATAPI 23X CD-ROM drive, 120kB Cache, DMA
Uniform CD-ROM driver Revision: 3.11
Partition check:
hda: hda1 hda2 < hda5 hda6 >
hde:hde: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hde: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
hde: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hde: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
hde: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hde: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
spurious 8259A interrupt: IRQ7.
hde: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hde: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
hde: DMA disabled
ide2: reset: success
unknown partition table
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Serial driver version 5.02 (2000-08-09) with MANY_PORTS SHARE_IRQ SERIAL_PCI
enab
led
3c59x.c:LK1.1.9 2 Sep 2000 Donald Becker and others. http://www.scyld.com/netwo
rk/vortex.html $Revision: 1.102.2.38 $
See Documentation/networking/vortex.txt
eth0: 3Com PCI 3c905B Cyclone 100baseTx at 0x6400, 00:50:04:81:65:22, IRQ 10
8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
MII transceiver found at address 24, status 786d.
MII transceiver found at address 0, status 786d.
Enabling bus-master transmits and whole-frame receives.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 176k freed
Adding Swap: 172328k swap-space (priority -1)
eth0: using NWAY autonegotiation
eth0: using NWAY autonegotiation
=========================[/proc/ide/cmd64x]=========================
CMD649 Chipset.
--------------- Primary Channel ---------------- Secondary Channel
-------------
enabled enabled
--------------- drive0 --------- drive1 -------- drive0 ---------- drive1
------
DMA enabled: no no yes no
DMA Mode: PIO(?) PIO(?) UDMA(5) PIO(?)
PIO Mode: ? ? ? ?
polling interrupting
clear pending
enabled enabled
CFR = 0x40, HI = 0x04, LOW = 0x00
ARTTIM23 = 0x5c, HI = 0x05, LOW = 0x0c
MRDMODE = 0x08, HI = 0x00, LOW = 0x08
========================[Interrupts]=============================
CPU0
0: 35917 XT-PIC timer
1: 744 XT-PIC keyboard
2: 0 XT-PIC cascade
10: 46 XT-PIC eth0
11: 22 XT-PIC ide2
13: 0 XT-PIC fpu
14: 1686 XT-PIC ide0
NMI: 0
ERR: 1
====================[drive settings]================================
name value min max mode
---- ----- --- --- ----
bios_cyl 79406 0 65535 rw
bios_head 16 0 255 rw
bios_sect 63 0 63 rw
breada_readahead 4 0 127 rw
bswap 0 0 1 r
current_speed 69 0 69 rw
file_readahead 0 0 2097151 rw
ide_scsi 0 0 1 rw
init_speed 69 0 69 rw
io_32bit 0 0 3 rw
keepsettings 0 0 1 rw
lun 0 0 7 rw
max_kb_per_request 127 1 127 rw
multcount 8 0 8 rw
nice1 1 0 1 rw
nowerr 0 0 1 rw
number 2 0 3 rw
pio_mode write-only 0 255 w
slow 0 0 1 rw
unmaskirq 0 0 1 rw
using_dma 0 0 1 rw
=====================[Drivers?]================================
ide-cdrom version 4.58
ide-disk version 1.10
===========================[PCI]===============================
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corporation 430TX - 82439TX MTXC (rev 1).
Master Capable. Latency=32.
Bus 0, device 1, function 0:
ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 1).
Bus 0, device 1, function 1:
IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 1).
Master Capable. Latency=32.
I/O at 0xf000 [0xf00f].
Bus 0, device 1, function 2:
USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 1).
Master Capable. Latency=32.
I/O at 0x6000 [0x601f].
Bus 0, device 1, function 3:
Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 1).
Bus 0, device 10, function 0:
VGA compatible controller: S3 Inc. 86c764/765 [Trio32/64/64V+] (rev 84).
IRQ 9.
Non-prefetchable 32 bit memory at 0xe0000000 [0xe3ffffff].
Bus 0, device 11, function 0:
Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev48).
IRQ 10.
Master Capable. Latency=32. Min Gnt=10.Max Lat=10.
I/O at 0x6400 [0x647f].
Non-prefetchable 32 bit memory at 0xe4000000 [0xe400007f].
Bus 0, device 12, function 0:
RAID bus controller: CMD Technology Inc PCI0649 (rev 1).
IRQ 11.
Master Capable. Latency=64. Min Gnt=2.Max Lat=4.
I/O at 0x6800 [0x6807].
I/O at 0x6c00 [0x6c03].
I/O at 0x7000 [0x7007].
I/O at 0x7400 [0x7403].
I/O at 0x7800 [0x780f].
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:11 EST