Bug 36866

Summary: Kernel 2.4.2 will not compile (undefined reference to 'noautodma')
Product: [Retired] Red Hat Linux Reporter: Tony DiLeonardo <tony>
Component: kernelAssignee: Michael K. Johnson <johnsonm>
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-04-20 19:15:54 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 Tony DiLeonardo 2001-04-20 17:56:44 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)


OS = Red Hat 7.l
Kernel version 2.4.2
HW Box = Pentium III, Intel cc820 Mother board
Disk System = all scsi

When I compile kernel 2.4.2 with the standard Red Hat 7.1 distribution I 
recieve "undefined reference to 'noautodma'".  Further analysis reveals 
that it is the ATA/IDE/MFM/RLL support.  When you exclude this from the 
kerenel you recieve the above error.  I own a SCSI system therefore I do 
not need this support in my kernel.  I can supply more information if 
necessary.

Reproducible: Always
Steps to Reproduce:
1. Install Red Hat Linux 7.1 with everything or with kernel developement 
as a workstation.

2. Go to a run-level 3. (controlled environment)

3. login as root

4. change directory to /usr/src/linux-2.4.2

5. do a make mrproper

6. do a make menuconfig

7. select particular machine architecture specifications 

8. exclude ATA/IDE/MFM/RLL support from kernel (providing you have SCSI)

9. press [esc] to exit and save new kernel

10. do a make dep

11. do a make bzImage or a make zImage

12 wait for results



	

Actual Results:  arch/i386/kernel/kernel.o: In function 'pci_fixup_vt8363':
arch/i386/kernel/kernel.o(.text.init+0x3507): undefined reference 
to 'noautodma'
make: *** [vmlinux] Error 1

The kernel does not finish compiling


Expected Results:  The kernel would have finished compiling correctly.

I can look into this further be running a diff on the two configuration 
files built by menuconfig.

Comment 1 Arjan van de Ven 2001-04-20 19:15:49 UTC
Aaaaargh yes.... 
We will fix this for future kernels we release. For now, just 
edit the file in arch/i386/kernel/pci-pc.c  and search for noautodma.
that entire function can be made empty without sideeffects if you don't have
IDE.