Re: Newbie: ENBD on kernel 2.6 - kernel crash!
Roland Paterson-Jones <[email protected]>
| Newsgroups | gmane.linux.enbd.general |
|---|---|
| Message-ID | <[email protected]> |
Hi again OK. After recompiling according to instructions, I still get the same kernel error when 'insmod'ing enbd.ko: Any more ideas? Should I try 2.6.10 or 2.6.11 kernel? Thanks Roland [root@rolandpj-box0 nbd-2.4.32]# insmod /tmp/enbd.ko Segmentation fault [root@rolandpj-box0 nbd-2.4.32]# tail -n 60 /var/log/messages May 17 11:29:08 localhost su(pam_unix)[3638]: session opened for user root by ro landpj(uid=503) May 17 11:29:24 localhost kernel: enbd: no version for "struct_module" found: ke rnel tainted. May 17 11:29:24 localhost kernel: ENBD #5223[0]: enbd_init Network Block Device originally by [email protected] May 17 11:29:24 localhost kernel: ENBD #5224[0]: enbd_init Network Block Device port to 2.0 by [email protected] May 17 11:29:24 localhost kernel: ENBD #5226[0]: enbd_init Network Block Device move networking to user space by [email protected] May 17 11:29:24 localhost kernel: ENBD #5228[0]: enbd_init Enhanced Network Bloc k Device 2.4.30 $Date: 2002/09/17 16:33:22 $ by [email protected] May 17 11:29:24 localhost kernel: Unable to handle kernel NULL pointer dereferen ce at virtual address 000003fe May 17 11:29:24 localhost kernel: printing eip: May 17 11:29:24 localhost kernel: 0224694b May 17 11:29:24 localhost kernel: *pde = 00000000 May 17 11:29:24 localhost kernel: Oops: 0002 [#1] May 17 11:29:24 localhost kernel: Modules linked in: enbd(U) i915 nfsd exportfs lockd parport_pc lp parport autofs4 i2c_dev i2c_core sunrpc ipt_REJECT ipt_state ip_conntrack iptable_filter ip_tables dm_mod button battery ac md5 ipv6 uhci_hc d ehci_hcd hw_random snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_p cm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore tg3 floppy ext3 jbd May 17 11:29:24 localhost kernel: CPU: 0 May 17 11:29:24 localhost kernel: EIP: 0060:[<0224694b>] Tainted: GF VLI May 17 11:29:24 localhost kernel: EFLAGS: 00010212 (2.6.9-1.667) May 17 11:29:24 localhost kernel: EIP is at blk_queue_max_sectors+0x2c/0x3d May 17 11:29:24 localhost kernel: eax: 00470800 ebx: 00002384 ecx: 00000040 edx: 823d2384 May 17 11:29:24 localhost kernel: esi: 00000200 edi: 823d2690 ebp: 823d09c0 esp: 68bdaee4 May 17 11:29:24 localhost kernel: ds: 007b es: 007b ss: 0068 May 17 11:29:24 localhost kernel: Process insmod (pid: 3670, threadinfo=68bda000 task=68b967f0) May 17 11:29:24 localhost kernel: Stack: 685f9d18 39e14e00 821101a6 685f9d18 000 00200 03cc007b ffffff00 021468a3 May 17 11:29:24 localhost kernel: 00000060 00000206 0000008e 74a6bf40 000 00001 00000202 8256bef0 00000000 May 17 11:29:24 localhost kernel: 00000000 823d0200 0213b7e3 8256bef0 000 8db76 00000708 68af62c4 73e1ca00 May 17 11:29:24 localhost kernel: Call Trace: May 17 11:29:24 localhost kernel: [<821101a6>] init_module+0x1a6/0xc7c [enbd] May 17 11:29:24 localhost kernel: [<021468a3>] free_hot_cold_page+0x4b/0xca May 17 11:29:24 localhost kernel: [<0213b7e3>] load_module+0x7d1/0x831 May 17 11:29:24 localhost kernel: [<02302380>] schedule+0x478/0x5a4 May 17 11:29:24 localhost kernel: [<0213ba4a>] sys_init_module+0x207/0x2ef May 17 11:29:24 localhost kernel: Code: <3>Debug: sleeping function called from invalid context at include/linux/rwsem.h:43 May 17 11:29:24 localhost kernel: in_atomic():0[expected: 0], irqs_disabled():1 May 17 11:29:24 localhost kernel: [<0211c8b9>] __might_sleep+0x7d/0x88 May 17 11:29:24 localhost kernel: [<0215e27e>] rw_vm+0x216/0x482 May 17 11:29:24 localhost kernel: [<02246920>] blk_queue_max_sectors+0x1/0x3d May 17 11:29:24 localhost kernel: [<02246920>] blk_queue_max_sectors+0x1/0x3d May 17 11:29:24 localhost kernel: [<0215e9d0>] get_user_size+0x30/0x57 May 17 11:29:24 localhost kernel: [<02246920>] blk_queue_max_sectors+0x1/0x3d May 17 11:29:24 localhost kernel: [<0210682b>] show_registers+0x109/0x15e May 17 11:29:24 localhost kernel: [<02106a2f>] die+0x14a/0x241 May 17 11:29:24 localhost kernel: [<0211937e>] do_page_fault+0x0/0x511 May 17 11:29:24 localhost kernel: [<0211937e>] do_page_fault+0x0/0x511 May 17 11:29:24 localhost kernel: [<02119733>] do_page_fault+0x3b5/0x511 May 17 11:29:24 localhost kernel: [<0224694b>] blk_queue_max_sectors+0x2c/0x3d May 17 11:29:24 localhost kernel: [<02146b10>] buffered_rmqueue+0x1dd/0x200 May 17 11:29:24 localhost kernel: [<02302db4>] __cond_resched+0x14/0x3b May 17 11:29:24 localhost kernel: [<02144e43>] mempool_create+0xf7/0x103 May 17 11:29:24 localhost kernel: [<021456f8>] mempool_free_slab+0x0/0xc May 17 11:29:24 localhost kernel: [<021456ed>] mempool_alloc_slab+0x0/0xb May 17 11:29:24 localhost kernel: [<0211937e>] do_page_fault+0x0/0x511 May 17 11:29:24 localhost kernel: [<0224694b>] blk_queue_max_sectors+0x2c/0x3d May 17 11:29:24 localhost kernel: [<821101a6>] init_module+0x1a6/0xc7c [enbd] May 17 11:29:24 localhost kernel: [<021468a3>] free_hot_cold_page+0x4b/0xca May 17 11:29:24 localhost kernel: [<0213b7e3>] load_module+0x7d1/0x831 May 17 11:29:24 localhost kernel: [<02302380>] schedule+0x478/0x5a4 May 17 11:29:24 localhost kernel: [<0213ba4a>] sys_init_module+0x207/0x2ef May 17 11:29:24 localhost kernel: Bad EIP value. May 17 11:30:01 localhost crond(pam_unix)[3673]: session opened for user root by (uid=0) May 17 11:30:01 localhost crond(pam_unix)[3672]: session opened for user root by (uid=0) May 17 11:30:01 localhost crond(pam_unix)[3673]: session closed for user root May 17 11:30:02 localhost crond(pam_unix)[3672]: session closed for user root [root@rolandpj-box0 nbd-2.4.32]#