PR kern/55279 - problem w/ if_ed.ko ( was Re: FW: module_register )

Brian Lynn blynn42 at comcast.net
Mon Aug 11 19:00:14 PDT 2003


[cc'd to fjoe]
          
> On Mon, 11 Aug 2003, Andris wrote:
> 
> > No. All devices are compiled in.
> 
> Can you mail me your kernel config, privately please? Thanks!
> 

Please see also PR kern/55279 from Darren Henderson 
http://www.freebsd.org/cgi/query-pr.cgi?pr=55279

I am also seeing this problem with if_ed.ko, though it is not causing any
functional difficulties, just the error messages.
relevant lines from kernel config:
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support

device          sis             # Silicon Integrated Systems SiS 900/SiS 7016
device          xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')

device          ed0     at isa? port 0x280 irq 10       #iomem 0xd8000
device          ed1     at isa? port 0x300 irq 5        #iomem 0xd8000

The box has 2 isa NE2000 nics using the ed driver (only nics in system).

and from dmesg:
Aug 10 01:07:31 death /kernel: FreeBSD 4.8-STABLE #0: Wed Jul  9 16:07:07 EDT 2003
Aug 10 01:07:33 death /kernel: ed0 at port 0x280-0x29f irq 10 on isa0
Aug 10 01:07:33 death /kernel: ed0: address 00:80:c8:e9:ec:2a, type NE2000 (16 bit) 
Aug 10 01:07:33 death /kernel: ed1 at port 0x300-0x31f irq 5 on isa0
Aug 10 01:07:33 death /kernel: ed1: address 00:50:bf:0b:21:2d, type NE2000 (16 bit) 
Aug 10 01:07:34 death /kernel: module_register: module miibus/ukphy already exists!
Aug 10 01:07:34 death /kernel: module_register: module pci/ed already exists!

As a workaround, try removing if_ed.ko from /modules.  This prevents the
errors for me (though possibly not the attempt to load it?).  I can't find
anything in the rc scripts which might be responsible for loading the module.
This setup works with RELENG_4_8 (no if_ed.ko module available),

Perhaps a problem with ed(4) as a kld?  It is a fairly recent MFC (post R_4_8)
# $FreeBSD: src/sys/modules/ed/Makefile,v 1.7.6.1 2003/06/23 11:55:17 fjoe Exp $

- Brian

PS. for completeness:
cat /boot/loader.conf
# -- sysinstall generated deltas -- #
userconfig_script_load="YES"
autoboot_delay="3"
hw.ata.atapi_dma="1"
if_xl.ko_load="NO"

cat /boot/kernel.conf
en sio1
di ppc0



More information about the freebsd-stable mailing list