Linux perelandra 2.6.12-1.1398_FC4 #1 Fri Jul 15
00:52:32 EDT 2005 i686 i686 i386 GNU/Linux
[root@perelandra airt-0.4.2]# insmod mod_hunter.ko
&& cat /proc/showmodules
Segmentation fault
[root@perelandra airt-0.4.2]# dmesg
cr3 = 0x1658e000
VM mode is normal_4k
Unable to handle kernel NULL pointer dereference at
virtual address 00000018
printing eip:
c01c7ea5
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: mod_hunter(U) parport_pc lp parport
autofs4 sunrpc dm_mod uhci_hcd i2c_piix4 i2c_core
snd_cs4236 snd_opl3_lib snd_hwdep snd_cs4236_lib
snd_mpu401_uart snd_rawmidi snd_cs4231_lib
snd_seq_dummy snd_seq_oss snd_seq_midi_event
snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss
snd_pcm snd_timer snd soundcore snd_page_alloc
e100 mii floppy st ext3 jbd BusLogic sym53c8xx
scsi_transport_spi sd_mod scsi_mod
CPU: 0
EIP: 0060:[<c01c7ea5>] Not tainted VLI
EFLAGS: 00010246 (2.6.12-1.1398_FC4)
EIP is at proc_create+0x35/0xe6
eax: 00000000 ebx: d2a83f74 ecx: ffffffff edx:
00000018
esi: 00000018 edi: 00000018 ebp: ffffffff esp:
d2a83f4c
ds: 007b es: 007b ss: 0068
Process insmod (pid: 9830, threadinfo=d2a83000
task=c26c8550)
Stack: 00000001 0000379d 00000004 00000018
0000379d 00000018 d8a7f380 d2a83f9c
c01c8084 00000001 0000379d d2a83000 c0000000
d8a7e1a0 d8a7e7c5 00000100
c03cc260 d2a83000 d2a83000 c0000000 d2a83000
c014844c 00000000 08107018
Call Trace:
[<c01c8084>] create_proc_entry+0x3d/0xbb
[<d8a7e1a0>] init_module+0x74/0xb0 [mod_hunter]
[<c014844c>] sys_init_module+0xca/0x1c4
[<c0103a51>] syscall_call+0x7/0xb
Code: d6 89 4c 24 04 8b 44 24 24 89 04 24 89 54 24 0c
85 d2 75 0c 31 d2 89 d0 83 c4 10 5b 5e 5f 5d c3 31 c0
bd ff ff ff ff 89 e9 89 d7 <f2> ae f7 d1 49 85 c9 74 e0 8b
03 85 c0 0f 84 84 00 00 00 8b 74