oops'es in 2.4.24-SMP kernel
Hi,
The 2.8.4 kit works perfectly on the same machine with a 2.4.24 UP kernel. But when trying to load in a 2.4.24 SMP kernel I get oopses as follows:
-----
nable to handle kernel NULL pointer dereference at virtual address 00000001 00000001
*pde = 00000000
Oops: 0000 CPU: 0 EIP: 0010:[<00000001>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010282
eax: f8867420 ebx: 00000000 ecx: f8861404 edx: c0296f3c
esi: f8861404 edi: f8b0d7a0 ebp: ffffffea esp: c96e9ee0
ds: 0018 es: 0018 ss: 0018
Process modprobe (pid: 22726, stackpage�6e9000)
Stack: f885d4b6 f8867420 f8b0d7a0 f8b0b000 00000002 00000002 f8b0c837
f8b0d7a0
f8b0c994 f8b0c98b f8b0b000 00000002 00000002 00000290 c011e8d4
f8b0b060
080abb38 000033d4 f8b0cc24 080ad633 00001b5b 00000060 00000060
00000008
Call Trace: [<f885d4b6>] [<f8867420>] [<f8b0d7a0>] [<f8b0c837>] [<f8b0d7a0>] [<f8b0c994>] [<f8b0c98b>] [<c011e8d4>] [<f8b0b060>] [<f8b0cc24>] [<f8b0b060>] [<c01076ef>]
[EIP invalid]
Warning (Oops_read): Code line not seen, dumping what data is available
Quoted 8 lines
Quoted 8 lines
EIP; 00000001 Before first symbol <==
eax;f8867420<[i2c-proc].data.end+2209/5e49>
ecx;f8861404<[i2c-core].data.end+1d/1c79>
edx;c0296f3c<log_wait+4/c>
esi;f8861404<[i2c-core].data.end+1d/1c79>
edi;f8b0d7a0<[w83627hf]w83627hf_driver+0/40>
ebp; ffffffea <END_OF_CODE+73cb143/????>
esp;c96e9ee0<_end+93bba60/384febe0>
Trace; f885d4b6 <[i2c-core].text.start+456/4e0> Trace; f8867420 <[i2c-proc].data.end+2209/5e49> Trace; f8b0d7a0 <[w83627hf]w83627hf_driver+0/40> Trace; f8b0c837 <[w83627hf]sm_w83627hf_init+3f/58> Trace; f8b0d7a0 <[w83627hf]w83627hf_driver+0/40> Trace; f8b0c994 <[w83627hf]__module_parm_force+5/22> Trace; f8b0c98b <[w83627hf]__module_parm_desc_force_i2c+3a/3e> Trace; c011e8d4 <sys_init_module+544/6c0>
Trace; f8b0b060 <[w83627hf]TEMP_TO_REG+0/40>
Trace; f8b0cc24 <[w83627hf]__module_parm_desc_probe+13/43> Trace; f8b0b060 <[w83627hf]TEMP_TO_REG+0/40>
Trace; c01076ef <system_call+33/38>
40 warnings issued. Results may not be reliable.
----
<1>Unable to handle kernel paging request at virtual address 00050028f885db04
*pde = 00000000
Oops: 0000 CPU: 0 EIP: 0010:[<f885db04>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010206
eax: 00050000 ebx: 00000006 ecx: f885fd2e edx: f885fd2d
esi: 00000000 edi: d097a000 ebp: 00000c00 esp: c96e9f38
ds: 0018 es: 0018 ss: 0018
Process sensors (pid: 22728, stackpage�6e9000)
Stack: d097a000 f885fd27 00000000 00000000 f1c30ca0 00000c00 d097a000
00001000
c0166c2f d097a000 c96e9f80 00000000 00000c00 c96e9f7c 00000000
ca5d6f00
00000000 00000000 00000000 00000000 f1c30c80 ffffffea 00001000
c014241b
Call Trace: [<f885fd27>] [<c0166c2f>] [<c014241b>] [<c01076ef>]
Code: 8b 50 28 85 d2 74 67 8b 40 24 85 c0 74 47 c7 04 3b 73 6d 62Quoted 7 lines
Quoted 7 lines
EIP;
f885db04<[i2c-core]i2cproc_bus_read+1c4/244> <==
eax; 00050000 Before first symbol
ecx;f885fd2e<[i2c-core].text.lock.KBUILD_BASENAME+c08/c2e> edx;f885fd2d<[i2c-core].text.lock.KBUILD_BASENAME+c07/c2e> edi;d097a000<_end+1064bb80/384febe0>
ebp;00000c00Before first symbol
esp;c96e9f38<_end+93bbab8/384febe0>
Trace; f885fd27 <[i2c-core].text.lock.KBUILD_BASENAME+c01/c2e> Trace; c0166c2f <proc_file_read+bf/1c0>
Trace; c014241b <sys_read+ab/170>
Trace; c01076ef <system_call+33/38>
Code; f885db04 <[i2c-core]i2cproc_bus_read+1c4/244> 00000000 <_EIP>:
Code; f885db04 <[i2c-core]i2cproc_bus_read+1c4/244> <== 0: 8b 50 28 mov 0x28(%eax),%edx <==Code; f885db07 <[i2c-core]i2cproc_bus_read+1c7/244>
3: 85 d2 test %edx,%edx
Code; f885db09 <[i2c-core]i2cproc_bus_read+1c9/244>
5: 74 67 je 6e <_EIP+0x6e>
Code; f885db0b <[i2c-core]i2cproc_bus_read+1cb/244>
7: 8b 40 24 mov 0x24(%eax),%eax
Code; f885db0e <[i2c-core]i2cproc_bus_read+1ce/244>
a: 85 c0 test %eax,%eax
Code; f885db10 <[i2c-core]i2cproc_bus_read+1d0/244>
c: 74 47 je 55 <_EIP+0x55>
Code; f885db12 <[i2c-core]i2cproc_bus_read+1d2/244>
e: c7 04 3b 73 6d 62 00 movl $0x626d73,(%ebx,%edi,1)----
The kernel survived, but the modules are stuck.
$ /sbin/lsmod Module Size Used by Not tainted w83627hf 13364 (initializing) i2c-isa 1300 0 (deleted) i2c-proc 8976 0 [w83627hf] i2c-core 17636 1 [w83627hf i2c-isa i2c-proc] prism54 42176 1 firmware_class 5732 0 [prism54] i810_audio 28348 2 (autoclean) ac97_codec 16824 0 (autoclean) [i810_audio] soundcore 6212 2 (autoclean) [i810_audio] ide-scsi 12304 0 serial 53124 1 (autoclean) autofs4 12660 2 (autoclean) visor 13644 0 (unused) usbserial 22108 0 [visor] usb-storage 76032 0 (unused) scanner 12544 0 (unused) ohci1394 29520 0 (unused) ieee1394 202084 0 [ohci1394] sr_mod 18136 0 (autoclean) (unused) scsi_mod 79732 2 (autoclean) [ide-scsi usb-storage sr_mod] cdrom 32672 0 (autoclean) [sr_mod] keybdev 2948 0 (unused) mousedev 5656 0 (unused) hid 24644 0 (unused) input 5440 0 [keybdev mousedev hid] ehci-hcd 20748 0 (unused) usb-uhci 27504 0 (unused) usbcore 78572 1 [visor usbserial usb-storage scanner hid ehci-hcd usb-uhci]
Regards,
Nicolai Langfeldt