Messages in this thread | | | Subject | Re: How to understand a kernel oops message? | Date | Wed, 01 Apr 1998 23:12:52 -0400 | From | Horst von Brand <> |
| |
Gabriel Paubert <paubert@iram.es> said: > On Thu, 2 Apr 1998, Foo Chun Choong wrote:
[...]
> > (2) In EIP:[dev_ioctl+476/508] is there a way for me to find the exact > > line of the kernel code that is causing the problem (using 476/508??)
> There are several possibilities, use ksymoops as a first step. I often > prefer to objdump the .o file because I can have a look at the code > before the oops. You may also try gcc -S with the same options used to > compile the kernel (the -fverbose-asm switch does not seem to help in > getting more readable output).
Better: Compile with "-S -g" (plus the exact same flags used in the kernel compilation! You saved the output of the "make", didn't you? :), then search for the instructions the Oops gave you (the addresses will obviously be written differently in the assembly source). The .stabs line before the code should tell you (last number) which C source line it is. -- Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |