From owner-freebsd-current@FreeBSD.ORG Wed Jun 20 13:49:16 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5E8816A421 for ; Wed, 20 Jun 2007 13:49:16 +0000 (UTC) (envelope-from freebsd@gm.nunu.org) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id 3A0CE13C45B for ; Wed, 20 Jun 2007 13:49:16 +0000 (UTC) (envelope-from freebsd@gm.nunu.org) Received: by py-out-1112.google.com with SMTP id a29so373290pyi for ; Wed, 20 Jun 2007 06:49:15 -0700 (PDT) Received: by 10.35.39.13 with SMTP id r13mr1126401pyj.1182345697138; Wed, 20 Jun 2007 06:21:37 -0700 (PDT) Received: by 10.35.71.8 with HTTP; Wed, 20 Jun 2007 06:21:37 -0700 (PDT) Message-ID: <626eb4530706200621p253e23e1h2a9d075066e98957@mail.gmail.com> Date: Wed, 20 Jun 2007 22:21:37 +0900 From: "Hidetoshi Shimokawa" Sender: freebsd@gm.nunu.org To: "Niki Denev" In-Reply-To: <467813DC.9090103@cytexbg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070619150751.GA8348@ceid.upatras.gr> <467813DC.9090103@cytexbg.com> X-Google-Sender-Auth: e4620a9fa9e3e047 Cc: Marinos Ilias , freebsd-current@freebsd.org Subject: Re: Current does not boot - BIOS problem? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2007 13:49:17 -0000 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 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