Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2003 13:40:19 -0700 (PDT)
From:      Lars Eggert <larse@isi.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/55561: SMbus and I2C don't attach when loaded as modules
Message-ID:  <200308132040.h7DKeJ8S050144@nik.isi.edu>
Resent-Message-ID: <200308132050.h7DKoCYU052258@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         55561
>Category:       i386
>Synopsis:       SMbus and I2C don't attach when loaded as modules
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 13 13:50:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Lars Eggert
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD nik.isi.edu 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Aug 11 10:33:09 PDT 2003 root@nik.isi.edu:/usr/src/sys/i386/compile/KERNEL-1.25 i386


	
>Description:
I tried loading the SMbus and I2C drivers as modules, but they fail to
attach to the devices:

[larse@nik: ~] cat /var/run/dmesg.boot | egrep 'iic|smb'
Preloaded elf module "/boot/kernel/smbus.ko" at 0xc06f3300.
Preloaded elf module "/boot/kernel/smb.ko" at 0xc06f3458.
Preloaded elf module "/boot/kernel/iicbus.ko" at 0xc06f3500.
Preloaded elf module "/boot/kernel/iic.ko" at 0xc06f35ac.
Preloaded elf module "/boot/kernel/iicsmb.ko" at 0xc06f3654.

[larse@nik: ~] dmesg | grep "no driver attached"
pci1: <display> at device 0.1 (no driver attached)
pci3: <base peripheral, interrupt controller> at device 0.0 (no driver attached)
pci4: <multimedia> at device 15.1 (no driver attached)
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)

	
>How-To-Repeat:
	
>Fix:
Workaround: Compile modules statically into the kernel.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308132040.h7DKeJ8S050144>