strange problem with: ed driver / 4.9-PRE

Mark Knight markk at knigma.org
Sat Sep 27 12:47:34 PDT 2003


In message <20030916222632.GF91404 at gsmx07.alcatel.com.au>, Peter Jeremy 
<peter.jeremy at 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 at knigma.org
Tel: +44 7973 410732                            http://www.knigma.org/


More information about the freebsd-stable mailing list