12.07.2015 Views

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

164CHAPTER 6Analyzing HardwareThe output also includes lines that begin with the parm keyword. These lines describepossible kernel module options and the value type each accepts. For example, the modinfooutput for 3c59x contains the lines in Listing 6.13.LISTING 6.133c59x Module Optionsparm:debug:3c59x debug level (0-6) (int)parm:options:3c59x: Bits 0-3: media type, bit 4: bus mastering,bit 9: full duplex (array of int)parm:global_options:3c59x: same as options, but applies to allNICs if options is unset (int)parm:full_duplex:3c59x full duplex setting(s) (1) (array of int)parm:global_full_duplex:3c59x: same as full_duplex, but applies to allNICs if full_duplex is unset (int)parm: hw_checksums:3c59x Hardware checksum checking by adapter(s) (0-1)(array of int)parm: flow_ctrl:3c59x 802.3x flow control usage (PAUSE only) (0-1)(array of int)parm: enable_wol:3c59x: Turn on Wake-on-LAN for adapter(s) (0-1)(array of int)parm:global_enable_wol:3c59x: same as enable_wol, but applies to allNICs if enable_wol is unset (int)parm:rx_copybreak:3c59x copy breakpoint for copy-only-tiny-frames (int)parm:max_interrupt_work:3c59x maximum events handled per interrupt (int)parm:compaq_ioaddr:3c59x PCI I/O base address (Compaq BIOS problemworkaround) (int)parm:compaq_irq:3c59x PCI IRQ number (Compaq BIOS problem workaround)➥(int)parm:compaq_device_id:3c59x PCI device ID (Compaq BIOS problem➥workaround) (int)parm:watchdog:3c59x transmit timeout in milliseconds (int)parm:global_use_mmio:3c59x: same as use_mmio, but applies to allNICs if options is unset (int)parm: use_mmio:3c59x: use memory-mapped PCI I/O resource (0-1)(array of int)For example, the full_duplex module is for setting the network card to full duplex, andits value type must be an array of integers. The integer value in parentheses forfull_duplex tells us that a value of 1 sets the network card to full duplex mode.The parameters for each kernel module are different, so be sure to check the modinfooutput for the module before trying to add options to a module. After determining theparameter name and possible values, they can be added to /etc/modprobe.conf if necessary.For example, the line for the 3c59x module might look similar to the following:alias eth0 3c59x full_duplex=1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!