From owner-freebsd-questions@FreeBSD.ORG Fri Mar 25 16:18:46 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CAAB16A4CE for ; Fri, 25 Mar 2005 16:18:46 +0000 (GMT) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12B6543D39 for ; Fri, 25 Mar 2005 16:18:45 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 31923 invoked from network); 25 Mar 2005 16:18:40 -0000 Received: from unknown (HELO localhost) ([pbs]775067@[83.129.6.164]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 25 Mar 2005 16:18:40 -0000 Date: Fri, 25 Mar 2005 17:18:48 +0100 From: Fabian Keil To: "Texas Consultant" Message-ID: <20050325171848.0476b7b5@localhost> In-Reply-To: References: X-Mailer: Sylpheed-Claws 1.0.1 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: NDIS installation problem with WMP54G v4 wireless card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 16:18:46 -0000 "Texas Consultant" wrote: > Just put together a new BSD 5.3 machine, and compiled NDIS for use with a > Linksys WMP54g v4 card; it's a wireless card that uses the Ralink RT2500 > chipset. > > Everything works so far; major steps are: > > 1. make ndis > 2. copy over NDIS driver files > 3. make if_ndis > 4. kldload ndis > > However, kldload if_ndis returns an error: > > /sbin/kldload -v /usr/src/sys/modules/if_ndis/if_ndis.ko > kldload: can't load > link_elf: symbol rt2500_sys_drv_data_start undefined > /usr/src/sys/modules/if_ndis/if_ndis.ko: No such file or directory > *** Error code 1 > > Stop in /usr/src/sys/modules/if_ndis. I had a similar problem after updating from 5.3 to 5.4-PRERELEASE. I rebuilded if_ndis, but forgot to first recreate ndis_driver_data.h. After rebuilding ndis_driver_data.h with the right sources it worked again. Could your sources by out of sync with the system? Fabian -- http://www.fabiankeil.de