Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 2003 20:47:26 +0100
From:      Mark Knight <markk@knigma.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: strange problem with: ed driver / 4.9-PRE
Message-ID:  <4WP7N3YOled$EwqP@lap.knigma.org>
In-Reply-To: <20030916222632.GF91404@gsmx07.alcatel.com.au>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030916222632.GF91404@gsmx07.alcatel.com.au>, Peter Jeremy 
<peter.jeremy@alcatel.com.au> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4WP7N3YOled$EwqP>