Home » Infrastructure » Linux » Cannot install watchdog in linux7.1
Cannot install watchdog in linux7.1 [message #57553] Mon, 23 June 2003 00:01
lcm
Messages: 4
Registered: May 2003
Junior Member
I recompile linux kernel as the following in metalink OPS configuration on ONE node on linux starting from
Oracle 8.1.7.0.1. But I cannot found watchdogd bin execute problem, Can any one help me.

Thanks
jacky

3.3.4)Kernel setup (we assume working on a clean RH62 and you are
logged in with a graphic X-session )

% cd /usr/src/linux
% cp configs/kernel-2.2.14-i686.config .config

(we assume a PIII single processor)

% make xconfig

in section 'Watchdog Cards' select to :

'Software Watchdog' = 'm'
'Disable watchdog shutdown on close' = 'y'

return to the main form and select 'Save and Exit'

3.3.5) Kernel & Modules rebuild (experience with linux kernel rebuilds
is welcomed as well all the file backups you need before proceeding).
We suggest to save the current copy of the kernel and system maps
and make a emergency boot disk 'see mkbootdisk' ... [[5]]

Clean up the old version files of modules by removing files from
/usr/src/linux/include/linux/modules by entering:

% cd /usr/src/linux/include/linux/modules
% rm -f *

Check dependencies. The makefile performs all dependency-checking
procedures after you enter:

% cd /usr/src/linux
% make dep

Clean objects for safety by entering at /usr/src/linux:

% cd /usr/src/linux
% make clean

Make a boot image by entering the following at /usr/src/linux:

% cd /usr/src/linux
% make bzImage

Make sure the boot images finishes without error.

Make modules by entering the following at /usr/src/linux:

% make modules

Install the modules by entering the following at /usr/src/linux,
as root user:

# make modules_install

Copy the bzImage from /usr/src/linux/arch/i386/boot to /boot.
(we overwrote the current image )

# cd /usr/src/linux/arch/i386/boot
# cp bzImage /boot/vmlinuz-2.2.14-5.0

Install System.map file by copying the System.map generated at
/usr/src/linux to /boot.

# cd /usr/src/linux
# cp System.map /boot/System.map-2.2.14-5.0

setup & run 'lilo' to update the boot image with the new
kernel (check linux documentation)

Create the intial ram disk image for the kernel

# cd /usr/src/linux
# /sbin/mkinitrd /boot/initrd-2.2.14-5.0.img 2.2.14-5.0

Edit /etc/lilo.conf by copying a Linux entry for an already-working
kernel. Modify the image and label it initrd for the new entry.

For example :

image=/boot/vmlinuz-2.2.14-5.0
label=new_kernel
initrd=/boot/initrd-2.2.14-5.0.img
read-only
root=/dev/hda2

# /sbin/lilo

Now the new kernel should be registered and ready to boot.

Note that you may build a new kernel and its modules instead of
removing the old ones by simply editing /usr/src/linux/Makefile
and adding an uniquely identified tag to the EXTRAVERSION line
before you begin the build process.
Previous Topic: patch file
Next Topic: Oracle 8.1.7 installation on Mandrake 9.0 linux - is it possible ?
Goto Forum:
  


Current Time: Thu Mar 28 17:23:20 CDT 2024