亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標題: 搭建內(nèi)核模塊調(diào)試環(huán)境的過程中遇到的問題 [打印本頁]

作者: himrpei    時間: 2012-05-04 16:44
標題: 搭建內(nèi)核模塊調(diào)試環(huán)境的過程中遇到的問題
本帖最后由 himrpei 于 2012-05-04 16:52 編輯

目標機:


開發(fā)機:
  1. [root@bogon linux-2.6.38.2]# gdb vmlinux
  2. GNU gdb (GDB) Red Hat Enterprise Linux (7.2-50.el6)
  3. Copyright (C) 2010 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  7. and "show warranty" for details.
  8. This GDB was configured as "i686-redhat-linux-gnu".
  9. For bug reporting instructions, please see:
  10. <http://www.gnu.org/software/gdb/bugs/>...
  11. Reading symbols from /root/work/linux-2.6.38.2/vmlinux...done.
  12. (gdb) set remotebaud 115200
  13. (gdb) target remote /dev/ttyS1
  14. Remote debugging using /dev/ttyS1
  15. kgdb_breakpoint (new_dbg_io_ops=0xc0a182c0) at kernel/debug/debug_core.c:960
  16. 960                wmb(); /* Sync point after breakpoint */
  17. (gdb) continue
  18. Continuing.
  19. [New Thread 22]

  20. Program received signal SIGSEGV, Segmentation fault.
  21. [Switching to Thread 22]
  22. 0xc0805799 in __ticket_spin_lock (lock=<value optimized out>)
  23.     at /root/work/linux-2.6.38.2/arch/x86/include/asm/spinlock.h:65
  24. 65                asm volatile (
  25. (gdb)
  26. Continuing.
  27. KGDB only knows signal 9 (pass) and 15 (pass and disconnect)
  28. Executing a continue without signal passing

  29. Program received signal SIGSEGV, Segmentation fault.
  30. 0x0000000b in ?? ()
  31. (gdb)
復制代碼
目標機響應:


我知道這是因為內(nèi)核有bug,但是如果重新配置目標機的grub,去掉"kgdbwait",不讓目標機等待開發(fā)機連接。 目標機的內(nèi)核就可以正常啟動,并不會遇到類似"kernel panic"的問題,沒有什么段錯誤。  這種情況作何解釋?
作者: himrpei    時間: 2012-05-04 23:00
沒人能解答嗎? 等待ing...




歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2