[SeaBIOS] Question about linker building seabios
Marc Bertens
mbertens at xs4all.nl
Wed Jan 19 20:17:34 CET 2011
Kevin,
I put in that extra debug line in you put on pastebin, and it seems that
it deadloops there, see my boot log http://pastebin.com/B3fXSXAZ
Marc
On Mon, 2011-01-17 at 15:09 -0500, Kevin O'Connor wrote:
> On Mon, Jan 17, 2011 at 08:58:41PM +0100, Marc Bertens wrote:
> > It stops at 1989
> >
>
> Does the following fix it for you?
>
> --- a/src/pci.c
> +++ b/src/pci.c
> @@ -194,7 +194,7 @@ pci_path_setup(void)
> PCIpaths = malloc_tmp(sizeof(*PCIpaths) * 256);
> if (!PCIpaths)
> return;
> - memset(PCIpaths, 0, sizeof(PCIpaths));
> + memset(PCIpaths, 0, sizeof(*PCIpaths) * 256);
>
> int roots = 0;
> int bdf, max;
>
>
> > Marc
> >
> > On Mon, 2011-01-17 at 14:47 -0500, Kevin O'Connor wrote:
> >
> > > On Mon, Jan 17, 2011 at 07:35:25PM +0100, Marc Bertens wrote:
> > > > Hmmm, not completely true i'm afraid. When booting a cold systen it will
> > > > not come up.
> > > > When i switch to my fallback rom it boots, now i switch back to the
> > > > image that was not
> > > > booting and now it boots just fine.
> > > >
> > > > So i was a little premature with my earlier mail.
> > > >
> > > > I added the boot log in pastebin http://pastebin.com/g83qwpnj
> > >
> > > That log shows SeaBIOS succesfully booting. Do you have a log where
> > > seabios fails?
> > >
> > > -Kevin
> >
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.seabios.org/pipermail/seabios/attachments/20110119/02ca76e7/attachment.html>
More information about the SeaBIOS
mailing list