Re: IDE problem: linux-2.5.17

Vojtech Pavlik
2002-05-23T22:37:44Z

On Thu, May 23, 2002 at 09:48:35PM +0400, Gryaznova E. wrote:

> I have 40 wires cable. When ide=nodma is passed to 2.5.17 kernel - kernel boots.

Can you supply the contents of /proc/ide/amd74xx? That'd tell us whether
the cable type is detected correctly, etc.

> Am I correct that it is not possible to have DMA on with such cable?

It is possible, though only up to UDMA33.

> Is there any reason for doing that?
>
> Note that bus speed is 33 MHz when kernel fails to boot. I mean - how do I specify slower bus speed: 22 MHz?

The bus speed IS 33 MHz and it cannot be changed (unless you
overclock(ed) the processor. If you specify a faster speed (eg. 40 MHz),
the IDE controller will be set up for slower operation to compensate,
while the true speed will stay the same.

>
> Thanks.
> Lena.
>
> Martin Dalecki wrote:
>
> > Uz.ytkownik Gryaznova E. napisa?:
> > > Hello.
> > >
> > > Kernel starting from 2.5.8 can not boot my Suse 6.4. Booting on those
> > > kernels (tested 2.5.8, 2.5.9 and 2.5.17) I am always getting
> > >
> > > { dma_intr }
> > > hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
> > > hda: recalibrating!
> > >
> > > and system either hangs or falls into endless loop.
> > >
> > > Kernel 2.5.7 boots and works just fine.
> > > The boot log containing information about hardware is attached.
> > >
> > > Badblock does not see any bad blocks.
> > >
> > > Thanks for any clue on the problem.
> > > Lena.
> >
>
> [skipped]
>
> > >
> > > ------------------------------------------------------------------------
> > You just have cabling problems which where previously hidden by
> > the driver resorting to slower operation modes.
> >
> > So please first have a look at the cabling inside your system.
> > (First of all plase make sure of course that you are using
> > a 80 wirde cable.) Or have a look in to the host chip driver
> > and penalize the transfer mode supported to lower speeds.
> > You can achieve basically a similar effect by setting
> > the busspeed kernel parameter to some artificially high value
> > as well.
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
Vojtech Pavlik
SuSE Labs