Bug 708204

Summary: Fedora cannot recognize IDE drives, kernel missing ide_generic, ide_cd_mod
Product: [Fedora] Fedora Reporter: mark2
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 15CC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-25 15:11:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
kernel config diff between vanilla 2.6.38 with working IDE controllers and FC15 default none

Description mark2 2011-05-26 22:07:51 UTC
Description of problem:
New F15 install fails to recognize any IDE hard drives or CD rom drives

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


How reproducible:


Expected results:

Kernel modules from a working linux distro which can work with the IDE drives from kernel 2.6.34

$ /sbin/lsmod | egrep -i '(ata|ide|scsi)'
sata_nv                18870  1
libata                157641  1 sata_nv
scsi_mod              165651  3 sg,sd_mod,libata
ide_cd_mod             23896  0
ide_generic             1091  0 [permanent]


Fedora kernel 2.6.38.6-27
$ /sbin/lsmod | egrep -i '(ata|ide|scsi)'
pata_mpiix              2284  0 
ata_generic             2647  0 
pata_acpi               2367  0 
pata_amd                7896  0 
sata_nv                16470  3 


Additional info:
Motherboard is Asus nForce4, using kernel param sata_nv.adma=0 has no effect.

Comment 1 mark2 2011-05-27 17:48:27 UTC
Created attachment 501351 [details]
kernel config diff between vanilla 2.6.38 with working IDE controllers and FC15 default

Enabling kernel module amd74xx, ide_generic, and ide_cd_mod seems to have allowed the hdds to be accessed.

Comment 2 Chuck Ebbert 2011-06-15 13:55:45 UTC
(In reply to comment #2)
> Kernel modules from a working linux distro which can work with the IDE drives
> from kernel 2.6.34
> 
> $ /sbin/lsmod | egrep -i '(ata|ide|scsi)'
> sata_nv                18870  1
> libata                157641  1 sata_nv
> scsi_mod              165651  3 sg,sd_mod,libata
> ide_cd_mod             23896  0
> ide_generic             1091  0 [permanent]
> 

Note the usage counts for ide_cd_mod and ide_generic are both zero, meaning they are not being used at all. sata_nv is being used for the ata devices.

> Fedora kernel 2.6.38.6-27
> $ /sbin/lsmod | egrep -i '(ata|ide|scsi)'
> pata_mpiix              2284  0 
> ata_generic             2647  0 
> pata_acpi               2367  0 
> pata_amd                7896  0 
> sata_nv                16470  3 
> 

And here sata_nv is loaded and in use. Also ata_generic is the proper replacement for ide_generic and it is loaded. (Mixing the old ide and the new ata drivers is not a good idea.)

Please attach all the boot messages from the fedora kernel (as a plain-text attachment.)

Comment 3 Chuck Ebbert 2011-06-25 15:11:35 UTC
10 days have passed since additional info was requested, closing...