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:[] 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: [] kobject_init+0x2d/0x50 [] device_initialize+0x16/0x50 [] device_register+0x13/0x30 [] i2c_attach_client+0xff/0x150 [i2c_core] [] +0xb/0x24 [i2c_core] [] +0x130/0x14d [it87] [] it87_detect+0x163/0x540 [it87] [] +0x130/0x14d [it87] [] forces+0x28/0x40 [it87] [] __check_region+0x46/0x50 [] forces+0x28/0x40 [it87] [] +0x34f/0x4b0 [i2c_sensor] [] isa_adapter+0x0/0x1a0 [i2c_isa] [] i2c_bus_type+0x44/0xe0 [i2c_core] [] i2c_bus_type+0x0/0xe0 [i2c_core] [] bus_add_driver+0xd0/0xe0 [] it87_driver+0x0/0xa4 [it87] [] it87_attach_adapter+0x1f/0x30 [it87] [] isa_adapter+0x0/0x1a0 [i2c_isa] [] addr_data+0x0/0x24 [it87] [] it87_detect+0x0/0x540 [it87] [] i2c_add_driver+0xc4/0xf0 [i2c_core] [] isa_adapter+0x0/0x1a0 [i2c_isa] [] +0x0/0x140 [it87] [] +0xf/0x13 [it87] [] it87_driver+0x0/0xa4 [it87] [] sys_init_module+0x12f/0x1e0 [] +0x0/0x140 [it87] [] 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: [] schedule+0x399/0x3a0 [] unmap_page_range+0x43/0x70 [] unmap_vmas+0x1c0/0x220 [] exit_mmap+0x7b/0x190 [] mmput+0x54/0xb0 [] do_exit+0x10d/0x400 [] die+0xe1/0xf0 [] do_page_fault+0x14a/0x457 [] common_interrupt+0x18/0x20 [] serial_in+0x20/0x40 [] __delay+0x12/0x20 [] serial8250_console_write+0x155/0x240 [] __call_console_drivers+0x54/0x60 [] do_page_fault+0x0/0x457 [] error_code+0x2d/0x38 [] isa_adapter+0x28/0x1a0 [i2c_isa] [] kobject_get+0x13/0x50 [] kobject_init+0x2d/0x50 [] device_initialize+0x16/0x50 [] device_register+0x13/0x30 [] i2c_attach_client+0xff/0x150 [i2c_core] [] +0xb/0x24 [i2c_core] [] +0x130/0x14d [it87] [] it87_detect+0x163/0x540 [it87] [] +0x130/0x14d [it87] [] forces+0x28/0x40 [it87] [] __check_region+0x46/0x50 [] forces+0x28/0x40 [it87] [] +0x34f/0x4b0 [i2c_sensor] [] isa_adapter+0x0/0x1a0 [i2c_isa] [] i2c_bus_type+0x44/0xe0 [i2c_core] [] i2c_bus_type+0x0/0xe0 [i2c_core] [] bus_add_driver+0xd0/0xe0 [] it87_driver+0x0/0xa4 [it87] [] it87_attach_adapter+0x1f/0x30 [it87] [] isa_adapter+0x0/0x1a0 [i2c_isa] [] addr_data+0x0/0x24 [it87] [] it87_detect+0x0/0x540 [it87] [] i2c_add_driver+0xc4/0xf0 [i2c_core] [] isa_adapter+0x0/0x1a0 [i2c_isa] [] +0x0/0x140 [it87] [] +0xf/0x13 [it87] [] it87_driver+0x0/0xa4 [it87] [] sys_init_module+0x12f/0x1e0 [] +0x0/0x140 [it87] [] 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