Re: ide double init? + Re: BUG: Current 2.5-BK tree dies on boot!

Jens Axboe
2002-09-19T09:40:29Z

On Thu, Sep 19 2002, Anton Altaparmakov wrote:
> At 09:47 19/09/02, Jens Axboe wrote:
> >On Wed, Sep 18 2002, Anton Altaparmakov wrote:
> >> This is without preempt. I tried both with and without SMP, with and
> >without
> >> large TLB pages, with and without pte highmem, all die in the same place.
> >
> >You have highmem, and bouncing does not get correctly enabled on the ide
> >drives. This, in combination with broken bouncing (woops), will probably
> >make it die fairly quickly.
> >
> >I attach two patches, one fixes the bouncing, the other fixes IDE bounce
> >enable.
>
> BK as of this morning already contains the bounce patch, so I only applied
> the IDE bounce enable and it worked fine. - Thanks!

Good

> Note there is something odd wrt IDE initialization. The driver seems to be
> trying to initialize twice and there quite a few messages output which
> don't reflect reality (probably a consequence of the double init). For
> example it says DMA disabled but checking with hdparm and in /proc/ide/via
> DMA is enabled just fine. And it says neither IDE port enabled (BIOS) which
> isn't true either.

Yes you are right, it does seem to try and init twice. Wonder why. I'll
take a look at that.

--
Jens Axboe