From: Jeff D. <jd...@ad...> - 2007-06-07 13:18:19
|
On Thu, Jun 07, 2007 at 05:57:19PM +1000, Andrew Sinclair wrote: > Unfortunately, when trying to generate my own filesystem, my kernel no > longer works. It basically stops after mounting the filesystem. > > When I try and use gdb to debug I get stuck in > arch/um/include/um_uaccess.h:50 > > static inline int copy_to_user(void __user *to, const void *from, int n) > { > return(CHOOSE_MODE_PROC(copy_to_user_tt, copy_to_user_skas, to, > from, n)); > } I'm guessing gdb is stopping because it sees a segfault there: (gdb) handle SIGSEGV pass nostop noprint Segfaults within UML are normal, and gdb should just ignore them. Jeff -- Work email - jdike at linux dot intel dot com |