insmod时出现问题
发表于 : 2014-12-28 22:08
编译一段tty驱动时,terminal出现killed,用dmesg查看时,出现以下信息,请高人赐教!
root@ubuntu:/opt/c6678-master/projects/TTY# insmod tty_lan.ko
Killed
root@ubuntu:/opt/c6678-master/projects/TTY# dmesg | tail -12
[ 75.820095] [<c03b83a2>] ? tty_register_driver+0xf2/0x1c0
[ 75.820111] [<c03b8761>] ? alloc_tty_driver+0x51/0x70
[ 75.820311] [<d085307b>] ? tty_lan_init+0x7b/0xb7 [tty_lan]
[ 75.820329] [<c0101131>] ? do_one_initcall+0x31/0x190
[ 75.820334] [<d0853000>] ? tty_lan_init+0x0/0xb7 [tty_lan]
[ 75.820340] [<c01833c0>] ? sys_init_module+0xb0/0x210
[ 75.820346] [<c01033ec>] ? syscall_call+0x7/0xb
[ 75.820351] [<c0590000>] ? mutex_lock_interruptible+0x10/0x40
[ 75.820417] Code: 53 83 ec 08 0f 1f 44 00 00 89 c3 8b 40 48 85 c0 74 0a 8b 93 98 00 00 00 85 d2 74 09 83 c4 08 5b 5d c3 8d 76 00 8b 93 b0 00 00 00 <8b> 92 84 00 00 00 85 d2 74 e7 8b 0d 2c 16 8d c0 89 14 24 31 d2
[ 75.820550] EIP: [<c0255fae>] proc_tty_register_driver+0x2e/0x60 SS:ESP 0068:c933df1c
[ 75.820590] CR2: 0000000000000084
[ 75.820888] ---[ end trace bd3692bac1ff243b ]---
root@ubuntu:/opt/c6678-master/projects/TTY# insmod tty_lan.ko
Killed
root@ubuntu:/opt/c6678-master/projects/TTY# dmesg | tail -12
[ 75.820095] [<c03b83a2>] ? tty_register_driver+0xf2/0x1c0
[ 75.820111] [<c03b8761>] ? alloc_tty_driver+0x51/0x70
[ 75.820311] [<d085307b>] ? tty_lan_init+0x7b/0xb7 [tty_lan]
[ 75.820329] [<c0101131>] ? do_one_initcall+0x31/0x190
[ 75.820334] [<d0853000>] ? tty_lan_init+0x0/0xb7 [tty_lan]
[ 75.820340] [<c01833c0>] ? sys_init_module+0xb0/0x210
[ 75.820346] [<c01033ec>] ? syscall_call+0x7/0xb
[ 75.820351] [<c0590000>] ? mutex_lock_interruptible+0x10/0x40
[ 75.820417] Code: 53 83 ec 08 0f 1f 44 00 00 89 c3 8b 40 48 85 c0 74 0a 8b 93 98 00 00 00 85 d2 74 09 83 c4 08 5b 5d c3 8d 76 00 8b 93 b0 00 00 00 <8b> 92 84 00 00 00 85 d2 74 e7 8b 0d 2c 16 8d c0 89 14 24 31 d2
[ 75.820550] EIP: [<c0255fae>] proc_tty_register_driver+0x2e/0x60 SS:ESP 0068:c933df1c
[ 75.820590] CR2: 0000000000000084
[ 75.820888] ---[ end trace bd3692bac1ff243b ]---