Hi guys,

Forwarding this to the plug mailing list to get more help.  My thread
in the rocks-cluster list is getting a bit inactive.  Hoping to get
more results here.

Rocks 4.3 is a CentOS 4.4 based system. The compute nodes boot from
the network and then get the kickstart file on the frontend.  The
system design was meant for large computing clusters so a pxeboot is a
very scalable solution.  I built a custom initrd.img for the script to
be able to use the Realtek 8111B GigEthernet drivers.  I downloaded
the sources from the realtek website and plugged it into the build
directory.

I got this error message when i booted

<F3> Terminal on slave node
* ROCKS:getFileFromUrl:calling kickstartNetworkUp
* ROCKS:rocksNetworkUp:no network devices in choose network device!

<F4> Terminal on slave node
<4> r8168: disagrees about version of symbol struct_module
<4> r8168: disagrees about version of symbol struct_module

It seems that the module is not loaded/ installed properly.  the
rocks-boot package uses the ddiskit module for creating initrd.img
using a custom makefile different from the realtek source code.  Based
on reading Makefile logs, i was able to successfully build the
r8168.ko module.

Thanks

---------- Forwarded message ----------
From: Allan Espinosa <[EMAIL PROTECTED]>
Date: Sep 12, 2007 12:01 PM
Subject: using a RTL8111B based chipset on compute nodes
To: [EMAIL PROTECTED]


Hi guys,

I am currently building an 8-node cluster.  Our compute nodes uses a
RTL8111B Gigabit ethernet controller.  Its linux drivers can be
downloaded from
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false

Then i followed the instructions in building a custom device driver from
http://www.rocksclusters.org/rocks-documentation/4.3/customization-driver.html
and created a "r8168" directory here are the files and some of its
contents in the directory

in rocks-4.3/src/roll/kernel/src/rocks-boot/enterprise/4/images/drivers :

r8168/
r8168/r8168.mod.c
r8168/r8168_n.c
r8168/Makefile
r8168/modinfo
r8168/pcitable
r8168/rtl_ioctl.c
r8168/r8168.h
r8168/rtl_ioctl.h
r8168/LICENSE
r8168/Makefile.build
r8168/modules.dep

[xxxxxxxxxxxxxxx drivers]$ cat r8168/modinfo
r8168
        net
        "RealTek RTL8168B/8111B and RTL8168C/8111C, Gigabit Ethernet controller"
[xxxxxxxxxxxxxxx drivers]$ cat r8168/pcitable
0x10ec  0x8168  "r8168" "RealTek RTL8168B/8111B, RTL8168C/8111C
Gigabit Ethernet controller"
[xxxxxxxxxxxxxxx drivers]$ cat r8168/modules.dep
[xxxxxxxxxxxxxxx drivers]$ head -n 15 r8168/Makefile

MODULES := r8168

SOURCES := \
        r8168.mod.c \
        r8168_n.c

HEADERS := \
        r8168.h \
        rtl_ioctl.h

define MODULE_template

I was able to successfully build the rocks-boot rpm using "make rpm" .
 I installed it as instructed and copied initrd.img and vmlinz to
/tftpboot/pxelinux.  The slave nodes were able to boot off via dhcp
but I am having the following errors on the compute node when it
installs the r8168 driver: (the F1 terminal gives me prompts since it
was not able to obtain the kickstart files)

<F3> Terminal on slave node
* ROCKS:getFileFromUrl:calling kickstartNetworkUp
* ROCKS:rocksNetworkUp:no network devices in choose network device!

<F4> Terminal on slave node
<4> r8168: disagrees about version of symbol struct_module
<4> r8168: disagrees about version of symbol struct_module

-- 
Allan M. Espinosa <http://allan.88-mph.net/blog>
Electronics, Computer and Communications Engineering Department
Ateneo de Manila University <http://www.ateneo.edu/ecce>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to