Re: Current does not boot - BIOS problem?

From: Hidetoshi Shimokawa <simokawa_at_FreeBSD.ORG>
Date: Wed, 20 Jun 2007 22:21:37 +0900
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
_at__at_ -91,7 +91,7 _at__at_
      */
     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_at_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 _at_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_at_freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>


-- 
/\ Hidetoshi Shimokawa
\/  simokawa_at_FreeBSD.ORG
Received on Wed Jun 20 2007 - 11:49:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:12 UTC