linux内核事故 大家帮忙看看大概是什么原因先谢了
写了个字符驱动,用来弄异步通知的,即使最后成功发送了通知都一直在报内核错误,错误代码如下Messagefromsyslogd@localhostatJan610:02:3...
写了个字符驱动,用来弄异步通知的,即使最后成功发送了通知都一直在报内核错误,错误代码如下
Message from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606380] Oops: 0002 [#3] SMP Message from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606383] last sysfs file: /sys/devices/pci0000:00/0000:00:11.0/0000:02:00.0/usb2/2-2/devnumMessage from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606448] Process asyncnoticewrit (pid: 587, ti=ef3e0000 task=ef3725e0 task.ti=ef3e0000)Message from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606450] Stack:Message from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606479] Call Trace:Message from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606512] Code: 55 89 e5 0f 1f 44 00 00 3e ff 00 5d c3 55 89 e5 0f 1f 44 00 00 3e 81 00 00 00 00 01 5d c3 55 89 e5 0f 1f 44 00 00 ba 00 01 00 00 <3e> 66 0f c1 10 38 f2 74 06 f3 90 8a 10 eb f6 5d c3 55 89 e5 0f Message from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606544] EIP: [<c0464e46>] do_raw_spin_lock+0xd/0x1e SS:ESP 0068:ef3e1f28Message from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606549] CR2: 0000000000000013很奇怪的是我的驱动没有用锁机制 展开
Message from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606380] Oops: 0002 [#3] SMP Message from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606383] last sysfs file: /sys/devices/pci0000:00/0000:00:11.0/0000:02:00.0/usb2/2-2/devnumMessage from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606448] Process asyncnoticewrit (pid: 587, ti=ef3e0000 task=ef3725e0 task.ti=ef3e0000)Message from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606450] Stack:Message from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606479] Call Trace:Message from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606512] Code: 55 89 e5 0f 1f 44 00 00 3e ff 00 5d c3 55 89 e5 0f 1f 44 00 00 3e 81 00 00 00 00 01 5d c3 55 89 e5 0f 1f 44 00 00 ba 00 01 00 00 <3e> 66 0f c1 10 38 f2 74 06 f3 90 8a 10 eb f6 5d c3 55 89 e5 0f Message from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606544] EIP: [<c0464e46>] do_raw_spin_lock+0xd/0x1e SS:ESP 0068:ef3e1f28Message from syslogd@localhost at Jan 6 10:02:30 ... kernel:[ 5418.606549] CR2: 0000000000000013很奇怪的是我的驱动没有用锁机制 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询