Re: Newbie: ENBD on kernel 2.6?

Roland Paterson-Jones <[email protected]>
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
[repeated cos first one was too big for ENDB list]

... and finally, here is the end of the road for me:

------------------------------------------------------------------------------------------------------------------------------- 

[root@rolandpj-box0 nbd-2.4.32]# /sbin/insmod /tmp/enbd.ko
Segmentation fault
[root@rolandpj-box0 nbd-2.4.32]# tail -n 100 /var/log/messages

[...]

May 16 11:55:26 localhost kernel: enbd: no version for "struct_module" 
found: ke
rnel tainted.
May 16 11:55:26 localhost kernel: ENBD #5223[0]: enbd_init Network Block 
Device
originally by [email protected]
May 16 11:55:26 localhost kernel: ENBD #5224[0]: enbd_init Network Block 
Device
port to 2.0 by [email protected]
May 16 11:55:26 localhost kernel: ENBD #5226[0]: enbd_init Network Block 
Device
move networking to user space by [email protected]
May 16 11:55:26 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 16 11:55:26 localhost kernel: Unable to handle kernel NULL pointer 
dereferen
ce at virtual address 000003fe
May 16 11:55:26 localhost kernel:  printing eip:
May 16 11:55:26 localhost kernel: 0224694b
May 16 11:55:26 localhost kernel: *pde = 00000000
May 16 11:55:26 localhost kernel: Oops: 0002 [#1]
May 16 11:55:26 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 16 11:55:26 localhost kernel: CPU:    0
May 16 11:55:26 localhost kernel: EIP:    0060:[<0224694b>]    Tainted: 
GF  VLI
May 16 11:55:26 localhost kernel: EFLAGS: 00010212   (2.6.9-1.667)
May 16 11:55:27 localhost kernel: EIP is at blk_queue_max_sectors+0x2c/0x3d
May 16 11:55:27 localhost kernel: eax: 01a70800   ebx: 0000d384   ecx: 
00000040
 edx: 8242d384
May 16 11:55:27 localhost kernel: esi: 00000200   edi: 8242d690   ebp: 
8242b9c0
 esp: 6352bee4
May 16 11:55:27 localhost kernel: ds: 007b   es: 007b   ss: 0068
May 16 11:55:27 localhost kernel: Process insmod (pid: 6418, 
threadinfo=6352b000
task=63b362b0)
May 16 11:55:27 localhost kernel: Stack: 63111d18 39e3a800 8211e1a6 
63111d18 000
00200 03c22200 00000246 02352a14
May 16 11:55:27 localhost kernel:        021468f0 00000206 0000008e 
6828c6a0 000
00001 00000206 8256bef0 00000000
May 16 11:55:27 localhost kernel:        00000000 8242b200 0213b7e3 
8256bef0 000
8db76 00000708 655b3510 6828c640
May 16 11:55:27 localhost kernel: Call Trace:
May 16 11:55:27 localhost kernel:  [<8211e1a6>] init_module+0x1a6/0xc7c 
[enbd]
May 16 11:55:27 localhost kernel:  [<021468f0>] 
free_hot_cold_page+0x98/0xca
May 16 11:55:27 localhost kernel:  [<0213b7e3>] load_module+0x7d1/0x831
May 16 11:55:27 localhost kernel:  [<02302380>] schedule+0x478/0x5a4
May 16 11:55:27 localhost kernel:  [<0213ba4a>] sys_init_module+0x207/0x2ef
May 16 11:55:27 localhost kernel: Code: <3>Debug: sleeping function 
called from
invalid context at include/linux/rwsem.h:43
May 16 11:55:27 localhost kernel: in_atomic():0[expected: 0], 
irqs_disabled():1
May 16 11:55:27 localhost kernel:  [<0211c8b9>] __might_sleep+0x7d/0x88
May 16 11:55:27 localhost kernel:  [<0215e27e>] rw_vm+0x216/0x482
May 16 11:55:27 localhost kernel:  [<02246920>] 
blk_queue_max_sectors+0x1/0x3d
May 16 11:55:27 localhost kernel:  [<02246920>] 
blk_queue_max_sectors+0x1/0x3d
May 16 11:55:27 localhost kernel:  [<0215e9d0>] get_user_size+0x30/0x57
May 16 11:55:27 localhost kernel:  [<02246920>] 
blk_queue_max_sectors+0x1/0x3d
May 16 11:55:27 localhost kernel:  [<0210682b>] show_registers+0x109/0x15e
May 16 11:55:27 localhost kernel:  [<02106a2f>] die+0x14a/0x241
May 16 11:55:27 localhost kernel:  [<0211937e>] do_page_fault+0x0/0x511
May 16 11:55:27 localhost kernel:  [<0211937e>] do_page_fault+0x0/0x511
May 16 11:55:27 localhost kernel:  [<02119733>] do_page_fault+0x3b5/0x511
May 16 11:55:27 localhost kernel:  [<0224694b>] 
blk_queue_max_sectors+0x2c/0x3d
May 16 11:55:27 localhost kernel:  [<02146b10>] 
buffered_rmqueue+0x1dd/0x200
May 16 11:55:27 localhost kernel:  [<02302db4>] __cond_resched+0x14/0x3b
May 16 11:55:27 localhost kernel:  [<02144e43>] mempool_create+0xf7/0x103
May 16 11:55:27 localhost kernel:  [<021456f8>] mempool_free_slab+0x0/0xc
May 16 11:55:27 localhost kernel:  [<021456ed>] mempool_alloc_slab+0x0/0xb
May 16 11:55:27 localhost kernel:  [<0211937e>] do_page_fault+0x0/0x511
May 16 11:55:27 localhost kernel:  [<8242007b>] 
do_enbd_remote_ioctl+0xca/0x94e
[enbd]
May 16 11:55:27 localhost kernel:  [<0224694b>] 
blk_queue_max_sectors+0x2c/0x3d
May 16 11:55:27 localhost kernel:  [<8211e1a6>] init_module+0x1a6/0xc7c 
[enbd]
May 16 11:55:27 localhost kernel:  [<021468f0>] 
free_hot_cold_page+0x98/0xca
May 16 11:55:27 localhost kernel:  [<0213b7e3>] load_module+0x7d1/0x831
May 16 11:55:27 localhost kernel:  [<02302380>] schedule+0x478/0x5a4
May 16 11:55:27 localhost kernel:  [<0213ba4a>] sys_init_module+0x207/0x2ef
May 16 11:55:27 localhost kernel:  Bad EIP value.
[root@rolandpj-box0 nbd-2.4.32]#

-------------------------------------------------------------------------------------------------------------------------------- 


Regards
Roland
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.