This is NOT a recommended patch, but a way to get the new 2.4 kernel to
report the RAM correctly so that INITRD_START doesn't seem to above the
available memory, (With possible buggy bios?)
e280 seems to be the culprit, as 801 still reports correctly. This is
messing with something that I shouldn't so I leave it up to the maintainer to
deal with this. I would think that a comparison between what is reported my
e820 and 801 if the ramsize is <=64 MG might be in order, and to bail820 if
it doesn't match. In the mean time this little patch will get people by by
just assuming that the e820 fails when using INITRD, as most INITRD people
need less than 64 meg?
Just posted this in case someone is searching the archives for the same
problem I had.
Keywords: INITRD RAM RAM_SIZE INITRD_START
//Start PATCH
//******************************************************************
*** /usr/LinuxMagic/setup.S Mon Aug 28 19:09:47 2000
--- ./arch/i386/boot/setup.S Tue Jul 18 22:00:33 2000
***************
*** 304,316 ****
pushw %ds # data record.
popw %es
int $0x15 # make the call
!
! #ifdef CONFIG_BLK_DEV_INITRD # Anyone using initrd, doesn't care for >64
:-)
! jmp bail820 # fall to e801 if it fails
! #else
! jc bail820
! #endif
!
cmpl $0x534d4150, %eax # check the return is `SMAP'
jne bail820 # fall to e801 if it fails
--- 304,310 ----
pushw %ds # data record.
popw %es
int $0x15 # make the call
! jc bail820 # fall to e801 if it fails
cmpl $0x534d4150, %eax # check the return is `SMAP'
jne bail820 # fall to e801 if it fails
-- -------------------------------------------------------- Michael Peddemors - Senior Consultant Unix Administration - WebSite Hosting Network Services - Programming Wizard Internet Services http://www.wizard.ca Linux Support Specialist - http://www.linuxmagic.com -------------------------------------------------------- (604) 589-0037 Beautiful British Columbia, Canada -------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:22 EST