From owner-freebsd-current Fri Mar 12 23:39:14 1999 Delivered-To: freebsd-current@freebsd.org Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.65]) by hub.freebsd.org (Postfix) with ESMTP id 9F4AF156F6 for ; Fri, 12 Mar 1999 23:39:06 -0800 (PST) (envelope-from mark@grondar.za) Received: from greenpeace.grondar.za (greenpeace.grondar.za [196.7.18.132]) by gratis.grondar.za (8.9.2/8.9.2) with ESMTP id JAA13106; Sat, 13 Mar 1999 09:38:44 +0200 (SAST) (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by greenpeace.grondar.za (8.9.3/8.9.3) with ESMTP id JAA21046; Sat, 13 Mar 1999 09:38:45 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <199903130738.JAA21046@greenpeace.grondar.za> To: Mike Smith Cc: Valentin Shopov , current@freebsd.org Subject: Re: pcic.c & {,un}register_pcic_intr declarations In-Reply-To: Your message of " Fri, 12 Mar 1999 23:21:58 PST." <199903130721.XAA00672@dingo.cdrom.com> References: <199903130721.XAA00672@dingo.cdrom.com> Date: Sat, 13 Mar 1999 09:38:43 +0200 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > > Mike Smith wrote: > > > > > > The only configuration which currently works correctly is to remove the > > > kldload of the pcic module from /etc/rc.pccard and compile everything > > > else statically into the kernel. > > > > > > Every other variation is *broken*. > > > > Nope. I am kldloading pcic on my Libretto with no problems at all. > > I have no private hacks on that machine _at_all_. The only brokenness > > is when users compile pcic into the kernel, and rc.pccard kldloads > > pcic (Which is my stuffup). > > Unfortunately, no, that's not correct. > > The pcic module contains a reference to a symbol that's only present in > the kernel when the card* devices are statically compiled in. Ie. if > you remove pcic* and card* you can't load the pcic module. I have card* compiled in (perhaps I should have mentioned that?), and pcic* kldloaded. > This makes the pcic module useless, and, as I said, renders any > combination other than 100% static *broken*. Rubbish! Why is my system working? > > Two solutions; 1) don't compile pcic into your kernel; 2) remove the > > kldload pcic from rc.pccard; 3) fix kldload to not load modules when > > their functionality is already compiled in (_Three_ Solutions!!). > > 1) is a non-solutuion. 3) is where the correct answer lies, but until > the file/module dichotomy is resolved, it's not possible to do that. 1) works (and needs tidying up). Any suggestions for a kernel neophyte on how to get stuck into 3)? M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message