kickstarting a 2600

Wendy.Faulkner wfaulkne at ni.com
Thu Aug 14 15:47:41 CDT 2003


This worked great for the ethernet driver!  Thanks for the tip!  That's
farther than I've gotten in a long time.  Now it complains that it can't
see a drive - I know I need a megaraid driver disk for this when I boot
off of cdrom - but I'm not sure of any source for that since I've only
had the modules.  Any suggestions?  Thanks!
W

> 
> There is no special source for the BOOT kernel; the regular 2.4.9-e.3 source
> should suffice. 
> 
> Here is a procedure I have used to build e1000 for the BOOT kernel in the
> past. Note that this is not necessarily the "right" way, but merely an
> approach that has worked for me. It sounds like you have already completed
> some of these steps.
> 
> 1) Make sure you have a clean kernel-source installed. If in doubt,
> uninstall and reinstall it.
> 2) Install and boot to the BOOT kernel.
> 3) Edit the file /boot/kernel.h. Originally it will look something like
> this:
> 
> /* This file is automatically generated at boot time. */
> #ifndef __BOOT_KERNEL_H_
> #define __BOOT_KERNEL_H_
> 
> /* Kernel type i686 */
> 
> #ifndef __MODULE_KERNEL_i686
> #define __MODULE_KERNEL_i686 1
> #endif
> 
> #ifndef __BOOT_KERNEL_ENTERPRISE
> #define __BOOT_KERNEL_ENTERPRISE 0
> #endif
> 
> #ifndef __BOOT_KERNEL_BIGMEM
> #define __BOOT_KERNEL_BIGMEM 0
> #endif
> 
> #ifndef __BOOT_KERNEL_SMP
> #define __BOOT_KERNEL_SMP 0
> #endif
> 
> #ifndef __BOOT_KERNEL_UP
> #define __BOOT_KERNEL_UP 1
> #endif
> 
> #endif
> 
> 
> Make it look more like this (add the BOOT kernel stuff):
> 
> /* This file is automatically generated at boot time. */
> #ifndef __BOOT_KERNEL_H_
> #define __BOOT_KERNEL_H_
> 
> #ifndef __MODULE_KERNEL_i686
> #define __MODULE_KERNEL_i686 1
> #endif
> 
> #ifndef __BOOT_KERNEL_ENTERPRISE
> #define __BOOT_KERNEL_ENTERPRISE 0
> #endif
> 
> #ifndef __BOOT_KERNEL_BIGMEM
> #define __BOOT_KERNEL_BIGMEM 0
> #endif
> 
> #ifndef __BOOT_KERNEL_SMP
> #define __BOOT_KERNEL_SMP 0
> #endif
> 
> #ifndef __BOOT_KERNEL_UP
> #define __BOOT_KERNEL_UP 0
> #endif
> 
> #ifndef __BOOT_KERNEL_BOOT
> #define __BOOT_KERNEL_BOOT 1
> #endif
> 
> #endif
> 
> 4) Follow the normal procedure to build your e1000 driver (cd
> e1000-<version>/src; make clean; make)
> 5) Assuming that you have an Intel gigabit NIC in your development box you
> can test the newly built driver on the spot (service network stop; rmmod
> e1000; insmod e1000.o)
> 
> I hope this information is useful. 
> 
> 
> Thomas Chenault
> 
> *Insert standard disclaimer about my opinions being mine and mine alone.
> 
> 
> 
> -----Original Message-----
> From: Wendy.Faulkner [mailto:wfaulkne at ni.com]
> Sent: Thursday, August 14, 2003 8:53 AM
> To: linux-poweredge at dell.com
> Subject: kickstarting a 2600
> 
> I've been having a devil of a time kickstarting a Poweredge 2600.  Its
> got a gigabit card in it, and everytime it will load the kernel from the
> tftp server, and then die because of a wrong ethernet driver.  I have
> the source for the e1000.o module,  but I need the src for the
> 2.4.9-e.3BOOT kernel - if I boot a box off of the BOOT kernel, but only have
> the 2.4.9-e.3 source installed, compiling the e1000 module  warns me that
> the source code isn't the same as the running kernel and it probably
> won't work.
> 
> And when I kickstart the new box, it complains that the e1000.o module
> is compiled with the wrong kernel.  I've even tried changing the
> version.h file in the source code, but then when I booted with that
> module, I got unresolved symbol errors..
> 
> I can't seem to find source for the BOOT kernel anywhere, so I'm not
> sure of any way to get a correct e1000 binary to PXE boot off of. 
> 
> Any suggestions?
> Thx.
> W
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Life is a fatal adventure. It can only
>           Wendy Faulkner             have one end. So why not make it as
>       wendy.faulkner at ni.com          far-ranging and free as possible? 
>  http://crw.boxofclue.com            Alexander Eliot, NY Post, 28 Nov 1962
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 
> 
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq or search the list
> archives at http://lists.us.dell.com/htdig/
> 
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq or search the list archives at http://lists.us.dell.com/htdig/
> 


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Life is a fatal adventure. It can only 
          Wendy Faulkner             have one end. So why not make it as
      wendy.faulkner at ni.com          far-ranging and free as possible?  
 http://crw.boxofclue.com  	     Alexander Eliot, NY Post, 28 Nov 1962	
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-  




More information about the Linux-PowerEdge mailing list