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
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
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
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