Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
'make modules ' compiling errors

'make modules ' compiling errors

2004-05-07       - By Paul M. Bucalo

 Back
I am trying to recompile 2.4.20-31.9, using the ".i586.config" provided
in the distro, and taking out support for some advanced support that
this workstation won't have or can't provided or handle (i.e.: firewire,
token-ring, bluetooth, XT drive, etc.). The workstation in question is
an AMD K6-2/333. If I understand correclty, the RH 9 distro kernels are
'386 compiled. I wanted to see if there was any improvement in
recompiling with '586 support and AMD CPU instead of Intel. This is an
exercise for me in recompiling a kernel. more than anything else. None
of this *has* to be done.

Here are the steps I am taking, based on what I have seen posted on
other RH-oriented lists:

# cd /usr/src/linux-2.4.20-31.9/
# make mrproper
# cp /usr/src/linux-2.4.20-31.9/configs/kernel-2.4.20-i586.config
.config
# vi Makefile [remove 'custom' from end of new kernel name and replaced
with PMB]
# make oldconfig
# make xconfig [btw, I am 'su -' in an xterm window]
# make dep
# make clean
# make bzImage
# make modules
# make modules_install
# make install

I started with all the 'make' commands on one command-line string, but
went to individual commands to try and find where the problem was in not
seeing a final result: a new kernel wasn't being made. Before going any
further, I wanted to ask someone if they saw this first batch of error
messages as my problem. The follow was the ending results of my 'make
modules':

...
{standard input}: Assembler messages:
{standard input}:10554: Error: value of -141 too large for field of 1
bytes at 27023
make[3]: *** [skgepnmi.o] Error 1
make[3]: Leaving directory
`/usr/src/linux-2.4.20-31.9/drivers/net/sk98lin'
make[2]: *** [_modsubdir_sk98lin] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-31.9/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-31.9/drivers'
make: *** [_mod_drivers] Error 2

I have no idea why it's choking on the network drivers. I am using a
Realtek 8139, so does this really matter to me? Is this even a staring
point for why I am not compiling a new kernel successfully, or should
this be ignored and I continue on?

Any advice or direction, greatly appreciated.

Paul


--
Shrike-list mailing list
Shrike-list@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list

Earn $52 per hosting referral at Lunarpages.