Re: IDE URL to add (was Re: DMA questions)

John Kodis (kodis@jagunet.com)
Sun, 6 Sep 1998 09:34:46 -0400


On Sat, Sep 05, 1998 at 09:56:52PM -0500, Andre M. Hedrick wrote:

> Given that I am pushing for bad drive checking also. I also now suggest
> we consider a (device, drive) check. I have a special case with
> VIA Apollo chipsets with only one Fujitsu drive size and firmware
> revision error. This same drive works fine in UDMA on other chipsets.

I've got another problematic combination: a Maxtor drive with a VP2
chipset. The only way I've been able to get any recent vintage 2.1
series kernel to operate reliably is to disable DMA, either using the
``default DMA'' kernel option, or by running ``hdparm -d0 /dev/hda''
shortly after boot. With DMA enabled, the machine will freeze solid
without a trace at the first occurence of significant disk activity.
With DMA disabled, the same system runs fine for weeks on end.

I've also been unable to get the frame buffer console code working,
resulting in a serious case of penguin envy. I suspect that this just
means that my S3V card isn't up to the task, but if anyone has gotten
this card to work, I'd appreciate some help getting this set up.

System details are as follows:

$ uname -a
Linux kodis.jagunet.com 2.1.120 #9 Sat Sep 5 19:14:56 EDT 1998 i586 unknown

$ cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: VIA Technologies VT 82C595 Apollo VP2/97 (rev 4).
Medium devsel. Fast back-to-back capable. Master Capable.
Latency=32.
Bus 0, device 7, function 0:
ISA bridge: VIA Technologies VT 82C586 Apollo ISA (rev 37).
Medium devsel. Master Capable. No bursts.
Bus 0, device 7, function 1:
IDE interface: VIA Technologies VT 82C586 Apollo IDE (rev 6).
Medium devsel. Fast back-to-back capable. Master Capable.
Latency=32.
I/O at 0xffa0 [0xffa1].
Bus 0, device 9, function 0:
Ethernet controller: Realtek 8029 (rev 0).
Medium devsel. IRQ a.
I/O at 0xdf80 [0xdf81].
Bus 0, device 11, function 0:
VGA compatible controller: S3 Inc. ViRGE (rev 6).
Medium devsel. IRQ b. Master Capable. Latency=64. Min
Gnt=4.Max Lat=255.
Non-prefetchable 32 bit memory at 0xf8000000 [0xf8000000].

# hdparm -i /dev/hda

/dev/hda:

Model=Maxtor 85400D5, FwRev=NAVX171F, SerialNo=L5030NWA
Config={ Fixed }
RawCHS=11162/15/63, TrkSize=0, SectSize=0, ECCbytes=20
BuffType=3(DualPortCache), BuffSize=256kB, MaxMultSect=16,
MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=11162/15/63, CurSects=10548090, LBA=yes, LBAsects=10548980
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4

-- John Kodis.

-
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/faq.html