Heeelp: Redhat 9 Kernel Update2.4.20-8 to 2.4.22
I newbie in Linux, I tried to update kernel in Redhat Linux 9.0 version 2.4.20-8 to 2.4.22 with ACPI enable in my ASUS M3N. Here the following steps I did:
- I get linux-2.4.22.tar.bz2 and acpi-dsdt-initrd-patch-v0.3-2.4.22.diff
- I extract linux-2.4.22.tar.bz2 in /usr/src/linux-2.4.22 and patch it with acpi-dsdt-initrd-patch-v0.3-2.4.22.diff
- And then here are the commands I used:
# make menuconfig
Without change any other settings, I made some following changes:
# enable (y = compile with kernel, m = module, n = no/blank)
* 'Block device' section
y = Ramdisk support
y = Initial ramdisk support
* 'General Setup --> ACPI Support' section
y = ACPI support
y = Read DSDT from initrd
m = AC_Adapter
m = Battery
m = Button
m = Fan
m = Processor
m = Thermal
m = ASUS Laptop extras
# make dep
# make clean
# make bzImage
# make modules
# make modules_install
# make install
- lilo.conf automatically updated, and then I run lilo, before reboot it.
Well, everything smooth, but when it start to reboot, after few step running/initialization with new kernel, then the screen went blank and nothing happen.
Please be adviced, is there anything wrong with my steps? Any help would be appreciated
at the step where u did "make install" :
check if ur vmlinuz-xxx is under /boot.
check if ur System.map under /boot points to ur new System.map-2.4.xxx after it was to be copied (if it has been copied).
also check if bzImage was copied from arch/i386/boot" to "/boot"
check /etc/lilo.conf to see if the parameters passed are right after above two.
There is System.map and System.map-2.4.22, but how do I know that System.map pointed to System.map-2.4.22? It seems the System.map didn't updated.
I have bzImage under /boot
And in lilo.conf, I have the additional lines, as follwoing:
hmm, to chk if System.map is pointing to ur new one, do an 'ls -l'
im not sure if u need the initrd.
check for the izes of the files.
i remeber, when i was using rh, when the img created was realllly smaller than the images of my previous kernels - maybe sometihng went wrong someplace.
i cant think of anything else, cos i just got my kernel upgrade workin last night.
i did the same steps as u (there are no variants anyway), except for the "make install" part. i copied the files and edited lilo.conf myself instead of having it done, and gettin some error (as i had gotten earlier).
I tried without initrd, and ended up with the same error.
Which img do you mean? bzImage?
i think it was the initrd img which was smallee=r in size.
yes, ls -l , to see the folder contents and their sizes.
For me as newbie, this far from complete. Am I missing something?
For System.map, then how I know that it points out to the new one (one of what?), initrd? bzImage? or anything else? Should I edit it manually, and what should I put in it.
i wuda shown u my files, but am not on my lin partition.
try this for a guide:
as for how to make the initrd, i think there was a command called "mkinitrd" or some?
|All times are GMT -5. The time now is 08:28 PM.|