<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Trying to build my first bzImage or custom kernel]]></title><description><![CDATA[<p dir="auto">So, I’d say to some degree that i know enough Linux to be dangerous, but i might be selling myself short.  Anyway, I’ve got my first Fog env up and running and have completed a number of imaging tasks.  The need has come up for me to become able to add drivers to the kernel image that’s passed onto clients booting PXE.</p>
<p dir="auto">I’ve followed instructions here:<br />
[url]<a href="http://fogproject.org/wiki/index.php?title=Building_a_Custom_Kernel%5B/url%5D" target="_blank" rel="noopener noreferrer nofollow ugc">http://fogproject.org/wiki/index.php?title=Building_a_Custom_Kernel[/url]</a><br />
and [url]<a href="http://dinomite.net/blog/2007/setting-up-ubuntu-for-building-kernel-modules/#.T48antUcuo5%5B/url%5D" target="_blank" rel="noopener noreferrer nofollow ugc">http://dinomite.net/blog/2007/setting-up-ubuntu-for-building-kernel-modules/#.T48antUcuo5[/url]</a></p>
<p dir="auto">The only item I added in the GUI (from make xconfig) was “VMware PVSCSI driver suport” I then saved and closed that guy then ran the make bzImage.  the product of that was, after some time:</p>
<p dir="auto">drivers/net/dl2k.c: In function ‘rio_ioctl’:<br />
drivers/net/dl2k.c:1294: error: implicit declaration of function ‘capable’<br />
drivers/net/dl2k.c:1294: error: ‘CAP_NET_ADMIN’ undeclared (first use in this function)<br />
drivers/net/dl2k.c:1294: error: (Each undeclared identifier is reported only once<br />
drivers/net/dl2k.c:1294: error: for each function it appears in.)<br />
make[2]: *** [drivers/net/dl2k.o] Error 1<br />
make[1]: *** [drivers/net] Error 2<br />
make: *** [drivers] Error 2<br />
root@AusFog01:/usr/src/linux-source-2.6.32#</p>
<p dir="auto">This is what i have for my fog server and where this failure occured:<br />
root@AusFog01:/usr/src/linux-source-2.6.32# uname -a<br />
Linux AusFog01 2.6.32-45-server #101-Ubuntu SMP Mon Dec 3 15:54:27 UTC 2012 x86_64 GNU/Linux</p>
<p dir="auto">And I’m running fog .32</p>
]]></description><link>http://forums.fogproject.org/topic/1497/trying-to-build-my-first-bzimage-or-custom-kernel</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 01:36:50 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/1497.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 17 Jan 2013 16:07:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Trying to build my first bzImage or custom kernel on Fri, 18 Jan 2013 14:16:30 GMT]]></title><description><![CDATA[<p dir="auto">Heck yes.  I’m able to boot the fog image and blast images to the VM.  Be it paravirtual or LSI Logic SAS.  Havent tested the other modes yet tho.</p>
]]></description><link>http://forums.fogproject.org/post/11123</link><guid isPermaLink="true">http://forums.fogproject.org/post/11123</guid><dc:creator><![CDATA[ahachenberg]]></dc:creator><pubDate>Fri, 18 Jan 2013 14:16:30 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to build my first bzImage or custom kernel on Thu, 17 Jan 2013 22:32:52 GMT]]></title><description><![CDATA[<p dir="auto">Haha shoot. At least you got it sorted out now? Were you able to test booting to the SCSI VMware hard drive?</p>
]]></description><link>http://forums.fogproject.org/post/11117</link><guid isPermaLink="true">http://forums.fogproject.org/post/11117</guid><dc:creator><![CDATA[dvlsg]]></dc:creator><pubDate>Thu, 17 Jan 2013 22:32:52 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to build my first bzImage or custom kernel on Thu, 17 Jan 2013 21:59:38 GMT]]></title><description><![CDATA[<p dir="auto">RTFM, I tell myself…</p>
<p dir="auto">This was the reason for my last two failures with init and CPU arch:</p>
<p dir="auto">copied from the WIKI,<br />
[SIZE=5][B][FONT=sans-serif][SIZE=19px][COLOR=#000000]Note[/COLOR][/SIZE][/FONT][/B][/SIZE]</p>
<p dir="auto">[FONT=sans-serif][COLOR=#000000]When building on x86_64 systems you may need to specify that you are building for an x86 target architecture.[/COLOR][/FONT]<br />
[FONT=sans-serif][COLOR=#000000][FONT=monospace]make ARCH=i386 menuconfig[/FONT][/COLOR][/FONT]<br />
[FONT=sans-serif][COLOR=#000000][FONT=monospace]make ARCH=i386 bzImage[/FONT][/COLOR][/FONT]</p>
]]></description><link>http://forums.fogproject.org/post/11116</link><guid isPermaLink="true">http://forums.fogproject.org/post/11116</guid><dc:creator><![CDATA[ahachenberg]]></dc:creator><pubDate>Thu, 17 Jan 2013 21:59:38 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to build my first bzImage or custom kernel on Thu, 17 Jan 2013 21:25:07 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the tip, i’ll ultimately go that route if needed but I have the itch to get through this at present.</p>
<p dir="auto">The kernel compiled and the bzImage was produced but it wont boot.  i get this on the VM:<br />
“kernel panic - not syncing: No init found. Try passing init= option to kernel”</p>
<p dir="auto">And a thin client also fails with “This kernel requires x86_64 CPU, but only detected an i686 CPU”</p>
<p dir="auto">So, it looks like I have more things to do in xconfig.  Back to the console!</p>
]]></description><link>http://forums.fogproject.org/post/11115</link><guid isPermaLink="true">http://forums.fogproject.org/post/11115</guid><dc:creator><![CDATA[ahachenberg]]></dc:creator><pubDate>Thu, 17 Jan 2013 21:25:07 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to build my first bzImage or custom kernel on Thu, 17 Jan 2013 20:27:49 GMT]]></title><description><![CDATA[<p dir="auto">Strange… I wonder if the same error would occur if you opened up the kernel and remade it, but didn’t change any settings when doing the make xconfig step. Which I realize is nothing like a solution… More just a curiosity, haha.</p>
<p dir="auto">On another note, I had a similar problem to yours, so I updated the kernel to include those VMWare drivers. And then I ended up not needing it. The only VMs I need to connect to FOG are my reference images, so when I created the new VMs I created them as blank templates, deleted the default SCSI hard drive, and added VM IDE hard drives which FOG 0.32 picked up just fine.</p>
<p dir="auto">Not sure if that helps you in your situation at all (especially if you’re trying to connect exisitng vms with SCSI based vmdks), but if you’re sick of banging your head against the bzImage errors and you have the option to switch, it works.</p>
]]></description><link>http://forums.fogproject.org/post/11111</link><guid isPermaLink="true">http://forums.fogproject.org/post/11111</guid><dc:creator><![CDATA[dvlsg]]></dc:creator><pubDate>Thu, 17 Jan 2013 20:27:49 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to build my first bzImage or custom kernel on Thu, 17 Jan 2013 19:58:35 GMT]]></title><description><![CDATA[<p dir="auto">mkay, took out the ubuntu third party drivers but left the swap thing in place.  looks like make bzImage completed.  time to test!</p>
]]></description><link>http://forums.fogproject.org/post/11109</link><guid isPermaLink="true">http://forums.fogproject.org/post/11109</guid><dc:creator><![CDATA[ahachenberg]]></dc:creator><pubDate>Thu, 17 Jan 2013 19:58:35 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to build my first bzImage or custom kernel on Thu, 17 Jan 2013 19:25:14 GMT]]></title><description><![CDATA[<p dir="auto">Looks like that was yet another superfluous driver for some kind of remote.  removed it.  got further and yet another error:</p>
<p dir="auto">LD      vmlinux.o<br />
ubuntu/built-in.o:(.bss+0xa40): multiple definition of <code>debug' arch/x86/built-in.o:(.kprobes.text+0x70): first defined here ld: Warning: size of symbol </code>debug’ changed from 49 in arch/x86/built-in.o to 4 in ubuntu/built-in.o<br />
make: *** [vmlinux.o] Error 1<br />
root@AusFog01:/usr/src/linux-source-2.6.32#</p>
<p dir="auto">more info on my server:<br />
minimalist/base/headless install of Ubuntu Server 11.10.  Then installed fog .32 per instruction.  then added other tidbits.  and ultimately, through this process, added GDM and X.</p>
]]></description><link>http://forums.fogproject.org/post/11108</link><guid isPermaLink="true">http://forums.fogproject.org/post/11108</guid><dc:creator><![CDATA[ahachenberg]]></dc:creator><pubDate>Thu, 17 Jan 2013 19:25:14 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to build my first bzImage or custom kernel on Thu, 17 Jan 2013 19:16:54 GMT]]></title><description><![CDATA[<p dir="auto">So, this isn’t a fix to the problem, but I’ve foudn that driver is the D-Link 2000 network driver.  I dont need that for my environment so i simply removed it and i think i got a bit further with the make bzImage job.</p>
<p dir="auto">however, on to the next failure:<br />
CC      ubuntu/lirc/lirc_atiusb/lirc_atiusb.o<br />
In file included from ubuntu/lirc/lirc_atiusb/lirc_atiusb.c:67:<br />
ubuntu/lirc/lirc_atiusb/…/kcompat.h:245:2: error: #error “LIRC modules currently require”<br />
ubuntu/lirc/lirc_atiusb/…/kcompat.h:246:2: error: #error "  ‘Loadable module support  —&gt;  Module unloading’"<br />
ubuntu/lirc/lirc_atiusb/…/kcompat.h:247:2: error: #error “to be enabled in the kernel”<br />
make[3]: *** [ubuntu/lirc/lirc_atiusb/lirc_atiusb.o] Error 1<br />
make[2]: *** [ubuntu/lirc/lirc_atiusb] Error 2<br />
make[1]: *** [ubuntu/lirc] Error 2<br />
make: *** [ubuntu] Error 2<br />
root@AusFog01:/usr/src/linux-source-2.6.32#</p>
<p dir="auto">Still tracking this.  Figured I’d post my findings in case I’m not alone.</p>
]]></description><link>http://forums.fogproject.org/post/11107</link><guid isPermaLink="true">http://forums.fogproject.org/post/11107</guid><dc:creator><![CDATA[ahachenberg]]></dc:creator><pubDate>Thu, 17 Jan 2013 19:16:54 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to build my first bzImage or custom kernel on Thu, 17 Jan 2013 16:30:15 GMT]]></title><description><![CDATA[<p dir="auto">more of the error, still googling…</p>
<p dir="auto">root@AusFog01:/usr/src/linux-source-2.6.32# make bzImage<br />
scripts/kconfig/conf -s arch/x86/Kconfig<br />
CHK     include/linux/version.h<br />
CHK     include/linux/utsrelease.h<br />
SYMLINK include/asm -&gt; include/asm-x86<br />
CALL    scripts/checksyscalls.sh<br />
CHK     include/linux/compile.h<br />
VDSOSYM arch/x86/vdso/vdso-syms.lds<br />
LD      arch/x86/vdso/built-in.o<br />
LD      arch/x86/built-in.o<br />
CC      drivers/net/dl2k.o<br />
drivers/net/dl2k.c: In function ‘rio_ioctl’:<br />
drivers/net/dl2k.c:1294: error: implicit declaration of function ‘capable’<br />
drivers/net/dl2k.c:1294: error: ‘CAP_NET_ADMIN’ undeclared (first use in this function)<br />
drivers/net/dl2k.c:1294: error: (Each undeclared identifier is reported only once<br />
drivers/net/dl2k.c:1294: error: for each function it appears in.)<br />
make[2]: *** [drivers/net/dl2k.o] Error 1<br />
make[1]: *** [drivers/net] Error 2<br />
make: *** [drivers] Error 2<br />
root@AusFog01:/usr/src/linux-source-2.6.32#</p>
]]></description><link>http://forums.fogproject.org/post/11105</link><guid isPermaLink="true">http://forums.fogproject.org/post/11105</guid><dc:creator><![CDATA[ahachenberg]]></dc:creator><pubDate>Thu, 17 Jan 2013 16:30:15 GMT</pubDate></item></channel></rss>