Bug 434864

Summary: pata_it821x: slave detection
Product: [Fedora] Fedora Reporter: Manuel João Silva <manueljoaosilva>
Component: kernelAssignee: Alan Cox <alan>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: kernel-maint
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: http://www.linuxquestions.org/questions/linux-hardware-18/problems-installing-an-ideata-controller-154256/
Whiteboard:
Fixed In Version: 2.6.24.3-50.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-26 17:15:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dmesg output
none
lspci -v
none
dmesg 2.6.24.3-12.fc8
none
lspci -v 2.6.24.3-12.fc8 none

Description Manuel João Silva 2008-02-25 21:39:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080208 Fedora/2.0.0.12-1.fc8 Firefox/2.0.0.12

Description of problem:
After instaling Fedora i've notice that 2 disk where missing, these two disk are in a PCI IDE controler: 01:01.0 RAID bus controller: Integrated Technology Express, Inc. IT/ITE8212 Dual channel ATA RAID controller (rev 13)

I've tried to boot with pata_it821x noraid=1 but no success.

Will attach dmesg and lspci -v

Version-Release number of selected component (if applicable):
kernel-2.6.23.15-137.fc8

How reproducible:
Always


Steps to Reproduce:
1. boot the computer
2. disks are not mounted

Actual Results:


Expected Results:


Additional info:

Comment 1 Manuel João Silva 2008-02-25 21:40:08 UTC
Created attachment 295846 [details]
dmesg output

Comment 2 Manuel João Silva 2008-02-25 21:41:20 UTC
Created attachment 295847 [details]
lspci -v

Comment 3 Chuck Ebbert 2008-02-25 22:08:34 UTC
Please try the 2.6.24 kernel from updates-testing. it821x had some weird bugs
that were recently fixed.

Comment 4 Alan Cox 2008-02-26 13:25:01 UTC
2.6.23 will only see master devices on some firmware revs of the it821x, and
also spew warnings about drive diagnostics. 2.6.24 knows about these firmware
bugs in the it821x and works around them.


Comment 5 Chuck Ebbert 2008-02-29 05:44:19 UTC
We need to know if the 2.6.12.3-12 kernel works. It was put into the
updates-testing repository today.



Comment 6 Manuel João Silva 2008-03-10 23:44:17 UTC
Sorry for the late update, i've not been close to my pc so I can run proper
test, I'm back now.

I'm using a this moment 2.6.24.3-12.fc8 and still can't see the missing drives
will again atach dmesg and lspci -v.

Gonna try the 2.6.12.3-12 now, brb with some feddback.

Comment 7 Manuel João Silva 2008-03-10 23:46:27 UTC
Created attachment 297534 [details]
dmesg 2.6.24.3-12.fc8

dmesg output using 2.6.24.3-12.fc8

Comment 8 Manuel João Silva 2008-03-10 23:47:50 UTC
Created attachment 297535 [details]
lspci -v 2.6.24.3-12.fc8

lspci -v output usgin 2.6.24.3-12.fc8 kernel

Comment 9 Manuel João Silva 2008-03-11 00:20:14 UTC
Chuck Ebbert,

Do you really mean 2.6.12.3-12 or 2.6.24.3-12?

Comment 10 Chuck Ebbert 2008-03-12 23:02:16 UTC
(In reply to comment #9)
> Chuck Ebbert,
> 
> Do you really mean 2.6.12.3-12 or 2.6.24.3-12?

yes.

Comment 11 Chuck Ebbert 2008-03-12 23:02:39 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > Chuck Ebbert,
> > 
> > Do you really mean 2.6.12.3-12 or 2.6.24.3-12?
> 
> yes.

err, yes, 2.6.24.3-12



Comment 12 Manuel João Silva 2008-03-12 23:11:29 UTC
I've test it, the last attachments was using this kern, still can find my disks

Comment 13 Alan Cox 2008-03-17 18:28:14 UTC
Ah ok - still needs this segment from 2.6.25-rc which didn't make 2.6.24 only
2.6.24-mm


@@ -947,8 +1145,8 @@ unsigned int ata_dev_try_classify(struct ata_device *dev,
        if (r_err)
                *r_err = err;
  
-       /* see if device passed diags: if master then continue and warn later *
-       if (err == 0 && dev->devno == 0)
+       /* see if device passed diags: continue and warn later */
+       if (err == 0)
                /* diagnostic fail : do nothing _YET_ */
                dev->horkage |= ATA_HORKAGE_DIAGNOSTIC;
        else if (err == 1)


Comment 14 Chuck Ebbert 2008-03-18 16:05:14 UTC
None of that patch made 2.6.24.  Added to 2.6.24.3-42.

Comment 15 Fedora Update System 2008-03-21 03:15:22 UTC
kernel-2.6.24.3-50.fc8 has been submitted as an update for Fedora 8

Comment 16 Fedora Update System 2008-03-21 22:16:40 UTC
kernel-2.6.24.3-50.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update kernel'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-2630

Comment 17 Fedora Update System 2008-03-26 17:14:51 UTC
kernel-2.6.24.3-50.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 18 Manuel João Silva 2008-03-26 20:59:01 UTC
yap! it's working now. Thank u very mutch :)