Bug 123338 - siimage IDE unreliable after using hdparm
Summary: siimage IDE unreliable after using hdparm
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 2
Hardware: i586
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-17 11:17 UTC by Paul Jakma
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-05-17 11:31:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Paul Jakma 2004-05-17 11:17:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Gecko/20031114 Galeon/1.3.10

Description of problem:
Setting IDE driver options with hdparm against a device driven by
siimage IDE driver seems to kill the driver. Particularly, setting -d1
and unsetting it appears to cause problems, after which the disk is no
longer accessible, with IO errors, ide resets, etc:

May 17 00:21:34 edwards kernel: hda: dma_timer_expiry: dma status ==
0x20       
May 17 00:21:34 edwards kernel: hda: DMA timeout retry               
          
May 17 00:21:34 edwards kernel: hda: timeout waiting for DMA         
          
May 17 00:21:34 edwards kernel: hda: status error: status=0x58 {
DriveReady Seek
Complete DataRequest }                                               
          
May 17 00:21:34 edwards kernel:                                      
          
May 17 00:21:34 edwards kernel: hda: drive not ready for command     
          
May 17 00:21:34 edwards kernel: hda: status timeout: status=0xd8 {
Busy }       
May 17 00:21:34 edwards kernel:                                      
          
May 17 00:21:34 edwards kernel: ide0: reset phy, status=0x00000113,
siimage_reset                                                        
                      
May 17 00:21:34 edwards kernel: hda: drive not ready for command     
          
May 17 00:22:09 edwards kernel: ide0: reset timed-out, status=0xd8   
          
May 17 00:22:09 edwards kernel: hda: status timeout: status=0xd8 {
Busy }       
May 17 00:22:09 edwards kernel:                                      
          
May 17 00:22:09 edwards kernel: ide0: reset phy, status=0x00000113,
siimage_reset                                                        
                      
May 17 00:22:09 edwards kernel: hda: drive not ready for command     
          
May 17 00:22:39 edwards kernel: ide0: reset timed-out, status=0xd8   
          
May 17 00:22:39 edwards kernel: end_request: I/O error, dev hda,
sector 95      
May 17 00:22:39 edwards kernel: Buffer I/O error on device hda1,
logical block 4
May 17 00:22:39 edwards kernel: lost page write due to I/O error on hda1  

Hardware is:

Compaq Deskpro 4000N 5233MMX
Silicon Image Sil3112A controller
Western Digital WDC1600 SATA disk drive


Version-Release number of selected component (if applicable):
kernel-2.6.5-1.358

How reproducible:
Always

Steps to Reproduce:
1. hdparm -d1c1u1 /dev/hda
2. boom
3.  
    

Actual Results:  IDE driver dma timeouts and other errors.

Expected Results:  There should have been no immediately observable
results.

Additional info:

Comment 1 Arjan van de Ven 2004-05-17 11:24:22 UTC
I'd seriously recommend against using hdparm for "tweaking" DMA
settings. The kernel autodetects what is optimal AND safe and sets
that; manual overrides can go bang easily...


Note You need to log in before you can comment on or make changes to this bug.