LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* dma error on boot with cf card
@ 2008-02-05 17:52 Marc Donner
2008-02-05 18:56 ` Lennart Sorensen
0 siblings, 1 reply; 4+ messages in thread
From: Marc Donner @ 2008-02-05 17:52 UTC (permalink / raw)
To: Linux Kernel Mailing List
hi,
i have a problem using a cf card with an ide adapter.
using debian kernel 2.6.18-5
on boot:
Feb 5 17:38:06 kernel: hdd: max request size: 128KiB
Feb 5 17:38:06 kernel: hdd: 2000880 sectors (1024 MB) w/2KiB Cache,
CHS=1985/16/63, UDMA(33)
Feb 5 17:38:06 kernel: hdd:<4>hdd: dma_timer_expiry: dma status == 0x41
Feb 5 17:38:06 kernel: hdd: DMA timeout error
Feb 5 17:38:06 kernel: hdd: dma timeout error: status=0x58 { DriveReady
SeekComplete DataRequest }
Feb 5 17:38:06 kernel: ide: failed opcode was: unknown
Feb 5 17:38:06 kernel: hdd: irq timeout: status=0xd0 { Busy }
Feb 5 17:38:06 kernel: ide: failed opcode was: unknown
Feb 5 17:38:06 kernel: ide1: reset timed-out, status=0xff
Feb 5 17:38:06 kernel: hdd: status timeout: status=0xff { Busy }
Feb 5 17:38:06 kernel: ide: failed opcode was: unknown
Feb 5 17:38:06 kernel: hdd: drive not ready for command
Feb 5 17:38:06 kernel: ide1: reset timed-out, status=0xff
Feb 5 17:38:06 kernel: end_request: I/O error, dev hdd, sector 0
Feb 5 17:38:06 kernel: Buffer I/O error on device hdd, logical block 0
Feb 5 17:38:06 kernel: end_request: I/O error, dev hdd, sector 0
Feb 5 17:38:06 kernel: Buffer I/O error on device hdd, logical block 0
Feb 5 17:38:06 kernel: unable to read partition table
Feb 5 17:38:06 kernel: end_request: I/O error, dev hdd, sector 2000640
Feb 5 17:38:06 kernel: Buffer I/O error on device hdd, logical block 250080
Feb 5 17:38:06 kernel: end_request: I/O error, dev hdd, sector 2000640
any ideas?
regards
Marc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dma error on boot with cf card
2008-02-05 17:52 dma error on boot with cf card Marc Donner
@ 2008-02-05 18:56 ` Lennart Sorensen
2008-02-06 8:54 ` Marc Donner
0 siblings, 1 reply; 4+ messages in thread
From: Lennart Sorensen @ 2008-02-05 18:56 UTC (permalink / raw)
To: Marc Donner; +Cc: Linux Kernel Mailing List
On Tue, Feb 05, 2008 at 06:52:29PM +0100, Marc Donner wrote:
> hi,
>
> i have a problem using a cf card with an ide adapter.
> using debian kernel 2.6.18-5
>
> on boot:
> Feb 5 17:38:06 kernel: hdd: max request size: 128KiB
> Feb 5 17:38:06 kernel: hdd: 2000880 sectors (1024 MB) w/2KiB Cache,
> CHS=1985/16/63, UDMA(33)
> Feb 5 17:38:06 kernel: hdd:<4>hdd: dma_timer_expiry: dma status == 0x41
> Feb 5 17:38:06 kernel: hdd: DMA timeout error
> Feb 5 17:38:06 kernel: hdd: dma timeout error: status=0x58 { DriveReady
> SeekComplete DataRequest }
> Feb 5 17:38:06 kernel: ide: failed opcode was: unknown
> Feb 5 17:38:06 kernel: hdd: irq timeout: status=0xd0 { Busy }
> Feb 5 17:38:06 kernel: ide: failed opcode was: unknown
> Feb 5 17:38:06 kernel: ide1: reset timed-out, status=0xff
> Feb 5 17:38:06 kernel: hdd: status timeout: status=0xff { Busy }
> Feb 5 17:38:06 kernel: ide: failed opcode was: unknown
> Feb 5 17:38:06 kernel: hdd: drive not ready for command
> Feb 5 17:38:06 kernel: ide1: reset timed-out, status=0xff
> Feb 5 17:38:06 kernel: end_request: I/O error, dev hdd, sector 0
> Feb 5 17:38:06 kernel: Buffer I/O error on device hdd, logical block 0
> Feb 5 17:38:06 kernel: end_request: I/O error, dev hdd, sector 0
> Feb 5 17:38:06 kernel: Buffer I/O error on device hdd, logical block 0
> Feb 5 17:38:06 kernel: unable to read partition table
> Feb 5 17:38:06 kernel: end_request: I/O error, dev hdd, sector 2000640
> Feb 5 17:38:06 kernel: Buffer I/O error on device hdd, logical block 250080
> Feb 5 17:38:06 kernel: end_request: I/O error, dev hdd, sector 2000640
Adapter doesn't support DMA, but controller and CF cards do. To fix,
tell the system NOT to use dma on that interface.
Most IDE to CF adapters fail to connect the DMA pins correctly since it
was a fairly (3 or 4 years ago) revision to the CF spec to support DMA
at all.
--
Len Sorensen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dma error on boot with cf card
2008-02-05 18:56 ` Lennart Sorensen
@ 2008-02-06 8:54 ` Marc Donner
2008-02-06 15:23 ` Lennart Sorensen
0 siblings, 1 reply; 4+ messages in thread
From: Marc Donner @ 2008-02-06 8:54 UTC (permalink / raw)
To: Lennart Sorensen; +Cc: Linux Kernel Mailing List
On Tuesday 05 February 2008, you wrote:
> On Tue, Feb 05, 2008 at 06:52:29PM +0100, Marc Donner wrote:
> > hi,
> >
> > i have a problem using a cf card with an ide adapter.
> > using debian kernel 2.6.18-5
> >
>
> Adapter doesn't support DMA, but controller and CF cards do. To fix,
> tell the system NOT to use dma on that interface.
and how do i disable dma? it is the installer image, and no hdparm is
availible. and the ide=nodma boot parameter seems not to work.
Marc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dma error on boot with cf card
2008-02-06 8:54 ` Marc Donner
@ 2008-02-06 15:23 ` Lennart Sorensen
0 siblings, 0 replies; 4+ messages in thread
From: Lennart Sorensen @ 2008-02-06 15:23 UTC (permalink / raw)
To: Marc Donner; +Cc: Linux Kernel Mailing List
On Wed, Feb 06, 2008 at 09:54:53AM +0100, Marc Donner wrote:
> and how do i disable dma? it is the installer image, and no hdparm is
> availible. and the ide=nodma boot parameter seems not to work.
ide=nodma works for me on 2.6.18. I think on newer kernels you need
hda=nodma which is nice since you can control it per device rather than
globally.
--
Len Sorensen
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-02-06 15:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-05 17:52 dma error on boot with cf card Marc Donner
2008-02-05 18:56 ` Lennart Sorensen
2008-02-06 8:54 ` Marc Donner
2008-02-06 15:23 ` Lennart Sorensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).