From owner-freebsd-stable@FreeBSD.ORG Thu Mar 10 20:41:26 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4F2A106564A for ; Thu, 10 Mar 2011 20:41:26 +0000 (UTC) (envelope-from m.tsatsenko@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7F02F8FC17 for ; Thu, 10 Mar 2011 20:41:26 +0000 (UTC) Received: by wyf23 with SMTP id 23so2223340wyf.13 for ; Thu, 10 Mar 2011 12:41:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=HOJzIXzmgyr/rkSNZxFVSuQn858MsVEvPmhxArur5wk=; b=wYubXFL+eNQ47TjK3igOMD6wbbdgzq//EIfFHUyurz8c+X8bTn+OM6iqMHvYqBWpe1 R1ESmr9JMtXSSTDiJ0EXHhSb6k02BEzbPwytQKsYyYVziHtQj4PekCU8NQr0/nwRM1t0 WATBsJ1qbumit58S5FaDIGiyLPAvuxnVSJzFs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ZPk/RLjq2Tlzgw2Ar7WgdneFNfOexxV5jsAuH8VjidHZN/DKipH3yCKLNgvqon3gtt P37GM1hq2Jo9xVmhb01opC4i+VGiiSu6/UcwBTPNKqGLCH27CJh2d8MuJW8FA6IRZZZJ ZoVmcAIio2AvpUXOre1am6g+5c1Ux2sd79RBw= MIME-Version: 1.0 Received: by 10.216.141.72 with SMTP id f50mr450576wej.26.1299788302502; Thu, 10 Mar 2011 12:18:22 -0800 (PST) Received: by 10.216.15.9 with HTTP; Thu, 10 Mar 2011 12:18:22 -0800 (PST) Date: Thu, 10 Mar 2011 23:18:22 +0300 Message-ID: From: Mikhail Tsatsenko To: stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: kldload if_carp fails on 8.2 when kernel built without SCTP option -- link_elf_obj: symbol sha1_loop undefined X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2011 20:41:27 -0000 Hello! I have amd64 FreeBSD-8.2 box and found that kldload'ing if_carp fails with "link_elf_obj: symbol sha1_loop undefined" message. When using a kernel with SCTP option the problem goes away. Is it intentional? Is carp really needs SCTP? Also if I run ld manually the module loads fine: cd /usr/src/sys/modules/if_carp && make && ld -d -warn-common -r -d -o if_carp.ko ip_carp.o /usr/obj/usr/src/sys/XGATE/modules/usr/src/sys/modules/crypto/sha1.o && make load. Unfortunately I am not familiar with with kernel build process and need advice how to make happy if_carp module and my kernel. -- Mikhail