[2.6.0-test5-mm2] no /proc/bus/i2c but i2c-core module loaded +small oops

From: Philippe Gramoullé
Date: Thu Oct 02 2003 - 21:32:11 EST



Hello,

Symptoms: modprobe i2c-core works fine but /proc/bus/i2c doesn't exist

Kernel : Stock 2.6.0-test5-mm2
Distro : Debian Sid + 2.8 lm-sensors user space utilities
Hardware: Dell WS 530MT SMP Xeon 1.5 Ghz, Intel Motherboard Chipset: 82801BA , ADM1023
00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 04)

Also while rmmoding i2c-dev module, i got the following message:


Device class 'i2c-0' does not have a release() function, it is broken and must be fixed.
Badness in class_dev_release at drivers/base/class.c:200

Call Trace:
[<c0227ef5>] kobject_cleanup+0x75/0x80
[<e0b42c3a>] i2cdev_detach_adapter+0x2a/0x40 [i2c_dev]
[<e0b3b7e9>] i2c_del_driver+0x1d9/0x230 [i2c_core]
[<e0b42c92>] i2c_dev_exit+0x12/0x37 [i2c_dev]
[<c013ac33>] sys_delete_module+0x133/0x160
[<c0152274>] sys_munmap+0x44/0x70
[<c0386e13>] syscall_call+0x7/0xb


Thanks,

Philippe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/