From: florin@iucha.net (Florin Iucha)
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: it87 driver converted to sysfs
Date: Thu, 19 May 2005 06:23:55 +0000 [thread overview]
Message-ID: <20030425215335.GN1069@iucha.net> (raw)
In-Reply-To: <20030424172758.GA27365@kroah.com>
On Thu, Apr 24, 2003 at 10:27:58AM -0700, Greg KH wrote:
> Thanks, I've applied this and will send it on in a bit.
>
> Oops, I've fixed the call to check_region, which should not have been
> made. Sorry I missed that last time.
I have booted 2.5.68-bk6 and upon modprobe it87 I get this:
i2c /dev entries driver module version 2.7.0 (20021208)
registering 0-0290
Unable to handle kernel NULL pointer dereference at virtual address 0000006c
printing eip:
c022ea13
*pde = 00000000
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<c022ea13>] Not tainted
EFLAGS: 00010206
EIP is at kobject_get+0x13/0x50
eax: ef27e000 ebx: 0000005c ecx: c03b1db0 edx: 00000296
esi: f0858388 edi: ef55ec00 ebp: ef55ec00 esp: ef27fea8
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 69, threadinfoï27e000 taskï6e2700)
Stack: ef55ec44 c022e71d 0000005c ef55ec18 c027f5a6 ef55ec44 ef55ec18 c027f703
ef55ec18 ef55eca2 f08736df ef55ec18 ef55eca2 f0875127 00000000 00000290
ef55ece0 f08821a3 ef55eca2 f0881573 ef55ec00 00000058 00000008 f08821a3
Call Trace:
[<c022e71d>] kobject_init+0x2d/0x50
[<c027f5a6>] device_initialize+0x16/0x50
[<c027f703>] device_register+0x13/0x30
[<f08736df>] i2c_attach_client+0xff/0x150 [i2c_core]
[<f0875127>] +0xb/0x24 [i2c_core]
[<f08821a3>] +0x130/0x14d [it87]
[<f0881573>] it87_detect+0x163/0x540 [it87]
[<f08821a3>] +0x130/0x14d [it87]
[<f0883a08>] forces+0x28/0x40 [it87]
[<c0122046>] __check_region+0x46/0x50
[<f0883a08>] forces+0x28/0x40 [it87]
[<f085a34f>] +0x34f/0x4b0 [i2c_sensor]
[<f0858360>] isa_adapter+0x0/0x1a0 [i2c_isa]
[<f08776a4>] i2c_bus_type+0x44/0xe0 [i2c_core]
[<f0877660>] i2c_bus_type+0x0/0xe0 [i2c_core]
[<c02806a0>] bus_add_driver+0xd0/0xe0
[<f0883be0>] it87_driver+0x0/0xa4 [it87]
[<f08813ff>] it87_attach_adapter+0x1f/0x30 [it87]
[<f0858360>] isa_adapter+0x0/0x1a0 [i2c_isa]
[<f0883ba0>] addr_data+0x0/0x24 [it87]
[<f0881410>] it87_detect+0x0/0x540 [it87]
[<f0873374>] i2c_add_driver+0xc4/0xf0 [i2c_core]
[<f0858360>] isa_adapter+0x0/0x1a0 [i2c_isa]
[<f0883e80>] +0x0/0x140 [it87]
[<f085200f>] +0xf/0x13 [it87]
[<f0883be0>] it87_driver+0x0/0xa4 [it87]
[<c01329ff>] sys_init_module+0x12f/0x1e0
[<f0883e80>] +0x0/0x140 [it87]
[<c010ab77>] syscall_call+0x7/0xb
Code: 8b 43 10 85 c0 7e 26 ff 43 10 b8 00 e0 ff ff 21 e0 ff 48 14
<6>note: modprobe[69] exited with preempt_count 1
bad: scheduling while atomic!
Call Trace:
[<c011a5b9>] schedule+0x399/0x3a0
[<c01410f3>] unmap_page_range+0x43/0x70
[<c01412e0>] unmap_vmas+0x1c0/0x220
[<c01450cb>] exit_mmap+0x7b/0x190
[<c011be84>] mmput+0x54/0xb0
[<c011fb9d>] do_exit+0x10d/0x400
[<c010bbb1>] die+0xe1/0xf0
[<c0118caa>] do_page_fault+0x14a/0x457
[<c010b4e4>] common_interrupt+0x18/0x20
[<c0272860>] serial_in+0x20/0x40
[<c022f8f2>] __delay+0x12/0x20
[<c02751d5>] serial8250_console_write+0x155/0x240
[<c011dfc4>] __call_console_drivers+0x54/0x60
[<c0118b60>] do_page_fault+0x0/0x457
[<c010b581>] error_code+0x2d/0x38
[<f0858388>] isa_adapter+0x28/0x1a0 [i2c_isa]
[<c022ea13>] kobject_get+0x13/0x50
[<c022e71d>] kobject_init+0x2d/0x50
[<c027f5a6>] device_initialize+0x16/0x50
[<c027f703>] device_register+0x13/0x30
[<f08736df>] i2c_attach_client+0xff/0x150 [i2c_core]
[<f0875127>] +0xb/0x24 [i2c_core]
[<f08821a3>] +0x130/0x14d [it87]
[<f0881573>] it87_detect+0x163/0x540 [it87]
[<f08821a3>] +0x130/0x14d [it87]
[<f0883a08>] forces+0x28/0x40 [it87]
[<c0122046>] __check_region+0x46/0x50
[<f0883a08>] forces+0x28/0x40 [it87]
[<f085a34f>] +0x34f/0x4b0 [i2c_sensor]
[<f0858360>] isa_adapter+0x0/0x1a0 [i2c_isa]
[<f08776a4>] i2c_bus_type+0x44/0xe0 [i2c_core]
[<f0877660>] i2c_bus_type+0x0/0xe0 [i2c_core]
[<c02806a0>] bus_add_driver+0xd0/0xe0
[<f0883be0>] it87_driver+0x0/0xa4 [it87]
[<f08813ff>] it87_attach_adapter+0x1f/0x30 [it87]
[<f0858360>] isa_adapter+0x0/0x1a0 [i2c_isa]
[<f0883ba0>] addr_data+0x0/0x24 [it87]
[<f0881410>] it87_detect+0x0/0x540 [it87]
[<f0873374>] i2c_add_driver+0xc4/0xf0 [i2c_core]
[<f0858360>] isa_adapter+0x0/0x1a0 [i2c_isa]
[<f0883e80>] +0x0/0x140 [it87]
[<f085200f>] +0xf/0x13 [it87]
[<f0883be0>] it87_driver+0x0/0xa4 [it87]
[<c01329ff>] sys_init_module+0x12f/0x1e0
[<f0883e80>] +0x0/0x140 [it87]
[<c010ab77>] syscall_call+0x7/0xb
-bk3 with my version of it87 works fine.
Cheers,
florin
--
"NT is to UNIX what a doughnut is to a particle accelerator."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20030425/c1de72c9/attachment.bin
WARNING: multiple messages have this Message-ID (diff)
From: florin@iucha.net (Florin Iucha)
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: Re: it87 driver converted to sysfs
Date: Fri, 25 Apr 2003 16:53:35 -0500 [thread overview]
Message-ID: <20030425215335.GN1069@iucha.net> (raw)
In-Reply-To: <20030424172758.GA27365@kroah.com>
[-- Attachment #1: Type: text/plain, Size: 4489 bytes --]
On Thu, Apr 24, 2003 at 10:27:58AM -0700, Greg KH wrote:
> Thanks, I've applied this and will send it on in a bit.
>
> Oops, I've fixed the call to check_region, which should not have been
> made. Sorry I missed that last time.
I have booted 2.5.68-bk6 and upon modprobe it87 I get this:
i2c /dev entries driver module version 2.7.0 (20021208)
registering 0-0290
Unable to handle kernel NULL pointer dereference at virtual address 0000006c
printing eip:
c022ea13
*pde = 00000000
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<c022ea13>] Not tainted
EFLAGS: 00010206
EIP is at kobject_get+0x13/0x50
eax: ef27e000 ebx: 0000005c ecx: c03b1db0 edx: 00000296
esi: f0858388 edi: ef55ec00 ebp: ef55ec00 esp: ef27fea8
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 69, threadinfo=ef27e000 task=ef6e2700)
Stack: ef55ec44 c022e71d 0000005c ef55ec18 c027f5a6 ef55ec44 ef55ec18 c027f703
ef55ec18 ef55eca2 f08736df ef55ec18 ef55eca2 f0875127 00000000 00000290
ef55ece0 f08821a3 ef55eca2 f0881573 ef55ec00 00000058 00000008 f08821a3
Call Trace:
[<c022e71d>] kobject_init+0x2d/0x50
[<c027f5a6>] device_initialize+0x16/0x50
[<c027f703>] device_register+0x13/0x30
[<f08736df>] i2c_attach_client+0xff/0x150 [i2c_core]
[<f0875127>] +0xb/0x24 [i2c_core]
[<f08821a3>] +0x130/0x14d [it87]
[<f0881573>] it87_detect+0x163/0x540 [it87]
[<f08821a3>] +0x130/0x14d [it87]
[<f0883a08>] forces+0x28/0x40 [it87]
[<c0122046>] __check_region+0x46/0x50
[<f0883a08>] forces+0x28/0x40 [it87]
[<f085a34f>] +0x34f/0x4b0 [i2c_sensor]
[<f0858360>] isa_adapter+0x0/0x1a0 [i2c_isa]
[<f08776a4>] i2c_bus_type+0x44/0xe0 [i2c_core]
[<f0877660>] i2c_bus_type+0x0/0xe0 [i2c_core]
[<c02806a0>] bus_add_driver+0xd0/0xe0
[<f0883be0>] it87_driver+0x0/0xa4 [it87]
[<f08813ff>] it87_attach_adapter+0x1f/0x30 [it87]
[<f0858360>] isa_adapter+0x0/0x1a0 [i2c_isa]
[<f0883ba0>] addr_data+0x0/0x24 [it87]
[<f0881410>] it87_detect+0x0/0x540 [it87]
[<f0873374>] i2c_add_driver+0xc4/0xf0 [i2c_core]
[<f0858360>] isa_adapter+0x0/0x1a0 [i2c_isa]
[<f0883e80>] +0x0/0x140 [it87]
[<f085200f>] +0xf/0x13 [it87]
[<f0883be0>] it87_driver+0x0/0xa4 [it87]
[<c01329ff>] sys_init_module+0x12f/0x1e0
[<f0883e80>] +0x0/0x140 [it87]
[<c010ab77>] syscall_call+0x7/0xb
Code: 8b 43 10 85 c0 7e 26 ff 43 10 b8 00 e0 ff ff 21 e0 ff 48 14
<6>note: modprobe[69] exited with preempt_count 1
bad: scheduling while atomic!
Call Trace:
[<c011a5b9>] schedule+0x399/0x3a0
[<c01410f3>] unmap_page_range+0x43/0x70
[<c01412e0>] unmap_vmas+0x1c0/0x220
[<c01450cb>] exit_mmap+0x7b/0x190
[<c011be84>] mmput+0x54/0xb0
[<c011fb9d>] do_exit+0x10d/0x400
[<c010bbb1>] die+0xe1/0xf0
[<c0118caa>] do_page_fault+0x14a/0x457
[<c010b4e4>] common_interrupt+0x18/0x20
[<c0272860>] serial_in+0x20/0x40
[<c022f8f2>] __delay+0x12/0x20
[<c02751d5>] serial8250_console_write+0x155/0x240
[<c011dfc4>] __call_console_drivers+0x54/0x60
[<c0118b60>] do_page_fault+0x0/0x457
[<c010b581>] error_code+0x2d/0x38
[<f0858388>] isa_adapter+0x28/0x1a0 [i2c_isa]
[<c022ea13>] kobject_get+0x13/0x50
[<c022e71d>] kobject_init+0x2d/0x50
[<c027f5a6>] device_initialize+0x16/0x50
[<c027f703>] device_register+0x13/0x30
[<f08736df>] i2c_attach_client+0xff/0x150 [i2c_core]
[<f0875127>] +0xb/0x24 [i2c_core]
[<f08821a3>] +0x130/0x14d [it87]
[<f0881573>] it87_detect+0x163/0x540 [it87]
[<f08821a3>] +0x130/0x14d [it87]
[<f0883a08>] forces+0x28/0x40 [it87]
[<c0122046>] __check_region+0x46/0x50
[<f0883a08>] forces+0x28/0x40 [it87]
[<f085a34f>] +0x34f/0x4b0 [i2c_sensor]
[<f0858360>] isa_adapter+0x0/0x1a0 [i2c_isa]
[<f08776a4>] i2c_bus_type+0x44/0xe0 [i2c_core]
[<f0877660>] i2c_bus_type+0x0/0xe0 [i2c_core]
[<c02806a0>] bus_add_driver+0xd0/0xe0
[<f0883be0>] it87_driver+0x0/0xa4 [it87]
[<f08813ff>] it87_attach_adapter+0x1f/0x30 [it87]
[<f0858360>] isa_adapter+0x0/0x1a0 [i2c_isa]
[<f0883ba0>] addr_data+0x0/0x24 [it87]
[<f0881410>] it87_detect+0x0/0x540 [it87]
[<f0873374>] i2c_add_driver+0xc4/0xf0 [i2c_core]
[<f0858360>] isa_adapter+0x0/0x1a0 [i2c_isa]
[<f0883e80>] +0x0/0x140 [it87]
[<f085200f>] +0xf/0x13 [it87]
[<f0883be0>] it87_driver+0x0/0xa4 [it87]
[<c01329ff>] sys_init_module+0x12f/0x1e0
[<f0883e80>] +0x0/0x140 [it87]
[<c010ab77>] syscall_call+0x7/0xb
-bk3 with my version of it87 works fine.
Cheers,
florin
--
"NT is to UNIX what a doughnut is to a particle accelerator."
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-05-19 6:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-24 15:01 it87 driver converted to sysfs Florin Iucha
2005-05-19 6:23 ` Florin Iucha
2003-04-24 16:04 ` Greg KH
2005-05-19 6:23 ` Greg KH
2003-04-24 16:51 ` Florin Iucha
2005-05-19 6:23 ` Florin Iucha
2003-04-24 17:27 ` Greg KH
2005-05-19 6:23 ` Greg KH
2003-04-25 21:53 ` Florin Iucha [this message]
2005-05-19 6:23 ` Florin Iucha
2003-04-25 22:13 ` Greg KH
2005-05-19 6:23 ` Greg KH
2003-04-25 22:52 ` Florin Iucha
2005-05-19 6:23 ` Florin Iucha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030425215335.GN1069@iucha.net \
--to=florin@iucha.net \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sensors@stimpy.netroedge.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.