Patchwork RE : RE : [PATCH] Re: RE : RE : First coreboot build for Tyan s2895 K8WE mobo with seabios payload, computer starts, but graphical ubuntu 64bits is crashing

login
register
about
Submitter Myles Watson
Date 2010-09-20 15:11:03
Message ID <AANLkTinvsngX_H9RogoW5ioPtUwfrM8dFBkEBvePmKuC@mail.gmail.com>
Download mbox | patch
Permalink /patch/1965/
State Not Applicable
Headers show

Comments

Myles Watson - 2010-09-20 15:11:03
On Sun, Sep 19, 2010 at 8:16 AM, STEMMELIN, FREDERIC (FREDERIC)** CTR
** <frederic.stemmelin@alcatel-lucent.com> wrote:
> Now here are my results with the patched Memtest86+ version 4.1.
> Check the attached files.
>
> As you can see it is far way better, even if it is not working, at least i can see that the memory is recognized correctly, wich is pretty good.
> Memtest86+ is still crashing on test starting (after 3%), but really not important so far, as long as my computer does not crash in normal operation mode.

I like using the memtest that comes with my distro, so I add this
simple patch to SeaBIOS when I want to test RAM.  It makes memtest
ignore the Coreboot tables.  I think you'll want to be sure that RAM
is working.

Thanks,
Myles
Thank you, i will try it and report back asap.

Frédéric.

-----Message d'origine-----
De : Myles Watson [mailto:mylesgw@gmail.com] 
Envoyé : lundi 20 septembre 2010 17:11
À : STEMMELIN, FREDERIC (FREDERIC)** CTR **
Cc : Juhana Helovuo; coreboot@coreboot.org
Objet : Re: [coreboot] RE : RE : [PATCH] Re: RE : RE : First coreboot build for Tyan s2895 K8WE mobo with seabios payload, computer starts, but graphical ubuntu 64bits is crashing

On Sun, Sep 19, 2010 at 8:16 AM, STEMMELIN, FREDERIC (FREDERIC)** CTR
** <frederic.stemmelin@alcatel-lucent.com> wrote:
> Now here are my results with the patched Memtest86+ version 4.1.
> Check the attached files.
>
> As you can see it is far way better, even if it is not working, at least i can see that the memory is recognized correctly, wich is pretty good.
> Memtest86+ is still crashing on test starting (after 3%), but really not important so far, as long as my computer does not crash in normal operation mode.

I like using the memtest that comes with my distro, so I add this
simple patch to SeaBIOS when I want to test RAM.  It makes memtest
ignore the Coreboot tables.  I think you'll want to be sure that RAM
is working.

Thanks,
Myles
Myles Watson - 2010-10-06 16:42:05
On Wed, Oct 6, 2010 at 10:24 AM, STEMMELIN, FREDERIC (FREDERIC)** CTR
** <frederic.stemmelin@alcatel-lucent.com> wrote:
> Hello,
>
> i have just tried, and it fails.

Good to know. Thanks.

> I created a new folder, downloaded latest coreboot and seabios version (no patching at all).
> Build both seabios and coreboot.
>
> 1) test without network card
> OK, but acpi is not working properly as i need to press manually the power button to shutdown the computer
> Remark: i forgot to mention this point last time, it was the same last time, so acpi problem is not related to your last change, it was there before.
Yes.  That's a known problem.

> 2) test with network card plugged in PCI-X
> computer is hanging after a few seconds, but starts ...
Does it matter which PCI-X slot it's plugged into?

Probably not.

From src/mainboard/tyan/s2895/dsdt.asl:

			/* There is no _PRT Here because I don't know what to
			 * put in it.  Since the 8131 has its own APIC, it
			 * isn't wired to other IRQs. */

I don't know what it's supposed to look like, and I don't have any
PCI-X hardware.  This would be a good place to start if you'd like to
investigate.  You could compare it to the DSDT that came with your
factory BIOS.

Thanks,
Myles
Hello,

i will dump the dsdt table from 1.06 bios from linux /proc/acpi, disassemble it with iasl, and then compare it with the one provided in coreboot source code.

I will then let you know what i found.

Cheers
Frédéric

-----Message d'origine-----
De : Myles Watson [mailto:mylesgw@gmail.com] 
Envoyé : mercredi 6 octobre 2010 18:42
À : STEMMELIN, FREDERIC (FREDERIC)** CTR **
Cc : coreboot
Objet : Re: RE : [coreboot] RE : RE : [PATCH] Re: RE : RE : First coreboot build for Tyan s2895 K8WE mobo with seabios payload, computer starts, but graphical ubuntu 64bits is crashing

On Wed, Oct 6, 2010 at 10:24 AM, STEMMELIN, FREDERIC (FREDERIC)** CTR
** <frederic.stemmelin@alcatel-lucent.com> wrote:
> Hello,
>
> i have just tried, and it fails.

Good to know. Thanks.

> I created a new folder, downloaded latest coreboot and seabios version (no patching at all).
> Build both seabios and coreboot.
>
> 1) test without network card
> OK, but acpi is not working properly as i need to press manually the power button to shutdown the computer
> Remark: i forgot to mention this point last time, it was the same last time, so acpi problem is not related to your last change, it was there before.
Yes.  That's a known problem.

> 2) test with network card plugged in PCI-X
> computer is hanging after a few seconds, but starts ...
Does it matter which PCI-X slot it's plugged into?

Probably not.

From src/mainboard/tyan/s2895/dsdt.asl:

			/* There is no _PRT Here because I don't know what to
			 * put in it.  Since the 8131 has its own APIC, it
			 * isn't wired to other IRQs. */

I don't know what it's supposed to look like, and I don't have any
PCI-X hardware.  This would be a good place to start if you'd like to
investigate.  You could compare it to the DSDT that came with your
factory BIOS.

Thanks,
Myles

Patch

Index: seabios-master/src/coreboot.c
===================================================================
--- seabios-master.orig/src/coreboot.c
+++ seabios-master/src/coreboot.c
@@ -98,6 +98,7 @@  find_cb_header(char *addr, int len)
         if (ipchksum(addr + sizeof(*cbh), cbh->table_bytes)
             != cbh->table_checksum)
             continue;
+        cbh->signature = CB_SIGNATURE +1;
         return cbh;
     }
     return NULL;