Bug 36866 - Kernel 2.4.2 will not compile (undefined reference to 'noautodma')
Summary: Kernel 2.4.2 will not compile (undefined reference to 'noautodma')
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel   
(Show other bugs)
Version: 7.1
Hardware: i686 Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2001-04-20 17:56 UTC by Tony DiLeonardo
Modified: 2007-04-18 16:32 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-20 19:15:54 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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 

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

Note You need to log in before you can comment on or make changes to this bug.