Re: [PATCH] IDE TCQ #4

Sebastian Droege
2002-04-17T11:29:20Z

[-- Attachment #1: Type: text/plain, Size: 1585 bytes --]

On Wed, 17 Apr 2002 09:48:33 +0200
Martin Dalecki <dalecki@evision-ventures.com> wrote:

> Sebastian Droege wrote:
> > On Tue, 16 Apr 2002 20:09:14 +0200
> > Jens Axboe <axboe@suse.de> wrote:
> >
> >
> >>On Tue, Apr 16 2002, Sebastian Droege wrote:
> >>
> >>>Hi,
> >>>just one short question:
> >>>My hda supports TCQ but my hdb doesn't
> >>>Is it safe to enable TCQ in kernel config?
> >>
> >>yes, should be safe.
> >>
> >>--
> >>Jens Axboe
> >>
> >
> > Ok it really works ;)
> > But there's another problem in 2.5.8 with ide patches until 37 applied (they don't appear with 2.5.8 and ide patches until 35), the unexpected interrupts (look at the relevant dmesg output at the bottom). They appear with and without TCQ enabled.
> > If you need more informations, just ask :)
>
> They are not a problem. They are just diagnostics for us and will
> go away at some point in time.
Ok but there are actually 2 real problems then...
1.
TCQ on hda is enabled with queue depth 32 and CONFIG_BLK_DEV_IDE_TCQ_FULL enabled
When I do many transfers on the hard disk I get a "ide_dma_queued_start: abort (stat=d0)" after some time and the IDE system doesn't respond anymore :(
2.
when I cat /proc/ide/ide1/hdc/identify I get 2 unexpected interrupts
hdc and hdd are both cdrom drives (accessed via scsi-emulation if relevant) but the problem shows up only with hdc

and maybe a third problem ;)
in /proc/ide/ide0/hda/tcq there is written:
DMA status: not running
but DMA is explicitly enabled by hdparm and shows up in /proc/ide/ide0/hda/settings

I'll do some more testings later the day

Bye

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]