lkml.org 
[lkml]   [2006]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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@sgi.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-01 05:47    [W:0.050 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site