From owner-freebsd-current@FreeBSD.ORG Wed Jul 15 08:02:11 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 DB694106564A; Wed, 15 Jul 2009 08:02:10 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-qy0-f204.google.com (mail-qy0-f204.google.com [209.85.221.204]) by mx1.freebsd.org (Postfix) with ESMTP id 789878FC08; Wed, 15 Jul 2009 08:02:10 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: by qyk42 with SMTP id 42so2906161qyk.3 for ; Wed, 15 Jul 2009 01:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:references :subject:date:mime-version:content-type:content-transfer-encoding :x-priority:x-msmail-priority:x-mailer:x-mimeole; bh=S2wg85QC6UDq0ESp8b0oINsS69hkml2OeZTkXNozu+Y=; b=whqd7vecbuqQIJzhjn+xj3MCzOf8vEl9acDKQpjbYzZdRpDQEnywp3FyQiFhEaZGwj HLpiWpBoK4OOfX1txBrpPwXAuYtGKUlodnM6/uKW5lO8cAryPmOYo1qHN3nZZKT1I/oY GzbRYeHlEFGrXRLCMARwS738oddzkz+YSghHU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:references:subject:date:mime-version :content-type:content-transfer-encoding:x-priority:x-msmail-priority :x-mailer:x-mimeole; b=n1wpJ3KsBUuAVoIcx1oRVV9g664TZwYdszxQNfgo76wQ9y2TzM/QXEqwTHQi61TNiW refYQm5aJi54G4zUoNAklqVx0S3s1p1XtLaIO8EdFClMc7cvTgV5ju4nT/JuNTk2pIEr PhXOZxKG+HD1Kevtdo1Nh02WuBz1+By0X5BKU= Received: by 10.224.11.8 with SMTP id r8mr4484874qar.139.1247644929717; Wed, 15 Jul 2009 01:02:09 -0700 (PDT) Received: from adnote989 ([200.182.220.66]) by mx.google.com with ESMTPS id 4sm9568313qwe.28.2009.07.15.01.02.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 15 Jul 2009 01:02:09 -0700 (PDT) Message-ID: <8026EC1942CE4C128F168BBBFD987B27@adnote989> From: "Luiz Otavio O Souza" To: "Robert Watson" , References: <05461E04E6BD4477A879553178599F6E@adnote989> Date: Wed, 15 Jul 2009 05:02:19 -0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Cc: 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:02:11 -0000 > > >> Just a quick heads up: >> >> The attached change, which just entered 8-current, modifies kernel >> programming and binary interfaces for many network stack >> components/modules. You will want to make sure all kernel modules are >> rebuilt. >> >> For those willing to take a risk, here's a list of the kernel modules >> (and of course the kernel) that I know are definitely affected and will >> want to be rebuilt: >> >> bridgestp.ko if_vlan.ko kernel ng_atm.ko sppp.ko >> if_bridge.ko ip_mroute.ko linprocfs.ko ng_eiface.ko svr4.ko >> if_ef.ko ipdivert.ko linux.ko ng_ether.ko wlan.ko >> if_faith.ko ipfw.ko netgraph.ko ng_gif.ko >> if_gif.ko ipfw_nat.ko nfscl.ko ng_iface.ko >> if_gre.ko ipl.ko nfsclient.ko pf.ko >> if_stf.ko iw_cxgb.ko nfsd.ko rdma_cma.ko >> >> (For those interested: I grepped for vnet_entry in my local kernel module >> collection -- these are kernel modules that directly reference >> virtualized global network stack variables with a VIMAGE configuration). >> >> Robert N M Watson >> Computer Laboratory >> University of Cambridge >> > > Robert, > > 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. > > Regards, > Luiz Robert, I've just commented out the panic() in link_elf_obj.c and now i'm able to create vlans again. # 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