From owner-freebsd-stable Sat Oct 13 13:23: 6 2001 Delivered-To: freebsd-stable@freebsd.org Received: from sudz.ns3g.com (196.40.220-216.q9.net [216.220.40.196]) by hub.freebsd.org (Postfix) with ESMTP id F200437B406 for ; Sat, 13 Oct 2001 13:23:01 -0700 (PDT) Received: from cooler (cr768924-a.etob1.on.wave.home.com [24.42.29.172]) by sudz.ns3g.com (8.11.6/8.11.6) with SMTP id f9DKNjA01008; Sat, 13 Oct 2001 16:23:45 -0400 (EDT) (envelope-from sudz@ns3g.com) Reply-To: From: "Colin Legendre" To: "H" Cc: Subject: RE: smbfs.ko broken in 4.4 Date: Sat, 13 Oct 2001 16:24:20 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <20011013211646.C9790@moya.lambermont.dyndns.org> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Well, this is what I did, I found through a grep that it looked like I needed to compile options LIBICONV into my kernel, that then got rid of the error but another appeared, I then through a grep found that it wanted to have the kernel module libmchains.ko loaded that and it worked, is this normal? is there an easier way to find out what is needed? -----Original Message----- From: owner-freebsd-stable@FreeBSD.ORG [mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of H Sent: Saturday, October 13, 2001 3:17 PM To: Colin Legendre Cc: freebsd-stable@FreeBSD.ORG Subject: Re: smbfs.ko broken in 4.4 Colin Legendre wrote: > I am running 4.4 stable and getting this error when trying to load smbfs.ko > kldload: can't load smbfs.ko: Exec format error > any ideas? Yes (I recently bumped into something similar). You probably have something unresolved in your module (that is, you need some other module before this one). Check your syslog for stuff like: /kernel: link_elf: symbol blahblah undefined Then find that module (I used grep in /modules, there is probably some better way) and kldload it first. Succes ! Hans Lambermont -- http://lambermont.webhop.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message