* DMA timeouts & errors when using Sandisk CF for root.
@ 2005-06-03 23:49 Ben Greear
0 siblings, 0 replies; 2+ messages in thread
From: Ben Greear @ 2005-06-03 23:49 UTC (permalink / raw)
To: linux-kernel
I have a small VIA based system with a 512MB CF disk for
the 'hard drive'. It seems to work OK, but I am getting some
DMA timeouts and errors upon boot.
kernel is 2.6.11. I saw the same problem with FC2's 2.6.5 default kernel.
From dmesg:
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
hda: SanDisk SDCFB-512, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 128KiB
hda: 1000944 sectors (512 MB) w/1KiB Cache, CHS=993/16/63, DMA
hda: cache flushes not supported
hda:<4>hda: dma_timer_expiry: dma status == 0x21
hda: DMA timeout error
hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hda1
ide-floppy driver 0.99.newide
...........
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
hda: dma_timer_expiry: dma status == 0x21
hda: DMA timeout error
hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hda: drive not ready for command
hda: dma_timer_expiry: dma status == 0x21
hda: DMA timeout error
hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hda: drive not ready for command
hda: dma_timer_expiry: dma status == 0x21
hda: DMA timeout error
hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hda: drive not ready for command
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
Freeing unused kernel memory: 208k freed
USB Universal Host Controller Interface driver v2.2
lspci:
00:00.0 Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 05)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1a)
00:07.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1a)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev 6a)
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <4bufp-3G0-15@gated-at.bofh.it>]
* Re: DMA timeouts & errors when using Sandisk CF for root.
[not found] <4bufp-3G0-15@gated-at.bofh.it>
@ 2005-06-04 3:47 ` Robert Hancock
0 siblings, 0 replies; 2+ messages in thread
From: Robert Hancock @ 2005-06-04 3:47 UTC (permalink / raw)
To: linux-kernel
Ben Greear wrote:
> I have a small VIA based system with a 512MB CF disk for
> the 'hard drive'. It seems to work OK, but I am getting some
> DMA timeouts and errors upon boot.
>
> kernel is 2.6.11. I saw the same problem with FC2's 2.6.5 default kernel.
>
> From dmesg:
>
> hda: max request size: 128KiB
> hda: 1000944 sectors (512 MB) w/1KiB Cache, CHS=993/16/63, DMA
> hda: cache flushes not supported
> hda:<4>hda: dma_timer_expiry: dma status == 0x21
> hda: DMA timeout error
> hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }
What kind of CF-IDE adapter are you using? This looks like a CF card
which supports DMA in an adapter which doesn't hook up the DMA lines
properly, therefore the DMA times out when the kernel tries to use it.
You can use a "nodma" option on the kernel command line to disable DMA,
I think..
I've seen some newer adapters that have jumper settings for "DMA" or
"non-DMA" on them..
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-04 3:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-03 23:49 DMA timeouts & errors when using Sandisk CF for root Ben Greear
[not found] <4bufp-3G0-15@gated-at.bofh.it>
2005-06-04 3:47 ` Robert Hancock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox