LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-04-2003, 07:58 AM   #1
kadalz
LQ Newbie
 
Registered: Aug 2003
Posts: 12

Rep: Reputation: 0
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

Thankz,
Kadalz
 
Old 09-04-2003, 08:40 AM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
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.
 
Old 09-04-2003, 11:04 AM   #3
kadalz
LQ Newbie
 
Registered: Aug 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by h/w
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.
I have vmlinuz-2.4.22 under /boot.
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:
image=/boot/vmlinuz-2.4.22
label=2.4.22
initrd=/boot/initrd-2.4.22.img
read-only
append="hdc=ide-scsi root=LABEL=/"

Any suggestions?

Kadalz
 
Old 09-04-2003, 12:07 PM   #4
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
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.
 
Old 09-04-2003, 12:10 PM   #5
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
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).

good luck.
 
Old 09-04-2003, 12:28 PM   #6
kadalz
LQ Newbie
 
Registered: Aug 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by h/w
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).

good luck.
Could you give me step by step (in detail) on how you upgrade the kernel? Especially what did you do to make ACPI enable, bzImage being copied under /boot as it is, and what kind of modification in lilo.conf (sample of modification of lilo.conf you made)? Is there anything else which I have to do manually?

Thankz,
Kadalz
 
Old 09-04-2003, 12:32 PM   #7
kadalz
LQ Newbie
 
Registered: Aug 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by h/w
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.
What do you mean with 'ls -l'? Isn't that just to see the folder content? Like dir command in DOS?

I tried without initrd, and ended up with the same error.

Which img do you mean? bzImage?
 
Old 09-04-2003, 12:34 PM   #8
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
i think it was the initrd img which was smallee=r in size.

yes, ls -l , to see the folder contents and their sizes.
 
Old 09-04-2003, 12:55 PM   #9
kadalz
LQ Newbie
 
Registered: Aug 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by h/w
i think it was the initrd img which was smallee=r in size.

yes, ls -l , to see the folder contents and their sizes.
If I don't use make install command, then how I create initrd img? When I read the instruction manual, just do make bzImage, copy it to /boot, edit lilo.conf -- what should I put in lilo.conf?, run lilo, and reboot.

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.

Kadalz
 
Old 09-04-2003, 01:10 PM   #10
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
i wuda shown u my files, but am not on my lin partition.

try this for a guide:
http://tldp.org/HOWTO/Kernel-HOWTO/index.html
 
Old 09-04-2003, 01:12 PM   #11
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
as for how to make the initrd, i think there was a command called "mkinitrd" or some?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GM855 and HW acceleration, HEEELP!!! TuxTail Linux - Laptop and Netbook 1 04-21-2005 04:06 PM
Modem - Please HEEELP! dgrzalja Linux - Hardware 3 04-10-2005 02:30 PM
problems.. HEEELP.. Cozb Linux - Hardware 4 09-12-2003 08:23 AM
Update2 Rollback monte Linux - Newbie 1 05-18-2003 08:08 AM
RH Update2 Rollback monte Linux - Distributions 0 05-18-2003 07:09 AM


All times are GMT -5. The time now is 05:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration