Bug 73666

Summary: 5.3 UDMA error WD1600 can't partition drive
Product: Base System Reporter: James <pluto_777>
Component: i386Assignee: freebsd-i386 (Nobody) <i386>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description James 2004-11-08 09:50:33 UTC
      I installed 4.10 with no problems and wanted to reformat and partition the drive to install 5.3. I burned 5.3 to a CD and boot loader reports multiple UDMA warnings and errors on startup. I tried disabling ACPI and still got the same warnings. I know my hard drive works fine under 4.10. Bottom line I can't repartion or write to disk while installing 5.3.

CPU: Duron 750 | Mobo: Abit KT7A | Vid: GeForce 2 | HD: WD1600 | RAM: 384MB

How-To-Repeat:       Install 5.3 on this machine
CPU: Duron 750 | Mobo: Abit KT7A | Vid: GeForce 2 | HD: WD1600 | RAM: 384MB
Comment 1 floris 2005-03-27 14:44:40 UTC
Same problem installing 5.3 on a p120 laptop with a 3GB drive. 
laptop/hardisk supports UDMA2 mode.

After reading the mailing lists from back in sept 2004, the following 
fix can be applied:
At boot, select 6 (loader prompt) and type:

set hw.ata.ata_dma=0
boot

This will disable DMA and completely remove any problems related to it. 
then it will continue to boot normally

After install, upon boot, again disable dma (else it will not be able to 
mount.. it cant access the drive)
To automagically apply this upon every boot, you can alter 
/boot/loader.conf to include the following:

hw.ata.ata_dma=0

Now, I think this is not really a fix, at most a silly temporary patch. 
It completely disables dma (udma modes) and severely impacts system 
performance.

Note that my in the case of my slow Pentium 120, the drive becomes 
completely unaccessable when dma mode is enabled. The complaints are 
timeouts on dma. It does not seem related to network (I dont ave any), 
or ACPI.
Comment 2 Gavin Atkinson freebsd_committer freebsd_triage 2007-06-28 17:29:33 UTC
State Changed
From-To: open->feedback


To submitter:  Do you still see this problem on later versions of FreeBSD? 
If so, can you try the advice in the PR about testing with hw.ata.ata_dma=0 
to see if that helps?
Comment 3 Gavin Atkinson freebsd_committer freebsd_triage 2007-06-29 13:48:57 UTC
State Changed
From-To: feedback->closed


Submitter's email address bounces