kernel panic after insmod
Dosadnik <[email protected]> Mon, 8 May 2006 07:22:28 -0700 (PDT)
| Newsgroups | gmane.linux.enbd.general |
|---|---|
| Message-ID | <[email protected]> |
Dear all, I am trying to load the enbd kernel driver on CentOS 4.3 linux with 2.6.9 kernel. I am using the last version of the enbd -> nbd-2.4.33pre.tgz. I have no problems compiling the last version with gcc (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2), but when i try to insmod/modprobe the kernel driver I get a kernel panic after 5 seconds and this text in /var/log/messages: kernel: enbd: no version for "struct_module" found: kernel tainted. kernel: ENBD #5519[0]: enbd_init Network Block Device originally by [email protected] kernel: ENBD #5520[0]: enbd_init Network Block Device port to 2.0 by [email protected] kernel: ENBD #5522[0]: enbd_init Network Block Device move networking to user space by [email protected] kernel: ENBD #5524[0]: enbd_init Enhanced Network Block Device 2.4.30 $Date: 2002/09/17 16:33:22 $ by [email protected] kernel: Unable to handle kernel NULL pointer dereference at virtual address 000003fe kernel: printing eip: kernel: c0251ad7 kernel: *pde = 00000000 kernel: Oops: 0002 [#1] kernel: Modules linked in: enbd(U) button battery ac md5 ipv6 uhci_hcd shpchp snd_ens1371 snd_rawmidi snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_ac97_codec snd soundcore gameport pcnet32 mii floppy dm_snapshot dm_zero dm_mirror ext3 jbd dm_mod mptscsih mptsas mptspi mptfc mptscsi mptbase sd_mod scsi_mod kernel: CPU: 0 kernel: EIP: 0060:[<c0251ad7>] Tainted: GF VLI kernel: EFLAGS: 00010212 (2.6.9-34.106.unsupported) kernel: EIP is at blk_queue_max_sectors+0x2c/0x3d kernel: eax: 00405000 ebx: 00002028 ecx: 00000040 edx: cec02028 kernel: esi: 00000200 edi: d0af4d65 ebp: c1373200 esp: c79dfee4 kernel: ds: 007b es: 007b ss: 0068 kernel: Process insmod (pid: 2461, threadinfo=c79df000 task=cf4d53a0) kernel: Stack: cec02028 d0b036c0 d08c11de cec02028 00000200 c036bdd0 ffffffff c036bcb4 kernel: c112d5a0 00000246 c036bcb4 c014bd3a 00000286 000000ba cd8432a0 00000001 kernel: 00000286 d0ab9278 000002d0 00000014 d0b02e80 c013daaf d0ab9278 00000000 kernel: Call Trace: kernel: [<d08c11de>] init_module+0x1de/0xd23 [enbd] kernel: [<c014bd3a>] free_hot_cold_page+0x96/0xc8 kernel: [<c013daaf>] load_module+0x8d7/0x949 kernel: [<d08c1000>] init_module+0x0/0xd23 [enbd] kernel: [<c013dc0a>] sys_init_module+0xe9/0x1d0 kernel: [<c031ae57>] syscall_call+0x7/0xb kernel: Code: 89 c6 53 0f b7 da 89 d8 c1 e0 09 3d ff 0f 00 00 77 19 6a 08 bb 08 00 00 00 68 14 12 32 c0 68 53 da 33 c0 e8 31 fe ec ff 83 c4 0c <66> 89 9e fe 01 00 00 66 89 9e fc 01 00 00 5b 5e c3 56 89 c6 53 kernel: <0>Fatal exception: panic in 5 seconds Could someone please provide me with some help on this subject. It will be greatly appreciated. 10x. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com