Re: UDMA?

Andre M. Hedrick (hedrick@astro.dyer.vanderbilt.edu)
Sun, 15 Nov 1998 15:29:44 -0600 (CST)


On Sun, 15 Nov 1998, Densin Roy. wrote:

>
> I just have new HD Seagate Medalist 3221 (UDMA IDE) install and
> try to install linux. Everything work fine but have little error
> message when boot time. Is it serious problem about UDMA?

If I recall from memory.......this drive will not handle a setting of zero
for the multmode parameter.......zero and 1 are for all purposes equal.
multmode==0 and multmode==1 are single write commands.......

I am considering code changes to dissallow multmode settings overlaid
on DMA transfers. The original idea is that if DMA fails that with
multmode set to max_multmode, then transfer rates will suffer less.

Poke into ide-disk.c near the low 3/4 of the file.

} else {
printk(", DMA");
}
}
printk("\n");
drive->mult_count = 0;
if (id->max_multsect) {
id->multsect = ((id->max_multsect/2) > 1) ? id->max_multsect : 0

The line below may be offending your drive......do a simple force change
to both 0 and 1 instead of = drive->mult_req ? 1 : 0;

drive->special.b.set_multmode = drive->mult_req ? 1 : 0;
}
drive->no_io_32bit = id->dword_io ? 1 : 0;

Recompile each way and see what happens.........or skip the process and
don't worry about the error..........

> Partition check:
> hda:hda: set_multmode: status=0x51 { DriveReady SeekComplete Error }
> hda: set_multmode: error=0x04 { DriveStatusError }
> hda1 hda2 hda3
>
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

Cheers,
Andre Hedrick
The IDE-FNG for Linux
The APC UPS Specialist for Linux

http://www.dyer.vanderbilt.edu/server/udma/
http://www.dyer.vanderbilt.edu/server/apcupsd/apcupsd-3.5.0.bin.tar.gz

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/