lists.openwall.net   lists  /  announce  john-users  owl-users  popa3d-users  /  xvendor  oss-security  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4 
Open Source and information security mailing list archives
 
This website is powered by Openwall GNU/*/Linux security-enhanced OS
[<prev] [next>] [<thread-prev] [thread-next>] [month] [year] [list]
Date:	Fri, 01 Sep 2006 11:43:33 +0800
From:	Yao Fei Zhu <walkinair@...ibm.com>
To:	Andrew Morton <akpm@...l.org>
Subject: Re: kernel BUG in __xfs_get_blocks at fs/xfs/linux-2.6/xfs_aops.c:1293!

Andrew Morton wrote:

>On Thu, 31 Aug 2006 18:17:26 +1000
>David Chinner <dgc@....com> wrote:
>
>  
>
>>>BTW, I have CONFIG_PPC_64K_PAGES enabled.
>>>      
>>>
>>But that might be a good place to start. Can you see if you can
>>reproduce the problem without this config option set?
>>    
>>
>
>It would be useful to compare the compiler warning output for 64k pages
>versus that for smaller-pages.  
>
>Several quite worrisome-looking warnings are emitted from various parts of
>the kernel with 64k pages.  Related to arithmetic on short types.
>  
>
1. the config diff
blade10:/boot # diff config-2.6.18-rc5-ppc64 config-2.6.18-rc5-ppc64.64kp
4c4
< # Thu Aug 31 18:25:42 2006
---
 > # Thu Aug 31 21:18:52 2006
51c51
< CONFIG_LOCALVERSION="-ppc64"
---
 > CONFIG_LOCALVERSION="-ppc64.64kp"
173c173
< CONFIG_FORCE_MAX_ZONEORDER=13
---
 > CONFIG_FORCE_MAX_ZONEORDER=9
204c204
< # CONFIG_PPC_64K_PAGES is not set
---
 > CONFIG_PPC_64K_PAGES=y

2. the compiler warning diff
ltctest:~ # diff 4k.warning 64k.warning
0a1,5
 > kernel/power/pm.c:205: warning: â..pm_registerâ.. is deprecated 
(declared at kernel/power/pm.c:64)
 > kernel/power/pm.c:205: warning: â..pm_registerâ.. is deprecated 
(declared at kernel/power/pm.c:64)
 > kernel/power/pm.c:206: warning: â..pm_send_allâ.. is deprecated 
(declared at kernel/power/pm.c:180)
 > kernel/power/pm.c:206: warning: â..pm_send_allâ.. is deprecated 
(declared at kernel/power/pm.c:180)
 > fs/bio.c:169: warning: â..idxâ.. may be used uninitialized in this 
function
8,13d12
< fs/bio.c:169: warning: â..idxâ.. may be used uninitialized in this 
function
< kernel/power/pm.c:205: warning: â..pm_registerâ.. is deprecated 
(declared at kernel/power/pm.c:64)
< kernel/power/pm.c:205: warning: â..pm_registerâ.. is deprecated 
(declared at kernel/power/pm.c:64)
< kernel/power/pm.c:206: warning: â..pm_send_allâ.. is deprecated 
(declared at kernel/power/pm.c:180)
< kernel/power/pm.c:206: warning: â..pm_send_allâ.. is deprecated 
(declared at kernel/power/pm.c:180)
< fs/eventpoll.c:500: warning: â..fdâ.. may be used uninitialized in 
this function
17a17,27
 > fs/eventpoll.c:500: warning: â..fdâ.. may be used uninitialized in 
this function
 > fs/fat/inode.c:1227: warning: comparison is always false due to 
limited range of data type
 > fs/hfs/btree.c:243: warning: comparison is always false due to 
limited range of data type
 > fs/hfsplus/btree.c:235: warning: comparison is always false due to 
limited range of data type
 > fs/ocfs2/vote.c:774: warning: â..responseâ.. may be used 
uninitialized in this function
 > fs/ocfs2/dlm/dlmdomain.c:70: warning: format â..%luâ.. expects type 
â..long unsigned intâ.., but argument 7 has type â..intâ..
 > fs/ocfs2/dlm/dlmdomain.c:70: warning: format â..%luâ.. expects type 
â..long unsigned intâ.., but argument 7 has type â..intâ..
 > fs/ocfs2/dlm/dlmdomain.c:70: warning: format â..%luâ.. expects type 
â..long unsigned intâ.., but argument 7 has type â..intâ..
 > fs/ocfs2/dlm/dlmdomain.c:918: warning: â..responseâ.. may be used 
uninitialized in this function
 > fs/udf/balloc.c:751: warning: â..goal_eloc.logicalBlockNumâ.. may be 
used uninitialized in this function
 > fs/udf/super.c:1364: warning: â..ino.partitionReferenceNumâ.. may be 
used uninitialized in this function
56a67,68
 > drivers/usb/core/devio.c:620: warning: comparison is always false due 
to limited range of data type
 > drivers/net/r8169.c:2131: warning: â..txdâ.. may be used 
uninitialized in this function
59d70
< drivers/net/r8169.c:2131: warning: â..txdâ.. may be used uninitialized 
in this function
70,73c81
< fs/ocfs2/vote.c:774: warning: â..responseâ.. may be used uninitialized 
in this function
< fs/ocfs2/dlm/dlmdomain.c:918: warning: â..responseâ.. may be used 
uninitialized in this function
< fs/udf/balloc.c:751: warning: â..goal_eloc.logicalBlockNumâ.. may be 
used uninitialized in this function
< fs/udf/super.c:1364: warning: â..ino.partitionReferenceNumâ.. may be 
used uninitialized in this function
---
 > net/key/af_key.c:403: warning: comparison is always false due to 
limited range of data type


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Hosted by DataForce ISP - Powered by Openwall GNU/*/Linux