Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2007 22:21:37 +0900
From:      "Hidetoshi Shimokawa" <simokawa@FreeBSD.ORG>
To:        "Niki Denev" <nike_d@cytexbg.com>
Cc:        Marinos Ilias <marinosi@ceid.upatras.gr>, freebsd-current@freebsd.org
Subject:   Re: Current does not boot - BIOS problem?
Message-ID:  <626eb4530706200621p253e23e1h2a9d075066e98957@mail.gmail.com>
In-Reply-To: <467813DC.9090103@cytexbg.com>
References:  <20070619150751.GA8348@ceid.upatras.gr> <467813DC.9090103@cytexbg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I observed similar problem when stack/heap of loader overruns.
Could you try the followin patch?

RCS file: /home/ncvs/src/sys/boot/i386/loader/main.c,v
retrieving revision 1.40
diff -u -r1.40 main.c
--- main.c      29 May 2007 14:35:57 -0000      1.40
+++ main.c      20 Jun 2007 13:20:12 -0000
@@ -91,7 +91,7 @@
      */
     bios_getmem();

-#if defined(LOADER_BZIP2_SUPPORT) || defined(LOADER_FIREWIRE_SUPPORT)
+#if 1
     heap_top = PTOV(memtop_copyin);
     memtop_copyin -= 0x300000;
     heap_bottom = PTOV(memtop_copyin);


On 6/20/07, Niki Denev <nike_d@cytexbg.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Marinos Ilias wrote:
> > Hello list,
> > Yesterday I upgraded to latest -CURRENT.Although the build and installing was successful, the system refuses to boot.It stops at the boot sequence with the following error:
> >
> >
> > Can't work out which disk we are booting from.
> > Guessed BIOS device 0xffffffff not found by probes, defaulting to disk0:
> >
> > panic: free: guard1 fail @0x5195c from /home/ncvs/src/sys/boot/i386/loader/../../common/module.c:957
> > --> Press a key on the console to reboot <--
> >
> >
> > I cannot figure out what kind of problem is it.It's weird that the system cannot find which disk to boot from.I didn't have such problems at past and I run CURRENT at this desktop for over a year.Also I want to add that I cannot either boot the kernel.old , as it hangs when I try :
> > kernel /boot/kernel.old/kernel
> > at boot prompt.
> >
> >
> > If you have any ideas, you're welcome!
> >
> > Thank you.
> >
> > Ilias Marinos
> > _______________________________________________
> > freebsd-current@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>
> I have exactly the same problem with recent -current sources with my
> ThinkPad X31. I had to tell the loader to boot /boot/loader.old
> and then i copied loader.old to loader and since then i have no
> problems, but i do this after each rebuild. So, it's clearly something
> wrong with the loader, but i wansn't able to find something suspicious
> looking at recent commit logs
>
>
> Niki
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGeBPcHNAJ/fLbfrkRAveBAKCCWHt/yudZf8LbEeFygT0XHLmHCwCgk/vh
> LKkBwHYfufqBiYfo4xPKsck=
> =iyft
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>


-- 
/\ Hidetoshi Shimokawa
\/  simokawa@FreeBSD.ORG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?626eb4530706200621p253e23e1h2a9d075066e98957>