Date: Wed, 15 Jul 2009 09:59:26 +0100 (BST) From: Robert Watson <rwatson@FreeBSD.org> To: Luiz Otavio O Souza <lists.br@gmail.com> Cc: current@FreeBSD.org Subject: Re: Rebuild all network-related kernel modules on 8-current due to vnet allocator change Message-ID: <alpine.BSF.2.00.0907150958250.54568@fledge.watson.org> In-Reply-To: <8026EC1942CE4C128F168BBBFD987B27@adnote989> References: <alpine.BSF.2.00.0907150016260.54568@fledge.watson.org> <05461E04E6BD4477A879553178599F6E@adnote989> <8026EC1942CE4C128F168BBBFD987B27@adnote989>
index | next in thread | previous in thread | raw e-mail
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
>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0907150958250.54568>
