Bug 495995
Summary: | compile errors in sound/pci/hda/hda_hwdep.c from http://people.redhat.com/~dzickus/el5/138.el5/src/kernel-2.6.18-138.el5.src.rpm | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | csb sysadmin <admin> | ||||
Component: | kernel | Assignee: | Prarit Bhargava <prarit> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Red Hat Kernel QE team <kernel-qe> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.3 | CC: | dzickus | ||||
Target Milestone: | rc | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-12-09 14:40:37 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
csb sysadmin
2009-04-15 21:28:39 UTC
correction: 7. cd /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i686 got around it by disabling intel hda audio in make menuconfig >6. cp /boot/config-2.6.18-128.1.6.el5 /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i686/.config Don't do this. You're using an old config for a new kernel. There are additional options not turned on in the old config that are required for the intel audio driver to build. You should do 1. su - 2. wget http://people.redhat.com/~dzickus/el5/138.el5/src/kernel-2.6.18-138.el5.src.rpm 3. rpm -ivh kernel-2.6.18-138.el5.src.rpm 4. cd /usr/src/redhat/SPECS 5. rpmbuild -bp --target i686 kernel-2.6.spec 7. cd /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i686 8. make oldconfig 9. make -j P. you forgot to copy the old .config , but don't know if that's really necessary if the RHT kernel src package provides the default RHT .config file. Might be able to skip this step altogether. > 8. make oldconfig > Don't do this. You're using an old config for a new kernel. There are > additional options not turned on in the old config that are required for the intel audio driver to build. That's the whole point of "make oldconfig". Btw, if I were to copy the /boot/config-2.6.18-128.1.6.el5 into the kernel src for say 2.6.28 or any other kernel from kernel.org, run make oldconfig, then compile it will complete without errors. you should re-open as a bug, I've been doing this with RHT kernels for a while and never had these errors before -9x or -10x. There's also an error in NTFS support if you turn that on. Turned both that and hda off and this compiles fine. Oh ... that's a good point. I didn't think about that. There could be a busted CONFIG dependency in the Intel Audio Driver. I'll take a quick glance at that. But doing a rpmbuild -bp does drop the appropriate .config in /usr/src/redhat/linux.../kernel.../.config . P. Reopening the bug. There could be an issue with the CONFIG_* options for the Intel Audio driver. (IMO). P. |