Click to See Complete Forum and Search --> : More 2.4.0 problems.


Ripley
01-11-2001, 09:22 AM
Can anyone offer any advice here.

I've been trying to upgrade an LFS system to kernel 2.4.0, and nothing goes wrong during the build routine.

However, when I try to boot up with the new kernel, I get the following...

Uncompressing Linux... Ok, booting the Kernel

Then it just locks up, similar to these two posts.
http://www.linuxnewbie.org/ubb/Forum1/HTML/013685.html http://www.linuxnewbie.org/ubb/Forum4/HTML/009296.html

I have all the updated files as specified in the 2.4 changes file at http://www.linuxhq.com/kernel/v2.4/changes.html . I've tried compiling with both GCC 2.95.2 and egcs 1.1.2 (GCC 2.91.66), which seems to make no difference, and, it doesn't matter wether I boot from loadlin in DOS or a boot floppy. The result is the same.

I've also taken note of the advice offered on this page http://www.linuxnewbie.org/ubb/Forum4/HTML/009315.html

A few people seem to be having a similar problem. Has anyone found a way around it, or does anyone have any suggestions. I've also been at this for at least 2 days (solid) before finally asking for advice, so its not without due effort on my part.

/me goes back to trolling message boards for an answer.

mdwatts
01-11-2001, 09:48 AM
Are you using the ReiserFS? If so then you need to apply a patch for it to work.

Sorry, that's all I can offer as I'm yet to re-compile my kernel and only know what I've read here. Will have time eventually though.

Ripley
01-11-2001, 10:03 AM
I'm not actually using the ReiserFS, but yes, I have applied the patch, because of what I've read about it.

It sounds like the future...

Hmm, maybe I should try a compile without the ReiserFS patch. 2.4.0 is actually the first source I've added it to.

On another note, I've also tried compiling the kernel with everything included, and, with everything but the basics required to boot, compiled as a module.

I think I should try piping any error codes out to a text file as well, which I haven't done. I might have missed an error code somewhere, although compilation appears to be without problems.

dark
01-11-2001, 02:17 PM
Well. Have no fear, Dark is here. And I migth have the solution to this "Uncompressing Linux... Ok, booting the Kernel" problems:

go to /usr/src/linux (or whereever you've installed your kernel).
make menuconfig (or xconfig or whatever). THEN change the cpu type (it's by default set to PentiumIII).. and that should solve the problem.

Dark

Ripley
01-11-2001, 05:13 PM
Thanks for your input, but, thats not the problem. Its set to my correct cpu.

These are the error messages that I'm piping out of make bzImage.

media.c: In function `tulip_select_media':
media.c:268: warning: unused variable `csr15val'
media.c:268: warning: unused variable `csr15dir'
media.c:268: warning: unused variable `csr14val'
media.c:268: warning: unused variable `csr13val'
media.c:151: warning: `new_csr6' might be used uninitialized in this function
uhci.c:2429: warning: `uhci_pci_suspend' defined but not used
uhci.c:2434: warning: `uhci_pci_resume' defined but not used
{standard input}: Assembler messages:
{standard input}:829: Warning: indirect lcall without `*'
{standard input}:911: Warning: indirect lcall without `*'
{standard input}:1006: Warning: indirect lcall without `*'
{standard input}:1047: Warning: indirect lcall without `*'
{standard input}:1077: Warning: indirect lcall without `*'
{standard input}:1107: Warning: indirect lcall without `*'
{standard input}:1138: Warning: indirect lcall without `*'
{standard input}:1167: Warning: indirect lcall without `*'
{standard input}:1196: Warning: indirect lcall without `*'
{standard input}:1497: Warning: indirect lcall without `*'
{standard input}:1592: Warning: indirect lcall without `*'
bbootsect.s: Assembler messages:
bbootsect.s:876: Warning: indirect lcall without `*'
bsetup.s: Assembler messages:
bsetup.s:1162: Warning: indirect lcall without `*'
Root device is (3, 10)
Boot sector 512 bytes.
Setup is 4497 bytes.
System is 751 kB

Ripley
01-12-2001, 07:54 AM
On second thought, I'll retract that. I think it might have been the problem.

/me got configs mixed up.

Many thanks.

dr4ma
01-12-2001, 05:35 PM
try using 'make bzImage' because your kernel size is above 700k, mine is at 540kb still with 2.4.