James Courtier-Dutton wrote: > Andrew Morton wrote: > >>James Courtier-Dutton wrote: >> >> >>>I have used the kernel.org normal kernel, and it compiles and boots fine. >>>I then use exactly the same .config file for the 2.6.12-rc6-mm1 and it >>>fails to boot. >> >> >>It's due to the fork notifier code. Set CONFIG_FORK_CONNECTOR=n and you >>should be OK. >> > > > 2.6.12-mm1 fails just like previous versions. > > Setting "CONFIG_FORK_CONNECTOR=n" permitted me to boot the kernel, thank > you. > > James > Ok, it now boots, but I now get a new problem. after "modprobe yenta-socket", and then "cat /proc/iomem" I get the attached kernel segfault. Extract below: Unable to handle kernel NULL pointer dereference at virtual address 00000010 printing eip: c0126fc0 *pde = 00000000 Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC Modules linked in: yenta_socket rsrc_nonstatic pcmcia_core usbcore CPU: 0 EIP: 0060:[] Not tainted VLI EFLAGS: 00010297 (2.6.12-mm1) EIP is at r_show+0x30/0x90 eax: 00000000 ebx: 00000008 ecx: 00000003 edx: c03ca87c esi: f7fafaa8 edi: f4f7af78 ebp: f4fabf28 esp: f4fabef8 ds: 007b es: 007b ss: 0068 Process cat (pid: 1750, threadinfo=f4faa000 task=f4f55af0) Stack: f4f7af78 c0389e8b 00000000 c038d590 00000008 3fffc000 00000008 3fffffff c03883a3 00000000 f4f7af78 f7fafaa8 f4fabf60 c018b702 f4f7af78 f7fafaa8 f4fabf44 000001a7 00000000 0000000d 00000000 0000000c 00000000 00000400 Call Trace: [] show_stack+0x7f/0xa0 [] show_registers+0x164/0x1e0 [] die+0x10d/0x1a0 [] do_page_fault+0x4bc/0x6b8 [] error_code+0x4f/0x54 [] seq_read+0x242/0x2f0 [] vfs_read+0xe3/0x1b0 [] sys_read+0x4b/0x80 [] syscall_call+0x7/0xb Code: 53 83 ec 24 8b 7d 08 8b 75 0c 8b 57 40 8b 42 08 3d 00 00 01 00 19 db 89 f0 83 e3 fc 31 c9 83 c3 08 8d 76 00 8d bc 27 00 00 00 00 <8b> 40 10 39 d0 74 06 41 83 f9 04 7e f3 8b 06 ba 85 9e 38 c0 85 <3>Debug: sleeping function called from invalid context at include/linux/rwsem.h:43 in_atomic():1, irqs_disabled():0 [] dump_stack+0x1e/0x20 [] __might_sleep+0xa2/0xb0 [] profile_task_exit+0x21/0x60 [] do_exit+0x1d/0x490 [] die+0x194/0x1a0 [] do_page_fault+0x4bc/0x6b8 [] error_code+0x4f/0x54 [] seq_read+0x242/0x2f0 [] vfs_read+0xe3/0x1b0 [] sys_read+0x4b/0x80 [] syscall_call+0x7/0xb note: cat[1750] exited with preempt_count 1 scheduling while atomic: cat/0x10000001/1750 [] dump_stack+0x1e/0x20 [] schedule+0xa58/0xdf0 [] cond_resched+0x2f/0x50 [] unmap_vmas+0x159/0x260 [] exit_mmap+0x9c/0x190 [] mmput+0x55/0xf0 [] exit_mm+0xc1/0x180 [] do_exit+0xda/0x490 [] die+0x194/0x1a0 [] do_page_fault+0x4bc/0x6b8 [] error_code+0x4f/0x54 [] seq_read+0x242/0x2f0 [] vfs_read+0xe3/0x1b0 [] sys_read+0x4b/0x80 [] syscall_call+0x7/0xb