Re: enbd_ioctl 2.6.9 kernel fails to modprobe enbd - seg fault

scunacc <[email protected]> Thu, 02 Mar 2006 15:56:56 -0500
Newsgroups gmane.linux.enbd.general
Message-ID <1141333017.4432.76.camel@scuna-gate>
Dear Peter et al.,

> > > Sure. So change it.
> > 
> > Did that.
> > Same result.

By same, I mean that it didn't load in the kernel.

The messages appear longer.

> Impossible - show me the output please (the last bit).

Sure.

ENBD #5427[0]: enbd_init Network Block Device originally by
[email protected]
ENBD #5428[0]: enbd_init Network Block Device port to 2.0 by
[email protected]
ENBD #5430[0]: enbd_init Network Block Device move networking to user
space by [email protected]
ENBD #5432[0]: enbd_init Enhanced Network Block Device 2.4.30 $Date:
2002/09/17 16:33:22 $ by [email protected]
Unable to handle kernel NULL pointer dereference at virtual address
000003ae
 printing eip:
c024d815
*pde = 36ead001
Oops: 0002 [#1]
SMP 
Modules linked in: enbd nfsd exportfs lockd ipv6 vmhgfs bproc vmadump
sunrpc dm_mod button battery ac 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 pcnet32 mii vmxnet floppy
BusLogic
CPU:    0
EIP:    0060:[<c024d815>]    Tainted: P   VLI
EFLAGS: 00010212   (2.6.9-cm46customVM) 
EIP is at blk_queue_max_sectors+0x34/0x47
eax: 00001600   ebx: 00000200   ecx: 00000003   edx: 0000000b
esi: f7879960   edi: f8a0eb60   ebp: f8a0d040   esp: f6ec4c54
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 2873, threadinfo=f6ec4000 task=c2b8f0e0)
Stack: 0000007b c2979380 f6ec4000 c2979380 f88c0165 f7879960 00000200
00000000 
       f8a0adbc b7fd8007 00000000 00000000 00000001 f8a0cd24 c2b21d00
00000000 
       00000000 f6e97df8 c2b21d00 c0144715 c057dc2c 00000001 f8a0eb54
b7fd8007 
Call Trace:
 [<f88c0165>] init_module+0x165/0xeb0 [enbd]
 [<c0144715>] pte_alloc_map+0x34/0xe1
 [<c0146d8b>] handle_mm_fault+0x186/0x1ce
 [<c011871d>] do_page_fault+0x270/0x6e0
 [<c0280abd>] __ide_dma_begin+0x21/0x2f
 [<c02806e3>] dma_timer_expiry+0x0/0x70
 [<c0283346>] __ide_do_rw_disk+0x53e/0x55d
 [<c0254262>] as_remove_queued_request+0x70/0xf9
 [<c013ba9d>] rmqueue_bulk+0x69/0x73
 [<c03b8f28>] schedule+0x878/0xafb
 [<c0108607>] do_IRQ+0x15e/0x1a4
 [<c010847c>] enable_irq+0x91/0xbe
 [<c013bdc1>] buffered_rmqueue+0xce/0x1cc
 [<c013bf55>] __alloc_pages+0x96/0x2ef
 [<c013fa34>] cache_init_objs+0x73/0xa3
 [<c013fbce>] cache_grow+0x10a/0x18e
 [<c016a303>] alloc_inode+0x143/0x14a
 [<c0114de7>] do_flush_tlb_all+0x0/0x5a
 [<c0114e94>] smp_call_function+0x1e/0xf6
 [<c01694a3>] d_instantiate+0x21/0x47
 [<c014bbf0>] unmap_area_pmd+0x43/0x5a
 [<c014c16b>] __vunmap+0x3b/0xd3
 [<c0135362>] load_module+0x8e1/0xa21
 [<c01085cc>] do_IRQ+0x123/0x1a4
 [<c01066b8>] common_interrupt+0x18/0x20
 [<f88c0000>] init_module+0x0/0xeb0 [enbd]
 [<c0135586>] sys_init_module+0xe4/0x1fb
 [<c0105cf5>] sysenter_past_esp+0x52/0x71
Code: c1 e0 09 3d ff 0f 00 00 77 21 c7 44 24 08 08 00 00 00 c7 44 24 04
d8 77 48 c0 c7 04 24 3c dd 3e c0 e8 a8 20 ed ff ba 08 00 00 00 <66> 89
93 ae 01 00 00 66 89 93 ac 01 00 00 83 c4 0c 5b c3 53 83 
 <4>