Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 157326

Summary: gentoo-sources: patch for failing ata_piix / libata on ICH7/ICH8
Product: Gentoo Linux Reporter: Sebastiaan <s.breedveld>
Component: [OLD] UnspecifiedAssignee: Daniel Drake (RETIRED) <dsd>
Status: RESOLVED FIXED    
Severity: normal CC: kernel
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: libata patch for 2.6.18-r1
2.6.19 patch

Description Sebastiaan 2006-12-06 07:14:37 UTC
Kernel 2.6.18 (at least) has a bug which causes the kernel to wait for a long time while booting. It is the libata driver, this is the error:

scsi3 : ata_piix 
 ata4: port is slow to respond, please be patient 
 ata4: port failed to respond (30 secs) 
 ata4: SRST failed (status 0xFF) 
 ata4: SRST failed (err_mask=0x100) 
 ata4: softreset failed, retrying in 5 secs 
 ata4: SRST failed (status 0xFF) 
 ata4: SRST failed (err_mask=0x100) 
 ata4: softreset failed, retrying in 5 secs 
 ata4: SRST failed (status 0xFF) 
 ata4: SRST failed (err_mask=0x100) 
 ata4: reset failed, giving up 

More discussion on the forum, with references to the LKML:
http://forums.gentoo.org/viewtopic-p-3765278.html

I have made the patch available for gentoo-sources-2.6.18-r1. This bug might be fixed in 2.6.19.
Comment 1 Sebastiaan 2006-12-06 07:15:24 UTC
Created attachment 103451 [details, diff]
libata patch for 2.6.18-r1
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2006-12-06 08:02:04 UTC
Please confirm whether it is needed in 2.6.19
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2006-12-06 16:42:10 UTC
Created attachment 103499 [details, diff]
2.6.19 patch

I think you'll need this patch for 2.6.19. If you can confirm it works there with this patch I'll apply both.
Comment 4 Sebastiaan 2006-12-07 05:40:08 UTC
Sorry, I have been asleep while 2.6.19 was released. Yes, the patch is requiered for 2.6.19, and the provided patch patches the gentoo-r1 kernel nicely (3 lines offset). Kernel boots as expected.
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2006-12-12 19:41:59 UTC
Fixed in:
 genpatches-2.6.19-3
 gentoo-sources-2.6.19-r2

Also queued for next 2.6.18 release