On Mon, Dec 06, 2004 at 01:24:35PM -0800, Dave Hansen wrote: > On Mon, 2004-12-06 at 12:38, Mark Wong wrote: > > I just tried 2.6.10-rc1-mm5-mhp1 with only the lru_drain_wq, nonlinear > > and nowriteback patches. When I trun make test I get a segfault: > > > > # make test > > ./run.sh 5 ./aioalloc > > online 8 (0x40000000) > > ./run.sh: line 21: 7069 Segmentation fault sh $r $i > > failed > > make: *** [test] Error 1 > > > > And the system gets a bit screwy after that, everything segfaults, > > connection drops... I don't see any errors on the console or in the > > logs. Is there another way I figure out what's going on? > > Make sure to boot with "debug" on the kernel command line, or use 'dmesg > -n 8' after you boot to get all messages and warnings. > Ok, I got something now: # make test ./run.sh 5 ./aioalloc ./run.sh: line 5: ./aioalloc: No such file or directory online 8 (0x40000000) ./run.sh: line 21: 6991 Segmentation fault sh $r $i ./run.sh: line 18: kill: (6990) - No such process failed make: *** [test] Error 1 add_memory(0000000040000000, 0000000008000000, 00000000 __add_pages(c03bd300, 00040000, 32768, 00000000) for: i: 0 __add_section(c03bd300, 00040000, 00000000) __add_section() phys_start_pfn: 00040000 alloc_memsections(00040000, 00040000, 00008000) set mem_section[8].phys_section: 8 set phys_section[8]: 8 __kmalloc_section_memmap() set page: c16e2000 set mapping to c0166510 page_count(page): 1 register_memory() with section: 8 memory_block_action() psection: 8 first_page: f7100000 last_page: f71fffe0 phys_index: 8 phys_section[ 8]: 8 online_pages: onlining 0x8000 pages starting from pfn: 0x40000 online_pages: onlining if 0x8000 pages done.