Bug 18335

Summary: FreeBSD 4.0 has a "WRITE command timeout - resetting" problem on VIA chipset
Product: Base System Reporter: lyamog <lyamog>
Component: kernAssignee: Søren Schmidt <sos>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description lyamog 2000-05-02 02:50:01 UTC
FreeBSD 4.0 has a "WRITE command timeout - resetting" problem on VIA 
chipset.  This VIA chipset is Apollo Pro133, the older one with NO AGP4x
support.  More specifically VT82C693A North bridge and VT82C596B South 
bridge.  Kernel does detect upto UDMA 2 or ATA-33 and the chipset.  
Disabling the UDMA makes it ok but I don't want to disable the UDMA.

The motherboard is an ASUS P3V133.  I have the same setup at home using
an ASUS P3B-F with an Intel BX chipset, works fine at UDMA 2.

How-To-Repeat: Turn on UDMA from the BIOS any 0,1,2,3,4 will repeat this problem.
I have done this 3 times.  Installation will only work with UDMA disabled.
Comment 1 jblaine 2000-08-08 15:03:28 UTC
Count me in on this one, only nothing I have tried will fix it and I
am completely hosed right now.

My Celeron 300A running on an Abit BH6 (Intel BX chipset, not VIA)
has the same problem.  I am completely unable to install 4.0-RELEASE
or 4.1-RELEASE and have no working FreeBSD box.

Turning off UDMA does NOT fix the problem in my situation.

Changing the PIO mode to any other setting in the BIOS does NOT
fix the problem in my situation.

My machine is NOT overclocked.

ad0: WRITE command timeout - resetting
ata0: resetting devices .. done
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-08 15:45:34 UTC
Responsible Changed
From-To: freebsd-bugs->sos

Over to the maintainer.
Comment 3 Søren Schmidt freebsd_committer freebsd_triage 2000-11-14 08:23:42 UTC
State Changed
From-To: open->closed

Please try4.2 or later, if the problem persists contact me with the 
boot details HW config etc etc.
Comment 4 tinguely 2000-12-08 15:50:54 UTC
FYI:

The ata driver still gives "WRITE command timeouts" in 4.2-RELEASE.

I updated a machine from 3.5-RELEASE to 4.2-RELEASE and hit this
problem. I tried both
DMA and the default non-DMA in the ata driver, with no change. BTW,
someone else posted
to the FreeBSD newsgroup with a "READ command  timeout" problem on Intel
PIIX4 ATA33
controller.

I compiled the kernel with the wd driver and this machine is now running
okay.

This machine is also a Celeron running on a cheap (for shame on me) FIC
motherboard.
Below is the output with the ata driver:

pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0
on pci0
pci1: <PCI bus> on pcib2
isab0: <VIA 82C596B PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C596 ATA33 controller> port 0xe000-0xe00f at device 7.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ad0: 8063MB <Maxtor 90845D4> [16383/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s1a
ad0: WRITE command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done