Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124749 - genkernel crashes citing error in fs/xfs/linux-2.6/xfs_iops.c
Summary: genkernel crashes citing error in fs/xfs/linux-2.6/xfs_iops.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-03 00:34 UTC by Michael Rossi
Modified: 2006-03-06 15:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The file in question (xfs_iops.c,17.98 KB, text/plain)
2006-03-04 12:28 UTC, Michael Rossi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rossi 2006-03-03 00:34:28 UTC
I received this error when I ran the command 'genkernel all':

  CC      fs/xfs/linux-2.6/xfs_iops.o
fs/xfs/linux-2.6/xfs_iops.c:419:17: warning: "/*" within comment
fs/xfs/linux-2.6/xfs_iops.c: In function `linvfs_symlink':
fs/xfs/linux-2.6/xfs_iops.c:423: error: `cvp' undeclared (first use in this function)
fs/xfs/linux-2.6/xfs_iops.c:423: error: (Each undeclared identifier is reported only once
fs/xfs/linux-2.6/xfs_iops.c:423: error: for each function it appears in.)
make[2]: *** [fs/xfs/linux-2.6/xfs_iops.o] Error 1
make[1]: *** [fs/xfs] Error 2
make: *** [fs] Error 2
* Gentoo Linux Genkernel; Version 3.3.10
* Running with options: all

* ERROR: Failed to compile the "bzImage" target...

I had used livecd-i686-installer-2006.0
I had used portage-latest.tar.bz2
I had used stage3-x86-2006.0.tar.bz2
I was just following the Installation Handbook step by step and received no prior errors during the process.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2006-03-03 09:28:21 UTC
What exact kernel version are you using?
Comment 2 Michael Rossi 2006-03-03 10:24:35 UTC
(In reply to comment #1)
> What exact kernel version are you using?
> 

linux-2.6.15-gentoo-r1
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2006-03-04 03:41:48 UTC
Sounds like your kernel source is slightly corrupted. Please attach the file found at fs/xfs/linux-2.6/xfs_iops.c in your kernel tree.
Comment 4 Michael Rossi 2006-03-04 12:28:05 UTC
Created attachment 81339 [details]
The file in question
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2006-03-04 13:11:54 UTC
This line:
	vnode_t		*dvp;	/* directory containing name of symlink (/

Should read:
	vnode_t		*dvp;	/* directory containing name of symlink */

Did you modify this file yourself? The original version is OK...

Please wipe out your kernel source and try again.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2006-03-06 15:31:51 UTC
Assuming it is fixed. Note that this kind of corruption suggests hardware issues (disk or memory, usually) so watch out for any other strange behaviour...