From owner-freebsd-stable Sun May 6 17:49:27 2001 Delivered-To: freebsd-stable@freebsd.org Received: from tomts8-srv.bellnexxia.net (tomts8.bellnexxia.net [209.226.175.52]) by hub.freebsd.org (Postfix) with ESMTP id 6EEC937B422 for ; Sun, 6 May 2001 17:49:24 -0700 (PDT) (envelope-from matt@gsicomp.on.ca) Received: from xena.gsicomp.on.ca ([64.228.153.241]) by tomts8-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010507004923.FCRX15234.tomts8-srv.bellnexxia.net@xena.gsicomp.on.ca>; Sun, 6 May 2001 20:49:23 -0400 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.11.1) with SMTP id f470kmN34728; Sun, 6 May 2001 20:46:48 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <001c01c0d68e$cf17d6c0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "David W. Chapman Jr." , References: <002101c0d667$b0a7b3d0$1200a8c0@gsicomp.on.ca> <003701c0d66e$32ee5280$931576d8@inethouston.net> <001701c0d679$de3b77c0$1200a8c0@gsicomp.on.ca> <003501c0d67b$4c86d480$931576d8@inethouston.net> Subject: Re: Broken module loading and kernel dependencies Date: Sun, 6 May 2001 20:44:00 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > If I did kldload if_rl it would pick up the kingston but not the > > realtek, if I loaded if_dc it would pick up the kingston and > > then I would try to load if_rl and it would tell me its already > > loaded and wouldn't pick up the realtek, but I could not get > > both nic's to work until I compiled them into the kernel. > > > > I imagine this is because of 'device miibus', a dependency of both. > > but isn't that the point of the kld miibus.ko? Yes, but as you can see, it's broken. In your case, the second driver load doesn't notice that the miibus module is already loaded, tries to load it, and it conflicts with the one that's already there. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message