Hello I'm configuring a netboot in a Blade Center JS20 with Suse 9 without CSM. I need compile the kernel to enable NFS_ROOT option in slave nodes. I'm finding a lot of errors messages during the kernel compilation process about missed paths, conflicts on variables, ... in my broadcom 5700 ethernet card. The last error is: [...] CC[M] driver/net/bcm/b57um.o In file included from driver/net/bcm/b57um.c:19: driver/net/bcm/mm.h:189: error: redefinition of `dma_addr_t' [...] I haven't found documentation about how can solve this problem searching in google or in this mailing list. Somebody with experience compiling the linux in a JS20? Suggests? Thanks for your attention! ---------------------------------------------------------------------- Mensaje enviado por el servidor de openSistemas (www.opensistemas.com)
On Thu, Mar 02, darroyo@opensistemas.com wrote:
I'm configuring a netboot in a Blade Center JS20 with Suse 9 without CSM. I need compile the kernel to enable NFS_ROOT option in slave nodes.
You can have that without recompile. mkinitrd -m bcm5700 /lib/lilo/chrp/chrp64/make_zimage_chrp64.sh \ --vmlinux /boot/vmlinux \ --initrd /boot/initrd \ --output /boot/zimage lib/lilo/chrp/mkzimage_cmdline -a 1 \ -s 'ip=eth0 nfsroot=1.2.3.4:/exportdir' /boot/zimage Then copy /boot/zimage to your tftp server and set the bootdevice to network in the MM.
I'm finding a lot of errors messages during the kernel compilation process about missed paths, conflicts on variables, ... in my broadcom 5700 ethernet card. The last error is:
[...] CC[M] driver/net/bcm/b57um.o In file included from driver/net/bcm/b57um.c:19: driver/net/bcm/mm.h:189: error: redefinition of `dma_addr_t' [...]
did you use the kernel-source from the CD?
Thank you very much Olaf, I was compiling with make and I must compile with make zImage on power pc. Mensaje citado por Olaf Hering <olh@suse.de>:
On Thu, Mar 02, darroyo@opensistemas.com wrote:
I'm configuring a netboot in a Blade Center JS20 with Suse 9 without CSM. I
need compile the kernel to enable NFS_ROOT option in slave nodes.
You can have that without recompile.
mkinitrd -m bcm5700
Cool!. Althought I need compile to enjoy the NFS_ROOT kernel option.
/lib/lilo/chrp/chrp64/make_zimage_chrp64.sh \ --vmlinux /boot/vmlinux \ --initrd /boot/initrd \ --output /boot/zimage
lib/lilo/chrp/mkzimage_cmdline -a 1 \ -s 'ip=eth0 nfsroot=1.2.3.4:/exportdir' /boot/zimage
Then copy /boot/zimage to your tftp server and set the bootdevice to network in the MM.
I'm finding a lot of errors messages during the kernel compilation process
about missed paths, conflicts on variables, ... in my broadcom 5700 ethernet card. The last error is:
[...] CC[M] driver/net/bcm/b57um.o In file included from driver/net/bcm/b57um.c:19: driver/net/bcm/mm.h:189: error: redefinition of `dma_addr_t' [...]
did you use the kernel-source from the CD?
Yes, I did. ---------------------------------------------------------------------- Mensaje enviado por el servidor de openSistemas (www.opensistemas.com)
participants (2)
-
darroyo@opensistemas.com
-
Olaf Hering