* [2.6.0-test5-mm2] no /proc/bus/i2c but i2c-core module loaded + small oops
@ 2003-10-03 2:30 Philippe Gramoullé
2003-10-03 4:33 ` Greg KH
2003-10-03 5:35 ` Ed Sweetman
0 siblings, 2 replies; 4+ messages in thread
From: Philippe Gramoullé @ 2003-10-03 2:30 UTC (permalink / raw)
To: linux-kernel; +Cc: Greg KH
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [2.6.0-test5-mm2] no /proc/bus/i2c but i2c-core module loaded + small oops
2003-10-03 2:30 [2.6.0-test5-mm2] no /proc/bus/i2c but i2c-core module loaded + small oops Philippe Gramoullé
@ 2003-10-03 4:33 ` Greg KH
2003-10-03 7:02 ` Philippe Gramoullé
2003-10-03 5:35 ` Ed Sweetman
1 sibling, 1 reply; 4+ messages in thread
From: Greg KH @ 2003-10-03 4:33 UTC (permalink / raw)
To: Philippe Gramoullé; +Cc: linux-kernel
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 :)
lmsensors has not been ported to 2.6 yet, sorry. Look in /sys/bus/i2c
for the devices and sensors.
> 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.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [2.6.0-test5-mm2] no /proc/bus/i2c but i2c-core module loaded + small oops
2003-10-03 2:30 [2.6.0-test5-mm2] no /proc/bus/i2c but i2c-core module loaded + small oops Philippe Gramoullé
2003-10-03 4:33 ` Greg KH
@ 2003-10-03 5:35 ` Ed Sweetman
1 sibling, 0 replies; 4+ messages in thread
From: Ed Sweetman @ 2003-10-03 5:35 UTC (permalink / raw)
To: Philippe Gramoullé; +Cc: linux-kernel, Greg KH
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.
Philippe Gramoullé wrote:
> 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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [2.6.0-test5-mm2] no /proc/bus/i2c but i2c-core module loaded + small oops
2003-10-03 4:33 ` Greg KH
@ 2003-10-03 7:02 ` Philippe Gramoullé
0 siblings, 0 replies; 4+ messages in thread
From: Philippe Gramoullé @ 2003-10-03 7:02 UTC (permalink / raw)
To: Greg KH; +Cc: linux-kernel
Hello Greg,
On Thu, 2 Oct 2003 21:33:25 -0700
Greg KH <greg@kroah.com> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-10-03 7:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-03 2:30 [2.6.0-test5-mm2] no /proc/bus/i2c but i2c-core module loaded + small oops Philippe Gramoullé
2003-10-03 4:33 ` Greg KH
2003-10-03 7:02 ` Philippe Gramoullé
2003-10-03 5:35 ` Ed Sweetman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox