Hi, Do you have an RPM available? (I'm on F10 i386). If not, where can I find a release tarball? (does one exist?)
I'm trying to debug a module that gets loaded from the initrd and its having problems... Thanks! -derek Quoting Caz Yokoyama <[email protected]>: > Hello Dmitry, > I am an owner of kgdb-light. I generalized to support 2.6.27 and later > locally. Let me build the code. BTW, which environment do you build? I am > using Fedora 8 on x86_64. > -caz > > -----Original Message----- > From: Dmitry Mikhin [mailto:[email protected]] > Sent: Tuesday, April 28, 2009 7:57 AM > To: [email protected] > Subject: [Kgdb-bugreport] debugging kernel modules with kgdb-light > in2.6.29.1 > > Hello all, > > i've managed to debug kernel 2.6.29.1 with kgdb-light and standart gdb > 6.8 (no modifications). > Next step is debugging of kernel modules. Unfortunatly standart gdb > doesn't support it. > I've found gdbmod-2.4, but it is pretty old (gdb 6.4), and looks like it > is not supported any more. > Another project is http://sourceforge.net/projects/kgdb-light/, it is > based on gdb 6.8. > But it gives errors during compilation: > > cc1: warnings being treated as errors > dwarf2read.c: In function 'scan_partial_symbols': > dwarf2read.c:1781: warning: integer constant is too large for 'long' type > dwarf2read.c:1781: warning: comparison is always false due to limited > range of data type > make[2]: *** [dwarf2read.o] Error 1 > > and looks like it supports only kernels 2.6.18 and 2.6.27 (look at > string 1821 in solid-srv4.c) > > What version of gdb do you use for debugging kernel modules? > > Any help will be greatly appreciated. > > Kind Regards, > Dmitry > > ---------------------------------------------------------------------------- > -- > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Kgdb-bugreport mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Kgdb-bugreport mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport > -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH [email protected] PGP key available ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Kgdb-bugreport mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
