Re: How to add a drive to DMA black list?

From: Anton Altaparmakov (aia21@cam.ac.uk)
Date: Fri Nov 17 2000 - 06:03:56 EST


At 10:52 17/11/2000, Alan Cox wrote:
> > I tried adding the string that is output for the bad drive by hdparm -i
> > into drivers/ide/ide-dma.c::drive_blacklist and
> > drivers/ide/ide-dma.c::bad_dma_drives but the kernel still says that it is
> > using DMA and the kernel hangs after displaying:
>
>The black list is for drives with problems, not for controller bugs.
>Controller bugs in the Linux code just have to be fixed.

That is obvious. I may be of course wrong, but I would consider this a
drive problem, considering that another ide drive on the same controller
works fine with DMA enabled (a QUANTUM TRB850A) while the Conner
Peripherals 1275MB - CFS1275A fails with DMA enabled. They are in fact both
attached simultaneously to the PIIX controller (on different IDE channels,
both being masters) and one works and the other doesn't... - I should
probably have stated that when posting but I didn't consider it important
at the time (and copying by hand from one screen to another doesn't
encourage copying everything but the essentials...). - Am I missing something?

Regards,

Anton

-- 
      "Education is what remains after one has forgotten everything he 
learned in school." - Albert Einstein
-- 
Anton Altaparmakov  Voice: +44-(0)1223-333541(lab) / +44-(0)7712-632205(mobile)
Christ's College    eMail: AntonA@bigfoot.com / aia21@cam.ac.uk
Cambridge CB2 3BU    ICQ: 8561279
United Kingdom       WWW: http://www-stu.christs.cam.ac.uk/~aia21/

- 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 : Thu Nov 23 2000 - 21:00:12 EST