Sat 30 Sep 2006
modules for device drivers. If your Ethernet card is not recognized during the boot, it may be that its module is not loaded. The first step is to check the module’s configuration. Note See the “Loadable Modules” section later in this chapter for information about managing modules and for specific examples of loadable modules used for Ethernet device drivers. This section has barely touched upon the very large number of arguments that can be entered at the boot prompt. See the “BootPrompt-HOWTO” document, by Paul Grotmaker, for the details of all of them. Most Linux systems include the HOWTO documents in /usr/doc. Hardware Device Driver Initialization When the system boots, several things happen. You have already seen the part that LILO and GRUB play in loading the operating system, but that is only the beginning. These loaders start the Linux kernel running, and then things really begin to happen. The kernel is the heart of Linux. It loads into memory and initializes the various hardware device drivers. Most of the possible boot prompt arguments are intended to help the kernel initialize hardware, and the messages the kernel displays during startup help you determine what hardware is installed in the system and whether it is properly initialized. Use the dmesg command to display the kernel startup messages; combine it with the less command or with grep to examine the startup messages more effectively. less allows you to scroll through the messages, one screenful at a time; grep permits you to search for something specific in the dmesg output. For example, combine dmesg and grep to locate kernel messages relating to the initialization of the Ethernet device eth0: $ dmesg | grep eth0 loading device ‘eth0′… eth0: SMC Ultra at 0×340, 00 00 C0 4F 3E DD, IRQ 10 memory 0xc8000-0xcbfff. This message clearly shows the type of Ethernet adapter used (SMC Ultra) and the Ethernet MAC address assigned to the adapter (00 00 C0 4F 3E DD). Additionally, because the SMC Ultra is an ISA bus adapter, the bus interrupt (IRQ 10), the adapter memory address (0xc8000-0xcbfff), and the I/O port address (0×340) are shown. All of this information is useful for debugging a hardware configuration problem. Most systems use Ethernet for all network communications, although some use other devices, such as serial ports for this purpose. When the kernel initializes the serial ports, it displays the device name, I/O port address, and IRQ of each serial port. It also displays the model of Universal Asynchronous Receiver Transmitter (UART) that is used for the serial interface. Old systems used 8250 UARTs, which are inadequate for use with modems and a problem for systems that need to run PPP. As this example shows, current systems use the faster 16550A UARTs: ttyS00 at 0×03f8 (irq = 4) is a 16550A ttyS02 at 0×03e8 (irq = 4) is a 16550A Also of interest for a network server are the kernel components of TCP/IP. These components include the fundamental protocols, such as IP (Internet Protocol), and the network sockets interface. Sockets is an application protocol interface developed at Berkeley for BSD Unix. It provides a standard method for programs to talk to the network. The TCP/IP initialization messages from a Red Hat 7.2 system are 24
Note: If you are looking for high quality webhost to host and run your jsp application check Vision jsp hosting services