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

Bug 165291

Summary: some drives are not detected when using the SATA AHCI driver w/ kernel <2.6.20
Product: Gentoo Linux Reporter: Mathijs Kwik <troxx>
Component: [OLD] Core systemAssignee: Daniel Drake (RETIRED) <dsd>
Status: RESOLVED FIXED    
Severity: normal CC: kernel
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=648a88be4a016d2637ace3ae74b85a0512255ee8
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the fix, backported from 2.6.20 to 2.6.19-r5

Description Mathijs Kwik 2007-02-04 16:26:40 UTC
Some mainboards with intel's ICH8 chipset don't use ascending names/numbers for their SATA-ports.

Mine has sata1 sata2 sata5 and sata6 for example.

The AHCI driver stopped checking after sata3 (non-existing), so 2 of my sata-ports were never checked.

Fortunately I found a patch in 2.6.20 that fixes it, so I backported it to 2.6.19.

Can someone please include this in gentoo-sources?

Reproducible: Always

Steps to Reproduce:
1. boot PC
2. ls /dev/sd*


Actual Results:  
/dev/sda  /dev/sdb 

Expected Results:  
/dev/sda  /dev/sdb  /dev/sdc  /dev/sdd
Comment 1 Mathijs Kwik 2007-02-04 16:27:39 UTC
Created attachment 109142 [details, diff]
the fix, backported from 2.6.20 to 2.6.19-r5
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2007-02-05 22:20:44 UTC
fixed in gentoo-sources-2.6.19-r6