fc4 kernel build for diskless slave nodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm building a kernel for a diskless slave node as part of a beowulf cluster
I'm working on. I've stripped the kernel down a bit by removing things that
I know I won't need, but I'm running into an issue during the compile. The
build appears to bomb out when building the diskdump block device...

Important notes:
Kernel is kernel-2.6.11 from kernel-2.6.11-1.1369_FC4.src.rpm

I did the standard source install -- 
rpm -ivh kernel-2.6.11-1.1369_FC4.src.rpm
rpmbuild -bp --target=noarch /usr/src/redhat/SPECS/kernel-2.6.spec
mv /usr/src/redhat/BUILD/kernel-2.6.11 /usr/src/kernels/kernel-2.6.11

I ran through make menuconfig and modified the config as needed for my
systems. The changes I made are listed below:

general --> check optimize for size
loadable module support --> uncheck all
processor type and features --> processor family --> change to p4/xeon
processor type and features --> uncheck toshiba & dell laptop support
power management options --> uncheck power management support
power management options --> cpu frequency scaling --> uncheck cpu frequency
scaling
Device Drivers --> Block Devices --> uncheck Normal Floppy Disk Support and
Parallel Port IDE Device Support
Device Drivers --> ATA/ATAPI/MFM/RLL Support --> uncheck Enhanced
IDE/MFM/RLL disk/cdrom/tape/floppy support
Device Drivers --> Multi Device Support (RAID and LVM) --> uncheck Multiple
devices driver support (RAID and LVM)


I'm getting an error when I do 'make bzImage' as follows:

CC      drivers/block/diskdump.o
drivers/block/diskdump.c: In function 'start_disk_dump':
drivers/block/diskdump.c:491: error: '__this_module' undeclared (first use
in this function)
drivers/block/diskdump.c:491: error: (Each undeclared identifier is reported
only once
drivers/block/diskdump.c:491: error: for each function it appears in.)
drivers/block/diskdump.c:491: error: dereferencing pointer to incomplete
type
drivers/block/diskdump.c:491: error: dereferencing pointer to incomplete
type
drivers/block/diskdump.c: In function 'register_disk_dump_device':
drivers/block/diskdump.c:947: error: '__this_module' undeclared (first use
in this function)
drivers/block/diskdump.c:947: error: dereferencing pointer to incomplete
type
drivers/block/diskdump.c:947: error: dereferencing pointer to incomplete
type
drivers/block/diskdump.c: In function 'unregister_disk_dump_device':
drivers/block/diskdump.c:959: error: '__this_module' undeclared (first use
in this function)
drivers/block/diskdump.c:959: error: dereferencing pointer to incomplete
type
drivers/block/diskdump.c:959: error: dereferencing pointer to incomplete
type
drivers/block/diskdump.c: In function 'register_disk_dump_type':
drivers/block/diskdump.c:980: error: '__this_module' undeclared (first use
in this function)
drivers/block/diskdump.c:980: error: dereferencing pointer to incomplete
type
drivers/block/diskdump.c:980: error: dereferencing pointer to incomplete
type
drivers/block/diskdump.c: In function 'unregister_disk_dump_type':
drivers/block/diskdump.c:992: error: '__this_module' undeclared (first use
in this function)
drivers/block/diskdump.c:992: error: dereferencing pointer to incomplete
type
drivers/block/diskdump.c:992: error: dereferencing pointer to incomplete
type
drivers/block/diskdump.c: In function 'init_diskdump':
drivers/block/diskdump.c:1090: error: '__this_module' undeclared (first use
in this function)
drivers/block/diskdump.c:1090: error: dereferencing pointer to incomplete
type
drivers/block/diskdump.c:1090: error: dereferencing pointer to incomplete
type
make[2]: *** [drivers/block/diskdump.o] Error 1
make[1]: *** [drivers/block] Error 2
make: *** [drivers] Error 2


My .config and build log are located at www.haxorwear.com/buildinfo/. Any
help would be much appreciated. I don't think anything is disabled that
would affect this, but I also cannot find any patches online or references
to this particular error condition for this diskdump.c sourcefile. Hopefully
someone else has run into this previously and might shed some insight into
my situation.

-Tim




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux