Chinaunix首页 | 论坛 | 博客
  • 博客访问: 332907
  • 博文数量: 102
  • 博客积分: 2510
  • 博客等级: 少校
  • 技术积分: 1146
  • 用 户 组: 普通用户
  • 注册时间: 2010-01-21 22:33
文章分类

全部博文(102)

文章存档

2011年(8)

2010年(94)

我的朋友

分类: LINUX

2010-03-24 21:36:20

等有解决方案会在此更新。

发信人: wxc200 (伊泽), 信区: KernelTech
标  题: 一个sd卡热插拔的panic
发信站: 水木社区 (Wed Mar 24 19:38:36 2010), 转信

遇到的一个panic,sd卡热插拔引起的.
根据下面的backtrace来看,as_add_rq_rb()把一个 request往rb-tree里添
加时候返回非null值,我理解为里面有关相同的request ,然后
as_move_to_dispatch()里出现了BUG_ON。


[ 1015.997650] Unable to handle kernel NULL pointer dereference 
at virtual address 00000000
[ 1016.006072] pgd = c9ba0000
[ 1016.008758] [00000000] *pgd=a9b94031, *pte=00000000, 
*ppte=00000000
[ 1016.015045] Internal error: Oops: 817 [#1]
[ 1016.019134] Modules linked in: hwmap cidatatty ccinetdev 
cci_datastub mslbddk seh
[ 1016.026702] CPU: 0    Tainted: G        W   (2.6.29 #1)
[ 1016.031951] PC is at __bug+0x20/0x2c
[ 1016.035552] LR is at release_console_sem+0x1e4/0x238
[ 1016.040496] pc : []    lr : []    psr: 
60000093
[ 1016.040527] sp : c9b9dbd8  ip : c9b9db08  fp : c9b9dbe4
[ 1016.051971] r10: 00000001  r9 : 00000001  r8 : 00000000
[ 1016.057189] r7 : 00000000  r6 : c4e21b40  r5 : c744b948  r4 
: c4e21b40
[ 1016.063690] r3 : 00000000  r2 : 60000093  r1 : 00068855  r0 
: 00000038
[ 1016.070220] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA 
ARM  Segment user
[ 1016.077423] Control: 0400397f  Table: a9ba0018  DAC: 
00000015
[ 1016.083160] 
[ 1016.083160] PC: 0xc00320c4:

[ 1016.940734] Backtrace: 
[ 1016.943176] [] (__bug+0x0/0x2c) from [
(as_move_to_dispatch+0x14c/0x168)
[ 1016.951782] [] (as_move_to_dispatch+0x0/0x168) 
from [] (as_add_rq_rb+0x5c/0x68)
[ 1016.960845]  r8:00000000 r7:00000000 r6:c4e21b44 r5:c744b948 
r4:c4e21b40
[ 1016.967590] [] (as_add_rq_rb+0x0/0x68) from 
[] (as_add_request+0x90/0x13c)
[ 1016.976257]  r6:c4e21b40 r5:c744b948 r4:00000001
[ 1016.980895] [] (as_add_request+0x0/0x13c) from 
[] (elv_insert+0xe4/0x218)
[ 1016.989471]  r6:c054c4c8 r5:c744b948 r4:c744b948
[ 1016.994110] [] (elv_insert+0x0/0x218) from 
[] (__elv_add_request+0xc4/0xc8)
[ 1017.002838]  r7:00000000 r6:c054c4c8 r5:00000003 r4:c744b948
[ 1017.008514] [] (__elv_add_request+0x0/0xc8) from 
[] (__make_request+0xd4/0x3d8)
[ 1017.017608]  r6:00000002 r5:c054c4c8 r4:c744b948
[ 1017.022247] [] (__make_request+0x0/0x3d8) from 
[] (generic_make_request+0x1c4/0x258)
[ 1017.031738] [] (generic_make_request+0x0/0x258) 
from [] (submit_bio+0x70/0xe4)
[ 1017.040740]  r7:00000002 r6:00000002 r5:cb038980 r4:c39c12d8
[ 1017.046417] [] (submit_bio+0x0/0xe4) from 
[] (submit_bh+0x13c/0x18c)
[ 1017.054534] [] (submit_bh+0x0/0x18c) from 
[] (ll_rw_block+0x1ac/0x1c4)
[ 1017.062866]  r6:00000000 r5:c9b9ddcc r4:c39c12d8
[ 1017.067474] [] (ll_rw_block+0x0/0x1c4) from 
[] (__breadahead+0x30/0x48)
[ 1017.075866] [] (__breadahead+0x0/0x48) from 
[] (fat_count_free_clusters+0x260/0x270)
[ 1017.085388] [] (fat_count_free_clusters+0x0/0x270) 
from [] (fat_statfs+0x94/0xa4)
[ 1017.094665] [] (fat_statfs+0x0/0xa4) from 
[] (vfs_statfs+0x58/0x7c)
[ 1017.102691]  r6:c9b9df80 r5:c9b9dea0 r4:c9622600
[ 1017.107330] [] (vfs_statfs+0x0/0x7c) from 
[] (vfs_statfs64+0x20/0xe8)
[ 1017.115539]  r5:00000054 r4:00292788
[ 1017.119140] [] (vfs_statfs64+0x0/0xe8) from 
[] (sys_statfs64+0x64/0xc4)
[ 1017.127502] [] (sys_statfs64+0x0/0xc4) from 
[] (ret_fast_syscall+0x0/0x2c)
[ 1017.136169]  r7:0000010a r6:ad36c050 r5:0000aa98 r4:ad3721a4
[ 1017.141845] Code: e1a01000 e59f000c eb00ba61 e3a03000 
(e5833000) 
--
阅读(1634) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~