memory addresses of UML kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

While running one of the my modules, my UML kernel core dumps. The
stack is shown below


(gdb) bt
#0  0xb7e44328 in abort () from /lib/tls/i686/cmov/libc.so.6
#1  0x080661b7 in os_dump_core () at arch/um/os-Linux/util.c:147
#2  0x08058d2e in panic_exit (self=0x81f4694, unused1=0,
unused2=0x8209d40) at arch/um/kernel/um_arch.c:477
#3  0x0807bab8 in notifier_call_chain (nl=0x8209d20, val=0,
v=0x8209d40, nr_to_call=-2, nr_calls=0x0) at kernel/sys.c:173
#4  0x0807bb53 in __atomic_notifier_call_chain (nh=0x8209d20, val=0,
v=0x8209d40, nr_to_call=-1, nr_calls=0x0) at kernel/sys.c:266
#5  0x0807bb6a in atomic_notifier_call_chain (nh=0x8209d20, val=0,
v=0x8209d40) at kernel/sys.c:276
#6  0x08070876 in panic (fmt=0x81c164b "Kernel mode fault at addr
0x%lx, ip 0x%lx") at kernel/panic.c:99
#7  0x0805899e in segv (fi={error_code = 6, cr2 = 8, trap_no = 14},
ip=679478278, is_user=0, regs=0x8209540) at arch/um/kernel/trap.c:202
#8  0x0805885e in segv_handler (sig=11, regs=0x8209540) at
arch/um/kernel/trap.c:152
#9  0x080681b8 in sig_handler_common_skas (sig=11, sc_ptr=0x81f2d24)
at arch/um/os-Linux/skas/trap.c:62
#10 0x080651d4 in sig_handler (sig=11, sc=0x81f2d24) at
arch/um/os-Linux/signal.c:56
#11 0x08065366 in handle_signal (sig=<value optimized out>,
sc=0x81f2d24) at arch/um/os-Linux/signal.c:147
#12 0x08066f6b in hard_handler (sig=11) at arch/um/os-Linux/sys-i386/signal.c:12
#13 <signal handler called>
#14 0x28800406 in ?? ()
#15 0x27a6b2c8 in ?? ()
#16 0x275d98a0 in ?? ()
#17 0x09130e18 in ?? ()
#18 0x000001a4 in ?? ()
#19 0x27b58de0 in ?? ()
#20 0x4788bd40 in ?? ()
#21 0x03850fe0 in ?? ()
#22 0x00000000 in ?? ()

>From the stack I can see that all the function addresses are below 3
GB even though they are kernel functions. Is it because UML runs in
user space and has its own memory mappings ??.......... Also I am not
able to figure out what makes it to crash as you can see there is no
debug info for below frames (which i assume is due to my loadable
module, even though i have built it with debug flags). Any suggestions
how should i go about debugging it ?

Thanks in advance

-- 
Thanks & Regards,
********************************************
Manish Katiyar  ( http://mkatiyar.googlepages.com )
3rd Floor, Fair Winds Block
EGL Software Park
Off Intermediate Ring Road
Bangalore 560071, India
***********************************************

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux