From owner-freebsd-stable@FreeBSD.ORG Sat Sep 27 12:47:34 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 727FE16A4B3 for ; Sat, 27 Sep 2003 12:47:34 -0700 (PDT) Received: from shrewd.knigma.org (shrewd.pub.knigma.org [81.2.102.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD1E444003 for ; Sat, 27 Sep 2003 12:47:32 -0700 (PDT) (envelope-from markk@knigma.org) Received: from lap.knigma.org (lap.wireless.knigma.org [217.169.23.236]) by shrewd.knigma.org (8.12.9p2/8.12.9) with ESMTP id h8RJlVU0036251 for ; Sat, 27 Sep 2003 20:47:31 +0100 (BST) (envelope-from markk@knigma.org) Message-ID: <4WP7N3YOled$EwqP@lap.knigma.org> Date: Sat, 27 Sep 2003 20:47:26 +0100 To: freebsd-stable@freebsd.org From: Mark Knight References: <6.0.0.22.2.20030916073154.03af28a8@194.184.65.4> <20030916062637.GA25332@falcon.midgard.homeip.net> <6.0.0.22.2.20030916084546.0305c1c0@194.184.65.4> <20030916071956.GA25582@falcon.midgard.homeip.net> <20030916222632.GF91404@gsmx07.alcatel.com.au> In-Reply-To: <20030916222632.GF91404@gsmx07.alcatel.com.au> MIME-Version: 1.0 Content-Type: text/plain;charset=us-ascii;format=flowed User-Agent: Turnpike/6.02-U () Subject: Re: strange problem with: ed driver / 4.9-PRE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Sep 2003 19:47:34 -0000 In message <20030916222632.GF91404@gsmx07.alcatel.com.au>, Peter Jeremy writes >I've bumped into this with the vlan driver as well. I believe the fix >is to patch ifconfig(8) so that it checks for "DEVICE" as well as >"if_DEVICE" and skips the load if either is found. I don't believe >this change is especially risky. I'm still seeing this with -stable dated 26th September. It appears to be covered by bug number 55279. miibus and ed0 are both statically compiled into my kernel, and these devices are not mentioned in /boot/* Despite this, the following boot time errors are reported: module_register: module miibus/ukphy already exists! linker_file_sysinit "miibus.ko" failed to register! 17 module_register: module pccard/ed already exists! linker_file_sysinit "if_ed.ko" failed to register! 17 and kldstat reports: -bash-2.05b$ kldstat Id Refs Address Size Name 1 4 0xc0100000 2768c8 kernel 3 2 0xc092d000 e000 miibus.ko 4 1 0xc0940000 a000 if_ed.ko 5 1 0xc09b3000 15000 linux.ko For full kernel/dmesg: http://www.knigma.org.uk/~mkn/roys_error.txt The problem appears to be that the ed driver module is named "ed" (as reported by kldstat -v), rather than "if_ed", causing ifconfig to attempt to load the module. Could this be corrected for 4.9-RELEASE please? Many thanks, -- Mark A. R. Knight finger: markk@knigma.org Tel: +44 7973 410732 http://www.knigma.org/