> I used the latest version of kgdb (linux-2.6.15.5-kgdb-2.4.tar.bz2) and the > corresponding source code (i.e. linux-2.6.15.5.tar.bz2).
One workaround for _nfs_ is to not configure it into the kernel, if you don't need it. But anyhow I never got to boot sucessfully kgdb (linux-2.6.15.5-kgdb-2.4.tar.bz2) with linux-2.6.15.5 - neither on a single processor - nor on a double processor (Pentium D) All boot attempts ended with >>>>Kernel panic - not syncing: Attempted to kill init! >>>>program received SIGTRAP, Trace/breakpoint ... >>>>[Switching to Thread 1] >>>>breakpoint() at kernel/kgdb.c: 1888 Maybe someone could give some advice ? Thanks, Otfried P.S. I am now using kgdb 2.3 on linux-2.6.13 but that way I cannot debug whith SMP switched on - which I should better do to find subtle bug with spinlocks. > During compilation > it gave error in fs/nfs/direct.c as > > fs/nfs/direct.c: In function nfs_get_user_pages: > fs/nfs/direct.c:110: warning: implicit declaration of function > nfs_free_user_pages > fs/nfs/direct.c: At top level: > fs/nfs/direct.c:127: warning: conflicting types for nfs_free_user_pages > fs/nfs/direct.c:127: error: static declaration of nfs_free_user_pages > follows > non-static declaration > fs/nfs/direct.c:110: error: previous implicit declaration of > nfs_free_user_pages was here > > I simply declared the function in the beginning of the file as > static void nfs_free_user_pages(struct page **, int, int); > > The error went off and compilation succeeded, but with the warning: > include/asm/mpspec_def.h:78: warning: \0xe2packed\0xe2 attribute ignored > for field of > type \0xe2unsigned char[6]\0xe2 > several times in several files where mpspec_def.h was #include ed. > > Finally when I tried to boot it stopped at: > Uncompressing Linux... OK, booting the kernel > and didn't go further. > > Can anyone provide a solution to this. Moreover I used kernel-package to > make the image (i.e. make-kpkg kernel_image) and the .deb file thus formed > too was huge (approximately 147 MB) > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Kgdb-bugreport mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Kgdb-bugreport mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
