Hi,
after putting some debug statements, it seems the LinuxBIOS resets after the jmp instruction is boot.c ( " jmp *%%eax\n\t" in jmp_to_elf_entry) fails. I am using ETHERBOOT payload with IDE support. Is it because the ram initialization is not proper or something, has anyone experienced this kind of problem.
Any pointers, why it should fail over here.
Here is the extract of the log ...
*********
calling elf load... New segment addr 0x94000 size 0x8128 offset 0x60 filesize 0x38d4 (cleaned up) New segment addr 0x94000 size 0x8128 offset 0x60 filesize 0x38d4 Loading Segment: addr: 0x0000000000094000 memsz: 0x0000000000008128 filesz: 0x00 000000000038d4 Clearing Segment: addr: 0x00000000000978d4 memsz: 0x0000000000004854 Jumping to boot code at 0x94000
LinuxBIOS-1.0.0 Thu May 1 04:29:36 IST 2003 starting... Ram1
*********
Regards Deepak
that problem is typically RAM initialization. I think you are going to need to run memtest86 and look for problems.
But congratulations, you are making progress.
ron
Could you please elaborate on how to use memtest. Can we use it with etherboot, what is the procedure?
Regards, Shubhangi
-----Original Message----- From: linuxbios-admin@clustermatic.org [mailto:linuxbios-admin@clustermatic.org]On Behalf Of ron minnich Sent: Thursday, May 08, 2003 1:10 AM To: Deepak Kotian Cc: linuxbios@clustermatic.org Subject: Re: jmp INSTRUCTION IN boot.c fails and resets again , what couldbe the reason.
that problem is typically RAM initialization. I think you are going to need to run memtest86 and look for problems.
But congratulations, you are making progress.
ron
_______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
On Thu, 8 May 2003, Shubhangi Jadhav wrote:
Could you please elaborate on how to use memtest. Can we use it with etherboot, what is the procedure?
use memtest INSTEAD of etherboot as the payload. I have a memtest elfimage lying around here somewhere if you need it.
ron
I have tried it and it doesnot work. linuxbios resets at the jmp instruction, where it is supposed to jump from rom to ram. So how is memtest payload supposed to work, if there's a problem with ram initialization. Any other suggestions on how to use memtest.
Regards, Shubhangi
-----Original Message----- From: ron minnich [mailto:rminnich@lanl.gov] Sent: Thursday, May 08, 2003 7:12 PM To: Shubhangi Jadhav Cc: Deepak Kotian; linuxbios@clustermatic.org Subject: RE: jmp INSTRUCTION IN boot.c fails and resets again , what couldbethe reason.
On Thu, 8 May 2003, Shubhangi Jadhav wrote:
Could you please elaborate on how to use memtest. Can we use it with etherboot, what is the procedure?
use memtest INSTEAD of etherboot as the payload. I have a memtest elfimage lying around here somewhere if you need it.
ron
On Thu, 8 May 2003, Shubhangi Jadhav wrote:
I have tried it and it doesnot work. linuxbios resets at the jmp instruction, where it is supposed to jump from rom to ram. So how is memtest payload supposed to work, if there's a problem with ram initialization.
are you setting CONFIG_COMPRESS=0 in your config? If not, do so. You don't want to use ram at all if ram is not working.
ron
I'm haveing a little difficulity with the nsuperio setup.
I keep getting a undefined reference to superio_NSC_pc87351_control
I see that nlbconfig generates a prototype reference
extern struct superio_control superio_NSC_pc87351_control;
in nsuperio.c but I don't see where the the actual struct definition is/should be.
Richard Smith wrote:
in nsuperio.c but I don't see where the the actual struct definition is/should be.
I found it.. I missed updating that from the WinBond example I started with in my NSC/pc87351/superio.c file.
tried even setting CONFIG_COMPRESS=0 , but no luck....
-Shubhangi
-----Original Message----- From: linuxbios-admin@clustermatic.org [mailto:linuxbios-admin@clustermatic.org]On Behalf Of ron minnich Sent: Thursday, May 08, 2003 7:44 PM To: Shubhangi Jadhav Cc: Deepak Kotian; linuxbios@clustermatic.org Subject: RE: jmp INSTRUCTION IN boot.c fails and resets again , what couldbethereason.
On Thu, 8 May 2003, Shubhangi Jadhav wrote:
I have tried it and it doesnot work. linuxbios resets at the jmp instruction, where it is supposed to jump
from
rom to ram. So how is memtest payload supposed to work, if there's a
problem
with ram initialization.
are you setting CONFIG_COMPRESS=0 in your config? If not, do so. You don't want to use ram at all if ram is not working.
ron
_______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
Deepak Kotian wrote:
I am using ETHERBOOT payload with IDE support. Is it because the ram initialization is not proper or something, has anyone experienced this kind of problem.
Any pointers, why it should fail over here.
I would say a RAM problem. Have you run remtest.inc?
* Deepak Kotian dkotian3@vsnl.net [030507 20:55]:
after putting some debug statements, it seems the LinuxBIOS resets after the jmp instruction is boot.c ( " jmp *%%eax\n\t" in jmp_to_elf_entry) fails. I am using ETHERBOOT payload with IDE support. Is it because the ram initialization is not proper or something, has anyone experienced this kind of problem.
Any pointers, why it should fail over here.
Clearing Segment: addr: 0x00000000000978d4 memsz: 0x0000000000004854 Jumping to boot code at 0x94000
LinuxBIOS-1.0.0 Thu May 1 04:29:36 IST 2003 starting... Ram1
I had the same thing after updating from etherbot 5.1.7 to 5.1.8 when I forgot to change the config file to build for LinuxBIOS instead of PC bios. I assume etherboot tries to call some intXX services early in that case which might cause the reboot. Did not investigate further after it worked though
Best regards, Stefan Reinauer