From owner-freebsd-current@FreeBSD.ORG Wed Jul 15 08:59:26 2009 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6B3E1065673 for ; Wed, 15 Jul 2009 08:59:26 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 815608FC19 for ; Wed, 15 Jul 2009 08:59:26 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 3968346B37; Wed, 15 Jul 2009 04:59:26 -0400 (EDT) Date: Wed, 15 Jul 2009 09:59:26 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Luiz Otavio O Souza In-Reply-To: <8026EC1942CE4C128F168BBBFD987B27@adnote989> Message-ID: References: <05461E04E6BD4477A879553178599F6E@adnote989> <8026EC1942CE4C128F168BBBFD987B27@adnote989> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@FreeBSD.org Subject: Re: Rebuild all network-related kernel modules on 8-current due to vnet allocator change 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, 15 Jul 2009 08:59:26 -0000 On Wed, 15 Jul 2009, Luiz Otavio O Souza wrote: >> After update to r195705 my system panic every time i try to create a new >> vlan (but i can create a gif interface): >> >> # ifconfig vlan0 create >> panic: link_elf_load_file: unexpected progbits type >> cpuid = 1 >> KDB: enter: panic >> [thread pid 1023 tid 100136] >> >> (hand transcribed - i've just an usb keyboard here) >> >> My kernel don't have any VIMAGE options. >> >> The system is working flawless before the upgrade. >> >> If you need any/more information about this, just let me know. > > I've just commented out the panic() in link_elf_obj.c and now i'm able to > create vlans again. This assertion may well be too conservative -- is there any chance you have a kernel built with the DTrace CTF support? It may be using progbits, in which case removing the assertion is the right solution. I'll test this hypothesis. Robert N M Watson Computer Laboratory University of Cambridge > > # svn diff link_elf_obj.c > Index: link_elf_obj.c > =================================================================== > --- link_elf_obj.c (revision 195705) > +++ link_elf_obj.c (working copy) > @@ -793,9 +793,11 @@ > vnet_data_copy(ef->progtab[pb].addr, > shdr[i].sh_size); > #endif > +#if 0 > else > panic("link_elf_load_file: unexpected > " > "progbits type"); > +#endif > } else > bzero(ef->progtab[pb].addr, shdr[i].sh_size); > > Now i'll get some sleep (too much coffee for a day...) or i'll not be able to > look at screen tomorrow =) > > Thanks and regards, > Luiz >