boot problems with 2.4.18-5 on pentium 120

boot problems with 2.4.18-5 on pentium 120

Post by blhau » Mon, 09 Sep 2002 20:55:56



I am having problems trying to get 2.4.18 to boot on my gateway/firewall
(morph - currently booting fine with 2.4.7). The kernel I have built is
from the kernel source on the Debian 3.0 r0 iso (2.4.18-5). This kernel
boots fine on my PII 233 and Celeron 366.

  When trying to boot, it gets as far as "Loading Linux...", but I never
see  "Uncompressing Linux".

  The lin24 kernel on this cd boots fine on morph, but is too large (1.2MB
vs the 600K kernel I have built). I want to get all machines on the same
base, and have built a boot floppy with the 600K kernel - that floppy boots
fine as well on my other two machines.

  Out of frustration, I recompiled the kernel with an arch of 386, but
still no go.

 details about morph:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 5
model           : 2
model name      : Pentium 75 - 200
stepping        : 5
cpu MHz         : 120.002
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : yes
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr mce cx8
bogomips        : 239.20

  This machine has a 320MB hard drive and 32MB of RAM, two rtl8139c niics
and not much else.

  I am tearing my hair out, and don't know what to try next - please
help!!!

 
 
 

boot problems with 2.4.18-5 on pentium 120

Post by Shawn Mil » Mon, 09 Sep 2002 22:59:39


This may be something you've already considered, but are you using a
/boot partition?  On an older machine, the BIOS needs /boot to be at the
physical beginnin of the hard drive.  The original kernel may be in the
right place, but the new one may be out of bounds.

If you are using a / partition which includes /boot, then you really
should have a /boot partition as the first partition on the drive (50mb
would be fine).

Blame it on the BIOS.  The same way that older machines can't recognize
an entire 60gig drive, etc...

Shawn

 
 
 

boot problems with 2.4.18-5 on pentium 120

Post by mjt » Tue, 10 Sep 2002 02:15:14



> If you are using a / partition which includes /boot, then you really
> should have a /boot partition as the first partition on the drive (50mb
> would be fine).

... that is absolutely INCORRECT. you might be thinking of the 1024
cylinder limit problem which means you have to have the boot partition
before cylinder 1024, but for modern machines this is not true.
you CAN have the /boot partition AFTER root if you want (most people
dont, of course).

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

 
 
 

boot problems with 2.4.18-5 on pentium 120

Post by mjt » Tue, 10 Sep 2002 02:15:48



>   When trying to boot, it gets as far as "Loading Linux...", but I never
> see  "Uncompressing Linux".

... are you using LILO???

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

 
 
 

boot problems with 2.4.18-5 on pentium 120

Post by Shawn Mil » Tue, 10 Sep 2002 02:58:42




>>If you are using a / partition which includes /boot, then you really
>>should have a /boot partition as the first partition on the drive (50mb
>>would be fine).

> ... that is absolutely INCORRECT. you might be thinking of the 1024
> cylinder limit problem which means you have to have the boot partition
> before cylinder 1024, but for modern machines this is not true.
> you CAN have the /boot partition AFTER root if you want (most people
> dont, of course).

mjt: The original post specified a pentium 120mhz.  I think that this
would fall within the range of machines which have this limitation.
(See subject line.)

No flame, just defending my position on this one.  Good day.

Shawn

 
 
 

boot problems with 2.4.18-5 on pentium 120

Post by mjt » Tue, 10 Sep 2002 05:06:01





>>>If you are using a / partition which includes /boot, then you really
>>>should have a /boot partition as the first partition on the drive (50mb
>>>would be fine).

>> ... that is absolutely INCORRECT. you might be thinking of the 1024
>> cylinder limit problem which means you have to have the boot partition
>> before cylinder 1024, but for modern machines this is not true.
>> you CAN have the /boot partition AFTER root if you want (most people
>> dont, of course).

> mjt: The original post specified a pentium 120mhz.  I think that this
> would fall within the range of machines which have this limitation.
> (See subject line.)

that's is a possbility  (i thought the OP originally had Linux
running and recompiled the kernel and now it isnt working, but
i think i'm assuming here)

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

 
 
 

boot problems with 2.4.18-5 on pentium 120

Post by Shawn Mil » Tue, 10 Sep 2002 09:14:43






>>>>If you are using a / partition which includes /boot, then you really
>>>>should have a /boot partition as the first partition on the drive (50mb
>>>>would be fine).

>>>... that is absolutely INCORRECT. you might be thinking of the 1024
>>>cylinder limit problem which means you have to have the boot partition
>>>before cylinder 1024, but for modern machines this is not true.
>>>you CAN have the /boot partition AFTER root if you want (most people
>>>dont, of course).

>>mjt: The original post specified a pentium 120mhz.  I think that this
>>would fall within the range of machines which have this limitation.
>>(See subject line.)

> that's is a possbility  (i thought the OP originally had Linux
> running and recompiled the kernel and now it isnt working, but
> i think i'm assuming here)

mjt:  You're right, that's what they did.  But I think it's extremely
likely that during install, the kernel happened to be in the right
place, and after they recompiled it, it was placed further out on the
drive, because there was whole distro at the beginning of the drive.
I'm assuming this, myself.  I guess I should have been more descriptive
in my original post.

Shawn

 
 
 

boot problems with 2.4.18-5 on pentium 120

Post by mjt » Tue, 10 Sep 2002 10:00:50



>> that's is a possbility  (i thought the OP originally had Linux
>> running and recompiled the kernel and now it isnt working, but
>> i think i'm assuming here)

> mjt:  You're right, that's what they did.  But I think it's extremely
> likely that during install, the kernel happened to be in the right
> place, and after they recompiled it, it was placed further out on the
> drive, because there was whole distro at the beginning of the drive.
> I'm assuming this, myself.  I guess I should have been more descriptive
> in my original post.

if that's the case, the normal 'routine' is to move the kernel
image to /boot, so nothing should have changed. however, it could
be that something was (not) enabled that caused the problem. i
did this one late night, i accidently chose 'amd' processor and
when it booted, i got all kinds of crazy lights flashing :)

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

 
 
 

boot problems with 2.4.18-5 on pentium 120

Post by blhau » Tue, 10 Sep 2002 20:29:50





>> If you are using a / partition which includes /boot, then you really
>> should have a /boot partition as the first partition on the drive (50mb
>> would be fine).

> ... that is absolutely INCORRECT. you might be thinking of the 1024
> cylinder limit problem which means you have to have the boot partition
> before cylinder 1024, but for modern machines this is not true.
> you CAN have the /boot partition AFTER root if you want (most people
> dont, of course).

  I am using LILO - the kernels I have are in the root partition in a /boot
directory. Please note that although I do not have a separate /boot
partition to ensure the < 1024 cylinder limit, I have successfully booted
from a 2.4.18 kernel from the Woody 3.0 disk copied to this directory. As
well, I have built a floppy (1722KB) with my 2.4.18 kernel that boots on my
other two machines, but not on my 120.
 
 
 

boot problems with 2.4.18-5 on pentium 120

Post by mjt » Wed, 11 Sep 2002 03:33:55



>   I am using LILO - the kernels I have are in the root partition in a /boot
> directory. Please note that although I do not have a separate /boot
> partition to ensure the < 1024 cylinder limit, I have successfully booted
> from a 2.4.18 kernel from the Woody 3.0 disk copied to this directory. As
> well, I have built a floppy (1722KB) with my 2.4.18 kernel that boots on my
> other two machines, but not on my 120.

well, okay, so let me get this straight: you can boot from a 2.4.18
kernel on the SAME MACHINE, but when you try to boot from the new
kernel (2.4.18-5), it wont boot. let me repeat, 'you CAN boot using
one kernel, but when you try to boot using another kernel on the
SAME machine, it wont load?'  is this correct?  if true, then you've
got to revisit 'make menuconfig' and check all your settings for
the target machine.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

 
 
 

boot problems with 2.4.18-5 on pentium 120

Post by blhau » Wed, 18 Sep 2002 21:59:39




  Problem solved - did a mrproper on source and rebuilt - works fine

  (I was warned, but ignored - now have first hand experience on why
   this is a required step)

Quote:

> well, okay, so let me get this straight: you can boot from a 2.4.18
> kernel on the SAME MACHINE, but when you try to boot from the new
> kernel (2.4.18-5), it wont boot. let me repeat, 'you CAN boot using
> one kernel, but when you try to boot using another kernel on the
> SAME machine, it wont load?'  is this correct?  if true, then you've
> got to revisit 'make menuconfig' and check all your settings for
> the target machine.