Chinaunix
标题:
newbie`s question
[打印本页]
作者:
3040602024
时间:
2008-01-03 13:55
标题:
newbie`s question
2 21:39:05 localhost kernel: write incount=47
Jan 2 21:39:05 localhost kernel: chars=4000
Jan 2 21:39:05 localhost kernel: chars==-=47asdfasdfasdfasdfasdf
Jan 2 21:39:05 localhost kernel: 249general protection fault: 0000
Jan 2 21:39:05 localhost kernel: vfifo parport_pc lp parport autofs pcnet32 mii ipt_REJECT iptable_filter ip_tables keybdev mousedev hid input usb-uhci ehci-hcd usbcore ext3 jbd BusLogic sd_m
Jan 2 21:39:05 localhost kernel: CPU: 0
Jan 2 21:39:05 localhost kernel: EIP: 0060:[<c0118d40>] Not tainted
Jan 2 21:39:05 localhost kernel: EFLAGS: 00010003
Jan 2 21:39:05 localhost kernel:
Jan 2 21:39:05 localhost kernel: EIP is at __wake_up [kernel] 0x20 (2.4.20-
Jan 2 21:39:05 localhost kernel: eax: c7ec7800 ebx: 00000001 ecx: 00000001 edx: 00000001
Jan 2 21:39:05 localhost kernel: esi: c7ec7800 edi: 00000001 ebp: c5c69f40 esp: c5c69f20
Jan 2 21:39:05 localhost kernel: ds: 0068 es: 0068 ss: 0068
Jan 2 21:39:05 localhost kernel: Process ls (pid: 2557, stackpage=c5c69000)
Jan 2 21:39:05 localhost kernel: Stack: 00000000 c5c8dd00 c7ec7800 00000001 00000286 c7ec7800 c5c42c80 ffffffea
Jan 2 21:39:05 localhost kernel: c5c69f90 c890d997 c0131afa c6df5c80 c5c8dd80 c5c8dd98 40017000 40018000
Jan 2 21:39:05 localhost kernel: 00000073 0000002f c5c69f7c 00000000 00000073 c5c8d780 c5c8dd80 c5d9a000
Jan 2 21:39:05 localhost kernel: Call Trace: [<c890d997>] vfifo_write [vfifo] 0x38b (0xc5c69f44))
Jan 2 21:39:05 localhost kernel: [<c0131afa>] do_mmap_pgoff [kernel] 0x4ba (0xc5c69f4
)
Jan 2 21:39:05 localhost kernel: [<c0146e93>] sys_write [kernel] 0xa3 (0xc5c69f94))
Jan 2 21:39:05 localhost kernel: [<c0109537>] system_call [kernel] 0x33 (0xc5c69fc0))
Jan 2 21:40:08 localhost kernel: Code: 8b 53 fc 8b 02 85 c7 75 17 8b 1b 39 f3 75 f1 ff 75 f0 9d 83
Jan 2 21:41:53 localhost kernel: read
Jan 2 21:41:53 localhost kernel: reading:going to sleep
Jan 2 21:41:53 localhost kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000005
Jan 2 21:41:53 localhost kernel: printing eip:
Jan 2 21:41:53 localhost kernel: c0119f65
Jan 2 21:41:53 localhost kernel: *pde = 00000000
Jan 2 21:41:53 localhost kernel: Oops: 0002
Jan 2 21:41:53 localhost kernel: vfifo parport_pc lp parport autofs pcnet32 mii ipt_REJECT iptable_filter ip_tables keybdev mousedev hid input usb-uhci ehci-hcd usbcore ext3 jbd BusLogic sd_m
Jan 2 21:41:53 localhost kernel: CPU: 0
Jan 2 21:41:53 localhost kernel: EIP: 0060:[<c0119f65>] Not tainted
Jan 2 21:41:53 localhost kernel: EFLAGS: 00010046
Jan 2 21:41:53 localhost kernel:
Jan 2 21:41:53 localhost kernel: EIP is at add_wait_queue [kernel] 0x15 (2.4.20-
Jan 2 21:41:53 localhost kernel: eax: c7ec7800 ebx: 00000001 ecx: c5c69f70 edx: c5c69f68
Jan 2 21:41:53 localhost kernel: esi: 00000246 edi: ffffffea ebp: c5c69f90 esp: c5c69f3c
Jan 2 21:41:53 localhost kernel: ds: 0068 es: 0068 ss: 0068
Jan 2 21:41:53 localhost kernel: Process a.out (pid: 2567, stackpage=c5c69000)
Jan 2 21:41:53 localhost kernel: Stack: 00000000 c5c42900 c890d3b2 c5c42900 c5846180 ffffffe9 c0145fb3 c5846180
Jan 2 21:41:53 localhost kernel: c5c42900 00000000 c6be7000 00000000 c5c68000 c0145edd c54e3700 c1540340
Jan 2 21:41:53 localhost kernel: 00000000 00000000 c7ec7800 c1540340 00000000 00000064 c0146d53 c5c42900
Jan 2 21:41:53 localhost kernel: Call Trace: [<c890d3b2>] vfifo_read [vfifo] 0xf7 (0xc5c69f44))
Jan 2 21:41:53 localhost kernel: [<c0145fb3>] dentry_open [kernel] 0xd3 (0xc5c69f54))
Jan 2 21:41:53 localhost kernel: [<c0145edd>] filp_open [kernel] 0x6d (0xc5c69f70))
Jan 2 21:41:53 localhost kernel: [<c0146d53>] sys_read [kernel] 0xa3 (0xc5c69f94))
Jan 2 21:41:53 localhost kernel: [<c01462aa>] sys_open [kernel] 0x8a (0xc5c69fa
)
Jan 2 21:41:53 localhost kernel: [<c0109537>] system_call [kernel] 0x33 (0xc5c69fc0))
一个是读,一个是写的。。字符设备都有错误。。这些怎么看啊?
还有就是当一个模块在调试时可能被信号量锁住,那么他就显示有人使用,但是这会怎么rmmod模块啊?除了reboot,…..rmmod –f 还有别的办法不?
还有怎样搭建调试平台比较简单啊?
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2