Bug 40123
Summary: | Rebuild of custom kernel fails with 'undefined reference' | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Matthias Haase <matthias_haase> |
Component: | kernel | Assignee: | Arjan van de Ven <arjanv> |
Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | ||
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: | 2001-05-10 19:09:32 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: |
Description
Matthias Haase
2001-05-10 19:09:26 UTC
Indeed. If you don't compile IDE in your kernel, you can just remove the contents of the offending funtion (eg the reference to the noautodma) to make it work. This is perfectly safe as for a non-IDE system you don't need the workaround. I've corrected this error for the next kernel we're going to release, I will therefore close it as "fixed in rawhide". Thanks for the report! Our server is pure SCSI. I have found the function `pci_fixup_vt8363' in /usr/scr/linux-2.4.2/arch/i368/kernel/pci-pc.c But I'm not firm in C... Should I remove there line 957: extern int noautodma; and the following subroutine too... static void __init pci_fixup_vt8363(struct pci_dev *d) { ...for clean custom kernel recompiling without ATAPI/IDE? regards Matthias Not exactly. The "extern" line is fine. Removing the function entirely will not work, you should remove everything inside the { } (but not including the { and the }) of that function. o.k. so I have leaved the 'extern int...' call, maked an empty and useless function static void __init pci_fixup_vt8363(struct pci_dev *d) { } Compiles right now. Thanks. |