Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 2009 20:50:31 +0200
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        Dan Allen <danallen46@airwired.net>
Cc:        Yuri Pankov <yuri.pankov@gmail.com>, freebsd-stable@freebsd.org, John Baldwin <jhb@freebsd.org>
Subject:   Re: Something since June 8th clobbers my disk...
Message-ID:  <3a142e750906131150p6e960400o8a42ab4973aa26e@mail.gmail.com>
In-Reply-To: <22FB500C-9655-4702-99B8-F6498DD27E2F@airwired.net>
References:  <212AA509-6A5D-4D43-8B02-A31E636A8D40@airwired.net> <3a142e750906111641w73d991a7ld22ff9a9150404e0@mail.gmail.com> <B2BA29D4-BEE8-427B-88AB-28775F550BE5@airwired.net> <200906120832.51098.jhb@freebsd.org> <22FB500C-9655-4702-99B8-F6498DD27E2F@airwired.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/13/09, Dan Allen <danallen46@airwired.net> wrote:
>
> On 12 Jun 2009, at 6:32 AM, John Baldwin wrote:
>
>> On Thursday 11 June 2009 9:33:24 pm Dan Allen wrote:
>>> Isn't boot part of the kernel build?  Why would installing the kernel
>>> not cause this problem?
>>
>> No, sys/boot is built during world.  Likely some change in /boot/
>> loader is
>> causing your problem.  Can you narrow it down to a specific change
>> under
>> sys/boot?
>
> Ok.  I updated just the one file since it appeared like one of the few
> changed files
>
> 	/usr/src/sys/boot/i386/libi386/biosdisk.c
>
> and rebuilt things with
>
> 	cd /usr/src/sys/boot; make cleandir obj depend all install
>
> and it was okay.  No problems.
>
> Then I did sync'd all of the changed files for /usr/src/sys/boot and
> my machine is hung again at boot, so we have narrowed it down to
> somewhere in /usr/src/sys/boot/.
>
> Time to reinstall from a DVD and try it with finer granularity.  This
> will take some time.
>
> There appears to be only four files that have changed in /usr/src/sys/
> boot from June 8th (all working fine) to June 11th (dead in the
> water).  They are:
>
> /usr/src/sys/boot/Makefile
> /usr/src/sys/boot/i386/Makefile
> /usr/src/sys/boot/i386/libi386/biosdisk.c

I doubt it is loader fault, from your description it appears that
loader is never started.

Could you try to remove -DLOADER_ZFS_SUPPORT from Makefile?

> /usr/src/sys/boot/i386/loader/Makefile
>
> I have ruled out bisodisk.c, as stated above.
>
> That means that the Makefiles are building new stuff that previously
> was not built, namely
>
> 	zfsboot gptzfsboot
>
> I believe it has to do with that.  More help is needed!  I am tired of
> reinstalling the OS, but I am much more paranoid about updating my
> other machine in any way now, as it could erase that whole machine.  I
> can't believe I am the only one seeing this...
>
> Dan
>
>


-- 
Paul



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