Re: Newbie: ENBD on kernel 2.6 - kernel crash!
"Peter T. Breuer" <[email protected]>
| Newsgroups | gmane.linux.enbd.general |
|---|---|
| Message-ID | <[email protected]> |
> OK. After recompiling according to instructions, I still get the same > kernel error when 'insmod'ing enbd.ko: What's the error? > Any more ideas? Should I try 2.6.10 or 2.6.11 kernel? What do you mean "any more"? You only just stated the problem! > [root@rolandpj-box0 nbd-2.4.32]# insmod /tmp/enbd.ko > Segmentation fault This is a kernel oops. Reboot. > 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 Print the oops ... > May 17 11:29:24 localhost kernel: EIP: 0060:[<0224694b>] Tainted: GF VLI I probably can't debug a tainted kernel. You'll have to reboot and not load the tainting driver. > 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 Well, it's apparently not in my code. > May 17 11:29:24 localhost kernel: [<821101a6>] init_module+0x1a6/0xc7c [enbd] Oh? Well, init oopsed. Half way through. Scatter some printk's through the routine and it should become clear where. Peter