no /proc/bus/i2c but i2c-core module loaded + small oops
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
Quoted 4 lines · Philippe Gramoullé
Hello,
Symptoms: modprobe i2c-core works fine but
/proc/bus/i2cdoesn't exist
/proc/bus/i2c will never exist :)
lmsensors has not been ported to 2.6 yet, sorry. Look in /sys/bus/i2c for the devices and sensors.
Quoted 2 lines
Device class 'i2c-0' does not have a
release()function, it is broken and must be fixed. Badness inclass_dev_releaseatdrivers/base/class.c:200
bah, forget to fix this one up. Will get to it in the next few days.
thanks,
greg k-h
Hello Greg,
On Thu, 2 Oct 2003 21:33:25 -0700
Greg KH <[email protected]> wrote:
| On Fri, Oct 03, 2003 at 04:30:53AM +0200, Philippe Gramoullé wrote: | > | > Hello, | > | > Symptoms: modprobe i2c-core works fine but /proc/bus/i2c doesn't exist | | /proc/bus/i2c will never exist :)
Well, ok :) No need to say that i didn't follow closely recent evolutions regarding i2c. I just read but documentation but obviously not for the right kernel :)
| | lmsensors has not been ported to 2.6 yet, sorry. Look in /sys/bus/i2c | for the devices and sensors.
Ok Thx. Will do.
| | > 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 | | bah, forget to fix this one up. Will get to it in the next few days.
Ok. Hope that it helped.
|
| thanks,
Thanks to you.
|
| greg k-h
Bye,
Philippe
Go check out sysfs. i2c no longer uses proc. AFAIK system related proc entries will all move to sysfs.
No idea about the rmmod error.
Quoted 34 lines · Philippe Gramoullé
Hello,
Symptoms: modprobe i2c-core works fine but
/proc/bus/i2cdoesn't existKernel : 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 , ADM102300: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 inclass_dev_releaseatdrivers/base/class.c:200Call 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/0xbThanks,
Philippe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/