[uClinux-dev] /proc/slabinfo crash

munro munro.biswal at smartbridges.com
Wed Aug 10 22:29:00 EDT 2005


Hi,

I am using a IXP425 and snapgear distro for linux-2.4.25.

My system behaves normally and i can access /proc/slabinfo for cache 
rel;ated info.

We are using connexant radio driver on our board. I never had  a problem 
when there was just one  instance of  radio card on my board i.e just eth0
cat /proc/slabinfo shows normal output a below.

# cat /proc/slabinfo
slabinfo - version: 1.1
kmem_cache            67     72    108    2    2    1
ip_fib_hash            4    113     32    1    1    1
ip_mrt_cache           0      0     96    0    0    1
tcp_tw_bucket          0      0     96    0    0    1
tcp_bind_bucket        4    113     32    1    1    1
tcp_open_request       0      0     64    0    0    1
inet_peer_cache        0      0     64    0    0    1
ip_dst_cache           0      0    160    0    0    1
arp_cache              0      0     96    0    0    1
blkdev_requests     1024   1040     96   26   26    1
jffs2_inode_cache   1653   1690     20   10   10    1
jffs2_node_frag     1737   1818     16    9    9    1
jffs2_raw_node_ref  11143  11312     16   56   56    1
jffs2_tmp_dnode        0   3289     12    0   13    1
jffs2_raw_inode        0     56     68    0    1    1
jffs2_raw_dirent       0     92     40    0    1    1
jffs2_full_dnode    1830   4444     16   10   22    1
nfs_write_data         0      0    352    0    0    1
nfs_read_data          0      0    352    0    0    1
nfs_page               0      0     96    0    0    1
dnotify_cache          0      0     20    0    0    1
file_lock_cache        0     42     92    0    1    1
fasync_cache           0      0     16    0    0    1
uid_cache              0      0     32    0    0    1
skbuff_head_cache    198    200    192   10   10    1
sock                  13     35    768    3    7    1
sigqueue               0     29    132    0    1    1
kiobuf                 0      0     64    0    0    1
cdev_cache            10     59     64    1    1    1
bdev_cache             3     59     64    1    1    1
mnt_cache             12     59     64    1    1    1
inode_cache          233    240    480   30   30    1
dentry_cache         280    300    128   10   10    1
filp                 165    180    128    6    6    1
names_cache            0      4   4096    0    4    1
buffer_head            4     40     96    1    1    1
mm_struct             23     60    128    2    2    1
vm_area_struct       274    400     96    9   10    1
fs_cache              22    113     32    1    1    1
files_cache           23     36    416    4    4    1
signal_act            30     42   1312   12   14    1
pte-cache            133    154   2048   71   77    1
size-131072(DMA)       0      0 131072    0    0   32
size-131072            0      0 131072    0    0   32
size-65536(DMA)        0      0  65536    0    0   16
size-65536             2      2  65536    2    2   16
size-32768(DMA)        0      0  32768    0    0    8
size-32768             4      4  32768    4    4    8
size-16384(DMA)        0      0  16384    0    0    4
size-16384            10     10  16384   10   10    4
size-8192(DMA)         0      0   8192    0    0    2
size-8192              7      7   8192    7    7    2
size-4096(DMA)         0      0   4096    0    0    1
size-4096             39     39   4096   39   39    1
size-2048(DMA)         0      0   2048    0    0    1
size-2048            175    176   2048   88   88    1
size-1024(DMA)         2      4   1024    1    1    1
size-1024             44     48   1024   12   12    1
size-512(DMA)          0      0    512    0    0    1
size-512              15     16    512    2    2    1
size-256(DMA)          2     15    256    1    1    1
size-256              15     30    256    1    2    1
size-128(DMA)          0      0    128    0    0    1
size-128             353    390    128   12   13    1
size-64(DMA)           0      0     64    0    0    1
size-64              330    767     64    6   13    1
size-32(DMA)           0      0     32    0    0    1
size-32              654   1808     32    6   16    1


But, the moment i insert two radio cards and  issue a rmmod, i start 
having problems with slabinfo.

Whenever i issue a command for uninstalling  the driver, i.e rmmod 
<driver name>, i see the following   :


Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c35c4000
[00000000] *pgd=0388a801, *pmd = 0388a801, *pte = 00000000, *ppte = 00000000
Internal error: Oops: 807
CPU: 0
pc : [<c003dc70>]    lr : [<c0250a10>]    Tainted: P
sp : c34d7f14  ip : c0250a08  fp : 00000000
r10: 00002000  r9 : 00000997  r8 : 00000001
r7 : 00000001  r6 : 00000001  r5 : c3becaa0  r4 : c0250a08
r3 : ffffffff  r2 : 00000000  r1 : c3bdc8c0  r0 : c0250a18
Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  Segment user
Control: 39FF  Table: 035C4000  DAC: 00000015
Process cat (pid: 638, stack limit = 0xc34d6368)
Stack: (0xc34d7f14 to 0xc34d8000)
7f00:                                              00000000 00010000 
00000000
7f20: 00000000 00000010 c0250a08 c34d7f50 c3becaa0 00000000 bfffdd98 
00002000
7f40: c0060a74 c3becab0 c3becab8 c3a9bce0 00000000 0000002e 00000000 
0000002d
7f60: c3a9bce0 c3a9bcc0 ffffffea 00000000 00002000 c34d6000 bfffdd98 
00000000
7f80: c0046aa4 c34d7fb0 00032bdc 00000003 00002000 bfffdd98 00000003 
c0017904
7fa0: 401275cc c0017740 00000003 c00176bc 00000003 bfffdd98 00002000 
00000001
7fc0: 00000003 00002000 bfffdd98 00000003 00000002 00032bdc 401275cc 
0004a244
7fe0: 400ceaa0 bfffdd84 000352f8 400ceaa4 60000010 00000003 00000000 
00000000
Backtrace: no frame pointer
Code: e5913010 e3a02000 e2888001 e1530002 (15822000)
Segmentation fault


Please ADVISE as what could have caused the problem,


regards,
Munro.




More information about the uClinux-dev mailing list