Article

scum's picture
article
Reads:

11928

Score:
4
4
3
 
Comments:

2

Manually loading undetected Broadcom network modules within ZENworks Imaging

Author Info

22 January 2008 - 6:28pm
Submitted by: scum

(View Disclaimer)

New Broadcom Ethernet cards are constantly being released and not being detected by the ZENworks Imaging system. The main problem appears to be that although the Broadcom module is normally backwards compatible, the hardware script does not recognise the new card, and as a result does not load the required kernel module.

When you manually load the module, the kernel looks for any devices that can be controlled by that module, and starts controlling the device.

This process will explain how to load the Broadcom module manually, which will then allow the card to work.

Note: Although this process is designed to get Broadcom network cards up and running, the principle is the same for all hardware/vendors. All you need to know is the appropriate module to use.

Assumptions:

  • You are currently using a "bootcd.iso" file from at least ZDM7
Process:
  • Check if Broadcom card has been detected.
  • Check what modules are currently loaded.
  • Manually load the Broadcom module.
  • Check that the Broadcom module is running.
  • Check that the Broadcom has been detected.

Check if Broadcom card has been detected.

  • Boot your machine from the ZENworks Imaging boot CD or local ZENworks Imaging partition using the manual option.
  • At the bash prompt type img.
  • At the top of the screen select “System Information --> Detected Hardware”.
  • Look at what has been detected under “Network adapter”.
  • If you see “No network card detected”, then this process should help.

Check which modules are currently loaded.

  • Exit back to the bash prompt.
  • Type lsmod and press Enter.
    This will display all the modules that your system is currently running

Manually load the Broadcom module.

  • Now type ls /modules/ and press Enter.
    This is a list of all the available modules on your ZENworks Imaging system
  • Note: The older ZENworks Imaging kernels used to load a bcm57xx.ko module; it appears this has since been replaced with the tg3.ko module
  • To load the Broadcom module, type insmod /modules/tg3.ko and press Enter

Check that the Broadcom module is running.

  • Type lsmod and press Enter.
    If you can see the tg3.ko listed then you have successfully loaded the Broadcom module

Check that the Broadcom has been detected.

  • Again, type img.
  • At the top of the screen select System Information --> Detected Hardware.
  • Look at what has been detected under Network adapter.
  • Hopefully you can now see that the Broadcom Network card has been loaded.

Although you have loaded the Broadcom module and the card is working, you may still have to configure your network connection.

Re-run DHCP configuration.
  • Exit to bash prompt and type, ps -A and press Enter.
    This will list all the processes currently running.
  • Find the PID for dhcpcd.
  • Type kill -9 <PID#> and press Enter.
  • Type ps -A and press Enter again and you should see that the dhcpcd is no longer running.
  • Type /sbin/dhcpcd -B eth0 and press Enter.
  • Type mv /var/run/dhcpcd-eth0.pid /var/run/dhcpcd-eth0.xxx
  • Type /sbin/dhcpcd -B eth0 and press Enter.
  • Type ifconfig and press Enter.
  • You should now see your allocated IP address

Manually set IP Address.

  • Return to the bash prompt.
  • Type ifconfig eth0 <IPAddress> netmask <NetworkMask>" and press Enter.
  • Type route add default gw <GatewayIP> dev eth0" and press Enter.

You should now be able to connect to your ZENworks Imaging server and start imaging.


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

nkrick's picture

Same fix for PXE

Submitted by nkrick on 18 January 2008 - 12:47pm.

For anyone who is PXE booting, there is a simple solution to load the tg3.ko module during the PXE process. You can find the article here: http://www.novell.com/communities/node/1707/making...

I am no expert, but I am sure that there is a similar way to modify the cd .iso boot to load the tg3.ko module during boot which would save quite a few steps.

woutervantil's picture

still not working

Submitted by woutervantil on 24 January 2008 - 2:36am.

The module i think i need is bnx2.ko.
I can load it with modprobe or insmod.

With lsmod it is listed. size 138312, used by 0
If i run img en list Detected Hardware, there are still
“No network card detected”.

Does anyone know what to do?

© 2013 Novell