Files
oldlinux-files/docs/Install-Guide/install-guide-2.2.2/node84.html
2024-02-19 00:23:35 -05:00

111 lines
6.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
<!Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds >
<HEAD>
<TITLE>2.5.2.1 Isolating hardware problems</TITLE>
</HEAD>
<BODY>
<meta name="description" value="2.5.2.1 Isolating hardware problems">
<meta name="keywords" value="gs">
<meta name="resource-type" value="document">
<meta name="distribution" value="global">
<P>
<BR> <HR><A NAME=tex2html2769 HREF="node85.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html2767 HREF="node83.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html2761 HREF="node83.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html2771 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html2772 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html2770 HREF="node85.html">2.5.2.2 Problems recognizing hard </A>
<B>Up:</B> <A NAME=tex2html2768 HREF="node83.html">2.5.2 Hardware problems</A>
<B> Previous:</B> <A NAME=tex2html2762 HREF="node83.html">2.5.2 Hardware problems</A>
<BR> <HR> <P>
<H3><A NAME=SECTION00452100000000000000>2.5.2.1 Isolating hardware problems</A></H3>
<P>
<A NAME=secinstallprobshardwareconflicts>&#160;</A>
<P>
<A NAME=1584>&#160;</A>
<P>
If you experience a problem that you believe to be hardware-related,
the first thing that you should to do is attempt to isolate the problem.
This means eliminating all possible variables and (usually) taking the
system apart, piece-by-piece, until the offending piece of hardware is
isolated.
<P>
This is not as frightening as it may sound. Basically, you should remove
all nonessential hardware from your system, and then determine which
device is actually causing the trouble---possibly by reinserting each
device, one at a time. This means that you should remove all hardware other
than the floppy and video controllers, and of course the keyboard. Even
innocent-looking devices such as mouse controllers can wreak unknown havoc on
your peace of mind unless you consider them nonessential.
<P>
For example, let's say that the system hangs during the Ethernet board detection
sequence at boot time. You might hypothesize that there is a conflict or
problem with the Ethernet board in your machine. The quick and easy way to
find out is to pull the Ethernet board, and try booting again. If everything
goes well, then you know that either (a) the Ethernet board is not
supported by Linux (see Section <A HREF="node30.html#secintrohardware">1.8</A> for a list
of compatible boards), or (b) there is an address or IRQ conflict with the
board.
<P>
<A NAME=1586>&#160;</A>
``Address or IRQ conflict?'' What on earth does that mean?
All devices in your machine use an <em>IRQ</em>, or
<em>interrupt request line</em>, to tell the system that they need something
done on their behalf. You can think of the IRQ as a cord that the device
tugs when it needs the system to take care of some pending request.
If more than one
device is tugging on the same cord, the kernel won't be able to detemine
which device it needs to service. Instant mayhem.
<P>
Therefore, be sure that all of your installed devices are using unique
IRQ lines. In general the IRQ for a device can be set by jumpers on the
card; see the documentation for the particular device for details.
Some devices do not require the use of an IRQ at all, but it is suggested
that you configure them to use one if possible (the Seagate ST01 and ST02
SCSI controllers being good examples).
<P>
In some cases, the kernel provided on your installation media is configured
to use a certain IRQ for certain devices. For example, on some distributions
of Linux, the kernel is preconfigured to use IRQ 5 for the TMC-950 SCSI
controller, the Mitsumi CD-ROM controller, and the bus mouse driver.
If you want to use two or more of these devices, you'll need to first
install Linux with only one of these devices enabled, then recompile the
kernel in order to change the default IRQ for one of them.
(See Chapter <A HREF="node155.html#chapsysadmnum">4</A> for information
on recompiling the kernel.)
<P>
Another area where hardware conflicts can arise is with DMA (direct
memory access) channels, I/O addresses, and shared memory addresses.
All of these terms describe mechanisms through which the system interfaces
with hardware devices. Some Ethernet boards, for example, use a shared memory
address as well as an IRQ to interface with the system. If any of these
are in conflict with other devices, then the system may behave unexpectedly.
You should be able to change the DMA channel, I/O or shared
memory addresses for your various devices with jumper settings. (Unfortunately,
some devices don't allow you to change these settings.)
<P>
The documentation for your various hardware devices should specify
the IRQ, DMA channel, I/O address, or shared memory address that the devices
use, and how to configure them. Again, the simple way to get around these
problems is just to temporarily disable the conflicting devices until you
have time to determine the cause of the problem.
<P>
Table <A HREF="node84.html#tabledevsettings">2.2</A> is a list of IRQ and DMA channels used by
various ``standard'' devices found on most systems. Almost all systems will
have some of these devices, so you should avoid setting the IRQ or DMA of other
devices in conflict with these values.
<P>
<P><A NAME=1612>&#160;</A><A NAME=tabledevsettings>&#160;</A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img71.gif">
<BR><STRONG>Table 2.2:</STRONG> Common device settings<BR>
<P>
<P>
<A NAME=1616>&#160;</A>
<P>
<BR> <HR><A NAME=tex2html2769 HREF="node85.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html2767 HREF="node83.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html2761 HREF="node83.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html2771 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html2772 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html2770 HREF="node85.html">2.5.2.2 Problems recognizing hard </A>
<B>Up:</B> <A NAME=tex2html2768 HREF="node83.html">2.5.2 Hardware problems</A>
<B> Previous:</B> <A NAME=tex2html2762 HREF="node83.html">2.5.2 Hardware problems</A>
<BR> <HR> <P>
<BR> <HR>
<P><ADDRESS>
<I>Matt Welsh <BR>
mdw@sunsite.unc.edu</I>
</ADDRESS>
</BODY>